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

Disassembly:
push 0xffffffffffffffff
push 0x1017b3c8
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x101c6444]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c6444]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, dword [esp + 0xa8]
mov edi, ecx
lea eax, [edi + 0x198]
lea ebx, [eax + 4]
push ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x74], 0x101975f4
mov dword [esp + 0x78], eax
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
mov dword [esp + 0xa0], eax
cmp byte [esi + eax], 0
jne 0x1000f525
add eax, 1
cmp eax, 0x14
jb 0x1000f4e1
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 2
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.101586e7
add esp, 0x90
ret 0x1c
mov ebp, dword [esp + 0xb8]
cmp ebp, 2
je 0x1000f53b
cmp byte [esp + 0xb4], 0
je 0x1000f4ef
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov eax, dword [esi]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0xac]
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x88], ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x8c], edx
push ecx
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xb4]
lea edx, [esp + 0x58]
push edx
lea ecx, [edi + 0x1b4]
mov dword [esp + 0x98], eax
call fcn.1000a900
cmp ebp, 2
jne 0x1000f671
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x58]
push ecx
call fcn.1000a780
add esp, 8
cmp dword [esp + 0x6c], 0x10
jb 0x1000f5c6
mov edx, dword [esp + 0x58]
push edx
call fcn.10157f3b
add esp, 4
lea eax, [esp + 0x78]
push eax
lea ecx, [edi + 0x274]
push ecx
mov ecx, edi
call fcn.10007bc0
mov ebx, dword [edi + 0x26c]
cmp dword [edi + 0x268], ebx
lea esi, [edi + 0x264]
jbe 0x1000f5f2
call fcn.1015828d
mov ebp, dword [esi + 4]
cmp ebp, dword [esi + 8]
jbe 0x1000f5ff
call fcn.1015828d
lea edx, [esp + 0x78]
push edx
push ebx
push ebp
mov dword [esp + 0x64], ebp
call fcn.10003cb0
mov ebx, dword [esi + 8]
add esp, 0xc
cmp dword [esi + 4], ebx
mov ebp, eax
jbe 0x1000f621
call fcn.1015828d
test esi, esi
je 0x1000f629
cmp esi, esi
je 0x1000f62e
call fcn.1015828d
cmp ebp, ebx
je 0x1000f736
test esi, esi
jne 0x1000f63f
call fcn.1015828d
cmp ebp, dword [esi + 8]
jb 0x1000f649
call fcn.1015828d
mov al, byte [esp + 0xb4]
mov byte [ebp + 0x1c], al
cmp ebp, dword [esi + 8]
jb 0x1000f65d
call fcn.1015828d
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xc0]
mov dword [ebp + 0x20], ecx
mov dword [ebp + 0x24], edx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.1000a780
add esp, 8
cmp dword [esp + 0x44], 0x10
jb 0x1000f697
mov edx, dword [esp + 0x30]
push edx
call fcn.10157f3b
add esp, 4
lea eax, [esp + 0x78]
push eax
lea ecx, [edi + 0x1d0]
push ecx
mov ecx, edi
call fcn.10007bc0
mov ebx, dword [edi + 0x1c8]
cmp dword [edi + 0x1c4], ebx
lea esi, [edi + 0x1c0]
jbe 0x1000f6c3
call fcn.1015828d
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jbe 0x1000f6d0
call fcn.1015828d
lea edx, [esp + 0x78]
push edx
push ebx
push edi
mov dword [esp + 0x64], edi
call fcn.10003cb0
mov edi, dword [esi + 8]
add esp, 0xc
cmp dword [esi + 4], edi
mov ebx, eax
jbe 0x1000f6f2
call fcn.1015828d
test esi, esi
je 0x1000f6fa
cmp esi, esi
je 0x1000f6ff
call fcn.1015828d
cmp ebx, edi
je 0x1000f8cb
test esi, esi
jne 0x1000f710
call fcn.1015828d
cmp ebx, dword [esi + 8]
jb 0x1000f71a
call fcn.1015828d
mov al, byte [esp + 0xb4]
mov byte [ebx + 0x1c], al
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x1000f4fb
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xb4]
push eax
push ecx
push edx
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x3c]
call fcn.100033a0
push eax
mov ecx, esi
call fcn.1000dec0
mov ecx, dword [edi + 0x17c]
mov esi, dword [ecx]
lea eax, [edi + 0x178]
mov ebx, eax
mov edx, ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x58], edx
test ebx, ebx
je 0x1000f793
lea eax, [edi + 0x178]
cmp ebx, eax
je 0x1000f798
call fcn.1015828d
cmp esi, dword [esp + 0x58]
je 0x1000f671
test ebx, ebx
jne 0x1000f7ab
call fcn.1015828d
cmp esi, dword [ebx + 4]
jne 0x1000f7b5
call fcn.1015828d
lea edi, [esi + 0x20]
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
jbe 0x1000f7c5
call fcn.1015828d
mov ebp, edi
mov eax, dword [esp + 0x18]
cmp eax, dword [ebx + 4]
jne 0x1000f7d5
call fcn.1015828d
mov ebx, dword [edi + 8]
cmp dword [edi + 4], ebx
jbe 0x1000f7e2
call fcn.1015828d
test ebp, ebp
je 0x1000f7ea
cmp ebp, edi
je 0x1000f7ef
call fcn.1015828d
cmp esi, ebx
je 0x1000f8b1
test ebp, ebp
jne 0x1000f800
call fcn.1015828d
cmp esi, dword [ebp + 8]
jb 0x1000f80a
call fcn.1015828d
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.1000a780
add esp, 8
cmp dword [esp + 0x44], 0x10
jb 0x1000f830
mov eax, dword [esp + 0x30]
push eax
call fcn.10157f3b
add esp, 4
cmp esi, dword [ebp + 8]
jb 0x1000f83a
call fcn.1015828d
xor eax, eax
lea esp, [esp]
mov cl, byte [esi + eax + 4]
cmp cl, byte [esp + eax + 0x78]
jne 0x1000f89b
add eax, 1
cmp eax, 0x14
jb 0x1000f840
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
cmp edx, dword [eax + 4]
jne 0x1000f864
call fcn.1015828d
mov eax, dword [esp + 0x28]
mov byte [esp + 0x20], 0
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [edi + 8]
mov byte [esp + 0x28], 0
mov edx, dword [esp + 0x28]
push edx
push eax
push esi
push ecx
lea edx, [esi + 0x30]
push edx
call fcn.10003e90
mov ebx, dword [esp + 0x2c]
add esp, 0x18
add dword [edi + 8], 0xffffffd0
jmp 0x1000f7c7
cmp esi, dword [ebp + 8]
jb 0x1000f8a5
call fcn.1015828d
mov ebx, dword [esp + 0x14]
add esi, 0x30
jmp 0x1000f7c7
lea ecx, [esp + 0x14]
call fcn.10054630
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x1000f785
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x40], eax
or eax, 0xffffffff
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x3c], edx
mov dl, byte [esp + 0xb4]
lea eax, [esp + 0x2c]
mov dword [esp + 0x44], ecx
push eax
mov ecx, esi
mov byte [esp + 0x4c], dl
call fcn.1000dec0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x17c]
mov edi, dword [ecx]
add eax, 0x178
mov ebx, eax
mov edx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x58], edx
lea esp, [esp]
test ebx, ebx
je 0x1000f968
cmp ebx, eax
je 0x1000f96d
call fcn.1015828d
cmp edi, dword [esp + 0x58]
je 0x1000f724
test ebx, ebx
jne 0x1000f980
call fcn.1015828d
cmp edi, dword [ebx + 4]
jne 0x1000f98a
call fcn.1015828d
mov esi, dword [edi + 0x24]
add edi, 0x20
cmp esi, dword [edi + 8]
jbe 0x1000f99a
call fcn.1015828d
mov ebp, edi
lea esp, [esp]
mov eax, dword [esp + 0x18]
cmp eax, dword [ebx + 4]
jne 0x1000f9ae
call fcn.1015828d
mov ebx, dword [edi + 8]
cmp dword [edi + 4], ebx
jbe 0x1000f9bb
call fcn.1015828d
test ebp, ebp
je 0x1000f9c3
cmp ebp, edi
je 0x1000f9c8
call fcn.1015828d
cmp esi, ebx
je 0x1000fa86
test ebp, ebp
jne 0x1000f9d9
call fcn.1015828d
cmp esi, dword [ebp + 8]
jb 0x1000f9e3
call fcn.1015828d
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.1000a780
add esp, 8
cmp dword [esp + 0x44], 0x10
jb 0x1000fa09
mov eax, dword [esp + 0x30]
push eax
call fcn.10157f3b
add esp, 4
cmp esi, dword [ebp + 8]
jb 0x1000fa13
call fcn.1015828d
xor eax, eax
mov cl, byte [esi + eax + 4]
cmp cl, byte [esp + eax + 0x78]
jne 0x1000fa70
add eax, 1
cmp eax, 0x14
jb 0x1000fa15
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
cmp edx, dword [eax + 4]
jne 0x1000fa39
call fcn.1015828d
mov eax, dword [esp + 0x28]
mov byte [esp + 0x24], 0
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [edi + 8]
mov byte [esp + 0x24], 0
mov edx, dword [esp + 0x24]
push edx
push eax
push esi
push ecx
lea edx, [esi + 0x30]
push edx
call fcn.10003e90
mov ebx, dword [esp + 0x2c]
add esp, 0x18
add dword [edi + 8], 0xffffffd0
jmp 0x1000f9a0
cmp esi, dword [ebp + 8]
jb 0x1000fa7a
call fcn.1015828d
mov ebx, dword [esp + 0x14]
add esi, 0x30
jmp 0x1000f9a0
lea ecx, [esp + 0x14]
call fcn.10054630
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
jmp 0x1000f960