Function at 0x402613
Capabilities:
Accept command line arguments
Create thread
Inspect load icon resource

Disassembly:
sub esp, 0x14c
and dword [esp + 0x1c], 0
xor eax, eax
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, ecx
push edi
push 0xa
pop ecx
push 0x34
lea edi, [esp + 0x34]
mov dword [0x43aeac], ebx
rep stosd dword es:[edi], eax
push ebx
call esi
push 0x36
push ebx
mov dword [0x43af10], eax
call esi
push 3
push ebx
mov dword [0x43af14], eax
call esi
push 4
push ebx
mov dword [0x43aebc], eax
call esi
push 0x33
push ebx
mov dword [0x43aea8], eax
call esi
mov ebp, dword [0x43af10]
push ebx
push ecx
mov dword [0x43af0c], eax
call fcn.00401000
pop ecx
pop ecx
push 1
push eax
push 0x30
push dword [0x43af10]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0x14]
push eax
push ebx
call edi
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [0x43aea4], eax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
mov dword [0x43af00], eax
lea eax, [esp + 0x14]
push eax
push dword [0x43aebc]
call esi
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
mov dword [0x43aeb0], eax
lea eax, [esp + 0x14]
push eax
push dword [0x43af14]
call esi
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
mov dword [0x43af08], eax
lea eax, [esp + 0x14]
push eax
push ebp
call edi
push 1
push ebx
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
push 1
push dword [0x43aeb4]
call dword [sym.imp.USER32.dll_LoadIconW]
mov esi, eax
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push 1
push 0x80
push ebx
call edi
push esi
xor esi, esi
push esi
push 0x80
push ebx
call edi
call fcn.0040130c
test eax, eax
je 0x402742
mov edx, 0x43aee8
mov ecx, ebx
call fcn.00402523
push ebx
call dword [sym.imp.USER32.dll_GetMenu]
mov ecx, dword [0x43aee4]
push 3
push esi
mov dword [0x43af04], eax
and ecx, 0x2000000
push esi
mov eax, esi
or eax, ecx
push esi
push esi
je 0x40276a
push 0xffffffffffffffff
jmp 0x40276c
push 0xfffffffffffffffe
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [0x43aee4]
mov eax, esi
and ecx, 0x800000
or eax, ecx
push 8
pop esi
je 0x40278c
mov eax, esi
jmp 0x40278e
xor eax, eax
mov edi, dword [sym.imp.USER32.dll_CheckMenuItem]
push eax
push 0xd
push dword [0x43af04]
call edi
movzx eax, byte [0x43aee7]
and eax, 1
shl eax, 3
push eax
push 0xe
push dword [0x43af04]
call edi
mov ecx, dword [0x43aee4]
xor eax, eax
and ecx, 0x2000000
or eax, ecx
jne 0x4027cb
xor esi, esi
push esi
push 0xf
push dword [0x43af04]
call edi
mov ecx, ebp
call fcn.004024ec
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
push 0x10020
push edi
push 0x1036
push ebp
call ebx
mov eax, dword [0x439114]
mov ecx, edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], eax
movzx eax, word [ecx + str.Name]
lea ecx, [ecx + 2]
mov word [esp + ecx + 0x56], ax
test ax, ax
jne 0x40280a
lea eax, [esp + 0x58]
mov esi, 0x1061
mov dword [esp + 0x38], eax
lea eax, [esp + 0x2c]
push eax
push edi
push esi
push ebp
call ebx
mov eax, dword [0x439110]
mov ecx, edi
mov dword [esp + 0x34], eax
movzx eax, word [ecx + str.Value]
lea ecx, [ecx + 2]
mov word [esp + ecx + 0x56], ax
test ax, ax
jne 0x402840
lea eax, [esp + 0x2c]
push eax
push 1
push esi
push ebp
call ebx
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [esp + 0x24], 1
mov esi, eax
jle 0x4028ad
push 0x18
call fcn.0042a668
pop ecx
mov dword [eax], edi
mov ecx, dword [esp + 0x24]
mov dword [eax + 0xc], ecx
lea ecx, [esp + 0x28]
push ecx
push edi
push eax
push 0x401edb
push edi
push edi
mov dword [eax + 8], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x4028ad
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14c
ret