Function at 0x100204c
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 8], esi
mov byte [ebp - 1], 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
cmp ebx, esi
jne 0x10020a2
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002321
test byte [eax + 0x1c], 1
je 0x1002321
push 0x10011f8
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01001365
jmp 0x1002321
mov edx, dword [ebp - 8]
cmp edx, esi
push edi
jle 0x1002315
mov edi, dword [ebp + 0xc]
mov eax, dword [ebx + esi*4]
movzx ecx, word [eax]
cmp cx, 0x2d
je 0x10020c7
cmp cx, 0x2f
jne case.0x10020de.70
movzx eax, word [eax + 2]
add eax, 0xffffffbf
cmp eax, 0x37
ja case.0x10020de.70
movzx eax, byte [eax + 0x1002500]
jmp dword [eax*4 + 0x10024d4]
mov dword [edi + 0x2d8], 1
jmp case.0x10020de.70
mov dword [edi + 0x2d8], 2
jmp case.0x10020de.70
inc esi
cmp esi, edx
jge 0x100232a
push dword [ebx + esi*4]
lea eax, [edi + 0x208]
push 0x27
push eax
call fcn.01001e88
test eax, eax
jge case.0x10020de.70
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002319
test byte [eax + 0x1c], 1
je 0x1002319
push 0x10011f8
push 0xf
jmp 0x10024c4
inc esi
cmp esi, edx
jge 0x1002348
push dword [ebx + esi*4]
lea eax, [edi + 0x256]
push 0x27
push eax
call fcn.01001e88
test eax, eax
jge case.0x10020de.70
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002319
test byte [eax + 0x1c], 1
je 0x1002319
push 0x10011f8
push 0x11
jmp 0x10024c4
inc esi
cmp esi, edx
jge 0x1002366
push dword [ebx + esi*4]
lea eax, [ebp + 8]
push 2
push eax
call fcn.01001e88
test eax, eax
jl 0x1002384
lea eax, [ebp + 8]
push eax
call dword [sym.imp.msvcrt.dll__wtoi]
pop ecx
cmp eax, 2
jne 0x10021d1
mov dword [edi + 0x2d4], 1
jmp case.0x10020de.70
cmp eax, 1
jne 0x10023a2
and dword [edi + 0x2d4], 0
jmp case.0x10020de.70
inc esi
cmp esi, edx
jge 0x10023c8
push dword [ebx + esi*4]
push 0x104
push edi
call fcn.01001e88
test eax, eax
jl 0x10023ee
push 0x1001208
push edi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne case.0x10020de.70
push 0x208
push eax
push edi
call sub.msvcrt.dll_memset
add esp, 0xc
jmp case.0x10020de.70
inc esi
cmp esi, edx
jge 0x1002414
lea eax, [edi + 0x2cc]
push eax
push dword [ebx + esi*4]
call fcn.01001f63
test al, al
jne case.0x10020de.70
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002319
test byte [eax + 0x1c], 1
je 0x1002319
push 0x10011f8
push 0x18
jmp 0x10024c4
inc esi
cmp esi, edx
jge 0x100243a
lea eax, [edi + 0x2c4]
push eax
push dword [ebx + esi*4]
call fcn.01001f63
test al, al
jne case.0x10020de.70
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002319
test byte [eax + 0x1c], 1
je 0x1002319
push 0x10011f8
push 0x1a
jmp 0x10024c4
inc esi
cmp esi, edx
jge 0x100245d
lea eax, [edi + 0x2c8]
push eax
push dword [ebx + esi*4]
call fcn.01001f63
test al, al
jne case.0x10020de.70
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002319
test byte [eax + 0x1c], 1
je 0x1002319
push 0x10011f8
push 0x1c
jmp 0x10024c4
inc esi
cmp esi, edx
jge 0x1002480
lea eax, [edi + 0x2d0]
push eax
push dword [ebx + esi*4]
call fcn.01001f63
test al, al
je 0x10024a3
mov edx, dword [ebp - 8]
inc esi
cmp esi, edx
jl 0x10020b1
mov byte [ebp - 1], 1
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
mov al, byte [ebp - 1]
pop esi
pop ebx
leave
ret 8
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002319
test byte [eax + 0x1c], 1
je 0x1002319
push 0x10011f8
push 0xe
jmp 0x10024c4
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002319
test byte [eax + 0x1c], 1
je 0x1002319
push 0x10011f8
push 0x10
jmp 0x10024c4
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002319
test byte [eax + 0x1c], 1
je 0x1002319
push 0x10011f8
push 0x12
jmp 0x10024c4
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002319
test byte [eax + 0x1c], 1
je 0x1002319
push 0x10011f8
push 0x13
jmp 0x10024c4
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002319
test byte [eax + 0x1c], 1
je 0x1002319
push 0x10011f8
push 0x14
jmp 0x10024c4
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002319
test byte [eax + 0x1c], 1
je 0x1002319
push 0x10011f8
push 0x15
jmp 0x10024c4
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002319
test byte [eax + 0x1c], 1
je 0x1002319
push 0x10011f8
push 0x16
jmp 0x10024c4
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002319
test byte [eax + 0x1c], 1
je 0x1002319
push 0x10011f8
push 0x17
jmp 0x10024c4
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002319
test byte [eax + 0x1c], 1
je 0x1002319
push 0x10011f8
push 0x19
jmp 0x10024c4
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002319
test byte [eax + 0x1c], 1
je 0x1002319
push 0x10011f8
push 0x1b
jmp 0x10024c4
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002319
test byte [eax + 0x1c], 1
je 0x1002319
push 0x10011f8
push 0x1d
jmp 0x10024c4
mov eax, dword [section..data]
cmp eax, section..data
je 0x1002319
test byte [eax + 0x1c], 1
je 0x1002319
push 0x10011f8
push 0x1e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01001365
jmp 0x1002319