Function at 0x484e40
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0535
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5203c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x38], esi
test eax, eax
je 0x485097
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x485097
call fcn.00481950
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push esi
push 0x4f9904
push dword [ebp - 0x34]
push dword [ebp - 0x30]
call fcn.004818f0
add esp, 0x14
cmp eax, 0xffffffff
je 0x48508a
lea esp, [esp]
test eax, eax
jne 0x485069
mov edi, dword [0x52a5e8]
test edi, edi
jne 0x484ee7
mov edi, 0x4f9904
mov eax, dword [ebp - 0x2c]
add eax, eax
mov edx, dword [esi + eax*8]
mov ecx, edx
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x484f10
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00408d10
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x4c]
mov ecx, ebx
push eax
call fcn.004125d0
mov esi, dword [ebp - 0x44]
cmp byte [esi + 0xd], 0
jne 0x484f5f
lea eax, [esi + 0x10]
mov ecx, ebx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004085f0
test al, al
je 0x485005
cmp dword [ebx + 4], 0x3ffffff
je 0x4850ba
mov esi, dword [ebx]
mov dword [ebp - 0x40], ebx
push 0x40
mov byte [ebp - 4], 1
mov dword [ebp - 0x3c], 0
call fcn.004a8c07
mov edx, eax
mov byte [ebp - 4], 0
add esp, 4
mov dword [edx + 0x10], 0
mov dword [edx + 0x20], 0
mov dword [edx + 0x24], 0
mov ecx, dword [ebp - 0x28]
mov dword [edx + 0x10], ecx
mov ecx, dword [ebp - 0x24]
mov dword [edx + 0x14], ecx
mov ecx, ebx
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x24], eax
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push edx
push dword [ebp - 0x48]
mov dword [edx + 0x28], eax
push dword [ebp - 0x4c]
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], 7
mov dword [edx], esi
mov dword [edx + 4], esi
mov dword [edx + 8], esi
mov word [edx + 0xc], ax
mov dword [ebp - 0x3c], eax
call fcn.00408240
mov esi, eax
mov eax, edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x485010
sub eax, edx
lea ecx, [esi + 0x28]
sar eax, 1
push eax
push edi
call fcn.00408d10
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x485066
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48505c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4850b5
push edx
push ecx
call fcn.004a8c37
add esp, 8
mov esi, dword [ebp - 0x38]
lea eax, [ebp - 0x2c]
push eax
push esi
push 0x4f9904
push dword [ebp - 0x34]
push dword [ebp - 0x30]
call fcn.004818f0
add esp, 0x14
cmp eax, 0xffffffff
jne 0x484ed0
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
jmp 0x485099
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a8e4e
mov esp, ebp
pop ebp
ret
call fcn.004b040f
call fcn.00408950
int3