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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x454
mov eax, dword [0x10106010]
xor eax, esp
mov dword [esp + 0x450], eax
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [ebx + 0x98]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], edi
mov eax, dword [ecx]
call dword [eax + 0x78]
test eax, eax
je 0x1006d6c2
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x450]
xor ecx, esp
call fcn.100a539a
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0x44]
mov ecx, dword [ebx + 0x40]
sub eax, ecx
shr eax, 2
mov dword [esp + 0x48], 0x10013d3c
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0xc], 0
cmp edi, eax
ja 0x1006d6f7
mov ecx, dword [ecx + edi*4 - 4]
jmp 0x1006d6f9
xor ecx, ecx
mov ecx, dword [ecx + 0x74]
lea edx, [esp + 0xc]
push edx
push 0
push 0
mov eax, dword [ecx]
call dword [eax + 0x9c]
test eax, eax
je 0x1006d88f
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1006db21
cmp eax, 0xfffffff8
ja 0x1006d88f
push eax
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x4c]
call dword [eax]
mov esi, eax
mov dword [esp + 0x14], esi
test esi, esi
je 0x1006d88f
mov ecx, dword [ebx + 0x44]
mov edx, dword [ebx + 0x40]
sub ecx, edx
shr ecx, 2
cmp edi, ecx
ja 0x1006d758
mov ecx, dword [edx + edi*4 - 4]
jmp 0x1006d75a
xor ecx, ecx
mov ecx, dword [ecx + 0x74]
lea edx, [esp + 0xc]
push edx
push esi
push dword [esp + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x9c]
test eax, eax
je 0x1006d88f
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1006db21
mov ecx, dword [ebx + 0xac]
lea edx, [ebx + 0xac]
test ecx, ecx
jne 0x1006d7bc
push edx
push 1
push dword [ebx + 0x98]
call fcn.100d4690
mov ecx, dword [ebx + 0xac]
lea edx, [ebx + 0xac]
mov eax, dword [esp + 0x18]
add esp, 0xc
test ecx, ecx
je 0x1006d88f
mov dword [esp + 0x18], 0
cmp eax, 8
jb 0x1006db21
lea ecx, [ecx]
mov ecx, dword [edx]
lea edx, [esp + 0x34]
push edx
push dword [esi]
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
je 0x1006d88f
mov ecx, dword [ebx + 0x44]
mov esi, 1
mov edx, dword [ebx + 0x40]
mov eax, ecx
sub eax, edx
and eax, 0xfffffffc
cmp eax, 4
jb 0x1006d88f
cmp esi, edi
je 0x1006d879
sub ecx, edx
shr ecx, 2
cmp esi, ecx
ja 0x1006d879
mov ecx, dword [edx + esi*4 - 4]
push 0
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
je 0x1006d879
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
cmp ecx, edx
jae 0x1006d879
jmp 0x1006d830
mov eax, 0x1101
cmp word [ecx + 2], ax
je 0x1006d849
movzx eax, word [ecx]
add ecx, 2
add ecx, eax
cmp ecx, edx
jb 0x1006d830
jmp 0x1006d879
mov eax, dword [esp + 0x34]
add ecx, 8
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1006d870
test dl, dl
je 0x1006d86c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1006d870
add eax, 2
add ecx, 2
test dl, dl
jne 0x1006d850
xor eax, eax
jmp 0x1006d875
sbb eax, eax
or eax, 1
test eax, eax
je 0x1006d8c7
mov ecx, dword [ebx + 0x44]
inc esi
mov edx, dword [ebx + 0x40]
mov eax, ecx
sub eax, edx
shr eax, 2
cmp esi, eax
jbe 0x1006d801
xor bl, bl
mov esi, dword [esp + 0x50]
mov dword [esp + 0x48], 0x10013d3c
test esi, esi
je 0x1006d8ae
push esi
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_LocalFree]
test esi, esi
jne 0x1006d8a1
mov ecx, dword [esp + 0x45c]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100a539a
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0x44]
xor edi, edi
mov ecx, dword [ebx + 0x40]
sub eax, ecx
shr eax, 2
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], edi
cmp esi, eax
ja 0x1006d8e6
mov ecx, dword [ecx + esi*4 - 4]
jmp 0x1006d8e8
xor ecx, ecx
mov ecx, dword [ecx + 0x74]
lea edx, [esp + 0x10]
push edx
push 0
push 0
mov eax, dword [ecx]
call dword [eax + 0x98]
test eax, eax
je 0x1006d88f
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x1006d88f
cmp ecx, 0xfffffff8
ja 0x1006d88f
mov eax, dword [esp + 0x48]
push ecx
lea ecx, [esp + 0x4c]
call dword [eax]
mov edi, eax
mov dword [esp + 0x20], edi
test edi, edi
je 0x1006d88f
mov ecx, dword [ebx + 0x44]
mov edx, dword [ebx + 0x40]
sub ecx, edx
shr ecx, 2
cmp esi, ecx
ja 0x1006d93b
mov ecx, dword [edx + esi*4 - 4]
jmp 0x1006d93d
xor ecx, ecx
mov ecx, dword [ecx + 0x74]
lea edx, [esp + 0x10]
push edx
push edi
push dword [esp + 0x18]
mov eax, dword [ecx]
call dword [eax + 0x98]
test eax, eax
je 0x1006d88f
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x1006d88f
mov eax, dword [esp + 0x14]
xor esi, esi
mov edx, ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x44], edx
mov eax, dword [eax + 4]
test eax, eax
je 0x1006dae4
mov ebx, dword [esp + 0x14]
add ebx, 8
mov dword [esp + 0x28], ebx
lea esp, [esp]
cmp edx, 8
jb 0x1006d88f
mov edx, edi
jmp 0x1006d9a0
mov eax, dword [edx]
cmp eax, dword [ebx]
je 0x1006d9ba
sub ecx, 8
add edx, 8
mov dword [esp + 0x10], ecx
cmp ecx, 8
jae 0x1006d9a0
jmp 0x1006d88f
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
mov ecx, ebx
movzx eax, ax
or eax, 0xfffff800
shl eax, 0x14
or eax, esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 4]
push esi
mov dword [esp + 0x44], eax
call fcn.1006bac0
test eax, eax
je 0x1006d88f
push esi
mov ecx, ebx
call fcn.1006bac0
mov esi, eax
mov ebx, dword [esi + 8]
inc ebx
mov dword [esp + 0x38], ebx
cmp ebx, 0x1fffffff
ja 0x1006d88f
mov eax, dword [esi + 0xc]
cmp ebx, eax
jbe 0x1006da9d
lea edi, [eax + eax*2]
shr edi, 1
cmp ebx, edi
jbe 0x1006da22
mov edi, ebx
cmp edi, 0x1fffffff
jbe 0x1006da2f
mov edi, 0x1fffffff
xor ecx, ecx
mov eax, edi
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1006d88f
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1006da8f
xor edx, edx
cmp dword [esi + 8], edx
jbe 0x1006da84
mov ebx, eax
mov ecx, dword [esi + 4]
mov eax, dword [ecx + edx*8]
mov dword [ebx + edx*8], eax
mov eax, dword [ecx + edx*8 + 4]
mov dword [ebx + edx*8 + 4], eax
inc edx
cmp edx, dword [esi + 8]
jb 0x1006da66
mov ecx, dword [esi + 4]
mov ebx, dword [esp + 0x38]
test ecx, ecx
je 0x1006da8f
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xc], edi
mov edi, dword [esp + 0x20]
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
mov dword [esi + 8], ebx
mov esi, dword [esp + 0x24]
mov dword [eax + ebx*8 - 8], ecx
inc esi
mov ecx, dword [esp + 0x40]
mov dword [eax + ebx*8 - 4], ecx
mov ecx, edx
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x10], ecx
add ebx, 4
mov dword [esp + 0x24], esi
mov eax, dword [eax + 4]
mov dword [esp + 0x28], ebx
cmp esi, eax
jb 0x1006d990
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
lea ecx, [eax*4]
inc dword [esp + 0x18]
add esi, 8
add esi, ecx
mov eax, 0xfffffff8
sub eax, ecx
mov dword [esp + 0x14], esi
mov ecx, dword [esp + 0xc]
add ecx, eax
mov dword [esp + 0xc], ecx
cmp ecx, 8
jb 0x1006db21
mov edi, dword [esp + 0x30]
lea edx, [ebx + 0xac]
jmp 0x1006d7d0
mov bl, 1
jmp 0x1006d891