Function at 0x1809e7b4
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
lea ecx, [ebp - 0xc]
call fcn.18005bdc
push 0x180eef00
lea ecx, [ebp - 0xc]
call fcn.18010d29
push ecx
mov ecx, eax
call fcn.18010cb1
mov eax, dword [ebp - 0xc]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
jne 0x1809e812
xor edx, edx
lea ecx, [ebp + 8]
call fcn.18010ff3
push eax
lea ecx, [ebp - 0xc]
call fcn.18005b84
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.18003140
lea ecx, [ebp - 0xc]
call fcn.180116ba
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
jne 0x1809e835
call fcn.18015f1f
mov ebx, eax
jmp 0x1809e9d1
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x1809e9c3
mov ecx, dword [edi]
call fcn.1809e53a
mov ecx, dword [edi + 4]
call fcn.1809e53a
cmp esi, 1
je 0x1809e9c8
lea ecx, [ebp - 8]
call fcn.18005c3b
xor eax, eax
mov byte [ebp + 0xb], bl
inc eax
mov dword [ebp - 0x14], eax
cmp esi, eax
jle 0x1809e979
mov ecx, dword [ebp - 0x18]
push dword [ecx + eax*4]
lea ecx, [ebp - 4]
call fcn.18005bdc
push 0x180eef00
lea ecx, [ebp - 4]
call fcn.18010d29
push ecx
mov ecx, eax
call fcn.18010cb1
lea eax, [ebp - 4]
push eax
call fcn.1809e9e5
test al, al
je 0x1809e8d7
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.1809eaa0
mov dword [ebp + 8], eax
test eax, eax
js 0x1809e98d
mov ecx, dword [edi]
lea eax, [ebp - 8]
push eax
call fcn.1809e558
mov dword [ebp + 8], eax
test eax, eax
js 0x1809e98d
mov byte [ebp + 0xb], bl
jmp 0x1809e95f
lea eax, [ebp - 4]
push eax
call fcn.1809ea45
test al, al
je 0x1809e93f
lea eax, [ebp - 4]
push eax
call fcn.1809ea45
test al, al
je 0x1809e986
mov eax, dword [ebp - 4]
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
mov eax, dword [eax - 0xc]
dec eax
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.18009cb4
push eax
call fcn.1809eaa0
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov dword [ebp + 8], eax
call fcn.18003140
cmp dword [ebp + 8], ebx
jl 0x1809e98d
mov ecx, dword [edi + 4]
lea eax, [ebp - 8]
push eax
call fcn.1809e558
mov dword [ebp + 8], eax
test eax, eax
js 0x1809e98d
mov byte [ebp + 0xb], 1
jmp 0x1809e95f
lea ecx, [edi + 4]
cmp byte [ebp + 0xb], bl
jne 0x1809e949
mov ecx, edi
mov ecx, dword [ecx]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call fcn.1809e5a5
mov dword [ebp - 0x20], eax
test eax, eax
js 0x1809e9a8
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.18003140
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, esi
jl 0x1809e871
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18003140
jmp 0x1809e9c8
mov dword [ebp + 8], 0x80070057
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.18003140
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18003140
mov ebx, dword [ebp + 8]
jmp 0x1809e9c8
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.18003140
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18003140
mov ebx, dword [ebp - 0x20]
jmp 0x1809e9c8
mov ebx, 0x80070057
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.18003140
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4