Function at 0x407650
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x4a310a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
mov ebp, dword [esp + 0x68]
push esi
xor esi, esi
push edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], 0x1f
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], 0x80
mov dword [esp + 0x68], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.00402190
push edi
lea ecx, [esp + 0x30]
call fcn.00429540
lea eax, [esp + 0x2c]
push eax
call fcn.004297e0
lea ecx, [esp + 0x2c]
push ecx
call fcn.004072b0
add esp, 4
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
push str.language
lea edx, [esp + 0x14]
push edx
mov esi, 8
mov byte [esp + 0x70], 1
call fcn.00419c10
lea eax, [esp + 0x20]
push eax
lea ebx, [esp + 0x14]
lea edi, [esp + 0x3c]
mov byte [esp + 0x6c], 2
call fcn.00429d40
mov byte [esp + 0x68], 1
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x407741
mov ebx, dword [edi + 8]
mov esi, 0x4da170
call fcn.00432310
xor edi, edi
cmp dword [esp + 0x20], edi
jle 0x4077c7
lea esp, [esp]
mov ecx, dword [esp + 0x24]
push 0xa
lea edx, [esp + 0x18]
lea esi, [ecx + edi*4]
push edx
mov dword [esp + 0x1c], 0
call fcn.0041a630
test al, al
je 0x4077c0
mov ebx, dword [esp + 0x14]
lea eax, [ebx - 0x80000000]
cmp eax, 0xffffffff
ja 0x4077c0
mov eax, dword [ebp]
mov esi, dword [ebp + 8]
lea ecx, [eax + 1]
cmp ecx, esi
jle 0x4077ae
mov eax, esi
cdq
sub eax, edx
sar eax, 1
cmp eax, 8
jg 0x40779c
mov eax, 8
sub ecx, esi
cmp ecx, eax
jle 0x4077a4
mov eax, ecx
add esi, eax
push esi
mov ecx, ebp
call fcn.00407f90
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
lea eax, [edx + ecx*4]
test eax, eax
je 0x4077bd
mov dword [eax], ebx
inc dword [ebp]
inc edi
cmp edi, dword [esp + 0x20]
jl 0x407750
lea ebx, [esp + 0x18]
mov ecx, 0x16
mov edi, 0x4da170
mov dword [esp + 0x18], 0
call fcn.00432260
mov edi, eax
mov eax, dword [esp + 0x18]
mov dword [edi], 1
mov dword [edi + 8], eax
mov ebp, 4
mov dword [edi + 4], ebp
mov ecx, dword [str.file]
mov dword [edi + 0xc], ecx
mov edx, dword [0x4bdb8c]
mov dword [edi + 0x10], edx
mov ax, word [0x4bdb90]
mov dword [esp + 0x1c], edi
mov word [edi + 0x14], ax
mov ecx, dword [esp + 0x74]
push ecx
lea eax, [esp + 0x20]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 3
call fcn.00429c50
push edi
mov byte [esp + 0x6c], 1
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40784d
mov ebx, dword [edi + 8]
mov esi, 0x4da170
call fcn.00432310
xor ebx, ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], bl
call fcn.00402190
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], ebx
cmp eax, ebx
je 0x407876
mov ecx, dword [eax - 8]
mov edx, dword [ecx]
add eax, 0xfffffff8
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x28], ebx
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x6c], ebp
call fcn.00429bc0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x68], 0xffffffff
call fcn.00402190
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword [esp + 0x24], ebx
cmp eax, ebx
pop ebx
je 0x4078b7
mov ecx, dword [eax - 8]
mov edx, dword [ecx]
add eax, 0xfffffff8
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret