Function at 0x483eb0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push ebp
push esi
push edi
push 0x20a
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 0x105
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, eax
mov dword [esp + 0x10], eax
test edi, edi
je 0x483eec
inc edi
mov dword [esp + 0x10], edi
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ecx, eax
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x14], ecx
or esi, 0xffffffff
test ecx, ecx
je 0x484062
jmp 0x483f20
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
nop dword [eax]
test ebx, ebx
jne 0x48405e
test esi, esi
je 0x484062
test ebp, ebp
je 0x483f5e
lea eax, [esi*2]
add eax, ebp
add eax, eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
lea ecx, [ebx + esi*4]
mov dword [ebx], ecx
lea edi, [ecx + edi*2]
mov ecx, dword [esp + 0x14]
jmp 0x483f64
mov ebp, dword [esp + 0x10]
mov edi, ecx
mov dword [esp + 0x1c], ecx
xor eax, eax
movzx ecx, word [ecx]
xor esi, esi
mov dword [esp + 0x18], eax
test cx, cx
je 0x483f15
mov edx, ecx
nop word [eax + eax]
movzx ecx, dx
mov dword [esp + 0x20], ecx
cmp dx, 0x22
jne 0x483fa5
xor ecx, ecx
cmp dword [esp + 0x18], ecx
sete cl
test eax, eax
mov dword [esp + 0x18], ecx
mov ecx, edi
cmovne ecx, eax
mov eax, ecx
jmp 0x484015
cmp dword [esp + 0x18], 0
jne 0x483fed
cmp dx, 0x20
je 0x483fc4
cmp dx, 9
je 0x483fc4
cmp dx, 0xa
je 0x483fc4
cmp dx, 0xd
jne 0x483fed
test eax, eax
je 0x484015
test esi, esi
jg 0x483fd3
cmp dword [esp + 0x10], 0
jne 0x483fe8
test ebx, ebx
je 0x483fe7
xor ecx, ecx
mov word [edi], cx
add edi, 2
mov dword [ebx + esi*4], eax
inc esi
xor eax, eax
jmp 0x484015
inc ebp
inc esi
xor eax, eax
jmp 0x484015
test eax, eax
mov ecx, edi
cmovne ecx, eax
mov eax, ecx
mov ecx, dword [esp + 0x20]
movzx ecx, cx
test esi, esi
jg 0x484008
cmp dword [esp + 0x10], 0
jne 0x484015
test ebx, ebx
je 0x484014
mov word [edi], cx
add edi, 2
jmp 0x484015
inc ebp
mov ecx, dword [esp + 0x1c]
add ecx, 2
mov dword [esp + 0x1c], ecx
movzx ecx, word [ecx]
mov edx, ecx
test cx, cx
jne 0x483f80
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x483f19
test esi, esi
jg 0x484045
cmp dword [esp + 0x10], 0
jne 0x484058
test ebx, ebx
je 0x484057
xor ecx, ecx
mov word [edi], cx
mov dword [ebx + esi*4], eax
inc esi
jmp 0x483f15
inc ebp
inc esi
jmp 0x483f15
test esi, esi
jg 0x484091
test edi, edi
je 0x48408f
lea eax, [edi*2 + 4]
mov esi, 1
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
mov dword [esp + 0x1c], esi
lea eax, [ebx + 4]
mov dword [ebx], eax
jmp 0x484099
xor esi, esi
mov dword [esp + 0x1c], esi
test esi, esi
jle 0x4840b5
test edi, edi
je 0x4840b5
push edi
push dword [ebx]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4840b5
mov eax, dword [ebx]
xor ecx, ecx
mov word [eax + edi*2 - 2], cx
mov eax, dword [0x7ef33c]
test eax, eax
je 0x484121
mov ecx, dword [0x7ef340]
test ecx, ecx
je 0x4840fb
mov eax, dword [0x7ef338]
xor edx, edx
cmp eax, ecx
push ecx
cmove eax, edx
push edx
mov dword [0x7ef338], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
push eax
call edi
mov eax, dword [0x7ef33c]
mov dword [0x7ef340], 0
jmp 0x484101
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call edi
mov dword [0x7ef33c], 0
mov dword [0x7ef334], 0
test esi, esi
jle 0x4841ce
xor edi, edi
mov dword [0x7ef33c], ebx
xor ebp, ebp
mov dword [0x7ef334], esi
cmp dword [esp + 0x1c], edi
jle 0x484161
nop
push dword [ebx + edi*4]
call fcn.004ed050
mov esi, dword [0x7ef334]
inc ebp
inc edi
add esp, 4
add ebp, eax
cmp edi, esi
jge 0x484161
mov ebx, dword [0x7ef33c]
jmp 0x484140
lea eax, [esi*4]
add eax, ebp
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [0x7ef334]
xor ebx, ebx
mov dword [0x7ef340], eax
lea edi, [eax + ecx*4]
test ecx, ecx
jle 0x4841c9
nop
mov eax, dword [0x7ef33c]
push dword [eax + ebx*4]
call fcn.004ed050
lea esi, [eax + 1]
lea ecx, [esi - 1]
push ecx
mov ecx, dword [0x7ef33c]
push dword [ecx + ebx*4]
push edi
call fcn.004ecfd0
mov eax, dword [0x7ef340]
add esp, 0x10
mov dword [eax + ebx*4], edi
inc ebx
add edi, esi
cmp ebx, dword [0x7ef334]
jl 0x484190
mov dword [0x7ef338], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret