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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x102beb54]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x10], edx
push edi
mov dword [esp + 0x10], esi
mov ebx, dword [esi]
mov al, byte [esi + 0x92]
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x1f], al
test dword [ebx + 0x18], 0x4000
je 0x1006cb2e
mov ecx, dword [edx + 0x48]
mov edi, 0xfff0bdc0
mov dword [esp + 0x2c], edi
test ecx, ecx
je 0x1006c535
mov edx, dword [ebx + 0x14]
xor edi, edi
mov dword [esp + 0x2c], edi
test edx, edx
jle 0x1006c531
mov eax, dword [ebx + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x1006c52d
inc edi
add eax, 0x10
cmp edi, edx
jl 0x1006c521
mov dword [esp + 0x2c], edi
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x10]
mov ecx, edi
mov edi, dword [edx + 0x10]
add ecx, ecx
mov eax, dword [eax + ecx*8]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x10]
test edi, edi
je 0x1006c903
jmp 0x1006c556
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
test eax, eax
je 0x1006c5cf
mov ecx, dword [edx]
mov eax, dword [edi + 8]
test ecx, ecx
jne 0x1006c581
neg eax
sbb eax, eax
jmp 0x1006c58c
test eax, eax
je 0x1006c590
mov edx, eax
call fcn.10022fb0
test eax, eax
je 0x1006c5cf
xor esi, esi
cmp dword [edi + 0x14], esi
jle 0x1006c8f0
lea ecx, [edi + 0x24]
nop
mov edx, dword [ecx]
mov eax, dword [ebp + 0x10]
cmp dword [eax + edx*4], 0
jge 0x1006c5cb
mov eax, dword [esp + 0x14]
movsx eax, word [eax + 0x28]
cmp edx, eax
jne 0x1006c5bd
cmp dword [ebp + 0x14], 0
jne 0x1006c5cb
inc esi
add ecx, 8
cmp esi, dword [edi + 0x14]
jl 0x1006c5a0
jmp 0x1006c8f0
mov esi, dword [esp + 0x10]
cmp byte [esi + 0x92], 0
mov eax, dword [edi + 8]
push dword [esp + 0x34]
je 0x1006c5ed
mov edx, eax
mov ecx, ebx
call fcn.1005ef30
add esp, 4
jmp 0x1006c5fa
push eax
xor edx, edx
mov ecx, esi
call fcn.1005f070
add esp, 8
mov dword [esp + 0x30], eax
test eax, eax
je 0x1006c7bb
lea ecx, [esp + 0x24]
mov edx, eax
push ecx
lea ecx, [esp + 0x1c]
push ecx
push edi
mov ecx, esi
call fcn.1006aee0
add esp, 0xc
test eax, eax
jne 0x1006c7b7
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1006c635
mov ecx, eax
mov dword [esp + 0x38], eax
jmp 0x1006c644
mov eax, dword [edi + 0x24]
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], ecx
xor esi, esi
cmp dword [edi + 0x14], esi
jle 0x1006c6b9
nop dword [eax + eax]
mov eax, dword [esp + 0x14]
movsx eax, word [eax + 0x28]
cmp dword [ecx + esi*4], eax
jne 0x1006c664
mov dword [ecx + esi*4], 0xffffffff
cmp dword [ebx + 0x128], 0
je 0x1006c6b3
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
test eax, eax
je 0x1006c682
mov eax, dword [eax + 4]
movzx eax, word [eax + esi*2]
jmp 0x1006c686
movzx eax, word [edx + 0x28]
push dword [esp + 0x2c]
movsx ecx, ax
mov eax, dword [edx + 4]
add ecx, ecx
mov edx, dword [edx]
push dword [eax + ecx*8]
mov ecx, dword [esp + 0x18]
call fcn.1005e780
xor ecx, ecx
add esp, 8
cmp eax, 2
sete cl
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x38]
inc esi
cmp esi, dword [edi + 0x14]
jl 0x1006c650
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
push dword [esi]
push 0
push dword [esi + 0x1c]
call fcn.1005e900
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [ebp + 8]
inc dword [ecx + 0x28]
test eax, eax
je 0x1006c703
push dword [esp + 0x20]
mov edx, dword [esp + 0x30]
push 0xffffffffffffffff
push eax
push dword [esp + 0x44]
push edi
push dword [esp + 0x2c]
push esi
call fcn.1006b1a0
mov ecx, dword [esp + 0x2c]
add esp, 0x1c
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x1006c759
mov eax, dword [ecx + 0x78]
test eax, eax
cmovne ecx, eax
mov eax, dword [ecx + 0x1cc]
test eax, eax
je 0x1006c734
mov eax, dword [eax]
cmp eax, dword [edi + 0x1c]
jne 0x1006c729
cmp byte [edi + 0x19], 7
je 0x1006c759
cmp eax, dword [edi + 0x20]
jne 0x1006c734
cmp byte [edi + 0x1a], 7
je 0x1006c759
push dword [esp + 0x20]
push 1
push edx
push dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
push edi
push dword [esp + 0x2c]
push esi
mov esi, dword [esp + 0x2c]
mov ecx, esi
call fcn.1006b1a0
add esp, 0x1c
jmp 0x1006c75d
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x1006c8f4
cmp dword [ebx + 0x1c8], 0
je 0x1006c780
mov edx, ecx
mov ecx, ebx
call fcn.1001fef0
jmp 0x1006c8f4
cmp ecx, dword [ebx + 0x120]
jb 0x1006c7a9
cmp ecx, dword [ebx + 0x124]
jae 0x1006c7a9
mov eax, dword [ebx + 0x11c]
mov dword [ecx], eax
dec dword [ebx + 0x108]
mov dword [ebx + 0x11c], ecx
jmp 0x1006c8f4
push ecx
call fcn.1001fe80
add esp, 4
jmp 0x1006c8f4
mov eax, dword [esp + 0x30]
cmp byte [esp + 0x1f], 0
je 0x1006cb2e
cmp byte [ebx + 0x45], 0
jne 0x1006cb2e
test eax, eax
jne 0x1006c8f4
mov esi, dword [esi + 8]
test esi, esi
jne 0x1006c7ea
mov ecx, dword [esp + 0x10]
call fcn.100797d0
mov esi, eax
mov eax, dword [esi + 0x88]
xor edx, edx
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x20], eax
inc eax
add eax, ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], eax
test ecx, ecx
jle 0x1006c898
lea ebx, [edi + 0x24]
nop
mov ecx, dword [ebp + 8]
mov eax, dword [ebx]
inc ecx
add eax, ecx
mov ecx, dword [esi + 0x88]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x1006c845
push 0
push dword [esp + 0x1c]
mov edx, 0x4b
mov ecx, esi
push dword [esp + 0x28]
call fcn.1003e6a0
add esp, 0xc
jmp 0x1006c87b
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x4b
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x24]
add ebx, 8
inc edx
mov dword [esp + 0x24], edx
cmp edx, dword [edi + 0x14]
jl 0x1006c810
mov ecx, dword [esi + 0x88]
mov ebx, dword [esp + 0x3c]
jmp 0x1006c89c
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 0xc]
movzx edx, byte [edi + 0x18]
cmp dword [eax + 0x30], ecx
jg 0x1006c8be
push 0
push 0xffffffffffffffff
push edx
mov edx, 0x91
mov ecx, esi
call fcn.1003e6a0
add esp, 0xc
jmp 0x1006c8f0
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0x91
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 edi, dword [edi + 4]
mov edx, dword [esp + 0x14]
test edi, edi
jne 0x1006c553
mov edi, dword [esp + 0x14]
push 0
mov ecx, dword [edi + 0x48]
mov edx, dword [edi]
add ecx, 0x38
call fcn.100243f0
add esp, 4
mov esi, dword [eax + 8]
mov dword [esp + 0x20], esi
test esi, esi
je 0x1006cb2e
nop dword [eax + eax]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x24], 0
mov dword [esp + 0x34], 0
test eax, eax
je 0x1006c95f
push dword [ebp + 0x14]
mov edx, esi
mov ecx, edi
push eax
call fcn.1006c3c0
add esp, 8
test eax, eax
je 0x1006cb1f
cmp byte [esi + 0x18], 0
jne 0x1006c982
test dword [ebx + 0x18], 0x40000
jne 0x1006c982
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x78], 0
jne 0x1006c982
cmp byte [edx + 0x14], 0
je 0x1006cb1f
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x28]
mov edx, edi
push eax
push esi
call fcn.1006aee0
add esp, 0xc
test eax, eax
je 0x1006c9b9
cmp byte [esp + 0x1f], 0
je 0x1006cb2e
cmp byte [ebx + 0x45], 0
jne 0x1006cb2e
jmp 0x1006cb1f
push 0
push 0x58
mov ecx, ebx
call fcn.10020250
mov ecx, dword [esp + 0x3c]
mov edi, eax
add esp, 8
mov dword [esp + 0x18], ecx
test edi, edi
je 0x1006cad4
push 0x50
lea ecx, [edi + 8]
mov dword [edi + 4], 1
push 0
push ecx
mov dword [edi], 1
call fcn.102010e0
add esp, 0xc
mov dword [edi + 0x38], 0xffffffff
cmp byte [ebx + 0x45], 0
mov ecx, ebx
jne 0x1006cac9
mov eax, dword [edi]
xor edx, edx
lea esi, [eax + eax*4]
add esi, esi
call fcn.1005fc90
mov dword [edi + esi*8 - 0x40], eax
mov dword [edi + esi*8 - 0x44], 0
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ecx, dword [esi]
mov dword [edi + 0x18], ecx
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [edi + 0x10], eax
inc dword [ecx + 0x20]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x28]
mov dword [edi + 0x38], eax
inc dword [ecx + 0x28]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1006ca6d
push 0xffffffffffffffff
push eax
push dword [esp + 0x20]
push esi
push edx
push dword [esp + 0x28]
mov edx, edi
call fcn.1006bc30
mov ecx, dword [esp + 0x28]
add esp, 0x18
mov edx, dword [esp + 0x24]
cmp dword [ebp + 8], 0
je 0x1006cac0
xor eax, eax
cmp dword [ebp + 0x10], eax
push 1
push dword [ebp + 8]
setne al
push dword [esp + 0x20]
add eax, 0x19
push esi
push edx
push dword [esp + 0x28]
mov al, byte [eax + esi]
mov edx, edi
mov byte [esp + 0x43], al
call fcn.1006bc30
add esp, 0x18
cmp byte [esi + 0x18], 0
jne 0x1006cac0
mov al, byte [esp + 0x2b]
cmp al, 9
je 0x1006cac0
cmp al, 7
je 0x1006cac0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x78]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov dword [edi + 0x10], 0
mov ecx, ebx
mov edx, edi
call fcn.10064380
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1006cb1b
cmp dword [ebx + 0x1c8], 0
je 0x1006caec
mov edx, ecx
mov ecx, ebx
call fcn.1001fef0
jmp 0x1006cb1b
cmp ecx, dword [ebx + 0x120]
jb 0x1006cb12
cmp ecx, dword [ebx + 0x124]
jae 0x1006cb12
mov eax, dword [ebx + 0x11c]
mov dword [ecx], eax
dec dword [ebx + 0x108]
mov dword [ebx + 0x11c], ecx
jmp 0x1006cb1b
push ecx
call fcn.1001fe80
add esp, 4
mov edi, dword [esp + 0x14]
mov esi, dword [esi + 0xc]
mov dword [esp + 0x20], esi
test esi, esi
jne 0x1006c930
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101e95a5
mov esp, ebp
pop ebp
ret