Function at 0x40b7d0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x448d17
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x460cd0]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x460cd0]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00424e37
push 0xffffff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esi + 0x78]
call fcn.00424251
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x18]
call fcn.00403710
mov dword [esp + 0xa0], 0
call fcn.00408f90
test al, al
je 0x40b867
push 3
push 0x400000
push 0
mov ecx, esi
call fcn.0042648e
push 0x450ad8
push 0x100
push 0x46633c
call fcn.0042f50c
add esp, 0xc
call fcn.004272b3
mov eax, dword [eax + 8]
push 0xdf
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x40b8aa
mov edx, dword [esi + 0x20]
push eax
push 0
push 0x80
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40b8bc
push str.cannot_load_main_icon
mov ecx, 0x466338
call fcn.0041a690
add esp, 4
mov eax, dword [esi + 0xb08]
mov edx, dword [eax + 0x134]
lea edi, [esi + 0xb08]
push esi
push 0xe3
mov ecx, edi
call edx
push 4
push 0x1da
push 0xc6
push 0
push 0
push 0
mov ecx, edi
call fcn.004265f5
push 1
mov ecx, edi
mov dword [esi + 0xb7c], 2
call fcn.00426552
lea ecx, [esp + 0x18]
call fcn.00403580
push 0
lea eax, [esp + 0x18]
push 0xc9
push eax
call fcn.00418df0
add esp, 0xc
mov byte [esp + 0xa0], 1
push eax
lea ecx, [esp + 0x1c]
call fcn.00403460
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x14]
call fcn.004036b0
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, esi
call fcn.004264b8
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
push 4
push 0x19
push 0x5a
add ebx, 0xffffffe1
push ebx
add edi, 0xffffff92
push edi
lea ecx, [esi + 0x1e8]
push 0
call fcn.004265f5
push 4
push 0x19
push 0x5a
push ebx
lea edx, [edi - 0x82]
push edx
lea ecx, [esi + 0x194]
push 0
call fcn.004265f5
push 4
push 0x19
push 0x5a
push ebx
add edi, 0xffffff1f
push edi
lea ecx, [esi + 0x140]
push 0
call fcn.004265f5
push 0
lea ecx, [esi + 0x1e8]
call fcn.0042658e
push 0
lea ecx, [esi + 0x194]
call fcn.0042658e
push 0
lea ecx, [esi + 0x140]
call fcn.0042658e
push 0
push 0
push 0x31
mov eax, dword [esi + 0x260]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call ebx
push eax
call fcn.00424243
lea ecx, [esp + 0x2c]
push ecx
mov dword [esi + 0x2f8], eax
mov edx, dword [eax + 4]
push 0x5c
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x40], 0x258
mov dword [esp + 0x30], 0x14
lea edi, [esi + 0x2e8]
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
mov ecx, edi
call fcn.00424251
test edi, edi
je 0x40ba32
mov edi, dword [edi + 4]
mov ecx, dword [esi + 0x260]
push 0
push edi
push 0x30
push ecx
call ebx
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x40], 0x1f4
lea edi, [esi + 0x2f0]
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
mov ecx, edi
call fcn.00424251
test edi, edi
jne 0x40ba71
xor eax, eax
jmp 0x40ba74
mov eax, dword [edi + 4]
push 0
push eax
mov eax, dword [esi + 0x2b4]
push 0x30
push eax
call ebx
test edi, edi
je 0x40ba89
mov edi, dword [edi + 4]
mov ecx, dword [esi + 0xa8]
push 0
push edi
push 0x30
push ecx
call ebx
lea ecx, [esp + 0x18]
call fcn.00403580
push 0
lea edx, [esp + 0x18]
push 0xd7
push edx
call fcn.00418df0
add esp, 0xc
mov byte [esp + 0xa0], 2
push eax
lea ecx, [esp + 0x1c]
call fcn.00403460
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x14]
call fcn.004036b0
mov eax, dword [esp + 0x18]
lea ebx, [esi + 0x240]
push eax
mov ecx, ebx
call fcn.004264b8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push 0
push 0x32
sub ecx, eax
push ecx
add edx, 0x19
push edx
add eax, 0xd0
push eax
push 0
mov ecx, ebx
call fcn.004265f5
lea ecx, [esp + 0x18]
call fcn.00403580
push 0
lea eax, [esp + 0x18]
push 0xd8
push eax
call fcn.00418df0
add esp, 0xc
mov byte [esp + 0xa0], 3
push eax
lea ecx, [esp + 0x1c]
call fcn.00403460
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x14]
call fcn.004036b0
mov ecx, dword [esp + 0x18]
lea edi, [esi + 0x294]
push ecx
mov ecx, edi
call fcn.004264b8
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push 0
push 0x32
sub edx, eax
push edx
add ecx, 0x4e
push ecx
add eax, 0xd0
push eax
push 0
mov ecx, edi
call fcn.004265f5
push 0x40
call sub.gdiplus.dll_GdipAlloc
mov dword [esp + 0x14], eax
mov byte [esp + 0xa0], 4
test eax, eax
je 0x40bbab
push str.IDR_UNINSTALL_ACTIVE_IMAGE
push eax
call fcn.004066f0
jmp 0x40bbad
xor eax, eax
mov byte [esp + 0xa0], 0
mov dword [esi + 0x23c], eax
call fcn.00408f90
test al, al
mov edx, dword [esi + 0x20]
mov edi, dword [esi + 0x23c]
mov ecx, 0x6e
je 0x40bbfd
mov eax, dword [esp + 0x24]
add eax, 0xfffffd3c
cmp byte [edi + 0x30], 0
mov dword [edi + 0x24], edx
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], ecx
je 0x40bc4c
cmp dword [edi + 0x28], 1
jbe 0x40bc4c
cmp dword [edi + 0x14], 0
jne 0x40bc4c
lea edx, [esp + 0x14]
push edx
jmp 0x40bc22
cmp byte [edi + 0x30], 0
mov eax, 0x120
mov dword [edi + 0x24], edx
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], ecx
je 0x40bc4c
cmp dword [edi + 0x28], 1
jbe 0x40bc4c
cmp dword [edi + 0x14], 0
jne 0x40bc4c
lea eax, [esp + 0x14]
push eax
push 4
push edi
push 0x406c40
push 0
push 0
mov dword [esp + 0x2c], 0
call fcn.0042faf9
add esp, 0x18
test eax, eax
mov dword [edi + 0x14], eax
je 0x40bc4c
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 4
push 0xfa
push 0x1fe
push 0xb4
push 0xdf
lea edi, [esi + 0x88]
push 0
mov ecx, edi
call fcn.004265f5
push 1
mov ecx, edi
call fcn.00419310
push 0
push 1
push 0xfe
push 0x28
lea ecx, [esi + 0x80]
push 1
call fcn.004283af
lea eax, [esi + 0x80]
test eax, eax
je 0x40bc9f
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0xa8]
push eax
push 1
push 0x1003
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call fcn.004282fd
push esi
call fcn.0040bd90
call fcn.00408f90
test al, al
je 0x40bd14
push 3
push 0x400000
push 0
mov ecx, ebx
call fcn.0042648e
push 3
push 0x400000
push 0
lea ecx, [esi + 0x294]
call fcn.0042648e
push 3
push 0x400000
push 0
mov ecx, edi
call fcn.0042648e
push 0
push 0x400000
push 0
mov ecx, edi
call fcn.00428517
mov ecx, eax
call fcn.0042648e
test edi, edi
jne 0x40bd1c
xor eax, eax
jmp 0x40bd1f
mov eax, dword [edi + 0x20]
lea ebx, [esi + 0x2fc]
push 0
mov ecx, edi
mov dword [ebx], eax
mov dword [esi + 0x300], esi
call fcn.0042658e
push 0
push 0
push 0
push 0
push ebx
push 0x40c1e0
call fcn.00428f33
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.004036b0
mov eax, 1
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0042f002
mov esp, ebp
pop ebp
ret