Function at 0x1025b6f
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0x10]
xor ebx, ebx
cmp ecx, ebx
mov dword [ebp - 0x14], 0xc00000e5
je 0x1025b8c
mov dword [ecx], ebx
mov eax, dword [ebp + 0x14]
cmp eax, ebx
je 0x1025b95
mov dword [eax], ebx
cmp ecx, ebx
je 0x1025b9d
cmp eax, ebx
jne 0x1025bbe
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x20], 0x10029ac
call fcn.010202e5
mov esi, dword [ebp - 0x14]
jmp 0x1025d49
lea eax, [ebp - 0x34]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
call sub.KERNEL32.dll_GetCommandLineW
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
inc ecx
inc ecx
cmp dx, bx
jne 0x1025bda
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea eax, [ebp - 0x34]
push eax
mov ecx, edi
call fcn.010243ad
cmp eax, ebx
jge 0x1025cdb
mov esi, eax
jmp 0x1025d41
mov ebx, dword [ebp - 0x34]
lea eax, [ebp - 0x34]
sub ebx, eax
neg ebx
sbb ebx, ebx
and ebx, dword [ebp - 0x34]
lea esi, [ebx + 0x10]
mov ecx, dword [esi]
test cl, 1
jne 0x1025d52
test ecx, ecx
je 0x1025cd0
cmp ecx, 2
je 0x1025ca0
mov eax, dword [esi + 8]
cmp word [eax], 0x40
jne 0x1025ca0
mov edx, ecx
shr edx, 1
cmp word [eax + edx*2 - 2], 0
jne 0x1025c48
add ecx, 0xfffffffe
mov dword [esi], ecx
push dword [esi]
lea ecx, [eax + 2]
push ecx
push eax
call dword [sym.imp.msvcrt.dll_memmove]
add dword [esi], 0xfffffffe
xor eax, eax
add esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.01021df1
test eax, eax
jl 0x1025d7d
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
call fcn.010244ea
test eax, eax
lea ecx, [ebp - 0x10]
jl 0x1025d80
call fcn.0102034d
jmp 0x1025cd0
push 1
lea eax, [ebp - 4]
lea ecx, [edi + 0x10]
push eax
call fcn.01024feb
cmp dword [ebp - 4], 0
jl 0x1025d89
inc dword [edi + 0x20]
lea ecx, [edi + 0x10]
mov eax, dword [ecx + 8]
push esi
dec eax
push eax
call fcn.0104523f
mov ecx, eax
call fcn.0104d8b8
push 1
push ebx
lea ecx, [ebp - 0x34]
call fcn.010201e2
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x34], eax
jne 0x1025c04
mov ebx, dword [edi + 0x18]
push ebx
lea eax, [ebp + 0xc]
push eax
mov ecx, edi
call fcn.0106e300
mov esi, dword [ebp + 0xc]
test esi, esi
jl 0x1025d41
and dword [ebp + 0xc], 0
test ebx, ebx
je 0x1025d27
push dword [ebp + 0xc]
lea ecx, [edi + 0x10]
call fcn.0104523f
push dword [ebp + 0xc]
mov esi, dword [eax + 8]
mov ecx, edi
call fcn.0108d2ea
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], ebx
mov dword [eax], esi
jne 0x1025d05
mov eax, dword [edi + 8]
cmp dword [edi + 0xc], eax
jae 0x1025d32
mov dword [edi + 0xc], eax
mov eax, dword [edi + 4]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
xor esi, esi
lea ecx, [ebp - 0x34]
call fcn.01020bda
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x1c], 1
call fcn.01020bda
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0x10029ac
call fcn.0102080c
jmp 0x1025bb6
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.0102034d
jmp 0x1025d41
mov esi, dword [ebp - 4]
jmp 0x1025d41