Function at 0x1001edd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x980
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
cmp byte [esi], 0
je 0x1001f195
mov eax, dword [edx + 0xd8]
mov dword [esp + 0x70], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x6d8], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x6dc], 0
test eax, eax
je 0x1001eeb2
lea ecx, [esp + 0x48]
lea edx, [esp + 0x3c]
lea esi, [esp + 0x70]
push ecx
push edx
push esi
push esi
push dword [eax + 8]
call sub.kernel32.dll_GetProcessTimes
test eax, eax
jne 0x1001eeb2
call fcn.10047dc0
test edx, edx
mov dword [esp + 0x26c], eax
mov dword [esp + 0x270], edx
mov dword [esp + 0x268], 1
je 0x1001eeb2
lea eax, [esp + 0x270]
push eax
call fcn.10047d70
add esp, 4
lea eax, [esp + 0x6d8]
lea ecx, [esp + 0x90]
lea edx, [esp + 0x18]
push eax
push ecx
push edx
call sub.kernel32.dll_GetSystemTimes
test eax, eax
mov cl, 1
mov eax, 0
jne 0x1001eef4
call fcn.10047dc0
test edx, edx
mov dword [esp + 0x26c], eax
mov eax, 1
mov dword [esp + 0x270], edx
sete cl
mov dword [esp + 0x268], eax
mov eax, dword [ebp + 8]
mov esi, dword [esp + 0x94]
mov byte [esp + 0xc], cl
mov ebx, dword [esp + 0x90]
mov edx, 0
movd xmm2, dword [esp + 0x6d8]
mov ecx, dword [eax + 0x74]
mov eax, dword [eax + 0x70]
mov edi, esi
movd xmm0, ebx
movd xmm1, esi
punpckldq xmm0, xmm2
movd xmm2, dword [esp + 0x40]
cmp ebx, eax
sbb edi, ecx
cmovb ecx, edx
cmovb eax, edx
mov edx, dword [esp + 0x6dc]
sub ebx, eax
mov eax, dword [ebp + 8]
sbb esi, ecx
mov dword [esp], esi
movd xmm3, edx
punpckldq xmm1, xmm3
mov ecx, dword [eax + 0x78]
mov esi, dword [eax + 0x7c]
mov eax, edx
movd xmm3, dword [esp + 0x48]
punpckldq xmm0, xmm1
pshufd xmm1, xmm0, 0xee
movd edi, xmm1
movd xmm1, dword [esp + 0x4c]
cmp edi, ecx
sbb eax, esi
mov eax, 0
cmovb ecx, eax
cmovb esi, eax
sub edi, ecx
mov ecx, dword [ebp + 8]
punpckldq xmm2, xmm1
movd xmm1, dword [esp + 0x3c]
sbb edx, esi
add edi, ebx
adc edx, dword [esp]
mov eax, dword [ecx + 0x6c]
mov esi, dword [ecx + 0x68]
mov ebx, dword [ecx + 0x60]
punpckldq xmm1, xmm3
punpckldq xmm1, xmm2
mov dword [esp + 8], eax
mov eax, 0xffffffff
cmovb edi, eax
cmovb edx, eax
mov eax, edi
or eax, edx
mov eax, ecx
mov ecx, dword [ecx + 0x64]
movdqu xmmword [eax + 0x60], xmm1
movdqu xmmword [eax + 0x70], xmm0
je 0x1001f16b
pshufd xmm0, xmm1, 0x55
mov dword [esp + 4], esi
movd esi, xmm1
movd dword [esp], xmm0
cmp esi, ebx
pshufd xmm0, xmm1, 0xff
pshufd xmm1, xmm1, 0xee
mov eax, dword [esp]
sbb eax, ecx
mov eax, 0
cmovb ebx, eax
cmovb ecx, eax
movd eax, xmm1
movd xmm1, edx
sub esi, ebx
movd ebx, xmm0
mov dword [esp + 0x30], eax
movd xmm0, edi
sbb dword [esp], ecx
mov dword [esp + 0x2c], esi
cmp eax, dword [esp + 4]
mov esi, dword [esp + 8]
mov eax, ebx
mov ecx, 0
punpckldq xmm0, xmm1
sbb eax, esi
mov eax, 0
cmovb esi, eax
mov eax, dword [esp + 4]
cmovb eax, ecx
mov ecx, dword [esp + 0x30]
movq qword [esp + 0x80], xmm0
fild qword [esp + 0x80]
fnstcw word [esp + 0x16]
sub ecx, eax
movzx eax, word [esp + 0x16]
sbb ebx, esi
shr edx, 0x1f
or eax, 0x300
mov word [esp + 0x3a], ax
mov eax, 0xffffffff
fldcw word [esp + 0x3a]
fadd dword [edx*4 + 0x10170920]
add ecx, dword [esp + 0x2c]
mov edx, dword [ebp + 8]
adc ebx, dword [esp]
fldcw word [esp + 0x16]
cmovb ebx, eax
cmovb ecx, eax
fstp dword [esp + 0x6c]
movd xmm0, ebx
movd xmm1, ecx
shr ebx, 0x1f
mov ecx, dword [ebp + 0x10]
punpckldq xmm1, xmm0
movq qword [esp + 0x88], xmm1
fild qword [esp + 0x88]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
movd xmm1, ecx
or eax, 0x300
mov word [esp + 0x38], ax
mov eax, dword [ebp + 0x14]
fldcw word [esp + 0x38]
movd xmm2, eax
shr eax, 0x1f
fadd dword [ebx*4 + 0x10170920]
fldcw word [esp + 0x14]
punpckldq xmm1, xmm2
fstp dword [esp + 0x64]
movss xmm0, dword [esp + 0x64]
divss xmm0, dword [esp + 0x6c]
movq qword [esp + 0x78], xmm1
fild qword [esp + 0x78]
fnstcw word [esp + 0x12]
movzx ecx, word [esp + 0x12]
mulss xmm0, dword [0x10170928]
or ecx, 0x300
mov word [esp + 0x36], cx
fldcw word [esp + 0x36]
fadd dword [eax*4 + 0x10170920]
cmp byte [esp + 0xc], 0
fldcw word [esp + 0x12]
fstp dword [esp + 0x68]
mulss xmm0, dword [esp + 0x68]
movss dword [edx + 0xdc], xmm0
jne 0x1001f166
lea eax, [esp + 0x270]
push eax
call fcn.10047d70
mov edx, dword [ebp + 8]
add esp, 4
mov esi, dword [ebp + 0xc]
jmp 0x1001f195
mov edx, dword [ebp + 8]
cmp byte [esp + 0xc], 0
mov esi, dword [ebp + 0xc]
mov dword [edx + 0xdc], 0
jne 0x1001f195
lea eax, [esp + 0x270]
push eax
call fcn.10047d70
mov edx, dword [ebp + 8]
add esp, 4
cmp byte [esi + 1], 0
je 0x1001f1df
mov eax, dword [edx + 0xd8]
test eax, eax
je 0x1001f1df
lea ecx, [esp + 0x268]
push ecx
push dword [eax + 8]
call sub.kernel32.dll_GetProcessIoCounters
test eax, eax
je 0x1001f2d3
mov edx, dword [ebp + 8]
movdqu xmm1, xmmword [esp + 0x280]
movups xmm0, xmmword [edx + 0xa0]
movups xmmword [edx + 0x90], xmm0
movdqu xmmword [edx + 0xa0], xmm1
cmp byte [esi + 2], 0
je 0x1001f1fe
mov eax, dword [ebp + 0x24]
movups xmm0, xmmword [eax + 0x68]
movss xmm1, dword [eax + 0x5c]
unpcklps xmm0, xmm1
xorps xmm1, xmm1
unpcklps xmm0, xmm1
movups xmmword [edx + 0x50], xmm0
mov eax, dword [edx + 0xd8]
test eax, eax
je 0x1001f404
movzx ecx, byte [esi + 3]
test ecx, ecx
je 0x1001f404
cmp ecx, 1
je 0x1001f22d
cmp dword [edx + 0xc8], 0x80000000
jne 0x1001f404
mov esi, dword [eax + 8]
call fcn.10036630
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push 8
push esi
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x1001f3cc
mov ebx, dword [esp + 0x18]
lea eax, [ebx + 1]
cmp eax, 2
jb 0x1001f3fe
lea esi, [esp + 0x6d8]
mov dword [esp + 0x90], ebx
mov dword [esp + 0x6d8], 0
push esi
push 0
push 0
push 1
push ebx
call sub.advapi32.dll_GetTokenInformation
test eax, eax
je 0x1001f37e
mov edi, dword [esp + 0x6d8]
call sub.kernel32.dll_GetProcessHeap
lea ecx, [eax + 1]
cmp ecx, 1
ja 0x1001f317
call fcn.10047dc0
test edx, edx
mov dword [esp + 0x26c], eax
mov dword [esp + 0x270], edx
mov dword [esp + 0x268], 1
je 0x1001f3c2
lea eax, [esp + 0x270]
push eax
jmp 0x1001f3ba
call fcn.10047dc0
test edx, edx
mov dword [esp + 0x6dc], eax
mov dword [esp + 0x6e0], edx
mov dword [esp + 0x6d8], 1
je 0x1001f305
lea eax, [esp + 0x6e0]
push eax
call fcn.10047d70
add esp, 4
mov edx, dword [ebp + 8]
cmp byte [esi + 2], 0
jne 0x1001f1e5
jmp 0x1001f1fe
push edi
push 8
push eax
call sub.kernel32.dll_HeapAlloc
test eax, eax
je 0x1001f3c2
mov edi, eax
push esi
push dword [esp + 0x6dc]
push eax
push 1
push ebx
call sub.advapi32.dll_GetTokenInformation
test eax, eax
je 0x1001f8c0
lea eax, [esp + 0x268]
push dword [edi]
push eax
call fcn.100126f0
add esp, 8
mov esi, dword [esp + 0x268]
cmp esi, 0x80000000
jne 0x1001f901
mov ecx, edi
call fcn.1001e940
lea eax, [esp + 0x90]
push eax
call fcn.1001a100
jmp 0x1001f3fb
call fcn.10047dc0
lea ecx, [esp + 0x26c]
cmp eax, 0x8007007a
mov dword [esp + 0x268], eax
mov dword [esp + 0x26c], edx
jne 0x1001f3b5
test edx, edx
je 0x1001f28c
push ecx
call fcn.10047d70
add esp, 4
jmp 0x1001f28c
test edx, edx
je 0x1001f3c2
push ecx
call fcn.10047d70
add esp, 4
push ebx
call sub.kernel32.dll_CloseHandle
test eax, eax
jne 0x1001f3fe
call fcn.10047dc0
test edx, edx
mov dword [esp + 0x26c], eax
mov dword [esp + 0x270], edx
mov dword [esp + 0x268], 1
je 0x1001f3fe
lea eax, [esp + 0x270]
push eax
call fcn.10047d70
add esp, 4
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
movzx eax, byte [esi + 5]
movzx ecx, byte [esi + 7]
movzx edi, byte [esi + 4]
mov bl, 1
mov dword [esp], ebx
mov dword [esp + 0xc], eax
movzx eax, byte [esi + 6]
test ecx, ecx
mov ebx, ecx
mov dword [esp + 8], eax
je 0x1001f435
cmp ebx, 1
je 0x1001f48c
cmp dword [edx + 0xb8], 0
je 0x1001f48c
test eax, eax
je 0x1001f447
cmp eax, 1
je 0x1001f48c
cmp dword [edx + 0xc4], 0
je 0x1001f48c
test edi, edi
je 0x1001f459
cmp edi, 1
je 0x1001f48c
cmp dword [edx + 0x30], 0x80000000
je 0x1001f48c
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1001f479
cmp eax, 1
je 0x1001f48c
cmp dword [edx + 0x40], 0x80000000
sete al
test al, al
mov dword [esp], eax
je 0x1001f482
jmp 0x1001f48c
xor eax, eax
test al, al
mov dword [esp], eax
jne 0x1001f48c
cmp byte [ebp + 0x20], 0
je 0x1001f797
mov eax, dword [edx + 0xd8]
test eax, eax
je 0x1001f797
mov ecx, dword [eax + 8]
mov dword [esp + 0x2c], edi
lea eax, [esp + 0x3c]
push 0
push 4
push eax
push 0x1a
mov dword [esp + 0x14], ecx
push ecx
call sub.ntdll.dll_NtQueryInformationProcess
test eax, eax
js 0x1001f794
mov edi, dword [esp + 0x3c]
cmp byte [ebp + 0x20], 0
jne 0x1001f4d7
test edi, edi
je 0x1001f4d7
cmp byte [esp], 0
jne 0x1001f528
jmp 0x1001f794
lea eax, [esp + 0x268]
push 0
push 0x18
push eax
push 0
push dword [esp + 0x14]
call sub.ntdll.dll_NtQueryInformationProcess
test eax, eax
js 0x1001f794
mov ecx, dword [esp + 0x27c]
mov esi, dword [ebp + 8]
xor edx, edx
mov eax, dword [esp + 0x26c]
test ecx, ecx
setne dl
cmp byte [esp], 0
mov dword [esi], edx
mov dword [esi + 4], ecx
mov esi, dword [ebp + 0xc]
je 0x1001f794
test edi, edi
je 0x1001f68e
lea eax, [esp + 0x268]
push 0
push 0x470
push eax
push edi
mov edi, dword [esp + 0x14]
push edi
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x1001f62a
lea eax, [esp + 0x6d8]
push 0
push 0x2a4
push eax
push dword [esp + 0x284]
push edi
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x1001f65c
mov ecx, dword [esp + 0x700]
movzx eax, word [esp + 0x6fc]
mov edx, dword [ebp + 8]
test ebx, ebx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x720]
mov dword [esp + 0x30], eax
je 0x1001fa69
mov eax, dword [esp + 0x71c]
movzx esi, word [esp + 0x718]
cmp ebx, 1
je 0x1001f5b8
cmp dword [edx + 0xb8], 0
jne 0x1001fa69
mov edi, dword [0x101bf070]
mov ebx, eax
mov dword [esp], ecx
cmp edi, 4
jne 0x1001f9a6
cmp byte [0x101bf074], 0
lea edi, [edx + 0xb0]
je 0x1001f9c9
mov edx, dword [esp + 4]
lea ecx, [esp + 0x90]
call fcn.10020950
push edi
call fcn.10018700
add esp, 4
mov eax, dword [edi]
test eax, eax
je 0x1001f615
shl eax, 4
push 4
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0xb4]
call fcn.1000d080
add esp, 0xc
mov eax, dword [esp + 0x98]
movsd xmm0, qword [esp + 0x90]
jmp 0x1001fa5c
call fcn.10047dc0
test edx, edx
mov dword [esp + 0x6dc], eax
mov dword [esp + 0x6e0], edx
mov dword [esp + 0x6d8], 1
je 0x1001f794
lea eax, [esp + 0x6e0]
jmp 0x1001f78b
call fcn.10047dc0
test edx, edx
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], edx
mov dword [esp + 0x90], 1
je 0x1001f794
lea eax, [esp + 0x98]
jmp 0x1001f78b
lea ecx, [esp + 0x90]
push 0
push 0x1d8
push ecx
push eax
push dword [esp + 0x14]
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x1001f762
lea esi, [esp + 0x6d8]
push 0
push 0x2a4
push esi
push dword [esp + 0xac]
push dword [esp + 0x14]
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x1001f96c
push 0x2a4
push esi
lea eax, [esp + 0x270]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x268]
lea eax, [esi + 0xb0]
mov esi, dword [esp + 4]
mov edx, esi
push eax
push ebx
call fcn.10020a90
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x2b0]
mov edx, esi
add eax, 0xbc
push eax
push dword [esp + 0xc]
call fcn.10020c10
add esp, 8
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x290]
lea ecx, [eax + 0x30]
add eax, 0x40
mov dword [esp], ecx
mov ecx, dword [esp + 0x28c]
push eax
push dword [esp + 4]
push dword [esp + 0x14]
push dword [esp + 0x38]
push esi
call fcn.100207c0
add esp, 0x14
mov esi, dword [ebp + 0xc]
jmp 0x1001f528
call fcn.10047dc0
test edx, edx
mov dword [esp + 0x26c], eax
mov dword [esp + 0x270], edx
mov dword [esp + 0x268], 1
je 0x1001f794
lea eax, [esp + 0x270]
push eax
call fcn.10047d70
add esp, 4
mov edx, dword [ebp + 8]
movzx eax, byte [esi + 8]
mov ebx, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x18]
test eax, eax
je 0x1001f891
lea esi, [edx + 0x20]
cmp eax, 1
je 0x1001f7bd
cmp dword [esi], 0x80000000
jne 0x1001f891
mov eax, dword [edx + 0xd8]
test eax, eax
je 0x1001f84d
mov eax, dword [eax + 8]
mov dword [esp], eax
lea eax, [esp + 0x268]
push 0x20a
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
call fcn.10036630
push 0x105
lea ecx, [esp + 0x26c]
push ecx
push eax
push dword [esp + 0xc]
call sub.psapi.dll_GetModuleFileNameExW
xor eax, eax
mov ecx, 0x20a
nop dword [eax + eax]
cmp word [esp + eax*2 + 0x268], 0
je 0x1001f826
inc eax
add ecx, 0xfffffffe
jne 0x1001f810
mov eax, 0x105
lea ecx, [esp + 0x6d8]
push eax
lea eax, [esp + 0x26c]
push eax
push ecx
call fcn.10091010
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [esi]
cmp eax, 0x80000000
jne 0x1001f861
jmp 0x1001f876
mov dword [esp + 0x6d8], 0x80000000
mov eax, dword [esi]
cmp eax, 0x80000000
je 0x1001f876
test eax, eax
je 0x1001f876
push 1
push eax
push dword [edx + 0x24]
call fcn.1000d080
mov edx, dword [ebp + 8]
add esp, 0xc
movsd xmm0, qword [esp + 0x6d8]
movq xmm1, qword [esp + 0x6e0]
movq qword [esi + 8], xmm1
movsd qword [esi], xmm0
xor eax, eax
sub edi, dword [edx + 0x80]
sbb ebx, dword [edx + 0x84]
cmovb edi, eax
cmovb ebx, eax
mov dword [edx + 0x8c], ebx
mov dword [edx + 0x88], edi
mov byte [edx + 0xe0], 1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.10047dc0
test edx, edx
mov dword [esp + 0x268], eax
mov dword [esp + 0x26c], edx
je 0x1001f8e7
lea eax, [esp + 0x26c]
push eax
call fcn.10047d70
add esp, 4
mov ecx, edi
call fcn.1001e940
push ebx
call sub.kernel32.dll_CloseHandle
test eax, eax
jne 0x1001f3fe
jmp 0x1001f3cc
mov ecx, dword [ebp + 8]
mov ebx, dword [esp + 0x26c]
mov edx, dword [esp + 0x270]
mov eax, dword [ecx + 0xc8]
test eax, 0x7fffffff
je 0x1001f93b
push 1
push eax
push dword [ecx + 0xcc]
mov dword [esp + 0xc], edx
call fcn.1000d080
mov edx, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
add esp, 0xc
mov dword [ecx + 0xc8], esi
mov dword [ecx + 0xcc], ebx
mov dword [ecx + 0xd0], edx
mov ecx, edi
call fcn.1001e940
lea eax, [esp + 0x90]
push eax
call fcn.1001a100
mov edx, dword [ebp + 8]
add esp, 4
jmp 0x1001f401
call fcn.10047dc0
test edx, edx
mov dword [esp + 0x26c], eax
mov dword [esp + 0x270], edx
mov dword [esp + 0x268], 1
je 0x1001f99e
lea eax, [esp + 0x270]
push eax
call fcn.10047d70
add esp, 4
mov esi, dword [ebp + 0xc]
jmp 0x1001f794
push 0x101bf070
call fcn.10013030
mov edx, dword [ebp + 8]
add esp, 4
cmp byte [0x101bf074], 0
lea edi, [edx + 0xb0]
jne 0x1001f5df
lea eax, [esp + 0x90]
push esi
push ebx
push dword [esp + 0xc]
push eax
call fcn.100206d0
add esp, 0x10
mov esi, dword [esp + 0x90]
cmp esi, 0x80000000
jne 0x1001fa08
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 4
mov dword [esp + 0x20], 0
jmp 0x1001fa2c
mov ebx, dword [esp + 0x94]
lea ecx, [esp + 0x18]
mov edx, ebx
call fcn.100205a0
test esi, esi
je 0x1001fa2c
add esi, esi
push 2
push esi
push ebx
call fcn.1000d080
add esp, 0xc
push edi
call fcn.10018700
add esp, 4
mov eax, dword [edi]
test eax, eax
je 0x1001fa52
shl eax, 4
push 4
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0xb4]
call fcn.1000d080
add esp, 0xc
mov eax, dword [esp + 0x20]
movsd xmm0, qword [esp + 0x18]
mov dword [edi + 8], eax
mov edx, dword [ebp + 8]
mov ecx, dword [esp]
movsd qword [edi], xmm0
mov eax, dword [esp + 8]
mov edi, dword [esp + 0xc]
test eax, eax
je 0x1001fcaf
cmp eax, 1
je 0x1001fa8b
cmp dword [edx + 0xc4], 0
jne 0x1001fcaf
lea eax, [edx + 0xbc]
mov dword [esp + 8], eax
lea eax, [esp + 0x90]
push 0x1c
push eax
push ecx
mov ebx, dword [esp + 0x10]
push ebx
mov esi, edx
mov edi, ecx
call sub.kernel32.dll_VirtualQueryEx
test eax, eax
je 0x1001fb3c
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x18]
sub eax, edi
add eax, dword [esp + 0x9c]
push eax
push edi
push ebx
push ecx
call fcn.100206d0
add esp, 0x10
mov edi, dword [esp + 0x18]
lea eax, [esi + 0xc4]
lea ebx, [esi + 0xc0]
mov dword [esp], eax
cmp edi, 0x80000000
je 0x1001fb5b
mov dword [esp + 0x54], ebx
mov esi, dword [ebx]
mov ebx, dword [eax]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [eax], 0
test ebx, ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x28], edx
je 0x1001fba6
add esi, 4
jmp 0x1001fb26
add esi, 0x10
dec ebx
je 0x1001fba6
mov eax, dword [esi - 4]
test eax, eax
je 0x1001fb1c
push 1
push eax
push dword [esi]
call fcn.1000d080
add esp, 0xc
jmp 0x1001fb1c
lea eax, [esi + 0xc4]
mov dword [esp + 0x1c], 0x101709ff
mov dword [esp + 0x20], 0x29
lea ebx, [esi + 0xc0]
mov dword [esp], eax
mov esi, dword [esp + 8]
push esi
call fcn.10018700
add esp, 4
mov eax, dword [esi]
mov edi, dword [esp + 0xc]
test eax, eax
je 0x1001fb89
shl eax, 4
push 4
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0xc0]
call fcn.1000d080
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [esp]
mov dword [esi], 0
mov dword [ebx], 4
mov dword [eax], 0
jmp 0x1001fcaf
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x58], edi
lea eax, [ecx + ecx]
neg eax
mov dword [esp + 0x5c], eax
xor eax, eax
cmp eax, ecx
je 0x1001fc8c
mov ebx, eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x5c]
xor edi, edi
xor esi, esi
lea eax, [eax + ebx*2]
lea edx, [ecx + ebx*2]
cmp word [eax + esi*2], 0
je 0x1001fbe9
add edi, 0xfffffffe
inc esi
cmp edx, edi
jne 0x1001fbd5
jmp 0x1001fc8c
mov edx, ebx
add edx, esi
jb 0x1001fe66
cmp edx, dword [esp + 0x28]
ja 0x1001fe57
xor edx, edx
mov ecx, edi
add ecx, edx
je 0x1001fc8c
cmp word [eax + edx], 0x3d
lea edx, [edx + 2]
jne 0x1001fbff
push esi
push eax
lea eax, [esp + 0x98]
push eax
call fcn.10091010
add esp, 0xc
mov eax, dword [esp]
mov ecx, dword [esp + 8]
mov edi, dword [eax]
cmp edi, dword [ecx]
jne 0x1001fc3e
push dword [esp + 8]
call fcn.10024030
add esp, 4
mov eax, dword [esp + 0x54]
movsd xmm0, qword [esp + 0x90]
movq xmm1, qword [esp + 0x98]
mov ecx, edi
inc edi
shl ecx, 4
mov eax, dword [eax]
movq qword [eax + ecx + 8], xmm1
movsd qword [eax + ecx], xmm0
mov eax, dword [esp]
mov ecx, dword [esp + 0x28]
mov dword [eax], edi
lea eax, [ebx + esi + 1]
cmp eax, ecx
jbe 0x1001fbb9
lea eax, [ebx + esi + 1]
push 0x10170b00
push ecx
push eax
call fcn.100e1b10
mov eax, dword [esp + 0x58]
mov edx, dword [ebp + 8]
mov edi, dword [esp + 0xc]
test eax, eax
je 0x1001fcaf
add eax, eax
push 2
push eax
push dword [esp + 0x4c]
call fcn.1000d080
mov edx, dword [ebp + 8]
add esp, 0xc
mov eax, dword [esp + 0x2c]
lea ebx, [edx + 0x30]
test eax, eax
je 0x1001fcc3
cmp eax, 1
jne 0x1001fccc
mov al, 1
jmp 0x1001fcd5
mov dword [esp], 0
jmp 0x1001fcd8
cmp dword [ebx], 0x80000000
sete al
mov dword [esp], eax
lea esi, [edx + 0x40]
test edi, edi
je 0x1001fcf3
mov ecx, dword [esp + 4]
cmp edi, 1
je 0x1001fd04
cmp dword [esi], 0x80000000
sete al
jmp 0x1001fcf9
mov ecx, dword [esp + 4]
xor eax, eax
or al, byte [esp]
cmp al, 1
jne 0x1001fe4f
lea eax, [esp + 0x48]
push dword [esp + 0x30]
push dword [esp + 0x64]
push ecx
push eax
call fcn.100206d0
add esp, 0x10
mov edi, dword [esp + 0x48]
cmp edi, 0x80000000
jne 0x1001fd55
mov eax, dword [ebx]
cmp eax, 0x80000000
je 0x1001fd44
test eax, eax
je 0x1001fd44
push 1
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call fcn.1000d080
add esp, 0xc
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebx], 0x80000000
jmp 0x1001f797
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 8], edi
test ecx, ecx
je 0x1001fd7f
lea edx, [ecx + ecx]
xor eax, eax
cmp word [ebx + eax*2], 0
je 0x1001fd81
inc eax
add edx, 0xfffffffe
jne 0x1001fd6e
mov eax, ecx
jmp 0x1001fd81
xor eax, eax
lea edi, [esp + 0x18]
push eax
push ebx
push edi
call fcn.10091010
add esp, 0xc
push edi
call fcn.100ab0c0
add esp, 4
mov ecx, dword [esp + 0xc]
mov edi, edx
mov edx, eax
push esi
push edi
call fcn.100204b0
add esp, 8
cmp byte [esp], 0
je 0x1001fe19
mov eax, dword [esp + 4]
movsd xmm0, qword [esp + 0x18]
movsd xmm1, qword [esp + 0x20]
mov edx, dword [ebp + 8]
mov esi, dword [esp + 8]
mov eax, dword [eax]
movsd qword [esp + 0x98], xmm1
movsd qword [esp + 0x90], xmm0
cmp eax, 0x80000000
je 0x1001fdf8
test eax, eax
je 0x1001fdf8
push 1
push eax
push dword [edx + 0x34]
call fcn.1000d080
mov edx, dword [ebp + 8]
add esp, 0xc
movsd xmm0, qword [esp + 0x90]
mov eax, dword [esp + 4]
movq xmm1, qword [esp + 0x98]
movq qword [eax + 8], xmm1
movsd qword [eax], xmm0
jmp 0x1001fe3a
mov eax, dword [esp + 0x18]
mov edx, dword [ebp + 8]
mov esi, dword [esp + 8]
test eax, eax
je 0x1001fe3a
push 1
push eax
push dword [esp + 0x24]
call fcn.1000d080
mov edx, dword [ebp + 8]
add esp, 0xc
test esi, esi
je 0x1001fe4f
add esi, esi
push 2
push esi
push ebx
call fcn.1000d080
mov edx, dword [ebp + 8]
add esp, 0xc
mov esi, dword [ebp + 0xc]
jmp 0x1001f797
push 0x10170af0
push dword [esp + 0x2c]
push edx
call fcn.100e1b70
push 0x10170af0
push edx
push ebx
call fcn.100e1bd0
nop word cs:[eax + eax]
nop dword [eax]
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov eax, dword [eax + 0xd8]
test eax, eax
je 0x1001fed6
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x14]
push ecx
push ecx
push ecx
push edx
push eax
call sub.kernel32.dll_GetProcessTimes
test eax, eax
je 0x1001feda
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
jmp 0x1001ff02
xor ecx, ecx
jmp 0x1001ff22
call fcn.10047dc0
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
test edx, edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], 1
je 0x1001ff02
lea eax, [ebp - 0x20]
push eax
call fcn.10047d70
add esp, 4
push 0
push 0x989680
push edi
push ebx
call fcn.100f26d0
add esp, 0x10
add eax, 0x49ef6f00
mov ecx, 1
adc edx, 0xfffffffd
xor edi, edi
mov dword [esi + 8], eax
mov dword [esi], ecx
mov dword [esi + 0xc], edx
mov dword [esi + 4], edi
mov eax, esi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret