Function at 0x40d740
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x45886e
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46f1b0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x60]
mov eax, dword [0x471864]
mov edx, dword [eax + 0xc]
mov ecx, 0x471864
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x50], 0
mov eax, dword [0x471864]
mov edx, dword [eax + 0xc]
mov ecx, 0x471864
call edx
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x50], 1
mov eax, dword [0x471864]
mov edx, dword [eax + 0xc]
mov ecx, 0x471864
call edx
add eax, 0x10
mov dword [esp + 0x44], eax
mov byte [esp + 0x50], 2
mov ecx, dword [esp + 0x5c]
call fcn.00402b00
mov ecx, ebp
call fcn.00402b00
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
test eax, eax
je 0x40d804
mov ecx, eax
lea esi, [ecx + 1]
mov edi, edi
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x40d7e0
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00402b60
lea ebx, [esp + 0x18]
call fcn.0040e990
mov edi, eax
call fcn.0040ea10
mov eax, dword [0x471864]
mov edx, dword [eax + 0xc]
mov ecx, 0x471864
call edx
add eax, 0x10
mov dword [esp + 0x24], eax
push str.saitest
mov byte [esp + 0x54], 3
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x40], eax
test eax, eax
jne 0x40d83c
push 0x8007000e
call fcn.00401000
mov ebx, eax
lea edi, [esp + 0x24]
mov byte [esp + 0x50], 4
call fcn.0040e630
lea eax, [esp + 0x38]
push eax
mov ecx, edi
mov edx, 0x45f1c0
call fcn.0040e6b0
lea ecx, [esp + 0x64]
push 0x45f1bc
push ecx
mov ebx, 5
mov ecx, eax
mov byte [esp + 0x5c], bl
call fcn.0040a060
add esp, 0xc
push eax
mov ecx, edi
mov byte [esp + 0x54], 6
call fcn.00402d80
mov byte [esp + 0x50], bl
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d8ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x50], 4
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d8d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x471864]
mov eax, dword [edx + 0xc]
mov ecx, 0x471864
call eax
add eax, 0x10
mov dword [esp + 0x38], eax
push 0xa
push 0x1334
push 0x45f1c4
mov byte [esp + 0x5c], 7
call fcn.00433314
add esp, 0xc
push eax
push ebx
push 0x616
push 0x45f1d0
call fcn.00433314
add esp, 0xc
push eax
lea edi, [esp + 0x40]
call fcn.004056f0
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
add esp, 8
push ecx
push edx
lea eax, [esp + 0x20]
push eax
call fcn.0040b940
mov edx, dword [0x471864]
mov eax, dword [edx + 0xc]
mov ecx, 0x471864
mov dword [esp + 0x20], 0
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x50], 8
mov edx, dword [0x471864]
mov eax, dword [edx + 0xc]
mov ecx, 0x471864
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x23]
push ecx
lea edx, [esp + 0x28]
mov bl, 9
mov byte [esp + 0x60], bl
push edx
lea esi, [esp + 0x34]
mov byte [esp + 0x74], 0
mov byte [esp + 0x2b], 0x2f
call fcn.0043354d
mov edi, dword [esp + 0x34]
add esp, 0x14
mov eax, edi
lea esi, [esp + 0x30]
lea ecx, [esp + 0x18]
call fcn.00409f80
push eax
mov ecx, ebp
mov byte [esp + 0x54], 0xa
call fcn.00402d80
mov byte [esp + 0x50], bl
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d9e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x5c]
push ebp
call fcn.00402d80
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
lea eax, [esp + 0x34]
push eax
call edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x60], 0xb
push ecx
lea esi, [esp + 0x34]
mov ebp, edi
mov byte [esp + 0x6c], 0x2f
call fcn.0043354d
add esp, 0x14
test al, al
je 0x40db8f
lea esp, [esp]
mov edx, dword [esp + 0x1c]
cmp dword [edx - 0xc], 0
je 0x40db8f
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x20]
mov edx, 0x45f0d0
call fcn.0040e6b0
lea ecx, [esp + 0x34]
push 0x45f0d0
push ecx
mov ecx, eax
mov byte [esp + 0x5c], 0xc
call fcn.0040a060
add esp, 0xc
mov byte [esp + 0x50], 0xe
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40da9f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x40db24
mov eax, dword [esp + 0x34]
cmp dword [eax - 0xc], 0
jl 0x40db24
push ecx
push eax
call fcn.0044006e
add esp, 8
test eax, eax
je 0x40db24
sub eax, dword [esp + 0x34]
js 0x40db24
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x28]
push edx
lea esi, [esp + 0x34]
mov byte [esp + 0x6c], 0x2f
call fcn.0043354d
mov bl, al
mov byte [esp + 0x64], 0xb
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40db1a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x40da40
jmp 0x40db8f
sub edi, ebp
push edi
push ebp
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x24]
call fcn.0040a2b0
mov byte [esp + 0x50], 0xf
mov ecx, dword [esp + 0x5c]
push eax
call fcn.00402d80
mov byte [esp + 0x50], 0xe
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40db6a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x50], 0xb
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40db8f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
push 0x65
call fcn.004010d0
add esp, 8
test eax, eax
je 0x40dbab
push 0x65
push eax
lea ecx, [esp + 0x30]
call fcn.00402c50
lea ebx, [esp + 0x28]
call fcn.0040e990
mov edi, eax
call fcn.0040ea10
mov ecx, dword [esp + 0x28]
cmp dword [ecx - 0xc], 0
mov esi, dword [esp + 0x5c]
je 0x40dbe7
push 1
push 0x45f0cc
mov ecx, esi
call fcn.00402a40
mov eax, dword [esp + 0x28]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, esi
call fcn.00402a40
mov eax, dword [0x4729fc]
test eax, eax
jne 0x40dc1e
push 0x9c
call fcn.00440328
add esp, 4
mov dword [esp + 0x5c], eax
mov byte [esp + 0x50], 0x10
test eax, eax
je 0x40dc12
push eax
call fcn.0042868c
jmp 0x40dc14
xor eax, eax
mov byte [esp + 0x50], 0xb
mov dword [0x4729fc], eax
push esi
push eax
call fcn.00428f33
push 1
push 0x24b4
push 0x45e890
call fcn.00433314
add esp, 0xc
push eax
lea ecx, [esp + 0x64]
call fcn.00402830
push 4
push 0x90a
push 0x45f1d8
mov byte [esp + 0x5c], 0x11
call fcn.00433314
add esp, 0xc
push eax
lea ecx, [esp + 0x60]
call fcn.00402830
mov bl, 0x12
mov byte [esp + 0x50], bl
mov edx, dword [0x4729fc]
test edx, edx
jne 0x40dca5
push 0x9c
call fcn.00440328
add esp, 4
mov dword [esp + 0x58], eax
mov byte [esp + 0x50], 0x13
test eax, eax
je 0x40dc98
push eax
call fcn.0042868c
jmp 0x40dc9a
xor eax, eax
mov byte [esp + 0x50], bl
mov dword [0x4729fc], eax
mov edx, eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x60]
call fcn.00428d4c
mov byte [esp + 0x50], 0x11
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dcd8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x50], 0xb
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dcfd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0042997c
mov byte [esp + 0x50], 9
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dd27
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x50], 8
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dd4c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x50], 7
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dd71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x50], 4
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dd96
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x40]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0x50], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ddc6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x50], 1
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ddeb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x50], 0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40de10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40de38
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 0xc