Function at 0x10040e90
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e58d0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x1013d0b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x30], ebx
push str.Entered_WebBrowserHost::OnCreate
push 0
mov dword [ebp - 4], 0
call fcn.10045430
add esp, 8
lea eax, [ebx + 0x24]
push eax
push dword [ebx + 4]
call fcn.100778f0
add esp, 8
push 0x65
push dword [0x10143c5c]
call dword [sym.imp.USER32.dll_LoadIconW]
mov esi, eax
test esi, esi
je 0x10040f1b
push esi
push 1
push 0x80
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push 1
push 0x80
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.10044510
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 3
test eax, eax
je 0x10040f49
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100f4524]
call esi
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push 0x100fd318
push 0
mov dword [ebp - 0x18], 0
call fcn.1003f330
mov edi, eax
test edi, edi
jns 0x10040fd4
mov eax, dword [ebx]
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x100f4524]
mov ecx, ebx
call esi
push 0x79
push edi
push eax
call fcn.100448a0
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 4
test eax, eax
je 0x10040fa2
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100f4524]
call esi
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10040fbd
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100f4524]
call esi
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 6
mov dword [ebp - 0x14], 0
test eax, eax
je 0x1004100b
mov ecx, dword [eax]
mov esi, dword [ecx]
lea ecx, [ebp - 0x14]
push ecx
push 0x101001ac
push eax
mov ecx, esi
call dword [0x100f4524]
call esi
mov ecx, dword [ebp - 0x14]
xor edx, edx
test eax, eax
cmovs ecx, edx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x10041018
push eax
call sym.adal.dll_ADALGetContext
mov dword [ebp - 0x24], eax
push 0
push eax
call sym.adal.dll_ADALUICreateHostUIHandler
mov edi, eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x38], edi
xor ecx, ecx
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x20], ecx
test edi, edi
je 0x1004105d
mov eax, dword [edi]
mov esi, dword [eax]
lea eax, [ebp - 0x20]
push eax
push 0x100fd4a8
push edi
mov ecx, esi
call dword [0x100f4524]
call esi
mov ecx, dword [ebp - 0x20]
xor edx, edx
test eax, eax
cmovs ecx, edx
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 0xb
test ecx, ecx
je 0x10041495
mov eax, dword [ebp - 0x14]
push ecx
push eax
mov edx, dword [eax]
mov esi, dword [edx + 0x20]
mov ecx, esi
call dword [0x100f4524]
call esi
cmp byte [0x101447a0], 0
jne 0x10041238
push 0
push dword [ebp - 0x24]
call sym.adal.dll_ADALUICreateHostServiceProvider
mov ecx, eax
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x3c], ecx
test ecx, ecx
jne 0x10041142
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx]
mov dword [ebp - 0x2c], eax
mov esi, dword [ecx + 0x1c]
mov ecx, esi
call dword [0x100f4524]
mov ecx, ebx
call esi
push 0x7a
push dword [ebp - 0x2c]
push eax
call fcn.100448a0
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0x14
test eax, eax
je 0x100410eb
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100f4524]
call esi
mov byte [ebp - 4], 0x15
test edi, edi
je 0x10041103
mov eax, dword [edi]
push edi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100f4524]
call esi
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x16
test eax, eax
je 0x1004111e
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100f4524]
call esi
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0x17
test eax, eax
je 0x10041139
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100f4524]
call esi
mov byte [ebp - 4], 0x18
jmp 0x10040fa6
mov eax, dword [ecx]
push ecx
mov byte [ebp - 4], 0x19
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100f4524]
call esi
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 0x1a
mov eax, dword [edi]
mov esi, dword [eax]
lea eax, [ebp - 0x24]
push eax
push 0x100fd348
push edi
mov ecx, esi
call dword [0x100f4524]
call esi
xor esi, esi
mov dword [ebp - 0x34], eax
test eax, eax
cmovns esi, dword [ebp - 0x24]
mov eax, dword [edi]
push edi
mov byte [ebp - 4], 0x1e
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x100f4524]
call edi
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 0x11
test eax, eax
jns 0x100411b1
cmp eax, 0x80004002
jne 0x1004157b
mov eax, dword [ebp - 0x14]
mov edx, 0xdc
test eax, eax
lea ecx, [eax + 0xb8]
cmove ecx, edx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ecx]
cmp ecx, esi
je 0x10041209
mov byte [ebp - 4], 0x1f
test esi, esi
je 0x100411ec
mov eax, dword [esi]
push esi
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x100f4524]
call edi
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
jmp 0x100411ef
mov eax, dword [ebp - 0x24]
mov dword [eax], esi
mov byte [ebp - 4], 0x20
test ecx, ecx
je 0x10041209
mov eax, dword [ecx]
push ecx
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x100f4524]
call edi
mov byte [ebp - 4], 0x21
test esi, esi
je 0x10041221
mov eax, dword [esi]
push esi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100f4524]
call esi
mov ecx, dword [ebp - 0x28]
push ecx
mov byte [ebp - 4], 0x22
mov eax, dword [ecx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100f4524]
call esi
mov esi, dword [ebp - 0x14]
mov eax, dword [esi]
mov edi, dword [eax + 0x28]
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x23
test eax, eax
je 0x10041261
mov ecx, dword [eax]
push eax
mov edi, dword [ecx + 8]
mov ecx, edi
call dword [0x100f4524]
call edi
mov edi, dword [ebp - 0x34]
push 0
push 0
push 0x100f647c
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
push eax
push 0
push dword [ebx + 4]
mov ecx, edi
mov dword [ebp - 0x1c], 0
push str.about:blank
push esi
call dword [0x100f4524]
call edi
mov edi, eax
test edi, edi
jns 0x1004132d
mov eax, dword [ebx]
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x100f4524]
mov ecx, ebx
call esi
push 0x87
push edi
push eax
call fcn.100448a0
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0x24
test eax, eax
je 0x100412d3
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100f4524]
call esi
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x25
test ecx, ecx
je 0x100412ee
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100f4524]
call esi
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x26
test eax, eax
je 0x10041309
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100f4524]
call esi
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0x27
test eax, eax
je 0x10041324
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100f4524]
call esi
mov byte [ebp - 4], 0x28
jmp 0x10040fa6
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x29
test esi, esi
je 0x10041348
mov eax, dword [esi]
push esi
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x100f4524]
call edi
mov byte [ebp - 4], 0x2a
test esi, esi
je 0x100413a5
mov dword [ebp - 0x28], 0
mov eax, dword [esi]
mov edi, dword [eax]
lea eax, [ebp - 0x28]
push eax
push 0x100fffdc
push esi
mov ecx, edi
call dword [0x100f4524]
call edi
mov edi, eax
xor eax, eax
test edi, edi
mov dword [ebp - 0x34], edi
cmovns eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebx + 0x2c]
mov byte [ebp - 4], 0x2b
test ecx, ecx
je 0x100413a0
mov eax, dword [ecx]
push ecx
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x100f4524]
call edi
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x2c], eax
jmp 0x100413cc
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x100413c7
mov dword [ebx + 0x2c], 0
mov eax, dword [ecx]
push ecx
mov byte [ebp - 4], 0x2c
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x100f4524]
call edi
mov edi, 0x80004002
mov byte [ebp - 4], 0x2e
test esi, esi
je 0x100413e4
mov eax, dword [esi]
push esi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100f4524]
call esi
mov byte [ebp - 4], 0xb
test edi, edi
jns 0x100413f8
cmp edi, 0x80004002
jne 0x10041581
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0x2f
test eax, eax
je 0x10041413
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100f4524]
call esi
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x30
test ecx, ecx
je 0x1004142e
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100f4524]
call esi
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x31
test eax, eax
je 0x10041449
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100f4524]
call esi
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0x32
test eax, eax
je 0x10041464
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100f4524]
call esi
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x33
test esi, esi
je 0x1004147f
mov eax, dword [esi]
push esi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100f4524]
call esi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx]
mov dword [ebp - 0x34], eax
mov esi, dword [ecx + 0x1c]
mov ecx, esi
call dword [0x100f4524]
mov ecx, ebx
call esi
push 0x7a
push dword [ebp - 0x34]
push eax
call fcn.100448a0
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x100414d8
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100f4524]
call esi
mov byte [ebp - 4], 0xd
test edi, edi
je 0x100414f0
mov eax, dword [edi]
push edi
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x100f4524]
call esi
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x1004150b
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100f4524]
call esi
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0xf
test eax, eax
je 0x10041526
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100f4524]
call esi
mov byte [ebp - 4], 0x10
jmp 0x10040fa6
push eax
call fcn.10004d60
push edi
call fcn.10004d60
int3