Function at 0x4073d5
Capabilities:
Accept command line arguments
Enumerate gui resources
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4083f7
call fcn.00408230
sub esp, 0x354
mov eax, dword [0x40aa8c]
xor eax, dword [ebp + 4]
and dword [ebp - 0x14], 0
push ebx
mov ebx, dword [sym.imp.USER32.dll_LoadStringW]
push esi
push edi
mov esi, ecx
push 0x104
lea ecx, [esi + 0x8c]
push ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push 0x210
push eax
mov dword [esi], eax
call ebx
push 0x10
lea edi, [esi + 0x294]
push edi
push 0x200
push dword [esi]
call ebx
push 0x10
lea eax, [esi + 0x2b4]
push eax
push 0x201
push dword [esi]
call ebx
lea eax, [ebp - 0x14]
push eax
push 0x406dec
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp - 0x14], 0
jne 0x407738
lea eax, [ebp - 0x48]
push eax
push edi
push dword [esi]
mov dword [ebp - 0x48], 0x30
call dword [sym.imp.USER32.dll_GetClassInfoExW]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
jne 0x4074fe
and dword [ebp - 0x3c], 0
and dword [ebp - 0x38], 0
push 0x600
push dword [esi]
mov dword [ebp - 0x48], 0x30
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x40], 0x40726e
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x30], eax
mov eax, dword [esi]
push 0x7f00
push 0
mov dword [ebp - 0x34], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 5
mov dword [ebp - 0x2c], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x28], eax
lea eax, [esi + 0x2b4]
mov dword [ebp - 0x24], eax
push 0
lea eax, [esi + 0x294]
push 0x32
mov dword [ebp - 0x20], eax
call edi
push eax
push 0x31
call edi
push eax
push 1
push 0x600
push dword [esi]
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
lea eax, [esi + 0x2b4]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_LoadMenuW]
mov dword [ebp + 8], eax
xor eax, eax
cmp dword [ebp + 8], eax
je 0x407545
push eax
push dword [esi]
push dword [ebp + 8]
push eax
push eax
push eax
push eax
push eax
push 0xcf0000
lea eax, [esi + 0x8c]
push eax
lea eax, [esi + 0x294]
push eax
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 0x10], eax
xor eax, eax
cmp dword [esi + 0x10], eax
jne 0x407561
cmp dword [ebp + 8], eax
je 0x407738
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DestroyMenu]
jmp 0x407738
mov ecx, esi
call fcn.00402e26
mov dword [esi + 8], eax
lea eax, [esi + 0x998]
push eax
mov ecx, 0x40a050
call fcn.00402e26
push eax
mov ecx, 0x40aa2c
call fcn.00407ba2
test eax, eax
jne 0x4075dd
mov ecx, 0x40aa2c
call fcn.004065a2
push 0x20
lea eax, [ebp - 0x120]
push eax
push 0x214
push dword [esi]
call ebx
push 0x80
lea eax, [ebp - 0x260]
push eax
push 0x21b
push dword [esi]
call ebx
lea eax, [ebp - 0x120]
push 0x2000
push eax
lea eax, [ebp - 0x260]
push eax
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x407738
cmp dword [esi + 0x998], 0
jne 0x40766b
push 8
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
test eax, eax
je 0x407608
push dword [esi]
mov ecx, eax
call fcn.00406593
jmp 0x40760a
xor eax, eax
or dword [ebp - 4], 0xffffffff
test eax, eax
mov dword [esi + 0x9d0], eax
je 0x407623
mov ecx, eax
call fcn.0040676d
test eax, eax
jne 0x40766b
mov ecx, 0x40aa2c
call fcn.004065a2
push 0x20
lea eax, [ebp - 0x160]
push eax
push 0x214
push dword [esi]
call ebx
push 0x80
lea eax, [ebp - 0x360]
push eax
push 0x229
push dword [esi]
call ebx
lea eax, [ebp - 0x160]
push 0x2000
push eax
lea eax, [ebp - 0x360]
jmp 0x4075ce
push 0
mov ecx, esi
call fcn.00402e26
push eax
call dword [sym.imp.USER32.dll_ActivateKeyboardLayout]
mov eax, dword [0x40aa38]
test eax, eax
je 0x407688
call eax
jmp 0x40768a
xor eax, eax
mov dword [esi + 0x9bc], eax
mov eax, dword [0x40aa3c]
test eax, eax
je 0x40769d
call eax
jmp 0x40769f
xor eax, eax
mov dword [esi + 0x9c0], eax
mov eax, dword [0x40aa34]
test eax, eax
je 0x4076b2
call eax
jmp 0x4076b4
xor eax, eax
mov dword [esi + 0x9b4], eax
inc eax
push 0xa
shr eax, 1
push 0x500
push dword [esi]
shl eax, 1
mov dword [esi + 0x9b8], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4076ff
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp + 8], eax
je 0x4076ff
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ax, word [eax]
push dword [ebp + 8]
mov word [esi + 0x24], ax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x9c0]
imul eax, dword [esi + 0x9bc]
inc eax
inc eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
mov dword [esi + 0x9b0], eax
jne 0x40773f
push eax
push eax
push 0x804
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
jmp 0x407a76
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp + 8], eax
lea eax, [ebp - 0xa4]
push eax
push 0x5c
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
movzx ax, byte [ebp - 0x8d]
cmp ax, word [esi + 0x24]
je 0x4077fc
push 0x5a
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
imul eax, eax, 0xfffffff4
push 0x48
pop ecx
cdq
idiv ecx
mov cl, byte [esi + 0x24]
push 0x20
mov dword [ebp - 0x94], 0x190
mov byte [ebp - 0x8d], cl
mov byte [ebp - 0x8c], 7
mov byte [ebp - 0x8a], 2
mov byte [ebp - 0x89], 0x31
mov dword [ebp - 0xa4], eax
xor eax, eax
and byte [ebp - 0x90], al
and byte [ebp - 0x8f], al
and byte [ebp - 0x8e], al
and byte [ebp - 0x8b], al
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x9c], eax
mov word [ebp - 0x88], ax
lea eax, [ebp - 0x88]
push eax
push 0x21d
push dword [esi]
call ebx
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
push dword [ebp + 8]
mov dword [esi + 0xc], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0xe0]
push eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
push dword [ebp - 0x18]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 8]
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xd0]
lea eax, [ecx + eax + 4]
mov dword [esi + 0x50], eax
mov eax, dword [ebp - 0xcc]
lea eax, [eax + eax*4 + 8]
push 2
mov dword [esi + 0x54], eax
call edi
mov ecx, dword [esi + 0x9b4]
imul ecx, dword [ebp - 0xc8]
lea eax, [eax + ecx + 8]
push 2
mov dword [esi + 0x58], eax
call edi
mov ecx, dword [esi + 0x9c0]
inc ecx
imul ecx, dword [ebp - 0xc8]
lea eax, [eax + ecx + 4]
mov ecx, esi
mov dword [esi + 0x5c], eax
call fcn.0040386d
and dword [esi + 0x980], 0
and dword [esi + 0x984], 0
push 2
call edi
mov ecx, dword [esi + 0x5c]
imul ecx, dword [esi + 0x9b4]
add eax, ecx
add eax, dword [esi + 0x54]
push 0x10
add eax, dword [esi + 0x58]
mov dword [esi + 0x988], eax
mov eax, dword [esi + 0x28]
add eax, 8
mov dword [esi + 0x98c], eax
lea eax, [esi + 0x318]
push eax
push 0x211
push dword [esi]
call ebx
push 0x10
mov dword [esi + 0x314], eax
lea eax, [esi + 0x33c]
push eax
push 0x212
push dword [esi]
call ebx
and dword [esi + 0x30], 0
mov dword [esi + 0x338], eax
mov eax, dword [esi + 0x98c]
push 2
mov dword [esi + 0x34], eax
call edi
mov ecx, dword [esi + 0x5c]
imul ecx, dword [esi + 0x9b4]
add eax, ecx
add eax, dword [esi + 0x54]
add eax, dword [esi + 0x58]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x60]
imul eax, dword [esi + 0x50]
add eax, dword [esi + 0x34]
push 0x20
mov dword [esi + 0x3c], eax
call edi
shl eax, 1
sub eax, dword [esi + 0x30]
push 0x21
add eax, dword [esi + 0x38]
mov dword [ebp + 8], eax
call edi
shl eax, 1
mov ebx, eax
sub ebx, dword [esi + 0x34]
push 0xf
sub ebx, dword [esi + 0x984]
call edi
push 4
add ebx, eax
call edi
add ebx, eax
add ebx, dword [esi + 0x3c]
push 0x46
add ebx, dword [esi + 0x98c]
xor edi, edi
push ebx
push dword [ebp + 8]
push edi
push edi
push edi
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [esi + 0x14]
push eax
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, esi
call fcn.00406e60
mov ecx, esi
call fcn.00406f34
mov ecx, esi
call fcn.00406ff9
mov ecx, esi
call fcn.00407097
mov eax, dword [0x40aa58]
cmp eax, edi
je 0x4079bc
push edi
push edi
push 0x80000000
push edi
push 0x406de2
call eax
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x60]
lea edx, [eax + 2]
cmp edx, ecx
jbe 0x4079d3
sub eax, ecx
inc eax
inc eax
mov dword [esi + 0x80], eax
xor ebx, ebx
inc ebx
push ebx
mov ecx, esi
mov dword [esi + 0x88], edi
call fcn.004037de
push edi
mov ecx, esi
call fcn.004037de
mov ecx, esi
call fcn.0040316a
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
cmp word [eax], 0x2d
mov ecx, esi
push ebx
mov dword [esi + 0x9a4], ebx
jne 0x407a69
inc eax
inc eax
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x64]
inc eax
mov dword [esi + 0x9a8], eax
call fcn.0040505c
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0x28
push 0x801
push dword [0x40a07c]
call ebx
cmp dword [esi + 0x998], edi
push dword [ebp + 8]
je 0x407a47
push edi
push 0xc
push dword [esi + 0x40]
call ebx
jmp 0x407a55
push dword [esi + 0x40]
mov ecx, dword [esi + 0x9d0]
call fcn.004065b9
push edi
push edi
push 0x800
push dword [0x40a07c]
call ebx
xor ebx, ebx
inc ebx
jmp 0x407a74
mov dword [esi + 0x9a8], edi
call fcn.0040505c
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
pop edi
pop esi
pop ebx
call fcn.00407e22
leave
ret 4