Function at 0x4075d0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cfeb2
mov eax, dword fs:[0]
push eax
sub esp, 0x3e8
mov eax, dword [0x4fbf60]
xor eax, esp
mov dword [esp + 0x3e0], eax
push ebx
push esi
push edi
mov eax, dword [0x4fbf60]
xor eax, esp
push eax
lea eax, [esp + 0x3f8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
mov ebx, ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], esi
cmp eax, esi
jne 0x40762f
mov dword [esp + 0x14], 0x4dad41
mov eax, 7
xor ecx, ecx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xb8], esi
mov word [esp + 0xa8], cx
mov dword [esp + 0x400], esi
xor edx, edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], esi
mov word [esp + 0x38], dx
mov byte [esp + 0x400], 1
call fcn.00427f80
mov edx, dword [eax]
mov ecx, dword [eax + 4]
sub ecx, edx
push edx
lea edi, [esp + 0xac]
call fcn.004142d0
mov eax, edi
add esp, 4
push eax
lea ecx, [esp + 0x3c]
call fcn.00414530
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x3c]
add esp, 4
cmp eax, 8
jb 0x4076a8
mov dword [esp + 0x1c], edx
jmp 0x4076b0
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], ecx
mov ecx, edx
cmp eax, 8
jae 0x4076bb
lea ecx, [esp + 0x38]
mov edi, dword [esp + 0x48]
cmp eax, 8
lea ecx, [ecx + edi*2]
mov eax, edx
jae 0x4076cd
lea eax, [esp + 0x38]
cmp eax, ecx
je 0x4076e9
mov edx, dword [esp + 0x1c]
push edx
lea edx, [esp + 0x20]
push edx
mov ebx, ecx
call fcn.0040b000
mov ebx, dword [esp + 0x20]
add esp, 8
push 0x4dad44
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x20], 0x4da6dc
cmp eax, esi
je 0x407707
call eax
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0x2c], eax
mov edi, 7
xor eax, eax
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], esi
mov word [esp + 0x70], ax
push 0x208
lea edx, [esp + 0x1e2]
xor ecx, ecx
push esi
mov byte [esp + 0x408], 2
push edx
mov word [esp + 0x1e8], cx
call fcn.00483200
add esp, 0xc
push 0x105
lea eax, [esp + 0x1e0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x407788
xor ecx, ecx
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x10], esi
push esi
mov word [ebx], cx
push 0x4da6dc
mov ecx, ebx
call fcn.004028fc
jmp 0x407a4a
lea eax, [esp + 0x1dc]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x407792
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x1e0]
push ecx
lea ecx, [esp + 0x78]
call fcn.004028fc
mov edx, dword [esp + 0x14]
push 0xffffffffffffffff
push edx
lea eax, [esp + 0x20]
mov dword [esp + 0x20], esi
call fcn.00414700
push 0x110
mov dword [esp + 0x30], eax
lea eax, [esp + 0xd4]
push esi
push eax
call fcn.00483200
add esp, 0x14
lea ecx, [esp + 0xc4]
push ecx
mov dword [esp + 0xc8], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 3
xor edx, edx
push 0x4dad60
lea ecx, [esp + 0x94]
mov dword [esp + 0x30], esi
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], esi
mov word [esp + 0x94], dx
call fcn.004028fc
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x404], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x407861
cmp dword [esp + 0x28], 1
jne 0x407861
push 3
push 0x4dad68
lea ecx, [esp + 0x94]
call fcn.004028fc
xor ecx, ecx
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], esi
mov word [esp + 0x54], cx
mov byte [esp + 0x400], 4
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
cmp dword [esp + 0xa0], 8
mov dword [esp + 0x18], eax
jb 0x407899
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x14], edx
jmp 0x4078a4
lea eax, [esp + 0x8c]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, str._s_r_n_s__s_THREAD_0x_X__FILE__s__OS__d._d__s__s___s_r_n
call fcn.0040a690
add esp, 4
lea edx, [esp + 0x54]
mov byte [esp + 0x400], 5
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x20], edx
call fcn.0040a720
push eax
lea ecx, [esp + 0x74]
call fcn.0040a720
push eax
lea ecx, [esp + 0x24]
call fcn.0040a8a0
push eax
lea ecx, [esp + 0x30]
call fcn.0040a7a0
push eax
lea ecx, [esp + 0x28]
call fcn.0040a8a0
push eax
lea ecx, [esp + 0xcc]
call fcn.0040a7a0
push eax
lea ecx, [esp + 0xd0]
call fcn.0040a7a0
push eax
lea ecx, [esp + 0xdc]
call fcn.0040a820
push eax
lea ecx, [esp + 0x18]
call fcn.0040a8a0
push eax
lea ecx, [esp + 0x1c]
call fcn.0040a8a0
push eax
lea ecx, [esp + 0x20]
call fcn.0040a920
mov byte [esp + 0x400], 4
mov eax, dword [esp + 0x34]
cmp eax, esi
je 0x40797e
mov edi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x407979
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x407979
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
mov edi, 7
xor eax, eax
lea ecx, [esp + 0x54]
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x10], esi
mov word [ebx], ax
cmp ebx, ecx
je 0x4079f5
cmp dword [ebx + 0x14], 8
jb 0x4079a2
mov edx, dword [ebx]
push edx
call fcn.0047f3b4
add esp, 4
xor eax, eax
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x10], esi
mov word [ebx], ax
cmp dword [esp + 0x68], 8
jae 0x4079db
mov ecx, dword [esp + 0x64]
lea edx, [ecx + ecx + 2]
push edx
lea eax, [esp + 0x58]
push eax
push ebx
call fcn.0047f3c0
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
add esp, 0xc
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], eax
jmp 0x407a09
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov dword [ebx], ecx
mov dword [esp + 0x54], esi
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], eax
jmp 0x407a09
cmp dword [esp + 0x68], 8
jb 0x407a09
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0047f3b4
add esp, 4
xor edx, edx
cmp dword [esp + 0xa0], 8
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], esi
mov word [esp + 0x54], dx
jb 0x407a32
mov eax, dword [esp + 0x8c]
push eax
call fcn.0047f3b4
add esp, 4
xor ecx, ecx
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], esi
mov word [esp + 0x8c], cx
cmp dword [esp + 0x84], 8
jb 0x407a61
mov edx, dword [esp + 0x70]
push edx
call fcn.0047f3b4
add esp, 4
xor eax, eax
cmp dword [esp + 0x4c], 8
mov word [esp + 0x70], ax
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], edi
jb 0x407a8a
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0047f3b4
add esp, 4
xor edx, edx
cmp dword [esp + 0xbc], 8
mov word [esp + 0x38], dx
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edi
jb 0x407ab3
mov eax, dword [esp + 0xa8]
push eax
call fcn.0047f3b4
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x3f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3e0]
xor ecx, esp
call fcn.0047f164
mov esp, ebp
pop ebp
ret