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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x101f62b4]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x20], ebx
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1006f7ec
mov esi, dword [0x101f6c88]
mov ecx, esi
push eax
call dword [0x1019a4f8]
call esi
add esp, 4
mov ecx, dword [ebx + 0x18]
cmp byte [ecx + 9], 0
je 0x1006f803
inc dword [ecx + 0xc]
cmp byte [ecx + 0xa], 0
jne 0x1006f803
call fcn.10063b20
mov ecx, dword [ebx]
test ecx, ecx
je 0x1006f826
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x1006f826
mov esi, dword [0x101f6c88]
mov ecx, esi
push eax
call dword [0x1019a4f8]
call esi
mov ecx, dword [ebx]
add esp, 4
mov esi, dword [ebx + 0x1c]
test esi, esi
je 0x1006f83b
cmp esi, 5
je 0x1006f83b
cmp esi, 6
jne 0x1006fdde
mov edi, dword [ebx + 0x18]
mov edx, dword [ebx + 4]
mov dword [esp + 0x34], 0
mov esi, dword [edi + 4]
mov eax, dword [esi]
mov dword [esp + 0x30], eax
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x1006f88f
cmp byte [esi + 0x14], 2
jne 0x1006f88f
mov esi, 5
mov ecx, edx
cmp dword [ebx + 0xc], 0
jne 0x1006f8b6
test esi, esi
jne 0x1006f8e1
mov eax, dword [edi + 4]
push esi
push esi
mov edx, dword [eax + 0x24]
call fcn.100663f0
add esp, 8
cmp eax, 7
jne 0x1006f8ba
mov esi, eax
jmp 0x1006f8e1
xor esi, esi
cmp byte [edi + 8], 0
jne 0x1006f86a
push esi
xor edx, edx
mov ecx, edi
call fcn.10066a80
mov edi, dword [ebx + 0x18]
add esp, 4
mov ecx, dword [ebx + 4]
mov esi, eax
mov dword [esp + 0x34], 1
jmp 0x1006f86c
test esi, esi
jne 0x1006f8e1
cmp dword [ebx + 0xc], 0
jne 0x1006f8e1
mov ecx, dword [ebx + 4]
lea eax, [ebx + 8]
push eax
mov edx, 2
call fcn.10066a80
mov esi, eax
add esp, 4
test esi, esi
jne 0x1006f8e1
mov dword [ebx + 0xc], 1
mov eax, dword [ebx + 0x18]
mov edx, dword [eax + 4]
mov eax, dword [ebx + 4]
mov edi, dword [edx + 0x24]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], edi
mov ecx, dword [eax + 0x24]
mov eax, dword [eax]
mov dword [esp + 0x40], ecx
mov al, byte [eax + 5]
mov byte [esp + 0x17], al
test esi, esi
jne 0x1006f916
cmp al, 5
jne 0x1006f916
cmp edi, ecx
mov eax, 8
cmovne esi, eax
mov edx, dword [edx + 0x30]
and edx, 0x7fffffff
xor eax, eax
mov dword [esp + 0x3c], edx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
test ecx, ecx
js 0x1006f934
cmp eax, ecx
jge 0x1006f9b2
mov edi, dword [ebx + 0x10]
cmp edi, edx
ja 0x1006f9b2
test esi, esi
jne 0x1006f9ed
mov eax, dword [ebx + 0x18]
xor edx, edx
mov ecx, dword [eax + 4]
mov eax, dword [0x101f81e4]
div dword [ecx + 0x24]
inc eax
cmp edi, eax
je 0x1006f9a1
push 2
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x38]
push edi
push eax
mov esi, dword [eax + 0xcc]
mov ecx, esi
call dword [0x1019a4f8]
call esi
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x1006f9a1
mov eax, dword [esp + 0x44]
mov edx, edi
push esi
mov ecx, ebx
push dword [eax + 4]
call fcn.1006f5b0
mov ecx, dword [esp + 0x4c]
add esp, 8
mov esi, eax
test ecx, ecx
je 0x1006f9a1
call fcn.1005f520
mov eax, dword [esp + 0xc]
inc dword [ebx + 0x10]
inc eax
mov edx, dword [esp + 0x3c]
jmp 0x1006f925
test esi, esi
jne 0x1006f9ed
mov eax, edx
mov dword [ebx + 0x24], edx
sub eax, dword [ebx + 0x10]
inc eax
mov dword [ebx + 0x20], eax
cmp dword [ebx + 0x10], edx
ja 0x1006f9f6
cmp dword [ebx + 0x28], esi
jne 0x1006fdb0
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x58]
mov dword [ebx + 0x2c], eax
mov dword [ecx + 0x58], ebx
mov dword [ebx + 0x28], 1
jmp 0x1006fdb0
cmp esi, 0x65
jne 0x1006fdb0
test edx, edx
jne 0x1006fa4c
mov edi, dword [ebx + 4]
cmp byte [edi + 9], dl
je 0x1006fa11
inc dword [edi + 0xc]
cmp byte [edi + 0xa], dl
jne 0x1006fa11
mov ecx, edi
call fcn.10063b20
mov eax, dword [edi + 4]
mov dword [eax + 0x30], 0
mov ecx, dword [edi + 4]
call fcn.100669a0
cmp byte [edi + 9], 0
mov esi, eax
je 0x1006fa38
add dword [edi + 0xc], 0xffffffff
jne 0x1006fa38
mov ecx, edi
call fcn.10063ad0
mov edi, 1
mov dword [esp + 0x3c], edi
test esi, esi
je 0x1006fa50
cmp esi, 0x65
jne 0x1006fa67
jmp 0x1006fa50
mov edi, dword [esp + 0x3c]
mov eax, dword [ebx + 8]
mov edx, 1
mov ecx, dword [ebx + 4]
inc eax
push eax
call fcn.1006e090
add esp, 4
mov esi, eax
test esi, esi
jne 0x1006fdb0
mov ecx, dword [ebx]
test ecx, ecx
je 0x1006fa7a
call fcn.10096e50
cmp byte [esp + 0x17], 5
jne 0x1006fb15
mov ecx, dword [ebx + 4]
mov edx, 0xffdf
push 0
mov dword [esp + 0x14], ecx
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], eax
and word [eax + 0x18], dx
xor edx, edx
call fcn.10066a80
mov esi, eax
add esp, 4
test esi, esi
jne 0x1006fb00
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x28], eax
cmp byte [eax + 0x12], 2
jne 0x1006fac8
cmp byte [eax + 0x13], 2
je 0x1006fb00
mov ecx, dword [esp + 0x10]
mov edx, 2
push 0
call fcn.10066a80
mov esi, eax
add esp, 4
test esi, esi
jne 0x1006fb00
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0xc]
mov ecx, dword [ecx + 0x48]
call fcn.1005fd50
mov esi, eax
test esi, esi
jne 0x1006fb00
mov eax, dword [esp + 0x28]
mov word [eax + 0x12], 0x202
mov eax, dword [esp + 0xc]
mov ecx, 0xffdf
and word [eax + 0x18], cx
test esi, esi
jne 0x1006fdb0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x18]
cmp eax, ecx
jge 0x1006fb5d
mov eax, ecx
cdq
idiv dword [esp + 0x18]
mov ecx, eax
lea eax, [ecx - 1]
add eax, edi
cdq
idiv ecx
xor edx, edx
mov edi, eax
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 4]
mov eax, dword [0x101f81e4]
div dword [ecx + 0x24]
lea ecx, [edi - 1]
inc eax
cmp edi, eax
mov eax, dword [esp + 0x3c]
cmovne ecx, edi
mov dword [esp + 0x10], ecx
mov edi, ecx
mov ecx, dword [esp + 0x40]
jmp 0x1006fb69
cdq
idiv ecx
mov edi, eax
mov eax, dword [esp + 0x3c]
imul edi, eax
mov edx, dword [esp + 0x18]
cmp edx, ecx
jge 0x1006ff12
imul edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], edx
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
cmp edi, eax
ja 0x1006fc3c
mov eax, dword [ebx + 4]
xor edx, edx
mov ecx, dword [eax + 4]
mov eax, dword [0x101f81e4]
div dword [ecx + 0x24]
inc eax
cmp edi, eax
je 0x1006fc2d
push 0
lea eax, [esp + 0x40]
push eax
mov eax, dword [esp + 0x24]
push edi
push eax
mov esi, dword [eax + 0xcc]
mov ecx, esi
call dword [0x1019a4f8]
call esi
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x1006fc2d
mov ecx, dword [esp + 0x3c]
test byte [ecx + 0x1c], 4
mov edx, dword [ecx + 0x14]
je 0x1006fbfd
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x18]
jb 0x1006fbfd
cmp dword [edx + 0x60], esi
je 0x1006fbf9
call fcn.1005e190
jmp 0x1006fc1e
xor esi, esi
jmp 0x1006fc24
mov esi, dword [edx + 0x28]
test esi, esi
jne 0x1006fc24
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x1006fc19
call fcn.1005fa90
jmp 0x1006fc1e
call fcn.1005f860
mov ecx, dword [esp + 0x3c]
mov esi, eax
test ecx, ecx
je 0x1006fc2d
call fcn.1005f520
mov eax, dword [esp + 0x24]
inc edi
test esi, esi
je 0x1006fb91
jmp 0x1006fc52
test esi, esi
jne 0x1006fc52
mov ecx, dword [esp + 0x1c]
xor edx, edx
push 1
call fcn.1005fe00
add esp, 4
mov esi, eax
mov eax, dword [0x101f81e4]
add eax, dword [esp + 0x40]
cdq
mov ecx, edx
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x10]
mov dword [esp + 0x3c], ecx
cmp ecx, edx
jg 0x1006fc7a
jl 0x1006fc86
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jae 0x1006fc7e
jmp 0x1006fc86
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x3c], edx
mov eax, dword [0x101f81e4]
add eax, dword [esp + 0x18]
cdq
mov dword [esp + 0x24], eax
mov edi, eax
mov dword [esp + 0x44], edx
mov ecx, edx
test esi, esi
jne 0x1006fdb0
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x3c]
cdq
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], edx
cmp ecx, ebx
jg 0x1006fe43
jl 0x1006fcc9
cmp edi, dword [esp + 0x2c]
jae 0x1006fe43
push 0
lea esi, [esp + 0x44]
mov dword [esp + 0x44], 0
push esi
push edx
push eax
push ecx
push edi
call fcn.1018b6b0
inc eax
push eax
mov eax, dword [esp + 0x3c]
push eax
mov esi, dword [eax + 0xcc]
mov ecx, esi
call dword [0x1019a4f8]
call esi
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x1006fd2a
push dword [esp + 0x44]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
push edi
push dword [esp + 0x20]
mov esi, dword [ecx]
push dword [eax + 4]
push ecx
mov esi, dword [esi + 0xc]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x14
mov esi, eax
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x1006fd8c
test byte [ecx + 0x1c], 0x20
je 0x1006fd87
mov edx, dword [ecx + 0x14]
dec dword [edx + 0x78]
mov eax, dword [edx + 0x88]
mov dword [ecx + 0x10], eax
mov edi, dword [edx + 0x3c]
mov eax, dword [edx + 0x98]
mov dword [edx + 0x88], ecx
push dword [ecx + 4]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [edi]
dec ecx
cdq
push edx
push eax
push 0
push ecx
call fcn.1015d970
push edx
push eax
push edi
mov edi, dword [ebx + 0x48]
mov ecx, edi
call dword [0x1019a4f8]
call edi
mov edi, dword [esp + 0x34]
add esp, 0x10
mov ebx, dword [esp + 0x3c]
jmp 0x1006fd8c
call fcn.10059aa0
mov eax, dword [esp + 0x38]
add edi, eax
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
adc ecx, edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x44], ecx
test esi, esi
je 0x1006fcb5
mov ebx, dword [esp + 0x20]
cmp dword [esp + 0x34], 0
je 0x1006fdcb
mov ecx, dword [ebx + 0x18]
xor edx, edx
call fcn.10067700
mov ecx, dword [ebx + 0x18]
xor edx, edx
call fcn.100678a0
mov ecx, dword [ebx]
cmp esi, 0xc0a
mov eax, 7
cmove esi, eax
mov dword [ebx + 0x1c], esi
test ecx, ecx
je 0x1006fdfd
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x1006fdfd
mov edi, dword [0x101f6c90]
mov ecx, edi
push eax
call dword [0x1019a4f8]
call edi
add esp, 4
mov ecx, dword [ebx + 0x18]
cmp byte [ecx + 9], 0
je 0x1006fe11
add dword [ecx + 0xc], 0xffffffff
jne 0x1006fe11
call fcn.10063ad0
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1006fe2f
mov edi, dword [0x101f6c90]
mov ecx, edi
push eax
call dword [0x1019a4f8]
call edi
add esp, 4
mov ecx, dword [esp + 0x54]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1015c7a5
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x1006fdac
mov ebx, dword [esp + 0x28]
lea ecx, [esp + 0x48]
push ecx
push ebx
mov eax, dword [ebx]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x1019a4f8]
call esi
mov esi, eax
add esp, 8
test esi, esi
jne 0x1006fdac
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x4c], ecx
jl 0x1006fe9e
mov eax, dword [esp + 0xc]
jg 0x1006fe87
cmp dword [esp + 0x48], eax
jbe 0x1006fe9e
mov esi, dword [ebx]
push ecx
push eax
push ebx
mov esi, dword [esi + 0x10]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x1006fdac
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x3c]
mov esi, dword [eax]
test esi, esi
jne 0x1006feb8
lea eax, [esi + 0xc]
jmp 0x1006fed1
mov esi, dword [esi + 0x28]
mov ecx, esi
push 0
push 0x15
push eax
call dword [0x1019a4f8]
call esi
mov edx, dword [esp + 0x28]
add esp, 0xc
xor esi, esi
cmp eax, 0xc
cmovne esi, eax
test esi, esi
jne 0x1006ff0c
cmp byte [edx + 7], 0
jne 0x1006ff0c
movzx ecx, byte [edx + 0xa]
mov edx, dword [edx + 0x3c]
test ecx, ecx
je 0x1006ff0a
mov eax, dword [edx]
push ecx
push edx
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x1019a4f8]
call esi
mov ebx, dword [esp + 0x28]
add esp, 8
mov esi, eax
jmp 0x1006ff29
xor esi, esi
mov ebx, dword [esp + 0x20]
jmp 0x1006ff29
mov eax, dword [esp + 0x1c]
xor edx, edx
push 0
mov ecx, eax
mov dword [eax + 0x18], edi
call fcn.1005fe00
add esp, 4
mov esi, eax
test esi, esi
jne 0x1006fdb0
mov ecx, dword [ebx + 4]
xor edx, edx
call fcn.100678a0
mov esi, eax
mov eax, 0x65
test esi, esi
cmove esi, eax
jmp 0x1006fdb0