Function at 0x598fb5
Capabilities:
Accept command line arguments

Disassembly:
push 0xa8
mov eax, 0x679bd7
call fcn.005b47af
mov esi, dword [ebp + 8]
xor edx, edx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0x98], eax
mov dword [ebp - 0xb4], edx
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], edx
mov word [ebp - 0x58], cx
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], edx
mov dword [ebp - 0x9c], edx
jb 0x598fff
mov eax, dword [eax]
lea ecx, [ebp - 0x9c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [ebp - 0x9c], 0
mov ebx, eax
mov dword [ebp - 0xa0], ebx
jle 0x5990b0
mov edi, dword [ebx]
xor eax, eax
cmp word [edi], ax
je 0x599032
push edi
call fcn.005ff18e
pop ecx
push eax
push edi
lea ecx, [ebp - 0x58]
call fcn.0040a315
xor edi, edi
cmp dword [ebp - 0x9c], edi
jle 0x5990b0
push dword [ebx + edi*4]
lea ecx, [ebp - 0x40]
call fcn.004078a3
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x7c]
call fcn.00411307
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 2
push eax
call fcn.00414d41
pop ecx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
mov bl, al
call fcn.00409ec4
push 0
push 1
lea ecx, [ebp - 0x7c]
call fcn.00409de7
test bl, bl
jne 0x599161
xor eax, eax
lea ecx, [ebp - 0x40]
push eax
push 1
mov byte [ebp - 4], al
call fcn.00409de7
mov ebx, dword [ebp - 0xa0]
inc edi
cmp edi, dword [ebp - 0x9c]
jl 0x599046
push ebx
call dword [sym.imp.KERNEL32.DLL_LocalFree]
push dword [ebp - 0x98]
lea eax, [ebp - 0x28]
push eax
call fcn.0042710c
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x98], 0x22
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.0042714e
add esp, 0x14
lea ecx, [ebp - 0x28]
push eax
call fcn.0040c133
xor ebx, ebx
lea ecx, [ebp - 0x94]
push ebx
push 1
call fcn.00409de7
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0x27
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.0042714e
add esp, 0xc
lea ecx, [ebp - 0x28]
push eax
call fcn.0040c133
push ebx
push 1
lea ecx, [ebp - 0x94]
call fcn.00409de7
cmp dword [ebp - 0x18], ebx
jne 0x599197
push 0x684590
mov ecx, esi
call fcn.004078a3
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00409de7
push ebx
jmp 0x599186
push dword [ebp - 0xa0]
call dword [sym.imp.KERNEL32.DLL_LocalFree]
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.0040bd4b
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00409de7
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.00409de7
mov eax, esi
jmp 0x599357
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00411307
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 4
push eax
call fcn.00414d41
pop ecx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
mov bl, al
call fcn.00409ec4
xor edi, edi
lea ecx, [ebp - 0x7c]
push edi
push 1
call fcn.00409de7
test bl, bl
je 0x5991e9
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0040bd4b
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.00409de7
push edi
jmp 0x599186
xor eax, eax
mov dword [ebp - 0x2c], 7
mov esi, 0x6871ec
mov word [ebp - 0x40], ax
xor ebx, ebx
push esi
mov dword [ebp - 0x30], ebx
call fcn.005ff18e
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.0040a315
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00426b70
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.00409de7
mov esi, 0x684590
cmp word [0x684590], bx
jne 0x59924d
mov eax, ebx
jmp 0x599254
push esi
call fcn.005ff18e
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0040a315
mov esi, dword [ebp - 0xb0]
mov edi, dword [ebp - 0xac]
jmp 0x599319
push esi
lea ecx, [ebp - 0x94]
call fcn.0040bd70
cmp dword [ebp - 0x18], 0
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 8
jne 0x599299
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x28]
call fcn.0040c677
jmp 0x5992ca
push eax
lea eax, [ebp - 0x70]
push 0x6871ec
push eax
call fcn.0042ab6c
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.0040c677
push ebx
push 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 8
call fcn.00409de7
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00411307
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 0xa
push eax
call fcn.00414d41
pop ecx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 8
mov bl, al
call fcn.00409ec4
push 0
push 1
lea ecx, [ebp - 0x7c]
call fcn.00409de7
test bl, bl
jne 0x59935d
xor ebx, ebx
mov byte [ebp - 4], 7
push ebx
push 1
lea ecx, [ebp - 0x94]
call fcn.00409de7
add esi, 0x18
cmp esi, edi
jne 0x59926f
mov ecx, dword [ebp - 0xa4]
lea eax, [ebp - 0x58]
push eax
call fcn.0040bd4b
lea ecx, [ebp - 0xb0]
call fcn.00409ec4
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00409de7
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00409de7
mov eax, dword [ebp - 0xa4]
call fcn.005b4759
ret
mov ecx, dword [ebp - 0xa4]
lea eax, [ebp - 0x28]
push eax
call fcn.0040bd4b
xor ebx, ebx
lea ecx, [ebp - 0x94]
push ebx
push 1
call fcn.00409de7
jmp 0x599330