Function at 0x412c73
Capabilities:
Accept command line arguments
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [0x49f2a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4a3d18]
inc dword [0x4a3d18]
push edi
mov edi, dword [ebp + 8]
test eax, eax
jne 0x412ef4
push ebx
push esi
push str.___r_n
call fcn.004126a4
pop ecx
lea eax, [ebp - 0x168]
push eax
call dword [sym.imp.___total_physical_size__lu_MB_GetLocalTime]
movzx eax, word [ebp - 0x15a]
push eax
movzx eax, word [ebp - 0x15c]
push eax
movzx eax, word [ebp - 0x15e]
push eax
movzx eax, word [ebp - 0x160]
push eax
movzx eax, word [ebp - 0x168]
push eax
movzx eax, word [ebp - 0x166]
push eax
movzx eax, word [ebp - 0x162]
push eax
push 0x4a36e8
push str._hs___generated_exception_at__02d._02d._02d__02d:_02d:_02d._02d_r_n
call fcn.004126a4
add esp, 0x24
call dword [sym.imp.___total_physical_size__lu_MB_GetCommandLineA]
push eax
push str.App_was_started_as:_s_r_n
call fcn.004126a4
pop ecx
pop ecx
lea eax, [ebp - 0x158]
push eax
mov ebx, 0x104
push ebx
call dword [sym.imp.___total_physical_size__lu_MB_GetCurrentDirectoryA]
test eax, eax
je 0x412d3e
lea eax, [ebp - 0x158]
push eax
push str.Current_Directory_is__s_r_n
call fcn.004126a4
pop ecx
pop ecx
call fcn.0041271a
mov esi, dword [edi]
push dword [esi]
call fcn.00412475
push eax
push dword [esi]
push str.Exception_code:__08X__s_r_n
call fcn.004126a4
add esp, 0xc
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x16c]
push eax
push ebx
lea eax, [ebp - 0x158]
push eax
push dword [esi + 0xc]
call fcn.00412615
lea eax, [ebp - 0x158]
push eax
push dword [ebp - 0x16c]
push dword [ebp - 0x16c]
push dword [esi + 0xc]
push str.Fault_address:___08X__02X:_08X__s_r_n
call fcn.004126a4
mov esi, dword [edi + 4]
push str._r_nRegisters:_r_n
call fcn.004126a4
push dword [esi + 0x9c]
push dword [esi + 0xa0]
push dword [esi + 0xa8]
push dword [esi + 0xac]
push dword [esi + 0xa4]
push dword [esi + 0xb0]
push str.EAX:_08X_r_nEBX:_08X_r_nECX:_08X_r_nEDX:_08X_r_nESI:_08X_r_nEDI:_08X_r_n
call fcn.004126a4
push dword [esi + 0xb8]
push dword [esi + 0xbc]
push str.CS:EIP:_04X:_08X_r_n
call fcn.004126a4
add esp, 0x40
push dword [esi + 0xb4]
push dword [esi + 0xc4]
push dword [esi + 0xc8]
push str.SS:ESP:_04X:_08X__EBP:_08X_r_n
call fcn.004126a4
push dword [esi + 0x8c]
push dword [esi + 0x90]
push dword [esi + 0x94]
push dword [esi + 0x98]
push str.DS:_04X__ES:_04X__FS:_04X__GS:_04X_r_n
call fcn.004126a4
push dword [esi + 0xc0]
push str.Flags:_08X_r_n
call fcn.004126a4
push dword [esi + 0xc4]
push str._r_nSTACK_DUMP_at__08X_r_n
call fcn.004126a4
add esp, 0x34
xor ebx, ebx
mov edi, str.__08X___s_r_n
mov eax, dword [esi + 0xc4]
add eax, ebx
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004120de
test eax, eax
je 0x412e82
lea eax, [ebp - 0x54]
push eax
mov eax, dword [esi + 0xc4]
add eax, ebx
push eax
push edi
call fcn.004126a4
add esp, 0xc
add ebx, 0x10
cmp ebx, 0x200
jl 0x412e56
push dword [esi + 0xb8]
push str._r_nInstructions_at_EIP__08X_r_n
call fcn.004126a4
pop ecx
pop ecx
push dword [esi + 0xb8]
lea eax, [ebp - 0x54]
push eax
call fcn.00412044
lea eax, [ebp - 0x54]
push eax
push dword [esi + 0xb8]
push edi
call fcn.004126a4
push str.could_not_walk_symbolic_stack_r_n
call fcn.004126a4
add esp, 0x10
push 0
push esi
call fcn.00412a47
mov edi, str._r_n_r_n_r_n_r_n
test eax, eax
je 0x412eeb
push edi
call fcn.004126a4
pop ecx
push 1
push esi
call fcn.00412a47
push edi
call fcn.004126a4
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00450b32
leave
ret 4