Function at 0x4026c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x44
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push 0x104
push 2
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call ebx
test eax, eax
mov dword [0x412824], eax
je 0x402a7e
push ebp
push esi
mov esi, dword [esp + 0x58]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call fcn.004025e0
push 0x7ff8
push 2
mov dword [0x41240c], esi
call edi
push eax
call ebx
test eax, eax
mov dword [0x412444], eax
je 0x402a44
push 0xa
push str.SUSS
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40274d
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40274d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [0x412478], eax
mov eax, dword [0x41240c]
mov edi, dword [sym.imp.USER32.dll_LoadImageA]
push 0
push 0
push 0
push 0
push str.LDSCR
push eax
call edi
mov esi, eax
test esi, esi
je 0x4028a0
mov eax, dword [0x412478]
test eax, eax
je 0x4028a0
cmp dword [eax], 0
je 0x4028c2
mov ebx, 0x13c
mov dword [esp + 0x58], 0x3c
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call edi
sub eax, ebx
push 1
cdq
sub eax, edx
mov esi, eax
sar esi, 1
call edi
mov ecx, 0xa
lea edi, [esp + 0x2c]
mov ebp, dword [esp + 0x58]
push str.IDI_ICON
sub eax, ebp
cdq
sub eax, edx
mov ebp, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [0x41240c]
xor edi, edi
push eax
mov dword [esp + 0x34], 2
sar ebp, 1
mov dword [esp + 0x38], 0x401f60
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], 0x1e
mov dword [esp + 0x44], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push edi
mov dword [esp + 0x48], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x44], eax
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x54], 0x40f18c
call dword [sym.imp.USER32.dll_RegisterClassA]
push 3
push 0x40f198
mov edi, dword [esp + 0x68]
mov dword [esp + 0x18], eax
push edi
call fcn.0040be70
add esp, 0xc
test eax, eax
je 0x4028e8
push 3
push 0x40f19c
push edi
call fcn.0040be70
add esp, 0xc
test eax, eax
je 0x4028e8
push 2
push 0x40f1a0
push edi
call fcn.0040be70
add esp, 0xc
test eax, eax
je 0x4028e8
push 2
push 0x40f1a4
push edi
call fcn.0040be70
add esp, 0xc
test eax, eax
je 0x4028e8
push 2
push 0x40f1a8
push edi
call fcn.0040be70
add esp, 0xc
test eax, eax
je 0x4028e8
xor eax, eax
jmp 0x4028ed
mov eax, dword [0x41240c]
push 0x8040
push 0
push 0
push 0
push str.STUBIMG
push eax
call edi
mov esi, eax
test esi, esi
je 0x402788
lea ecx, [esp + 0x14]
push ecx
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ebx, dword [esp + 0x18]
push esi
mov edx, dword [esp + 0x20]
mov dword [esp + 0x5c], edx
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x402795
mov eax, 1
mov ecx, dword [0x412478]
test ecx, ecx
je 0x402909
test eax, eax
jne 0x402904
cmp dword [ecx], 0
jne 0x402904
xor eax, eax
jmp 0x402909
mov eax, 1
cmp word [esp + 0x10], 0
je 0x402a44
mov ecx, dword [0x41240c]
mov edx, dword [esp + 0x58]
neg eax
push 0
push ecx
sbb eax, eax
push 0
and eax, 0xf0000000
push 0
push edx
add eax, 0x10000000
push ebx
push ebp
or eax, 0x80000000
push esi
push eax
push 0x41248c
push str.pstubClass
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
je 0x402a44
push 3
push 0x40f1c0
push edi
call fcn.0040be70
add esp, 0xc
test eax, eax
je 0x4029d2
push 3
push 0x40f1c4
push edi
call fcn.0040be70
add esp, 0xc
test eax, eax
je 0x4029d2
push 2
push 0x40f1c8
push edi
call fcn.0040be70
add esp, 0xc
test eax, eax
je 0x4029d2
push 2
push 0x40f1cc
push edi
call fcn.0040be70
add esp, 0xc
test eax, eax
je 0x4029d2
push 2
push 0x40f1d0
push edi
call fcn.0040be70
add esp, 0xc
test eax, eax
je 0x4029d2
push 0
push 0
push 8
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [0x412824]
push 0x40
push eax
call dword [sym.imp.KERNEL32.dll__lopen]
mov dword [0x412830], eax
call fcn.004015e0
test eax, eax
jne 0x402a20
push esi
call fcn.00401870
add esp, 4
test eax, eax
jne 0x402a20
call fcn.00401390
mov eax, dword [0x40f030]
test eax, eax
jl 0x402a20
push esi
call fcn.004019a0
add esp, 4
test eax, eax
jne 0x402a20
push edi
push esi
call fcn.00401c10
add esp, 8
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov al, byte [0x40f03a]
test al, al
je 0x402a44
push 0
push str.Error
push str.Unable_to_execute.__The_cause_may_be_an_incomplete_download.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.00401b60
mov eax, dword [0x41282c]
test eax, eax
je 0x402a7c
mov esi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [0x41282c]
push ecx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [0x41282c], 0
pop esi
pop ebp
pop edi
xor eax, eax
pop ebx
add esp, 0x44
ret 0x10