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

Disassembly:
sub esp, 0x28
push ebx
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx + 0x7c]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx]
push ebp
push esi
push edi
mov edi, dword [eax]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], edi
xor ebp, ebp
nop
mov eax, dword [ebx + 0x7c]
mov esi, dword [eax + 0x14]
mov eax, dword [eax]
cmp edi, ebp
je 0x1006f390
cmp edi, eax
je 0x1006f395
call fcn.100848cc
cmp dword [esp + 0x2c], esi
je 0x1006f7d5
cmp edi, ebp
jne 0x1006f427
call fcn.100848cc
xor eax, eax
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [eax + 0x14]
jne 0x1006f3bc
call fcn.100848cc
mov eax, dword [ebx + 0x78]
mov edx, dword [esp + 0x2c]
mov ecx, dword [edx + 8]
cmp dword [eax + 0x2c], ebp
je 0x1006f7a9
mov eax, dword [eax + 0x2c]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
mov edi, eax
cmp edi, ebp
je 0x1006f7a5
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], ebp
mov ecx, dword [edi]
mov eax, dword [ecx + 0x9c]
push 2
push edi
call eax
cmp dword [esp + 0x18], ebp
je 0x1006f7a5
push 0x100c5a78
push 0x38
call fcn.10085206
add esp, 8
cmp eax, ebp
je 0x1006f42b
mov esi, eax
call fcn.1006f7f0
mov esi, eax
mov dword [esp + 0x1c], esi
jmp 0x1006f431
mov eax, dword [edi]
jmp 0x1006f3ae
mov dword [esp + 0x1c], ebp
mov esi, ebp
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
mov dword [esi], eax
mov eax, dword [edi]
mov ecx, dword [eax + 0x1c]
push edi
call ecx
push eax
lea eax, [esi + 4]
call fcn.100035a0
mov edx, dword [edi]
mov eax, dword [edx + 0x34]
push edi
call eax
push eax
lea eax, [esi + 8]
call fcn.100035a0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push eax
call edx
test eax, eax
jne 0x1006f4e7
mov eax, dword [edi]
mov ecx, dword [eax + 0x80]
push edi
call ecx
push edi
test eax, eax
jne 0x1006f49f
mov edx, dword [edi]
mov eax, dword [edx + 0x40]
call eax
push eax
lea eax, [esi + 0x14]
call fcn.100035a0
mov dword [esi + 0x1c], 0x40
inc dword [ebx + 0x80]
jmp 0x1006f74f
mov ecx, dword [edi]
mov edx, dword [ecx + 0x88]
call edx
push eax
lea eax, [esi + 0x14]
call fcn.100035a0
mov eax, dword [edi]
mov ecx, dword [eax + 0x80]
push edi
call ecx
mov dword [esi + 0x1c], eax
cmp dword [ebx + 0xa0], ebp
jne 0x1006f4dc
cmp eax, 8
je 0x1006f4d2
cmp eax, 2
jne 0x1006f4dc
mov dword [ebx + 0xa0], 1
inc dword [ebx + 0x80]
jmp 0x1006f74f
mov dword [esi + 0x1c], ebp
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x14]
xor esi, esi
mov dword [esp + 0x28], esi
call eax
test eax, eax
jle 0x1006f74f
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push esi
push eax
call edx
mov edi, eax
cmp edi, ebp
je 0x1006f736
mov eax, dword [edi]
mov ecx, dword [eax + 0x68]
push edi
call ecx
cmp eax, 1
je 0x1006f736
mov edx, dword [edi]
mov eax, dword [edx + 0x6c]
push edi
call eax
test eax, eax
jne 0x1006f736
push 0x100c5a78
push 0x38
call fcn.10085206
add esp, 8
cmp eax, ebp
je 0x1006f55a
mov esi, eax
call fcn.1006f7f0
mov esi, eax
jmp 0x1006f55c
xor esi, esi
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
mov dword [esp + 0x24], esi
call edx
mov dword [esi], eax
mov eax, dword [edi]
mov ecx, dword [eax + 0x1c]
push edi
call ecx
push eax
lea eax, [esi + 4]
call fcn.100035a0
mov edx, dword [edi]
mov eax, dword [edx + 0x34]
push edi
call eax
push eax
lea eax, [esi + 8]
call fcn.100035a0
mov ecx, dword [edi]
mov edx, dword [ecx + 0x80]
push edi
call edx
push edi
test eax, eax
jne 0x1006f64f
mov eax, dword [edi]
mov ecx, dword [eax + 0x40]
call ecx
push eax
lea eax, [esi + 0x14]
call fcn.100035a0
lea eax, [esp + 0x10]
push eax
mov dword [esi + 0x1c], 0x40
mov edx, dword [edi]
mov ecx, dword [edx + 0x98]
push 0x100af864
push edi
mov dword [esp + 0x1c], ebp
call ecx
test eax, eax
je 0x1006f5e5
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x1006f5e5
push eax
lea eax, [esi + 0xc]
call fcn.100035a0
mov edx, dword [edi]
mov ecx, dword [edx + 0x98]
lea eax, [esp + 0x10]
push eax
push 0x100af880
push edi
mov dword [esp + 0x1c], ebp
call ecx
test eax, eax
je 0x1006f613
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x1006f613
push eax
lea eax, [esi + 0x10]
call fcn.100035a0
mov edx, dword [edi]
mov ecx, dword [edx + 0x98]
lea eax, [esp + 0x10]
push eax
push 0x100af898
push edi
mov dword [esp + 0x1c], ebp
call ecx
test eax, eax
je 0x1006f716
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x1006f716
mov dword [ebx + 0xa0], 1
jmp 0x1006f70d
mov edx, dword [edi]
mov eax, dword [edx + 0x88]
call eax
push eax
lea eax, [esi + 0x14]
call fcn.100035a0
mov ecx, dword [edi]
mov edx, dword [ecx + 0x80]
push edi
call edx
mov dword [esi + 0x1c], eax
cmp dword [ebx + 0xa0], ebp
jne 0x1006f68c
cmp eax, 8
je 0x1006f682
cmp eax, 2
jne 0x1006f68c
mov dword [ebx + 0xa0], 1
mov eax, dword [edi]
mov edx, dword [eax + 0x98]
lea ecx, [esp + 0x14]
push ecx
push 0x100af864
push edi
mov dword [esp + 0x20], ebp
call edx
test eax, eax
je 0x1006f6ba
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x1006f6ba
push eax
lea eax, [esi + 0xc]
call fcn.100035a0
mov eax, dword [edi]
mov edx, dword [eax + 0x98]
lea ecx, [esp + 0x14]
push ecx
push 0x100af880
push edi
mov dword [esp + 0x20], ebp
call edx
test eax, eax
je 0x1006f6e8
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x1006f6e8
push eax
lea eax, [esi + 0x10]
call fcn.100035a0
mov eax, dword [edi]
mov edx, dword [eax + 0x98]
lea ecx, [esp + 0x14]
push ecx
push 0x100af898
push edi
mov dword [esp + 0x20], ebp
call edx
test eax, eax
je 0x1006f716
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x1006f716
push eax
lea eax, [esi + 0x18]
call fcn.100035a0
mov edi, dword [esp + 0x1c]
add edi, 0x20
lea ebx, [esp + 0x20]
call fcn.100703c0
mov eax, dword [esp + 0x3c]
inc dword [eax + 0x80]
mov esi, dword [esp + 0x24]
mov ebx, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
inc esi
push eax
mov dword [esp + 0x28], esi
call edx
cmp esi, eax
jl 0x1006f504
mov ecx, dword [ebx + 0x94]
lea esi, [ebx + 0x88]
cmp ecx, ebp
jne 0x1006f763
xor eax, eax
jmp 0x1006f76b
mov eax, dword [esi + 0x14]
sub eax, ecx
sar eax, 2
mov edi, dword [esi + 0x10]
mov edx, edi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x1006f787
mov eax, dword [esp + 0x1c]
mov dword [edi], eax
add edi, 4
mov dword [esi + 0x10], edi
jmp 0x1006f7a5
cmp ecx, edi
jbe 0x1006f790
call fcn.100848cc
mov eax, dword [esi]
push edi
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x3c]
push edx
mov eax, esi
call fcn.10070520
mov edi, dword [esp + 0x28]
cmp edi, ebp
jne 0x1006f7d1
call fcn.100848cc
xor eax, eax
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [eax + 0x14]
jne 0x1006f7c2
call fcn.100848cc
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
mov dword [esp + 0x2c], eax
jmp 0x1006f380
mov eax, dword [edi]
jmp 0x1006f7b4
mov ecx, dword [ebx + 0x80]
pop edi
pop esi
pop ebp
mov dword [ebx + 0x84], ecx
pop ebx
add esp, 0x28
ret 4