Function at 0x404970
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
sub esp, 0xc
cmp dword [0x45717c], 0
je 0x404990
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
mov dword [0x455320], 1
push 4
mov dword [0x457178], 0
call fcn.00403310
mov dword [0x45717c], eax
test eax, eax
pop ecx
mov dword [0x457164], 0
je 0x404a30
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov esi, eax
mov dword [ebp - 0x14], eax
xor eax, eax
or ecx, 0xffffffff
mov edi, esi
mov edx, 0xfffffffe
mov dword [0x457138], esi
repne scasb al, byte es:[edi]
sub edx, ecx
add edx, 1
push edx
call fcn.00403310
mov edi, eax
test edi, edi
pop ecx
mov dword [0x455318], eax
je 0x404a40
movzx eax, byte [esi]
mov dword [ebp - 0x18], eax
movsx ebx, byte [ebp - 0x18]
push ebx
push str.__t_r_n_v
call fcn.00402460
pop ecx
test eax, eax
pop ecx
je 0x404a50
add esi, 1
movzx eax, byte [esi]
mov dword [ebp - 0x18], eax
movsx ecx, byte [ebp - 0x18]
push ecx
push str.__t_r_n_v
call fcn.00402460
pop ecx
test eax, eax
pop ecx
jne 0x404a10
jmp 0x404a50
call fcn.004046d0
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.004046d0
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
cmp byte [ebp - 0x18], 0
jne 0x404a90
mov byte [edi], 0
cmp dword [0x457178], 1
je 0x404c50
mov edi, dword [0x45717c]
mov esi, dword [0x457178]
mov dword [edi + esi*4], 0
push 0x404680
call fcn.00404600
pop ecx
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.004046f0
test eax, eax
je 0x404a56
cmp dword [0x457178], 1
mov dword [ebp - 0x18], 0
je 0x404b40
mov edx, dword [0x45717c]
mov eax, dword [0x457178]
mov dword [edx + eax*4], edi
add dword [0x457178], 1
mov dword [ebp - 0x10], 0
movzx ebx, byte [esi]
test bl, bl
je 0x404b99
cmp dword [ebp - 0x10], 0
je 0x404b50
cmp bl, 0x22
je 0x404bb1
cmp bl, 0x22
jne 0x404af4
add esi, 1
mov dword [ebp - 0x10], 0
jmp 0x404b33
cmp bl, 0x5c
je 0x404bd0
cmp bl, 0x5c
jne 0x404b13
cmp byte [esi + 1], 0x22
jne 0x404b13
mov byte [edi], 0x22
add edi, 1
add esi, 2
jmp 0x404b33
cmp dword [ebp - 0x10], 0
jne 0x404b2b
cmp bl, 0x2a
je 0x404c35
cmp bl, 0x3f
je 0x404c35
mov byte [edi], bl
add esi, 1
add edi, 1
movzx ebx, byte [esi]
test bl, bl
jne 0x404ad4
jmp 0x404b99
mov ebx, esi
sub ebx, dword [ebp - 0x14]
mov dword [0x457164], ebx
jmp 0x404aad
movsx ecx, bl
push ecx
push str.__t_r_n_v
call fcn.00402460
pop ecx
test eax, eax
pop ecx
jne 0x404b75
cmp bl, 0x22
jne 0x404af4
add esi, 1
mov dword [ebp - 0x10], 1
jmp 0x404b33
add esi, 1
movzx ecx, byte [esi]
test cl, cl
je 0x404b93
movsx edx, cl
push edx
push str.__t_r_n_v
call fcn.00402460
pop ecx
test eax, eax
pop ecx
jne 0x404b75
mov byte [edi], 0
add edi, 1
cmp dword [ebp - 0x18], 0
jne 0x404c41
cmp byte [esi], 0
jne 0x404a90
jmp 0x404a56
cmp byte [esi + 1], 0x22
jne 0x404ae3
mov byte [edi], 0x22
add edi, 1
add esi, 2
jmp 0x404b33
cmp byte [esi + 1], 0x5c
jne 0x404afd
cmp byte [esi + 2], 0x5c
mov ebx, 2
jne 0x404bee
add ebx, 1
cmp byte [esi + ebx], 0x5c
je 0x404be5
cmp byte [esi + ebx], 0x22
jne 0x404c15
and ebx, 0xfffffffe
je 0x404b33
lea eax, [eax]
movzx eax, byte [esi]
mov byte [edi], al
add edi, 1
add esi, 2
sub ebx, 2
jne 0x404c00
jmp 0x404b33
sub ebx, 1
jb 0x404b33
mov eax, eax
movzx ecx, byte [esi]
mov byte [edi], cl
add esi, 1
add edi, 1
sub ebx, 1
jae 0x404c20
jmp 0x404b33
mov dword [ebp - 0x18], 1
jmp 0x404b2b
mov byte [edi], 0
call fcn.00404750
jmp 0x404ba3
mov edx, esi
sub edx, dword [ebp - 0x14]
mov dword [0x457164], edx
jmp 0x404a66