Function at 0x40fde4
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x12c
pushal
cmp dword [0x59a4dc], 0
jne 0x40fe88
call sub.KERNEL32.dll_GetCommandLineA
mov dword [0x59a4dc], eax
mov eax, dword [0x59a4dc]
movsx eax, byte [eax]
call fcn.004606a0
cmp eax, 0
je 0x40fe1c
inc dword [0x59a4dc]
jmp 0x40fe02
mov ebx, 0
jmp 0x40fe55
cmp ebx, 0
jne 0x40fe3c
mov eax, dword [0x59a4dc]
movsx eax, byte [eax]
call fcn.004606a0
cmp eax, 0
je 0x40fe3c
jmp 0x40fe5f
mov eax, dword [0x59a4dc]
cmp byte [eax], 0x22
jne 0x40fe4f
cmp ebx, 0
sete al
movzx ebx, al
inc dword [0x59a4dc]
mov eax, dword [0x59a4dc]
cmp byte [eax], 0
jne 0x40fe23
mov eax, dword [0x59a4dc]
movsx eax, byte [eax]
call fcn.004606a0
cmp eax, 0
je 0x40fe79
inc dword [0x59a4dc]
jmp 0x40fe5f
mov eax, dword [0x59a4dc]
call fcn.004eb6f4
mov dword [0x59a4dc], eax
lea edi, [esp + 0x30]
mov eax, edi
call fcn.00514a14
call fcn.004206fb
mov eax, edi
call fcn.005147b8
mov eax, edi
mov eax, dword [eax + 4]
cmp eax, 0
jne 0x40febf
mov eax, dword [0x59a4dc]
call fcn.004260bc
mov eax, edi
call fcn.00514a2c
jmp 0x4100ad
mov eax, edi
call fcn.0051448c
mov ebx, 0x59a4d4
call fcn.0041ac60
cmp eax, 0
jne 0x40ff0b
push 0x104
lea ebx, [esp + 0x40]
push ebx
push dword [0x59605c]
call sub.KERNEL32.dll_GetModuleFileNameA
mov eax, ebx
call fcn.004260bc
mov eax, edi
call fcn.00514a2c
jmp 0x4100ad
mov eax, edi
call fcn.0051448c
cmp byte [eax], 0x2f
jne 0x40ff2a
jmp 0x40ff33
mov ebp, dword [0x59a4dc]
mov eax, edi
call fcn.0051448c
call fcn.00474d30
mov ecx, eax
mov dword [esp + 0x23], ecx
cmp ecx, 0
je 0x40fefd
jmp 0x40ff33
mov eax, edi
mov bl, 0x3d
call fcn.0051497c
lea esi, [esp + 0x140]
mov eax, esi
call fcn.00514a14
mov edx, 1
cmp byte [ebp], 0
je 0x410095
movsx eax, byte [ebp]
call fcn.004606a0
cmp eax, 0
je 0x40ff61
inc ebp
jmp 0x40ff50
mov dword [esp + 0x28], 0
mov al, byte [ebp]
mov bl, byte [ebp]
mov byte [esp + 0x27], bl
cmp bl, 0
je 0x41004e
mov eax, dword [esp + 0x28]
cmp eax, 0
je 0x40ff97
jmp 0x40ffae
mov ebx, esi
mov ebx, dword [ebx + 4]
cmp ebx, 0
jne 0x41004e
jmp 0x40ffae
cmp bl, 0x20
jle 0x41004e
cmp bl, 0x2c
je 0x41004e
cmp bl, 0x2f
je 0x40ff87
mov bl, byte [esp + 0x27]
cmp bl, 0x22
jne 0x40ffd6
cmp byte [ebp + 1], 0x22
je 0x40ffcc
cmp eax, 0
sete al
movzx eax, al
mov dword [esp + 0x28], eax
jmp 0x40ffdd
mov eax, esi
call fcn.0051497c
inc ebp
jmp 0x40ffdd
mov eax, esi
call fcn.0051497c
inc ebp
jmp 0x40ff6c
mov eax, esi
mov ebx, dword [eax + 4]
mov eax, edi
mov eax, dword [eax + 4]
cmp ebx, eax
jae 0x40fff0
jmp 0x410053
mov eax, edi
mov ecx, dword [eax + 4]
mov eax, esi
call fcn.0051448c
mov dword [esp + 0x2c], eax
mov eax, edi
call fcn.0051448c
mov ebx, eax
mov eax, dword [esp + 0x2c]
call fcn.004eb6a8
cmp eax, 0
jne 0x410053
mov eax, esi
call fcn.0051448c
mov ebx, eax
mov eax, esi
call fcn.0051448c
cmp byte [eax], 0x2f
jne 0x41002f
inc ebx
jmp 0x410037
mov eax, edi
mov eax, dword [eax + 4]
lea ebx, [ebx + eax]
mov eax, ebx
call fcn.004260bc
mov eax, esi
call fcn.00514a2c
mov eax, edi
call fcn.00514a2c
jmp 0x4100ad
cmp ecx, 0
je 0x40ffe0
mov ecx, dword [esp + 0x23]
cmp edx, ecx
jne 0x41007b
mov eax, esi
call fcn.00514444
mov eax, esi
call fcn.00514a2c
mov eax, edi
call fcn.00514a2c
jmp 0x4100ad
cmp byte [ebp], 0x20
jle 0x41007a
jmp 0x410081
inc ebp
cmp byte [ebp], 0
jne 0x410072
cmp byte [ebp], 0x2c
jne 0x410088
inc ebp
mov eax, esi
call fcn.005149ac
inc edx
jmp 0x40ff46
mov eax, 0x59a4d8
call fcn.004260bc
mov eax, esi
call fcn.00514a2c
mov eax, edi
call fcn.00514a2c
popal
add esp, 0x12c
ret