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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
mov ebx, ecx
push esi
push edi
mov edi, edx
mov dword [esp + 0x20], ebx
mov edx, dword [ebx]
mov al, byte [ebx + 0x97]
mov byte [esp + 0xe], al
mov dword [esp + 0x18], edi
mov eax, dword [edx + 0x20]
and eax, 0x4000
mov dword [esp + 0x14], edx
or eax, 0
je 0x1007054d
cmp byte [edi + 0x2b], 0
jne 0x1007054d
mov ecx, dword [edi + 0x3c]
mov esi, 0xffff8000
mov dword [esp + 0x1c], esi
test ecx, ecx
je 0x1006ff8f
mov eax, dword [edx + 0x10]
xor esi, esi
add eax, 0xc
mov dword [esp + 0x1c], esi
cmp dword [eax], ecx
je 0x1006ff8f
lea eax, [eax + 0x10]
inc esi
cmp dword [eax], ecx
jne 0x1006ff83
mov dword [esp + 0x1c], esi
mov eax, dword [edx + 0x10]
mov ecx, esi
mov esi, dword [edi + 0x30]
shl ecx, 4
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x10], esi
mov edx, dword [ecx + eax]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x2c], edx
test esi, esi
je 0x1007037e
jmp 0x1006ffc3
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x28], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
test eax, eax
je 0x10070071
mov edx, dword [edi]
mov eax, dword [esi + 8]
test edx, edx
jne 0x1007003a
neg eax
sbb eax, eax
test eax, eax
je 0x1007006d
mov eax, dword [esp + 0x10]
xor esi, esi
mov edi, dword [eax + 0x14]
test edi, edi
jle 0x10070363
lea ecx, [eax + 0x24]
nop dword [eax + eax]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x10]
cmp dword [eax + edx*4], 0
jge 0x10070069
mov eax, dword [esp + 0x18]
movsx eax, word [eax + 0x20]
cmp edx, eax
jne 0x1007002d
cmp dword [ebp + 0x14], 0
jne 0x10070069
inc esi
add ecx, 8
cmp esi, edi
jl 0x10070010
jmp 0x10070363
test eax, eax
je 0x1006fff4
mov edi, eax
sub edi, edx
movzx eax, byte [edx]
movzx ecx, byte [edi + edx]
cmp eax, ecx
jne 0x10070054
test eax, eax
je 0x1007006d
inc edx
jmp 0x10070042
movzx ecx, byte [ecx + 0x1010f158]
movzx eax, byte [eax + 0x1010f158]
sub eax, ecx
jne 0x1006fff0
inc edx
jmp 0x10070042
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
cmp byte [ebx + 0x97], 0
mov eax, dword [esi + 8]
push edx
je 0x1007008e
mov ecx, dword [esp + 0x18]
mov edx, eax
call fcn.1005d740
add esp, 4
jmp 0x1007009b
push eax
xor edx, edx
mov ecx, ebx
call fcn.1005db20
add esp, 8
mov edi, eax
test edi, edi
je 0x10070222
lea eax, [esp + 0x34]
mov edx, edi
push eax
lea eax, [esp + 0x2c]
mov ecx, ebx
push eax
push esi
call fcn.1006e4f0
add esp, 0xc
test eax, eax
jne 0x10070222
mov eax, dword [esp + 0x34]
test eax, eax
je 0x100700d4
mov ecx, eax
mov dword [esp + 0x24], eax
jmp 0x100700e3
mov eax, dword [esi + 0x24]
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x10]
xor esi, esi
cmp dword [eax + 0x14], esi
jle 0x1007015b
nop
mov eax, dword [esp + 0x18]
movsx eax, word [eax + 0x20]
cmp dword [ecx + esi*4], eax
jne 0x10070104
mov dword [ecx + esi*4], 0xffffffff
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x168], 0
je 0x10070151
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10070122
mov eax, dword [eax + 4]
movzx eax, word [eax + esi*2]
jmp 0x10070126
movzx eax, word [edi + 0x20]
push dword [esp + 0x1c]
mov edx, dword [edi]
movsx ecx, ax
mov eax, dword [edi + 4]
add ecx, ecx
push dword [eax + ecx*8]
mov ecx, ebx
call fcn.1005ca00
xor ecx, ecx
add esp, 8
cmp eax, 2
sete cl
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
inc esi
cmp esi, dword [eax + 0x14]
jl 0x100700f0
mov ecx, dword [esp + 0x1c]
cmp ecx, 1
je 0x1007018e
mov eax, dword [ebx]
mov edx, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edx + 4]
cmp byte [eax + 9], 0
je 0x1007018e
push dword [edi]
mov edx, ecx
mov ecx, ebx
push 0
push dword [edi + 0x14]
call fcn.1005cb70
mov ecx, dword [esp + 0x28]
add esp, 0xc
inc dword [ebx + 0x28]
mov eax, dword [ebp + 8]
mov esi, dword [esp + 0x10]
test eax, eax
je 0x100701b9
push dword [esp + 0x30]
mov edx, ecx
mov ecx, ebx
push 0xffffffffffffffff
push eax
push dword [esp + 0x30]
push esi
push dword [esp + 0x3c]
push edi
call fcn.1006e780
add esp, 0x1c
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x10070208
mov eax, dword [ebx + 0x74]
mov ecx, ebx
test eax, eax
cmovne ecx, eax
mov eax, dword [ecx + 0x7c]
test eax, eax
je 0x100701e9
mov eax, dword [eax]
cmp eax, dword [esi + 0x1c]
jne 0x100701de
cmp byte [esi + 0x19], 8
je 0x10070208
cmp eax, dword [esi + 0x20]
jne 0x100701e9
cmp byte [esi + 0x1a], 8
je 0x10070208
push dword [esp + 0x30]
mov ecx, ebx
push 1
push edx
push dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push esi
push dword [esp + 0x3c]
push edi
call fcn.1006e780
add esp, 0x1c
mov edx, dword [esp + 0x34]
test edx, edx
je 0x10070367
mov ecx, dword [esp + 0x14]
call fcn.1000f1f0
jmp 0x10070367
cmp byte [esp + 0xe], 0
je 0x1007054d
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x57], 0
jne 0x1007054d
test edi, edi
jne 0x10070367
mov esi, dword [ebx + 8]
mov dword [esp + 0x28], esi
test esi, esi
jne 0x1007026c
cmp dword [ebx + 0x74], esi
jne 0x1007025f
mov eax, dword [ebx]
test byte [eax + 0x50], 8
jne 0x1007025f
mov byte [ebx + 0x17], 1
mov ecx, ebx
call fcn.10033b40
mov esi, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
xor edi, edi
mov ecx, dword [esi + 0x74]
inc ecx
mov edx, dword [eax + 0x14]
add ecx, edx
mov dword [esp + 0x30], ecx
lea ecx, [esi + 0x78]
mov dword [esp + 0x34], ecx
test edx, edx
jle 0x1007030b
lea ebx, [eax + 0x24]
mov dx, word [ebx]
mov ecx, dword [eax]
call fcn.1005ea20
mov edx, dword [ebp + 8]
mov ecx, dword [esi + 0x74]
inc edx
cwde
add edx, eax
mov eax, dword [esp + 0x34]
cmp dword [eax], ecx
jg 0x100702c5
push 0
push dword [esp + 0x34]
mov ecx, esi
push edx
mov edx, 0x32
call fcn.10033da0
add esp, 0xc
jmp 0x100702f8
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x10]
inc edi
add ebx, 8
cmp edi, dword [eax + 0x14]
jl 0x10070291
mov ebx, dword [esp + 0x20]
jmp 0x1007030f
mov dword [esp + 0x34], ecx
movzx edx, byte [eax + 0x18]
mov eax, dword [esp + 0x34]
mov ecx, dword [esi + 0x74]
cmp dword [eax], ecx
jg 0x10070334
push 0
push 0xffffffffffffffff
push edx
mov edx, 0x9d
mov ecx, esi
call fcn.10033da0
add esp, 0xc
jmp 0x10070363
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x9d
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0xffffffff
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [esp + 0x10]
mov esi, dword [esi + 4]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x10], esi
test esi, esi
jne 0x1006ffc0
mov ecx, dword [edi + 0x3c]
mov edx, dword [edi]
add ecx, 0x38
push 0
call fcn.100141d0
add esp, 4
mov esi, dword [eax + 8]
test esi, esi
je 0x1007054d
nop dword [eax + eax]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
test eax, eax
je 0x100703cf
push dword [ebp + 0x14]
mov edx, esi
mov ecx, edi
push eax
call fcn.1006fe40
add esp, 8
test eax, eax
je 0x10070542
cmp byte [esi + 0x18], 0
jne 0x100703f4
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x20]
and eax, 0x80000
or eax, 0
jne 0x100703f4
cmp dword [ebx + 0x74], eax
jne 0x100703f4
cmp byte [ebx + 0x14], al
je 0x10070542
lea eax, [esp + 0x30]
mov edx, edi
push eax
lea eax, [esp + 0x38]
mov ecx, ebx
push eax
push esi
call fcn.1006e4f0
add esp, 0xc
test eax, eax
je 0x1007042d
cmp byte [esp + 0xe], 0
je 0x1007054d
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x57], 0
jne 0x1007054d
jmp 0x10070542
mov ecx, dword [ebx]
push 0
push 0x50
call fcn.1000f5d0
mov ebx, dword [esp + 0x38]
mov edi, eax
add esp, 8
test edi, edi
je 0x10070529
push 0x48
lea ecx, [edi + 8]
mov dword [edi + 4], 1
push 0
push ecx
mov dword [edi], 1
call fcn.100dd0a0
mov dword [edi + 0x34], 0xffffffff
add esp, 0xc
mov eax, dword [edi]
lea eax, [eax + eax*8]
mov dword [edi + eax*8 - 0x38], 0
mov dword [edi + eax*8 - 0x3c], 0
mov ecx, dword [esi]
mov edx, dword [esp + 0x34]
mov dword [edi + 0x18], ecx
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [edi + 0x10], eax
inc dword [ecx + 0x18]
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x28]
mov dword [edi + 0x34], eax
inc dword [ecx + 0x28]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x100704c5
push 0xffffffffffffffff
push eax
push ebx
push esi
push edx
push dword [esp + 0x2c]
mov edx, edi
call fcn.1006f2c0
mov ecx, dword [esp + 0x38]
add esp, 0x18
mov edx, dword [esp + 0x34]
cmp dword [ebp + 8], 0
je 0x10070513
push 1
push dword [ebp + 8]
xor eax, eax
cmp dword [ebp + 0x10], eax
push ebx
setne al
push esi
push edx
push dword [esp + 0x2c]
mov al, byte [eax + esi + 0x19]
mov edx, edi
mov byte [esp + 0x27], al
call fcn.1006f2c0
add esp, 0x18
cmp byte [esi + 0x18], 0
jne 0x10070513
mov al, byte [esp + 0xf]
cmp al, 0xa
je 0x10070513
cmp al, 8
je 0x10070513
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov dword [edi + 0x10], 0
mov edx, edi
mov edi, dword [esp + 0x14]
mov ecx, edi
call fcn.10065e00
jmp 0x1007052d
mov edi, dword [esp + 0x14]
test ebx, ebx
je 0x1007053a
mov edx, ebx
mov ecx, edi
call fcn.1000f1f0
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x100703a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret