Function at 0x58e280
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xf0
mov ecx, dword [ebp + 0xc]
mov eax, dword [0x742040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x58e2aa
mov eax, dword [ecx]
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x58e31d
mov edi, eax
xor eax, eax
dec eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0x30], xmm0
movdqu xmmword [ebp - 0x40], xmm0
mov esi, dword [edi]
test esi, esi
je 0x58e740
push esi
call fcn.0055b404
add esp, 4
lea ebx, [ebp - 0xf4]
mov ecx, ebx
push eax
push esi
call fcn.004f2ed0
lea ecx, [ebp - 0x40]
push ebx
call fcn.00496f30
mov ecx, ebx
call fcn.004f2fc0
mov eax, dword [ebp - 0x18]
cmp eax, 2
jl 0x58e326
xor esi, esi
inc esi
mov dword [ebp - 0xfc], edi
jmp 0x58e4ab
xor eax, eax
mov byte [esi], al
mov byte [esi + 0x28], al
jmp 0x58e34a
mov esi, dword [ebp + 8]
mov ecx, esi
lea eax, [ebp - 0x40]
push eax
call fcn.00497390
mov byte [esi + 0x28], 1
lea ecx, [ebp - 0x40]
call fcn.00497450
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005412b6
mov eax, esi
add esp, 0xf0
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x26
push 0x6c8670
call fcn.004f2450
add esp, 8
test eax, eax
jle 0x58e3c0
mov ecx, ebx
push 0xffffffffffffffff
push 0x3c6
push 0x6c8670
call fcn.00494bc0
push 0x1f
push 0x6c890e
lea eax, [ebp - 0xec]
push eax
call fcn.004d1fe0
add esp, 0xc
push dword [ebp + 0xc]
push eax
call fcn.00492f60
add esp, 8
push 1
push 0x6c1a16
push eax
call fcn.004d1fe0
add esp, 0xc
mov ecx, ebx
call fcn.004950a0
mov eax, dword [ebp + 8]
xor ecx, ecx
mov byte [eax], cl
mov byte [eax + 0x28], cl
xor ebx, ebx
inc ebx
cmp byte [ebp - 0x4d], 0
jns 0x58e485
push dword [ebp - 0x58]
call fcn.00540380
add esp, 4
jmp 0x58e485
mov ebx, dword [edi + esi*4]
test ebx, ebx
je 0x58e740
push ebx
call fcn.0055b404
add esp, 4
push eax
push ebx
lea ebx, [ebp - 0xf4]
push ebx
call fcn.004eba60
add esp, 0xc
movsx eax, byte [ebp - 0xe9]
mov edx, ebx
test eax, eax
jns 0x58e425
mov eax, dword [ebp - 0xf0]
mov edx, dword [ebp - 0xf4]
test eax, eax
js 0x58e732
sete cl
test edx, edx
setne ch
or ch, cl
je 0x58e739
lea ecx, [ebp - 0x40]
push eax
push edx
call fcn.005bef30
cmp byte [ebp - 0xe9], 0
jns 0x58e45e
push dword [ebp - 0xf4]
call fcn.00540380
add esp, 4
mov ebx, 4
jmp 0x58e485
test cl, cl
jns 0x58e472
push eax
call fcn.00540380
add esp, 4
mov edi, dword [ebp - 0xfc]
mov eax, dword [ebp + 8]
xor ecx, ecx
mov byte [eax], cl
mov byte [eax + 0x28], cl
xor ebx, ebx
inc ebx
cmp byte [ebp - 0x41], 0
jns 0x58e496
push dword [ebp - 0x4c]
call fcn.00540380
add esp, 4
test bl, 3
jne 0x58e338
inc esi
mov eax, dword [ebp - 0x18]
cmp esi, eax
jge 0x58e326
xor ecx, ecx
dec ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
dec eax
mov edx, 0x6c1934
cmp esi, eax
jge 0x58e4c5
mov edx, dword [edi + esi*4 + 4]
mov ebx, esi
mov esi, edi
lea ecx, [ebp - 0x4c]
push edx
call fcn.004de950
lea edi, [ebp - 0xf4]
mov ecx, edi
push dword [esi + ebx*4]
mov esi, ebx
call fcn.004de950
mov cl, byte [ebp - 0xe9]
test cl, cl
mov eax, dword [ebp - 0xf4]
cmovs edi, eax
cmp word [edi], 0x2d
je 0x58e465
cmp byte [ebp - 0x41], 0
lea edx, [ebp - 0x4c]
jns 0x58e50b
mov edx, dword [ebp - 0x4c]
movzx ebx, word [edx]
test cl, cl
mov edi, dword [ebp - 0xfc]
jns 0x58e521
push eax
call fcn.00540380
add esp, 4
cmp bx, 0x2d
je 0x58e478
lea ebx, [ebp - 0xf4]
mov ecx, ebx
push dword [edi + esi*4]
call fcn.004de950
cmp byte [ebp - 0xe9], 0
mov eax, dword [ebp - 0xf4]
cmovs ebx, eax
movzx ebx, word [ebx]
jns 0x58e559
push eax
call fcn.00540380
add esp, 4
cmp bx, 0x2f
jne 0x58e3e7
xor eax, eax
dec eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov ebx, dword [edi + esi*4]
add ebx, 2
je 0x58e740
push ebx
call fcn.0055b404
add esp, 4
push eax
push ebx
lea eax, [ebp - 0x58]
push eax
call fcn.004eba60
add esp, 0xc
movsx ecx, byte [ebp - 0x4d]
mov eax, ecx
test ecx, ecx
jns 0x58e59f
mov eax, dword [ebp - 0x54]
test eax, eax
lea ebx, [ebp - 0xf4]
je 0x58e361
xor edx, edx
mov dword [ebp - 0xf4], edx
mov dword [ebp - 0xf0], edx
mov dword [ebp - 0xec], edx
lea edx, [ebp - 0x58]
test cl, cl
jns 0x58e5cb
mov edx, dword [ebp - 0x58]
test eax, eax
js 0x58e732
test edx, edx
je 0x58e739
push ebx
push 0xa
push 0x3d
push eax
push edx
call fcn.00493570
add esp, 0x14
test al, al
je 0x58e68a
mov eax, dword [ebp - 0xf4]
cmp dword [ebp - 0xf0], eax
je 0x58e72b
movsx edx, byte [eax + 0x17]
test edx, edx
js 0x58e67a
lea ebx, [eax + 0xc]
test edx, edx
sete cl
test ebx, ebx
setne ch
or ch, cl
je 0x58e739
mov dword [ebp - 0xf8], ebx
movsx ebx, byte [eax + 0xb]
test ebx, ebx
jns 0x58e63c
mov ebx, dword [eax + 4]
test ebx, ebx
js 0x58e732
mov eax, dword [eax]
test ebx, ebx
sete cl
test eax, eax
setne ch
or ch, cl
je 0x58e739
lea ecx, [ebp - 0x40]
push edx
push dword [ebp - 0xf8]
push ebx
push eax
call fcn.00498350
lea eax, [ebp - 0xf4]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
call fcn.004db160
mov ebx, 4
jmp 0x58e3cd
mov edx, dword [eax + 0x10]
test edx, edx
js 0x58e732
mov ebx, dword [eax + 0xc]
jmp 0x58e60f
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x14]
call fcn.004db160
movsx eax, byte [ebp - 0x41]
lea ecx, [ebp - 0x4c]
test eax, eax
jns 0x58e6a3
mov ecx, dword [ebp - 0x4c]
cmp word [ecx], 0x2f
je 0x58e6f7
test al, al
jns 0x58e6b0
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x58e6f7
js 0x58e732
mov dword [ebp - 0xf8], ecx
test ecx, ecx
je 0x58e739
movsx ebx, byte [ebp - 0x4d]
test ebx, ebx
cmovs ebx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
cmovns edx, ecx
test ebx, ebx
js 0x58e732
sete cl
test edx, edx
setne ch
or ch, cl
je 0x58e739
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0xf8]
push ebx
push edx
call fcn.00497cb0
inc esi
jmp 0x58e724
movsx eax, byte [ebp - 0x4d]
test eax, eax
cmovs eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
cmovns edx, ecx
test eax, eax
js 0x58e732
sete cl
test edx, edx
setne ch
or ch, cl
je 0x58e739
lea ecx, [ebp - 0x40]
push eax
push edx
call fcn.00497c50
xor ebx, ebx
jmp 0x58e3cd
push 0x6bd9fd
jmp 0x58e745
push 0x6bcfdb
jmp 0x58e745
push 0x6bd0c2
jmp 0x58e745
push 0x6be6d6
push 0x6bd0bf
call fcn.0057cbd0
int3