Function at 0x40696c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
call fcn.00406b5e
mov byte [0x45577c], al
call fcn.0043b440
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov ecx, str.comctl32.dll
call fcn.004068b8
xor ebx, ebx
mov dword [0x455370], eax
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
push 3
lea ecx, [ebp - 0x30]
pop esi
mov dword [ebp - 0x30], ebx
push esi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
call fcn.004034f8
push esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.004034f8
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004031f3
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004208f0
push dword [ebp - 0x3c]
call fcn.0042690e
pop ecx
lea ecx, [ebp - 0x18]
call fcn.0040776d
lea ecx, [ebp - 0x18]
call fcn.00407732
push esi
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.004034f8
push esi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.004034f8
lea eax, [ebp - 0x24]
lea edx, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x18]
call fcn.004208f0
lea ecx, [ebp - 0xc]
call fcn.0040776d
lea ecx, [ebp - 0xc]
call fcn.00407732
cmp dword [ebp - 8], ebx
je 0x406a55
lea eax, [ebp - 0xc]
mov ecx, 0x455768
push eax
call fcn.0040328e
call fcn.00406b94
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
call fcn.004066fa
test eax, eax
je 0x406b33
mov ecx, dword [0x455778]
push edi
call fcn.0040c68c
cmp byte [0x45577c], bl
push 0xd1
push dword [ebp + 8]
je 0x406ad6
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
mov edi, eax
push ebx
push ebx
lea eax, [ebp - 0x58]
push ebx
push eax
call esi
test eax, eax
je 0x406b23
lea eax, [ebp - 0x58]
push eax
push edi
push dword [0x455778]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x406acd
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push ebx
lea eax, [ebp - 0x58]
push ebx
push eax
jmp 0x406a9e
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
mov edi, eax
push ebx
push ebx
lea eax, [ebp - 0x58]
push ebx
push eax
call esi
test eax, eax
je 0x406b23
lea eax, [ebp - 0x58]
push eax
push edi
push dword [0x455778]
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x406b1a
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
lea eax, [ebp - 0x58]
push ebx
push eax
jmp 0x406aeb
mov dword [0x455778], ebx
call dword [sym.imp.ole32.dll_OleUninitialize]
mov ebx, dword [ebp - 0x50]
pop edi
push dword [ebp - 0x24]
call fcn.0042690e
push dword [ebp - 0xc]
call fcn.0042690e
push dword [ebp - 0x18]
call fcn.0042690e
push dword [ebp - 0x30]
call fcn.0042690e
add esp, 0x10
mov eax, ebx
pop esi
pop ebx
leave
ret 0x10