Function at 0x40fff0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42ac51
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x43b010]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push esi
push edi
mov eax, dword [0x43b010]
xor eax, esp
push eax
lea eax, [esp + 0x290]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [esp + 0x14], 0
xor bl, bl
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
mov dword [esp + 0x298], eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], eax
mov word [esp + 0x34], ax
mov byte [esp + 0x298], 1
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x41033a
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410083
sub ecx, edx
mov bl, 1
sar ecx, 1
je 0x41033a
push 0x435e44
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], vtable.CCommandLine.0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
call fcn.0040f700
push esi
lea ecx, [esp + 0x24]
call fcn.0040f600
mov byte [esp + 0x298], 2
cmp dword [esp + 0x24], 0
je 0x41031e
xor eax, eax
push 0x206
push eax
mov word [esp + 0x84], ax
lea eax, [esp + 0x86]
push eax
call fcn.0041a7b0
add esp, 0xc
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x20]
push 0x104
push eax
call fcn.0040f920
test eax, eax
jne 0x41031c
add edi, 0x20
jmp 0x410130
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x80]
push 0x435e50
push eax
call fcn.00418b1a
mov edx, eax
add esp, 0xc
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41015a
cmp word [eax], 0
jne 0x410176
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x80]
push 0x435444
push eax
call fcn.00418b1a
add esp, 0xc
mov edx, eax
cmp word [edx], 0
jne 0x410180
xor ecx, ecx
jmp 0x410194
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410185
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x54]
call fcn.0040adb0
mov edx, dword [esp + 0x14]
cmp word [edx], 0
jne 0x4101ad
xor eax, eax
jmp 0x4101c1
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4101b2
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x3c]
call fcn.0040adb0
cmp dword [esp + 0x44], 0
je 0x410257
push 1
push ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x22
push eax
lea ecx, [esp + 0x40]
call fcn.0040bd90
cmp eax, 0xffffffff
je 0x410257
push eax
push 0
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x40]
call fcn.0040a620
mov esi, eax
lea eax, [esp + 0x34]
cmp eax, esi
je 0x410244
cmp dword [esp + 0x48], 8
jb 0x410223
push dword [esp + 0x34]
call fcn.004144c0
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 7
push esi
lea ecx, [esp + 0x38]
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
call fcn.0040a7d0
cmp dword [esp + 0x78], 8
jb 0x410257
push dword [esp + 0x64]
call fcn.004144c0
add esp, 4
lea eax, [esp + 0x4c]
mov ecx, edi
push eax
call fcn.0040e330
mov esi, eax
cmp esi, dword [edi]
je 0x41028b
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
mov ecx, dword [eax + 0x10]
jb 0x410277
mov eax, dword [eax]
push ecx
push eax
push dword [esp + 0x64]
push ecx
lea ecx, [esp + 0x5c]
call fcn.0040e7f0
test eax, eax
jns 0x4102b7
lea eax, [esp + 0x4c]
push ecx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
push ecx
mov ecx, edi
call fcn.00410590
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [esp + 0x28]
push eax
call fcn.00410650
mov esi, dword [esp + 0x1c]
lea ecx, [esi + 0x28]
lea eax, [esp + 0x34]
cmp ecx, eax
je 0x4102cc
push 0xffffffffffffffff
push 0
push eax
call fcn.0040a370
push 0x104
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x28]
call fcn.0040f9d0
cmp dword [esp + 0x60], 8
mov ecx, eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x5c], 0
cmovae eax, dword [esp + 0x4c]
xor edx, edx
mov word [eax], dx
lea eax, [esp + 0x34]
cmp dword [esp + 0x48], 8
mov dword [esp + 0x44], edx
cmovae eax, dword [esp + 0x34]
mov word [eax], dx
test ecx, ecx
je 0x410130
mov bl, 1
lea ecx, [esp + 0x20]
call fcn.0040f070
cmp dword [esp + 0x48], 8
jb 0x41033a
push dword [esp + 0x34]
call fcn.004144c0
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 7
cmp dword [esp + 0x60], 8
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
jb 0x410364
push dword [esp + 0x4c]
call fcn.004144c0
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.0041729b
mov esp, ebp
pop ebp
ret