Function at 0x40da4d
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3e35
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x14]
call fcn.00406f30
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00406f30
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 0
mov ax, word [0x4ee330]
mov word [ebp - 0x18], ax
mov dword [ebp - 0x10], 0
push 0x503bac
lea ecx, [ebp - 0x20]
call fcn.004a342d
push 0x503bb0
lea ecx, [ebp - 0x14]
call fcn.004a342d
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 0x24
call fcn.004a342d
mov ecx, dword [ebp - 0x34]
add ecx, 0x24
call fcn.0049fb89
mov ecx, dword [ebp - 0x34]
add ecx, 0x24
call fcn.0049fafa
call fcn.0040de50
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 0x28
call fcn.004a342d
mov ecx, dword [ebp - 0x34]
add ecx, 0x24
call fcn.0040de10
add eax, 1
push eax
call fcn.0048acf0
add esp, 4
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x34], eax
mov ecx, dword [ebp - 0x34]
add ecx, 0x24
call fcn.0040de10
push eax
push 0
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x34]
push eax
call fcn.0048a490
add esp, 0xc
push 0
mov ecx, dword [ebp - 0x34]
add ecx, 0x24
call fcn.004a3660
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x34]
push edx
call fcn.0048a660
add esp, 8
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x34]
push edx
call fcn.0048ac4c
add esp, 8
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x30], eax
mov edx, dword [ebp - 0x34]
cmp dword [edx + 0x30], 0
je 0x40dcea
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x30]
push ecx
lea ecx, [ebp - 0x24]
call fcn.004a3312
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], 0
jne 0x40dbc7
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x34]
add ecx, 0x2c
call fcn.004a33dd
push 0x22
mov ecx, dword [ebp - 0x34]
add ecx, 0x2c
call fcn.0049fb46
mov ecx, dword [ebp - 0x34]
add ecx, 0x2c
call fcn.0049fafa
push 0x22
mov ecx, dword [ebp - 0x34]
add ecx, 0x2c
call fcn.0049fab8
jmp 0x40dc74
push 0x4ee334
push 1
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x24]
call fcn.0049f6ca
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3c]
call fcn.004a3732
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov byte [ebp - 0x28], dl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.004a32a4
mov eax, dword [ebp - 0x28]
and eax, 0xff
test eax, eax
je 0x40dc68
push 1
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x24]
call fcn.0049f595
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x44], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [ebp - 0x20]
call fcn.004a33dd
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.004a32a4
lea ecx, [ebp - 0x18]
push ecx
push 0
call fcn.0048ac4c
add esp, 8
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x30]
push ecx
lea ecx, [ebp - 0x24]
call fcn.004a342d
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x14]
call fcn.004a33dd
lea eax, [ebp - 0x18]
push eax
push 0
call fcn.0048ac4c
add esp, 8
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x30], eax
cmp dword [ebp - 0x1c], 0
jle 0x40dcd0
mov edx, fcn.0048ac4c
neg edx
sbb edx, edx
inc edx
push edx
push 1
lea ecx, [ebp - 0x20]
call fcn.00406f50
push eax
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x34]
call dword [edx + 0xc]
mov eax, fcn.0048ac4c
neg eax
sbb eax, eax
inc eax
push eax
push 0
lea ecx, [ebp - 0x14]
call fcn.00406f50
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x34]
call dword [edx + 0xc]
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004a32a4
jmp 0x40db61
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.004a32a4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004a32a4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret