Function at 0x551580
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e5893
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x65eb68]
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 edi, ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
mov esi, dword [ebp + 8]
push 0
mov dword [ebp - 0x28], edi
call fcn.0056ea18
mov dword [edi], vtable.CWinAppExtended.0
mov dword [ebp - 4], 0
mov dword [edi + 0xcc], 0
mov dword [edi + 0xd0], 0
mov dword [edi + 0xd4], 0
mov dword [edi + 0xd8], 0
lea ebx, [edi + 0xe8]
mov dword [edi + 0xdc], 0
mov dword [ebx], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], eax
jb 0x55162b
mov esi, dword [esi]
cmp eax, 8
jae 0x55164d
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, 7
jmp 0x55168d
or eax, 7
mov ecx, SysReAllocString
cmp eax, ecx
cmova eax, ecx
xor ecx, ecx
mov dword [ebp - 0x1c], eax
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
mov ecx, ebx
call fcn.00404963
mov ecx, eax
mov eax, dword [ebp - 0x14]
mov dword [ebx], ecx
lea eax, [eax*2 + 2]
push eax
push esi
push ecx
call fcn.0059d630
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0x10], ecx
xor ecx, ecx
mov dword [ebx + 0x14], eax
mov dword [edi + 0x100], 0
mov dword [edi + 0x110], 0
mov dword [edi + 0x114], 7
mov word [edi + 0x100], cx
lea ebx, [edi + 0x118]
xor eax, eax
mov dword [ebx], ecx
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], 7
mov word [ebx], ax
lea ecx, [edi + 0x130]
mov byte [ebp - 4], 4
call fcn.0046f5f0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 5
push eax
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x5517ea
xor ebx, ebx
cmp dword [ebp - 0x14], ebx
jle 0x5517dd
mov esi, dword [eax + ebx*4]
call fcn.0056500f
mov ecx, eax
test ecx, ecx
je 0x5518d1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.00404e34
test al, al
jne 0x551769
test esi, esi
jne 0x55174b
xor eax, eax
jmp 0x55175f
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x551750
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x18]
call fcn.00405684
mov eax, dword [edi + 0xd0]
mov byte [ebp - 4], 7
mov dword [ebp - 0x24], eax
cmp eax, dword [edi + 0xd4]
je 0x55179e
mov esi, dword [ebp - 0x18]
lea eax, [esi - 0x10]
push eax
call fcn.00405ebd
mov ecx, dword [ebp - 0x24]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
add dword [edi + 0xd0], 4
jmp 0x5517b1
lea ecx, [ebp - 0x18]
push ecx
push eax
lea ecx, [edi + 0xcc]
call fcn.004069fc
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 5
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x5517cd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x20]
inc ebx
mov eax, dword [ebp - 0x1c]
cmp ebx, dword [ebp - 0x14]
jl 0x551715
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ebx, [edi + 0x118]
push 0x619a70
lea esi, [edi + 0xe8]
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.0042942c
add esp, 0xc
lea ecx, [edi + 0x100]
push eax
call fcn.00428fbe
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x551848
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x55183e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5518cc
push edx
push ecx
call fcn.00599f8e
add esp, 8
push 0x619a90
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.0042942c
add esp, 0xc
mov ecx, ebx
push eax
call fcn.00428fbe
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x551898
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x55188e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5518db
push edx
push ecx
call fcn.00599f8e
add esp, 8
mov dword [edi + 0xe0], 0
mov eax, edi
mov dword [edi + 0xe4], 0
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.00599f9c
mov esp, ebp
pop ebp
ret 4
call fcn.005a1930
push 0x80004005
call fcn.00404e0e
call fcn.005a1930
int3