Function at 0x40cb6f
Capabilities:
Inspect load icon resource

Disassembly:
push 0x90
mov eax, 0x432825
call fcn.00421aad
mov ebx, ecx
push 0x43527c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x6c
push dword [0x440868]
call dword [sym.imp.USER32.dll_LoadIconW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
mov eax, dword [ebx + 4]
push 0
mov edi, 0x80
push edi
push eax
call esi
push dword [ebp - 0x10]
mov eax, dword [ebx + 4]
push 1
push edi
push eax
call esi
mov esi, dword [ebx + 4]
call fcn.0040d009
push esi
mov edi, eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40cbda
mov dword [edi + 8], esi
call fcn.0040d009
mov eax, dword [eax + 0x14]
push dword [0x440868]
mov dword [ebp - 0x14], eax
lea ecx, [ebx + reloc.USER32.dll_SetWindowPos]
mov eax, 0x4376a0
call fcn.00416c33
call fcn.00419b1a
push eax
mov ecx, 0x43528c
call fcn.00419d23
mov dword [ebp - 0x18], eax
call fcn.00419b1a
push eax
mov ecx, 0x4353c8
call fcn.00419d23
push 0xcc
mov dword [ebp - 0x10], eax
call fcn.0041f33f
pop ecx
mov dword [ebp - 0x9c], eax
xor esi, esi
mov dword [ebp - 4], esi
cmp eax, esi
je 0x40cc4b
lea ecx, [ebx + reloc.urlmon.dll_ObtainUserAgentString]
push ecx
mov esi, eax
call fcn.0041b47c
mov esi, eax
or dword [ebp - 4], 0xffffffff
push 0x435298
call fcn.0041a53f
pop ecx
push eax
push 4
pop edi
call fcn.0041b3c5
push 0x4352ac
lea eax, [esi + 0x20]
push eax
mov dword [esi + 0x6c], 2
call fcn.00401bb0
lea edi, [ebx + reloc.urlmon.dll_ObtainUserAgentString]
mov eax, dword [edi]
push 0xffffffffffffffff
push esi
mov ecx, edi
call dword [eax + 8]
mov ecx, dword [ebx + reloc.gdiplus.dll_GdipDisposeImage]
mov eax, dword [edi]
xor esi, esi
push esi
push 0x20
push 0x20
sub ecx, 0x20
push 8
push ecx
mov ecx, edi
call dword [eax + 0x18]
mov ecx, dword [ebx + reloc.gdiplus.dll_GdipDisposeImage]
lea eax, [ebx + 0x640]
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 4]
add edx, 8
push edx
lea edx, [ecx - 8]
sub ecx, dword [eax + 8]
push edx
mov edx, dword [eax]
push 8
lea ecx, [ecx + edx - 8]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [ebp - 0x10]
push 4
pop eax
mov edi, 0x3e9
mov dword [ebp - 0x98], 0x4352b4
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x90], 0x4376b0
mov dword [ebp - 0x8c], 0xe6
mov dword [ebp - 0x88], 0x7f
mov dword [ebp - 0x84], 0x15d
mov dword [ebp - 0x80], 0x9d
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], 0x4376b8
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], 0x4354a8
mov dword [ebp - 0x64], 0x4354c4
mov dword [ebp - 0x60], 0x4354e0
mov dword [ebp - 0x5c], 0x435500
mov dword [ebp - 0x58], 0x435440
mov dword [ebp - 0x54], 0x3ea
mov dword [ebp - 0x50], 0x4376c4
mov dword [ebp - 0x4c], LoadLibraryW
mov dword [ebp - 0x48], 0xd3
mov dword [ebp - 0x44], 0xca
mov dword [ebp - 0x40], 0xe2
mov dword [ebp - 0x3c], 0x435468
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], 0x4353fc
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x5ec], eax
lea eax, [ebp - 0x98]
push eax
push 2
lea ecx, [ebx + reloc.WININET.dll_InternetSetOptionW]
pop eax
call fcn.004171b3
push edi
lea edi, [ebx + reloc.WININET.dll_InternetSetOptionW]
mov eax, edi
call fcn.00418406
mov dword [ebx + 0x6b0], eax
cmp eax, esi
je 0x40cdee
mov dword [eax + 0xac], esi
mov dword [eax + 0xb0], esi
mov dword [eax + 0xb4], esi
mov dword [eax + 0xb8], 2
push 0x3ea
mov eax, edi
call fcn.00418406
mov dword [ebx + 0x6b4], eax
cmp eax, esi
je 0x40ce42
push reloc.KERNEL32.dll_SetEndOfFile
call fcn.0041a53f
pop ecx
mov ecx, dword [ebx + 0x6b4]
mov dword [ecx + 0xc4], eax
xor eax, eax
cmp dword [ebp - 0x14], esi
mov dword [ecx + 0xc8], 4
mov ecx, dword [ebx + 0x6b4]
sete al
mov dword [ecx + 0xcc], eax
mov eax, dword [ebx + 0x6b4]
mov dword [eax + 0x4c], esi
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040133d
xor eax, eax
call fcn.00421b85
ret 0x10