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

Disassembly:
sub esp, 0x80
push ebx
push ebp
mov ebp, dword [esp + 0x8c]
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
push esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x34], 0xffffffff
movzx eax, byte [esi + 0x10]
lea eax, [eax + eax*4]
shl eax, 4
mov dword [esp + 0x30], ecx
mov ecx, dword [ecx + 4]
mov ebx, dword [eax + ecx + 0x54]
push edi
lea edi, [eax + ecx + 8]
mov eax, dword [edi + 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 0x24], 1
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
test ebx, ebx
je 0x1006c037
mov dword [esp + 0x14], ebx
jmp 0x1006c0be
test byte [eax + 0x2c], 0x20
je 0x1006c048
mov ecx, dword [eax + 8]
mov dword [esp + 0x14], ecx
mov ebx, ecx
jmp 0x1006c0be
push 0x50
lea edx, [esp + 0x44]
push 0
push edx
call fcn.10004b00
mov eax, 1
mov word [esp + 0x7a], ax
mov ecx, eax
lea eax, [esp + 0x34]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x44]
mov dword [esp + 0x58], eax
mov word [esp + 0x7c], cx
mov dword [esp + 0x50], edx
mov byte [esp + 0x7e], 5
mov cx, word [eax + 0x2a]
mov word [esp + 0x78], cx
mov dx, word [eax + 0x1c]
xor eax, eax
add esp, 0xc
mov word [esp + 0x28], dx
mov word [esp + 0x2a], ax
test byte [edi + 0x28], 1
jne 0x1006c0b0
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx + 8]
mov dword [esp + 0x54], edx
lea eax, [esp + 0x40]
mov dword [esp + 0x14], eax
mov ebx, eax
mov eax, dword [esp + 0x1c]
movzx ecx, word [eax + 0x1c]
cmp cx, 0xa
mov dword [esp + 0x3c], ecx
jg 0x1006c0d6
mov dword [esp + 0x2c], 0
jmp 0x1006c0f3
movsx eax, cx
cdq
push edx
push eax
call fcn.100161e0
add esp, 8
sub ax, 0x21
movzx ecx, ax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
cmp dword [ebp + 0x10], 0
jne 0x1006c23c
mov edx, dword [esp + 0x34]
mov ecx, dword [edx]
mov edx, dword [ecx]
test dword [edx + 0x18], 0x100000
je 0x1006c23c
cmp dword [edi + 0x4c], 0
jne 0x1006c23c
mov ecx, dword [edi + 0x28]
test cl, 5
jne 0x1006c23c
test byte [eax + 0x2c], 0x20
jne 0x1006c23c
test cl, 0xa
jne 0x1006c23c
mov eax, dword [esp + 0x20]
mov edi, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
lea edx, [eax + eax*2]
shl edx, 4
add edx, edi
mov dword [esp + 0x30], edx
cmp edi, edx
jae 0x1006c22b
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
and eax, dword [edi + 0x20]
and ecx, dword [edi + 0x24]
or eax, ecx
jne 0x1006c20e
push eax
push eax
mov eax, dword [esp + 0x20]
mov ecx, edi
call fcn.1002a950
add esp, 8
test eax, eax
je 0x1006c20a
mov eax, 1
xor ecx, ecx
mov edx, eax
mov word [esi + 0x18], ax
mov eax, dword [esi + 0x30]
mov word [esi + 0x28], dx
mov edx, dword [esp + 0x3c]
mov word [esi + 0x2a], cx
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax], edi
lea eax, [ecx + edx + 4]
mov edx, dword [esp + 0x1c]
mov word [esi + 0x12], ax
cmp dword [edx + 0xc], 0
jne 0x1006c1c9
test byte [edx + 0x2c], 2
jne 0x1006c1c9
add eax, 0x18
mov word [esi + 0x12], ax
mov eax, 0x2b
mov word [esi + 0x16], ax
call fcn.10016280
mov word [esi + 0x14], ax
mov dword [esi + 0x24], 0x4000
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x24]
or ecx, dword [esp + 0x98]
or edx, dword [esp + 0x9c]
mov dword [esi], ecx
push esi
mov ecx, ebp
mov dword [esi + 4], edx
call fcn.10030800
add esp, 4
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x30]
add edi, 0x30
cmp dword [esp + 0x10], 0
je 0x1006c151
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret
cmp dword [esp + 0x10], 0
jne 0x1006c21c
mov edi, dword [esp + 0x18]
jmp 0x1006c23c
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x1006c21c
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x1006c261
mov ecx, dword [edi + 0x30]
push eax
mov eax, dword [esp + 0x24]
push eax
push ecx
call fcn.10020530
add esp, 0xc
test eax, eax
je 0x1006c4ab
mov edx, dword [ebx + 8]
movzx edi, word [edx]
xor ecx, ecx
xor edx, edx
xor eax, eax
mov word [esi + 0x2a], cx
mov ecx, dword [esp + 0x98]
mov word [esi + 0x28], dx
mov byte [esi + 0x11], dl
mov edx, dword [esp + 0x9c]
mov word [esi + 0x18], ax
mov word [esi + 0x12], ax
mov eax, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov word [esi + 0x16], di
mov dword [esi + 0x1c], ebx
mov ecx, dword [eax + 0x30]
push ecx
push ebx
mov ecx, ebp
call fcn.1001a640
add esp, 8
cmp dword [ebx + 0x28], 0
mov dword [esp + 0x30], eax
jg 0x1006c2fb
neg eax
sbb al, al
and al, byte [esp + 0x24]
push edi
mov byte [esi + 0x11], al
mov eax, dword [esp + 0x24]
lea edx, [edi + 0x10]
push esi
push eax
mov dword [esi + 0x24], 0x100
mov word [esi + 0x14], dx
call fcn.1001a6f0
add esp, 0xc
push esi
mov ecx, ebp
call fcn.10030800
add esp, 4
mov word [esi + 0x16], di
test eax, eax
jne 0x1006c220
jmp 0x1006c467
test byte [ebx + 0x34], 0x20
je 0x1006c30e
xor ecx, ecx
mov dword [esi + 0x24], 0x240
xor ebp, ebp
jmp 0x1006c33a
mov eax, ebx
call fcn.100120b0
mov ecx, eax
mov eax, dword [esp + 0x18]
mov ebp, edx
not ecx
and ecx, dword [eax + 0x40]
not ebp
and ebp, dword [eax + 0x44]
mov edx, ecx
or edx, ebp
mov eax, 0x240
je 0x1006c337
mov eax, 0x200
mov dword [esi + 0x24], eax
cmp dword [esp + 0x30], 0
jne 0x1006c396
mov eax, dword [esp + 0x1c]
test byte [eax + 0x2c], 0x20
jne 0x1006c396
mov edx, ecx
or edx, ebp
jne 0x1006c460
test byte [ebx + 0x34], 4
jne 0x1006c460
mov dx, word [ebx + 0x2c]
cmp dx, word [eax + 0x2a]
jge 0x1006c460
mov eax, dword [esp + 0x34]
test byte [eax + 0x22], 4
jne 0x1006c460
cmp dword [0x100cb3d0], 0
je 0x1006c460
mov eax, dword [eax]
mov edx, dword [eax]
test byte [edx + 0x3c], 0x40
jne 0x1006c460
mov eax, dword [esp + 0x30]
neg eax
sbb al, al
and al, byte [esp + 0x24]
mov byte [esi + 0x11], al
movsx edx, word [ebx + 0x2c]
mov eax, edx
shl eax, 4
sub eax, edx
mov edx, dword [esp + 0x1c]
movsx ebx, word [edx + 0x2a]
cdq
idiv ebx
or ecx, ebp
lea eax, [eax + edi + 1]
mov word [esi + 0x14], ax
je 0x1006c431
lea ecx, [edi + 0x10]
movzx ecx, cx
movzx eax, ax
cmp ax, cx
jl 0x1006c3fe
movsx edx, cx
movsx ecx, ax
lea ebx, [edx + 0x31]
cmp ecx, ebx
jg 0x1006c42a
lea ebx, [edx + 0x1f]
cmp ecx, ebx
jle 0x1006c3ec
inc eax
jmp 0x1006c42a
sub ecx, edx
movzx dx, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add dx, ax
movzx eax, dx
jmp 0x1006c42d
movsx edx, ax
movsx eax, cx
lea ebx, [edx + 0x31]
cmp eax, ebx
jle 0x1006c410
movzx eax, cx
jmp 0x1006c42d
lea ebx, [edx + 0x1f]
cmp eax, ebx
jle 0x1006c41d
inc ecx
movzx eax, cx
jmp 0x1006c42d
sub eax, edx
movzx ax, byte [eax + str._n_n_t_t_b_b_a_a_a]
add ax, cx
movzx eax, ax
mov word [esi + 0x14], ax
mov ecx, dword [esp + 0x20]
push edi
push esi
push ecx
call fcn.1001a6f0
mov ecx, dword [esp + 0xa0]
add esp, 0xc
push esi
call fcn.10030800
add esp, 4
mov word [esi + 0x16], di
test eax, eax
jne 0x1006c220
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x94]
mov edx, dword [esp + 0x18]
push 0
push ebx
push edx
push ebp
call fcn.1006aa80
mov ebx, dword [ebp + 0x14]
mov edi, eax
add esp, 0x10
mov dword [esp + 0x10], edi
call fcn.10027bb0
mov eax, dword [esp + 0x94]
xor ecx, ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], ecx
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x4c], ecx
jne 0x1006c4d0
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x94]
mov edi, eax
mov ecx, dword [ebx + 0x14]
inc dword [esp + 0x24]
cmp dword [esp + 0x10], 0
mov dword [esp + 0x14], ecx
je 0x1006c238
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret