Function at 0x40bdf9
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d60b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x184
mov dword [ebp - 0x18c], ecx
lea ecx, [ebp - 0x154]
call fcn.00444c80
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.0043a8f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.0043a8f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x180]
call fcn.00430a80
mov byte [ebp - 4], 3
mov dword [ebp - 0x158], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [ebp - 0x64]
call fcn.0043c190
push eax
lea ecx, [ebp - 0x64]
call fcn.0043ae00
push 0
lea ecx, [ebp - 0x64]
call fcn.0043baa0
mov dword [ebp - 0x184], eax
push 0x493404
mov eax, dword [ebp - 0x184]
push eax
call fcn.00470890
add esp, 8
mov dword [ebp - 0x184], eax
cmp dword [ebp - 0x184], 0
je 0x40c339
mov ecx, dword [ebp - 0x184]
movsx edx, byte [ecx + 1]
mov dword [ebp - 0x190], edx
mov eax, dword [ebp - 0x190]
sub eax, 0x61
mov dword [ebp - 0x190], eax
cmp dword [ebp - 0x190], 0x19
ja case.0x40bee1.6
mov ecx, dword [ebp - 0x190]
jmp dword [ecx*4 + 0x40c400]
mov edx, dword [ebp - 0x18c]
mov eax, dword [edx + 0x7cc0]
or al, 1
mov ecx, dword [ebp - 0x18c]
mov dword [ecx + 0x7cc0], eax
jmp 0x40c325
mov edx, dword [ebp - 0x18c]
mov eax, dword [edx + 0x7cc0]
or al, 0x10
mov ecx, dword [ebp - 0x18c]
mov dword [ecx + 0x7cc0], eax
jmp 0x40c325
mov edx, dword [ebp - 0x18c]
mov eax, dword [edx + 0x7cc0]
and al, 0xef
mov ecx, dword [ebp - 0x18c]
mov dword [ecx + 0x7cc0], eax
jmp 0x40c325
mov edx, dword [ebp - 0x18c]
mov eax, dword [edx + 0x7cc0]
or al, 0x20
mov ecx, dword [ebp - 0x18c]
mov dword [ecx + 0x7cc0], eax
jmp 0x40c325
mov edx, dword [ebp - 0x18c]
mov eax, dword [edx + 0x7cc0]
and al, 0xdf
mov ecx, dword [ebp - 0x18c]
mov dword [ecx + 0x7cc0], eax
jmp 0x40c325
mov edx, dword [ebp - 0x18c]
mov eax, dword [edx + 0x7cc0]
or al, 8
mov ecx, dword [ebp - 0x18c]
mov dword [ecx + 0x7cc0], eax
jmp 0x40c325
mov edx, dword [ebp - 0x18c]
mov eax, dword [edx + 0x7cc0]
and al, 0xf7
mov ecx, dword [ebp - 0x18c]
mov dword [ecx + 0x7cc0], eax
jmp 0x40c325
mov edx, dword [ebp - 0x18c]
mov eax, dword [edx + 0x7cc0]
or al, 2
mov ecx, dword [ebp - 0x18c]
mov dword [ecx + 0x7cc0], eax
jmp 0x40c325
mov edx, dword [ebp - 0x18c]
mov eax, dword [edx + 0x7cc0]
or al, 4
mov ecx, dword [ebp - 0x18c]
mov dword [ecx + 0x7cc0], eax
jmp 0x40c325
mov edx, dword [ebp - 0x18c]
mov eax, dword [edx + 0x7cc0]
or eax, 0x400000
mov ecx, dword [ebp - 0x18c]
mov dword [ecx + 0x7cc0], eax
mov edx, dword [ebp - 0x18c]
add edx, 0x2368
push edx
push 0x493408
mov eax, dword [ebp - 0x184]
add eax, 2
push eax
call fcn.0046fcfa
add esp, 0xc
jmp 0x40c325
mov ecx, dword [ebp - 0x18c]
add ecx, 0x2370
push ecx
push 0x493410
mov edx, dword [ebp - 0x184]
add edx, 2
push edx
call fcn.0046fcfa
add esp, 0xc
jmp 0x40c325
mov eax, dword [ebp - 0x18c]
add eax, 0x2378
push eax
push 0x493414
mov ecx, dword [ebp - 0x184]
add ecx, 2
push ecx
call fcn.0046fcfa
add esp, 0xc
jmp 0x40c325
mov edx, dword [ebp - 0x184]
add edx, 3
push edx
lea ecx, [ebp - 0x38]
call fcn.0043ae00
lea ecx, [ebp - 0x38]
call fcn.0043c1d0
push 0
lea ecx, [ebp - 0x38]
call fcn.0043baa0
push eax
lea ecx, [ebp - 0x38]
call fcn.0043c0d0
lea ecx, [ebp - 0x38]
call fcn.0043acd0
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x18c]
add ecx, 0x2380
call fcn.0043ae60
push 0x49341c
mov ecx, dword [ebp - 0x18c]
add ecx, 0x2380
call fcn.0043aef0
test eax, eax
jne 0x40c162
push 0
mov ecx, dword [ebp - 0x18c]
add ecx, 0x2380
call fcn.0043baa0
push eax
mov ecx, dword [ebp - 0x18c]
mov edx, dword [ecx + 8]
push edx
lea ecx, [ebp - 0x154]
call fcn.00444db0
mov ecx, dword [ebp - 0x18c]
add ecx, 0x2380
call fcn.0043acd0
push 1
mov ecx, dword [ebp - 0x18c]
add ecx, 0x2380
call fcn.0043ba70
movsx eax, al
cmp eax, 0x3a
jne 0x40c162
push 3
mov ecx, dword [ebp - 0x18c]
add ecx, 0x2380
call fcn.0043b220
jmp 0x40c325
mov ecx, dword [ebp - 0x18c]
mov edx, dword [ecx + 0x7cc0]
or edx, 0x40
mov eax, dword [ebp - 0x18c]
mov dword [eax + 0x7cc0], edx
jmp 0x40c325
mov ecx, dword [ebp - 0x18c]
mov edx, dword [ecx + 0x7cc0]
and edx, 0xfffffffe
mov eax, dword [ebp - 0x18c]
mov dword [eax + 0x7cc0], edx
jmp 0x40c325
mov ecx, dword [ebp - 0x18c]
mov edx, dword [ecx + 0x7cc0]
and dh, 0x8f
mov eax, dword [ebp - 0x18c]
mov dword [eax + 0x7cc0], edx
mov ecx, dword [ebp - 0x18c]
mov edx, dword [ecx + 0x7cc0]
or dh, 0x10
mov eax, dword [ebp - 0x18c]
mov dword [eax + 0x7cc0], edx
jmp 0x40c325
mov ecx, dword [ebp - 0x18c]
mov edx, dword [ecx + 0x7cc0]
and dh, 0x8f
mov eax, dword [ebp - 0x18c]
mov dword [eax + 0x7cc0], edx
mov ecx, dword [ebp - 0x18c]
mov edx, dword [ecx + 0x7cc0]
or dh, 0x20
mov eax, dword [ebp - 0x18c]
mov dword [eax + 0x7cc0], edx
jmp 0x40c325
mov ecx, dword [ebp - 0x18c]
mov edx, dword [ecx + 0x7cc0]
and dh, 0x8f
mov eax, dword [ebp - 0x18c]
mov dword [eax + 0x7cc0], edx
mov ecx, dword [ebp - 0x18c]
mov edx, dword [ecx + 0x7cc0]
or dh, 0x40
mov eax, dword [ebp - 0x18c]
mov dword [eax + 0x7cc0], edx
jmp 0x40c325
mov ecx, dword [ebp - 0x18c]
mov edx, dword [ecx + 0x7cc0]
or edx, 0x200000
mov eax, dword [ebp - 0x18c]
mov dword [eax + 0x7cc0], edx
jmp 0x40c325
mov ecx, dword [ebp - 0x18c]
mov edx, dword [ecx + 0x7cc0]
and edx, 0xffdfffff
mov eax, dword [ebp - 0x18c]
mov dword [eax + 0x7cc0], edx
jmp 0x40c325
mov ecx, dword [ebp - 0x18c]
mov edx, dword [ecx + 0x7cc0]
and edx, 0xffffffbf
mov eax, dword [ebp - 0x18c]
mov dword [eax + 0x7cc0], edx
jmp 0x40c325
mov ecx, dword [ebp - 0x18c]
mov edx, dword [ecx + 0x7cc0]
or edx, 0x1000000
mov eax, dword [ebp - 0x18c]
mov dword [eax + 0x7cc0], edx
jmp 0x40c325
mov ecx, dword [ebp - 0x18c]
mov edx, dword [ecx + 0x7cc0]
and edx, 0xfdffffff
mov eax, dword [ebp - 0x18c]
mov dword [eax + 0x7cc0], edx
jmp 0x40c325
mov ecx, dword [ebp - 0x18c]
mov edx, dword [ecx + 0x7cc0]
or edx, 0x4000000
mov eax, dword [ebp - 0x18c]
mov dword [eax + 0x7cc0], edx
jmp 0x40c325
mov dword [ebp - 0x158], 0
mov ecx, dword [ebp - 0x184]
add ecx, 1
mov dword [ebp - 0x184], ecx
jmp 0x40be88
push 0
lea ecx, [ebp - 0x38]
call fcn.0043baa0
push eax
mov edx, dword [ebp - 0x18c]
mov eax, dword [edx + 8]
push eax
lea ecx, [ebp - 0x154]
call fcn.00444db0
lea ecx, [ebp - 0x38]
call fcn.0043acd0
push str.portable.dat
lea ecx, [ebp - 0x38]
call fcn.0043ad50
push 0
lea ecx, [ebp - 0x38]
call fcn.0043baa0
push eax
lea ecx, [ebp - 0x180]
call fcn.00430ac0
cmp eax, 1
jne 0x40c3a7
mov ecx, dword [ebp - 0x18c]
mov edx, dword [ecx + 0x7cc0]
or edx, 0x4000000
mov eax, dword [ebp - 0x18c]
mov dword [eax + 0x7cc0], edx
mov ecx, dword [ebp - 0x158]
mov dword [ebp - 0x188], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x180]
call fcn.00430aa0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.0043a990
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.0043a990
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x154]
call fcn.00444c90
mov eax, dword [ebp - 0x188]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret