Function at 0x482490
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db505
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x51a3c4]
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 0x4826e7
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 0x4826e7
call fcn.0047ef40
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push esi
push 0x4f35d4
push dword [ebp - 0x34]
push dword [ebp - 0x30]
call fcn.0047eee0
add esp, 0x14
cmp eax, 0xffffffff
je 0x4826da
lea esp, [esp]
test eax, eax
jne 0x4826b9
mov edi, dword [0x524508]
test edi, edi
jne 0x482537
mov edi, 0x4f35d4
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 0x482560
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 0x4825af
lea eax, [esi + 0x10]
mov ecx, ebx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004085f0
test al, al
je 0x482655
cmp dword [ebx + 4], 0x3ffffff
je 0x48270a
mov esi, dword [ebx]
mov dword [ebp - 0x40], ebx
push 0x40
mov byte [ebp - 4], 1
mov dword [ebp - 0x3c], 0
call fcn.004a4277
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 0x482660
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 0x4826b6
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4826ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x482705
push edx
push ecx
call fcn.004a42a7
add esp, 8
mov esi, dword [ebp - 0x38]
lea eax, [ebp - 0x2c]
push eax
push esi
push 0x4f35d4
push dword [ebp - 0x34]
push dword [ebp - 0x30]
call fcn.0047eee0
add esp, 0x14
cmp eax, 0xffffffff
jne 0x482520
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
jmp 0x4826e9
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.004a44be
mov esp, ebp
pop ebp
ret
call fcn.004aba7f
call fcn.00408950
int3