Function at 0x525b30
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b57d3
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x6244f8]
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.00542f68
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 0x525bdb
mov esi, dword [esi]
cmp eax, 8
jae 0x525bfd
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 0x525c3d
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.00404993
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.00570860
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.0044bcf0
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 0x525d9a
xor ebx, ebx
cmp dword [ebp - 0x14], ebx
jle 0x525d8d
mov esi, dword [eax + ebx*4]
call fcn.0053955f
mov ecx, eax
test ecx, ecx
je 0x525e81
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.00404e26
test al, al
jne 0x525d19
test esi, esi
jne 0x525cfb
xor eax, eax
jmp 0x525d0f
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x525d00
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x18]
call fcn.004054b5
mov eax, dword [edi + 0xd0]
mov byte [ebp - 4], 7
mov dword [ebp - 0x24], eax
cmp eax, dword [edi + 0xd4]
je 0x525d4e
mov esi, dword [ebp - 0x18]
lea eax, [esi - 0x10]
push eax
call fcn.00405d05
mov ecx, dword [ebp - 0x24]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
add dword [edi + 0xd0], 4
jmp 0x525d61
lea ecx, [ebp - 0x18]
push ecx
push eax
lea ecx, [edi + 0xcc]
call fcn.00406781
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 0x525d7d
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 0x525cc5
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ebx, [edi + 0x118]
push 0x5e62d0
lea esi, [edi + 0xe8]
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.004193e1
add esp, 0xc
lea ecx, [edi + 0x100]
push eax
call fcn.004191bb
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x525df8
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x525dee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x525e7c
push edx
push ecx
call fcn.0056e411
add esp, 8
push 0x5e62f0
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.004193e1
add esp, 0xc
mov ecx, ebx
push eax
call fcn.004191bb
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x525e48
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x525e3e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x525e8b
push edx
push ecx
call fcn.0056e411
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.0056e41f
mov esp, ebp
pop ebp
ret 4
call fcn.00574b50
push 0x80004005
call fcn.00404e00
call fcn.00574b50
int3