Function at 0x40de14
Capabilities:
Accept command line arguments

Disassembly:
push 0x84
mov eax, 0x41b011
call fcn.00419274
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x420fac
mov dword [ebp - 0x14], eax
xor esi, esi
lea eax, [ebp - 0x70]
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x38]
push eax
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x4c], esi
call fcn.0040e30a
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x4c], eax
test ecx, ecx
je 0x40dde6
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
push eax
call edx
mov dword [ebp - 0x14], esi
mov ecx, esi
or dword [ebp - 0x48], 0xffffffff
or dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x40de02
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
push eax
call edx
push ebx
push str.CommandLine___s_
push str.WinMain
push 2
push str.func
push 0x27
push str.file
call fcn.00409fc2
add esp, 0x1c
call dword [sym.imp.Common.dll_void___cdecl_TXLog::FlushLog_void_]
lea eax, [ebp - 0x88]
mov dword [ebp - 0x7c], esi
push eax
mov edi, esi
mov dword [ebp - 0x74], esi
push ebx
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x88], esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
cmp dword [ebp - 0x88], esi
jle 0x40de9b
push dword [ebx + esi*4]
lea ecx, [ebp - 0x28]
call fcn.00408116
lea eax, [ebp - 0x28]
push eax
cmp dword [ebp - 0x74], edi
je 0x40de78
mov edx, edi
call fcn.0040e0bc
pop ecx
push 0x18
pop eax
add edi, eax
mov dword [ebp - 0x78], edi
jmp 0x40de84
push edi
lea ecx, [ebp - 0x7c]
call fcn.0040e0eb
mov edi, dword [ebp - 0x78]
lea ecx, [ebp - 0x28]
call fcn.004082ac
inc esi
cmp esi, dword [ebp - 0x88]
jl 0x40de52
mov esi, dword [ebp - 0x7c]
mov dword [ebp - 0x80], esi
mov ebx, esi
jmp 0x40deb5
push ecx
push str.__command
mov ecx, ebx
call fcn.0040e059
test eax, eax
je 0x40debe
push 0x18
pop eax
add ebx, eax
cmp ebx, edi
jne 0x40de9f
jmp 0x40df7a
mov ebx, esi
push ecx
push str.__params
mov ecx, ebx
call fcn.0040e059
test eax, eax
je 0x40dedf
push 0x18
pop eax
add ebx, eax
cmp ebx, edi
jne 0x40dec0
jmp 0x40df7a
lea edx, [ebp - 0x7c]
lea ecx, [ebp - 0x40]
call fcn.0040dc65
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0040a204
mov ecx, dword [ebp - 0x84]
test ecx, ecx
je 0x40df3e
mov eax, dword [ecx]
lea edx, [ebp - 0x28]
push edx
lea edx, [ebp - 0x40]
push edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x8c], eax
test ecx, ecx
je 0x40df23
call fcn.0040a07e
lea ecx, [ebp - 0x28]
call fcn.004082ac
lea ecx, [ebp - 0x40]
call fcn.004082ac
mov esi, dword [ebp - 0x7c]
mov edi, dword [ebp - 0x78]
mov dword [ebp - 0x80], esi
jmp 0x40df84
push str.Runner_not_found
push str.WinMain
push ecx
push ecx
push 0x3f
pop edx
call fcn.0040a1bc
mov ecx, dword [ebp - 0x80]
add esp, 0x10
test ecx, ecx
je 0x40df61
call fcn.0040a07e
lea ecx, [ebp - 0x28]
call fcn.004082ac
lea ecx, [ebp - 0x40]
call fcn.004082ac
mov esi, dword [ebp - 0x7c]
mov edi, dword [ebp - 0x78]
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x8c], 0x404
test esi, esi
je 0x40dfb8
mov ebx, esi
cmp ebx, edi
je 0x40dfa1
push 0x18
pop esi
mov ecx, ebx
call fcn.004082ac
add ebx, esi
cmp ebx, edi
jne 0x40df91
mov esi, dword [ebp - 0x80]
mov eax, dword [ebp - 0x74]
sub eax, esi
push 0x18
pop ecx
cdq
idiv ecx
imul eax, eax, 0x18
push eax
push esi
call fcn.004085b3
pop ecx
pop ecx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x40dfe5
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x90], eax
test ecx, ecx
jne 0x40dfd9
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
mov eax, dword [ecx]
lea edx, [ebp - 0x90]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x40dffd
mov esi, dword [ecx]
lea eax, [ebp - 0x70]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, dword [ebp - 0x8c]
call fcn.0041921e
ret 0x10