Function at 0x438ae0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
lea ebp, [esp - 0x2004]
mov eax, 0x2004
call fcn.0049ed90
push 0xffffffffffffffff
push 0x4a6f59
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x4cd4a4]
xor eax, ebp
mov dword [ebp + 0x2000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x2010]
xor esi, esi
push esi
lea ecx, [ebp - 0x1e0]
call sub.MFC80U.DLL_Ordinal_566
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], esi
mov esi, 1
cmp dword [ebp + 0x200c], esi
jle 0x438b8f
mov ebx, dword [sym.imp.MSVCR80.dll__wcsnicmp]
mov eax, dword [edi + esi*4]
push 4
push 0x4b4780
push eax
call ebx
add esp, 0xc
test eax, eax
jne 0x438b84
mov ecx, dword [edi + esi*4]
push 1
add ecx, 8
push 0x4b477c
push ecx
call ebx
add esp, 0xc
test eax, eax
jne 0x438b84
mov eax, dword [edi + esi*4]
add eax, 0xa
mov dword [ebp - 0x18], eax
add esi, 1
cmp esi, dword [ebp + 0x200c]
jl 0x438b50
mov edx, dword [ebp - 0x18]
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.004382e0
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call sub.MFC80U.DLL_Ordinal_1197
test eax, eax
mov esi, dword [ebp - 0x18]
jne 0x438bde
lea ecx, [ebp]
push ecx
push 5
push esi
call fcn.00438070
mov ebx, dword [sym.imp.MSVCR80.dll_wprintf]
push eax
push 0x4b4774
call ebx
add esp, 0x14
jmp 0x438be4
mov ebx, dword [sym.imp.MSVCR80.dll_wprintf]
cmp dword [ebp + 0x200c], 3
jge 0x438c32
lea edx, [ebp]
push edx
push 0x15
push esi
call fcn.00438070
push eax
push 0x4b4774
call ebx
lea eax, [ebp]
push eax
push 0x16
push esi
call fcn.00438070
push eax
push 0x4b4774
call ebx
add esp, 0x28
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 4], 0xffffffff
call sub.MFC80U.DLL_Ordinal_757
or eax, 0xffffffff
jmp 0x438e02
test esi, esi
je 0x438c3e
call sub.MFC80U.DLL_Ordinal_1079
mov dword [eax + 0xc], esi
push 0
lea ecx, [ebp - 0x13c]
call fcn.00454c40
push 0
push 0x66
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 1
call sub.MFC80U.DLL_Ordinal_1542
push 5
lea ecx, [ebp - 0x13c]
call sub.MFC80U.DLL_Ordinal_6086
mov ecx, dword [ebp - 0x50]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0x64
push 0
push 0x406
push ecx
call ebx
mov edx, dword [ebp - 0x50]
push 0
push 0
push 0x402
push edx
call ebx
push 5
lea ecx, [ebp - 0x70]
call sub.MFC80U.DLL_Ordinal_6086
push 5
lea ecx, [ebp - 0xc4]
call sub.MFC80U.DLL_Ordinal_6086
lea ecx, [ebp - 0x11]
call sub.coretechlib.dll_public:_void___thiscall_CoreTechLib::constructor_void_
push 0x2358
mov byte [ebp - 4], 3
call sub.MFC80U.DLL_Ordinal_762
mov ecx, eax
add esp, 4
mov dword [ebp - 0x18], ecx
test ecx, ecx
mov byte [ebp - 4], 4
je 0x438ce5
mov edx, dword [ebp + 0x200c]
push esi
lea eax, [ebp - 0x13c]
push eax
push edi
push edx
call fcn.0047b8a0
mov esi, eax
jmp 0x438ce7
xor esi, esi
mov ecx, esi
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], esi
mov dword [ebp - 0xc8], esi
call fcn.0047a0c0
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.USER32.dll_CloseWindow]
mov cl, byte [esi + 0x161]
mov edi, 2
mov byte [ebp - 0x19], cl
mov dword [ebp - 4], edi
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.0047bb80
push esi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov dword [ebp - 4], edi
xor edx, edx
cmp byte [ebp - 0x19], dl
lea ecx, [ebp - 0x11]
setne dl
mov byte [ebp - 4], 1
mov esi, edx
call sub.coretechlib.dll_public:_void___thiscall_CoreTechLib::destructor_void_
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0
call fcn.00438090
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 4], 0xffffffff
call sub.MFC80U.DLL_Ordinal_757
mov eax, esi
jmp 0x438e02
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2000]
xor ecx, ebp
call fcn.0049ec62
add ebp, 0x2004
mov esp, ebp
pop ebp
ret