Function at 0x4954c0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ddc8
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x61ce74]
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 ebx, ecx
mov dword [ebp - 0x15c], ebx
mov esi, dword [ebx]
mov edi, dword [ebp + 8]
push dword [esi + 4]
push ebx
call fcn.0048fe70
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
lea esi, [ebx + 0x14]
mov dword [ebx + 4], 0
mov eax, esi
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x495527
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 0x164], ecx
test edi, edi
jne 0x49553e
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
lea eax, [ebp - 0x164]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov bl, byte [ebp + 0xc]
mov edi, eax
mov dword [ebp - 0x160], edi
test bl, bl
je 0x495580
mov ecx, dword [edi]
mov edx, ecx
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x495562
sub edx, edi
sar edx, 1
push edx
push ecx
mov ecx, esi
call fcn.00439df0
mov edi, dword [ebp - 0x160]
movzx eax, bl
mov dword [ebp - 0x16c], eax
cmp eax, dword [ebp - 0x164]
jge 0x495908
mov ebx, 0x100
lea ebx, [ebx]
mov edx, dword [edi + eax*4]
movzx eax, word [edx]
cmp eax, 0x2f
je 0x4955b4
cmp eax, 0x2d
je 0x4955b4
xor al, al
jmp 0x4955b6
mov al, 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
test al, al
je 0x49592f
add edx, 2
xor eax, eax
mov ecx, edx
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4955e0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00439df0
cmp dword [ebp - 0x14], 8
lea edi, [ebp - 0x28]
mov esi, dword [ebp - 0x18]
cmovae edi, dword [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x168], esi
test esi, esi
je 0x49567c
push 0x100
lea eax, [ebp - 0x158]
push 0
push eax
call fcn.00540d70
add esp, 0xc
mov ecx, 0x5c5b5c
movzx eax, word [ecx]
cmp ax, bx
jae 0x4956f3
movzx eax, al
add ecx, 2
mov byte [ebp + eax - 0x158], 1
cmp ecx, 0x5c5b60
jne 0x495633
lea ecx, [edi + esi*2]
mov ebx, edi
cmp edi, ecx
jae 0x49567c
mov edx, 0x100
movzx eax, word [ebx]
cmp ax, dx
jae 0x495675
cmp byte [ebp + eax - 0x158], 0
jne 0x4956ed
add ebx, 2
cmp ebx, ecx
jb 0x495663
or ebx, 0xffffffff
xor eax, eax
cmp ebx, 0xffffffff
je 0x49583c
lea edx, [ebx + 1]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp esi, edx
jb 0x4959ff
sub esi, edx
lea eax, [ebp - 0x28]
or ecx, 0xffffffff
cmp esi, 0xffffffff
cmovb ecx, esi
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x168], ecx
cmovae eax, dword [ebp - 0x28]
lea eax, [eax + edx*2]
mov dword [ebp - 0x170], eax
cmp ecx, 7
ja 0x495741
lea esi, [ecx + ecx]
mov dword [ebp - 0x30], ecx
push esi
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00540ed0
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x40], ax
jmp 0x4957a2
sub ebx, edi
sar ebx, 1
jmp 0x49567f
lea esi, [edi + esi*2]
mov ebx, edi
cmp edi, esi
jae 0x495724
lea esp, [esp]
movzx edx, word [ebx]
mov ecx, 2
mov eax, 0x5c5b5c
lea ecx, [ecx]
cmp word [eax], dx
je 0x495732
add eax, 2
sub ecx, 1
jne 0x495710
add ebx, 2
cmp ebx, esi
jb 0x495700
mov esi, dword [ebp - 0x168]
or ebx, 0xffffffff
jmp 0x49567f
mov esi, dword [ebp - 0x168]
sub ebx, edi
sar ebx, 1
jmp 0x49567f
cmp ecx, 0x7ffffffe
ja 0x4959fa
mov esi, ecx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x495761
mov esi, 0x7ffffffe
jmp 0x49576c
cmp esi, 0xa
mov eax, 0xa
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x40]
call fcn.004317d0
mov edi, eax
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x30], eax
lea esi, [eax + eax]
push esi
push dword [ebp - 0x170]
push edi
call fcn.00541450
add esp, 0xc
mov dword [ebp - 0x40], edi
xor eax, eax
mov word [esi + edi], ax
xor eax, eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x58]
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x28]
cmovb ebx, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 8
push ebx
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
call fcn.00439df0
mov ecx, dword [ebp - 0x15c]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
call fcn.00495060
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x49582b
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x495821
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4959f5
push edx
push ecx
call fcn.0053d0af
add esp, 8
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x4958a3
mov ecx, dword [ebp - 0x40]
jmp 0x495874
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov ecx, dword [ebp - 0x15c]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
call fcn.00495060
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x4958a3
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x495899
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4959f5
push edx
push ecx
call fcn.0053d0af
add esp, 8
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x4958e4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4958da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4959f5
push edx
push ecx
call fcn.0053d0af
add esp, 8
mov edi, dword [ebp - 0x160]
mov ebx, 0x100
mov eax, dword [ebp - 0x16c]
inc eax
mov dword [ebp - 0x16c], eax
cmp eax, dword [ebp - 0x164]
jl 0x4955a0
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
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.0053d079
mov esp, ebp
pop ebp
ret 8
mov ecx, edx
xor eax, eax
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x495940
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00439df0
mov esi, dword [ebp - 0x15c]
mov dword [ebp - 4], 4
mov ecx, dword [esi + 0xc]
cmp ecx, dword [esi + 0x10]
je 0x4959a2
mov eax, dword [ebp - 0x28]
mov edx, 7
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0x14], eax
xor eax, eax
add dword [esi + 0xc], 0x18
mov word [ebp - 0x28], ax
jmp 0x4959b2
lea eax, [ebp - 0x28]
push eax
push ecx
lea ecx, [esi + 8]
call fcn.004390f0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x4958ef
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4959e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4959f5
push edx
push ecx
call fcn.0053d0af
add esp, 8
jmp 0x4958ef
call fcn.0054b0c3
call fcn.00431760
call fcn.00439a20
int3