Function at 0x10025e60
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082394
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100a7070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
call fcn.100138c0
mov ecx, eax
test ecx, ecx
jne 0x10025ea2
push 0x80004005
call fcn.100142e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, 0x10097a44
jne 0x10025eb7
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x10025eb9
call edx
add eax, 0x10
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
call fcn.100138c0
mov ecx, eax
test ecx, ecx
jne 0x10025edb
push 0x80004005
call fcn.100142e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, 0x10097a44
jne 0x10025ef0
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x10025ef2
call edx
add eax, 0x10
mov dword [edi + 8], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0xa
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
mov dword [edi + 0x24], eax
call fcn.100138c0
mov ecx, eax
test ecx, ecx
jne 0x10025f41
push 0x80004005
call fcn.100142e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, 0x10097a44
jne 0x10025f56
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x10025f58
call edx
add eax, 0x10
mov dword [edi + 0x2c], eax
mov byte [ebp - 4], 3
call fcn.100138c0
mov ecx, eax
test ecx, ecx
jne 0x10025f77
push 0x80004005
call fcn.100142e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, 0x10097a44
jne 0x10025f8c
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x10025f8e
call edx
lea esi, [eax + 0x10]
mov dword [ebp + 8], esi
mov byte [ebp - 4], 4
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x10e
or eax, ecx
jge 0x10025fbc
push 0x10e
lea ecx, [ebp + 8]
call fcn.100195b0
mov esi, dword [ebp + 8]
push 0x104
push esi
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push dword [esi - 8]
push esi
call fcn.10063b4e
add esp, 8
test eax, eax
js 0x100261b0
cmp eax, dword [esi - 8]
jg 0x100261b0
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
call fcn.100138c0
mov ecx, eax
test ecx, ecx
jne 0x10026008
push 0x80004005
call fcn.100142e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, 0x10097a44
jne 0x1002601d
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x1002601f
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x10]
mov byte [ebp - 4], 5
mov ecx, esi
call fcn.10036e40
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
test edx, edx
jne 0x10026043
xor ecx, ecx
jmp 0x1002605f
mov ecx, edx
lea ebx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10026050
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.10019610
push 0x5c
push esi
call fcn.1005cca9
add esp, 8
test eax, eax
jne 0x1002607d
or eax, 0xffffffff
jmp 0x10026081
sub eax, esi
sar eax, 1
inc eax
lea ecx, [ebp + 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10018590
mov byte [ebp - 4], 6
lea ebx, [esi - 0x10]
mov edx, dword [eax]
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x100260d0
cmp dword [ebx + 0xc], 0
jl 0x100260c1
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x100260c1
call fcn.10019540
mov ecx, ebx
mov esi, eax
call fcn.10014570
add esi, 0x10
mov dword [ebp + 8], esi
jmp 0x100260d0
push dword [edx - 0xc]
lea ecx, [ebp + 8]
push edx
call fcn.10019610
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 5
or ebx, 0xffffffff
mov ecx, dword [ebp - 0x14]
mov eax, ebx
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x10026112
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edx, dword [eax + 4]
mov dword [ebp - 0x18], edx
mov edx, dword [ecx]
cmp eax, 0x10097a44
jne 0x1002610d
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x10026112
mov ecx, edx
call dword [ebp - 0x18]
lea eax, [edi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 4
mov eax, ebx
mov ecx, dword [ebp - 0x10]
mov dword [edi], 0
add ecx, 0xfffffff0
mov dword [edi + 0x28], 0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x10026168
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edx, dword [eax + 4]
mov dword [ebp - 0x18], edx
mov edx, dword [ecx]
cmp eax, 0x10097a44
jne 0x10026163
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x10026168
mov ecx, edx
call dword [ebp - 0x18]
mov byte [ebp - 4], 3
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1002619a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, 0x10097a44
jne 0x10026198
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1002619a
call edx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.100142e0
int3