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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x40], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x38], edi
mov esi, dword [edi + 8]
mov eax, dword [edx + 0x18]
mov dword [esp + 0x20], eax
mov ebx, dword [esi + 0x18]
mov ecx, dword [ebx + 0x70]
mov dword [esp + 0x28], ecx
lea eax, [ecx + 1]
mov dword [ebx + 0x70], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x1006f15b
mov edx, dword [ebx + 0x74]
lea eax, [ecx*8 + 4]
mov ecx, dword [ebx]
push 0
push eax
call fcn.1001c060
mov ecx, dword [esp + 0x30]
add esp, 8
mov edx, dword [ebp + 8]
mov dword [ebx + 0x74], eax
mov eax, dword [ebx + 0x74]
test eax, eax
je 0x1006f169
mov dword [eax + ecx*4], 0xffffffff
mov eax, dword [edx]
not ecx
mov edx, dword [edx + 0x10]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x44], eax
mov dword [esp + 0x34], 0
movzx ebx, byte [ecx]
mov eax, dword [ecx + 4]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x18], eax
test edx, edx
je 0x1006f225
mov eax, dword [esi + 0x18]
mov ebx, dword [ebp + 8]
mov ecx, dword [esi + 0x20]
mov ebx, dword [ebx + 0xc]
cmp dword [eax + 0x54], ecx
jg 0x1006f1bf
push 0
push edx
push ebx
mov edx, 0xf
mov ecx, esi
call fcn.10038de0
add esp, 0xc
jmp 0x1006f1ee
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0xf
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
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 + 0x20]
mov ecx, esi
call fcn.10038fe0
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x74]
test ecx, ecx
je 0x1006f217
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
mov ecx, dword [ebp + 0x10]
dec eax
mov ebx, dword [esp + 0x48]
mov dword [edx + 0x5c], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
mov dword [esp + 0x14], edx
cmp ebx, 9
je 0x1006f285
cmp ebx, 0xd
je 0x1006f285
mov al, byte [edi + 0x13]
test al, al
jne 0x1006f248
inc dword [edi + 0x48]
mov ecx, dword [edi + 0x48]
jmp 0x1006f254
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov ecx, dword [edi + eax*4 + 0x18]
mov al, byte [edi + 0x13]
mov dword [esp + 0x10], ecx
test al, al
jne 0x1006f26f
inc dword [edi + 0x48]
mov ebx, dword [edi + 0x48]
mov dword [esp + 0x24], 1
jmp 0x1006f297
dec al
mov dword [esp + 0x24], 1
mov byte [edi + 0x13], al
movzx eax, al
mov ebx, dword [edi + eax*4 + 0x18]
jmp 0x1006f297
mov eax, dword [ebp + 0xc]
mov ebx, dword [ecx + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x30], ebx
mov eax, dword [eax]
sub eax, dword [ecx + 4]
test byte [ecx + 0x1c], 1
mov dword [esp + 0x44], eax
je 0x1006f471
mov edx, dword [edi + 0x44]
inc dword [edi + 0x48]
cmp dword [ecx + 0x10], 0
mov eax, dword [edi + 0x48]
mov dword [esp + 0x2c], eax
lea eax, [edx + 1]
mov dword [esp + 0x1c], edx
mov dword [edi + 0x44], eax
je 0x1006f2e1
mov ecx, edi
call fcn.1004ea20
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x44]
inc ecx
add eax, ecx
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0x4c], eax
cmp dword [ecx + 0x54], eax
jg 0x1006f319
push dword [esp + 0x3c]
mov ecx, esi
push dword [esp + 0x30]
push edx
mov edx, 0x3d
call fcn.10038de0
add esp, 0xc
jmp 0x1006f34e
inc eax
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x4c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*4], 0x3d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x34], 0
je 0x1006f388
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
dec ecx
mov dword [eax + 0x5c], ecx
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + 0x20]
test ecx, ecx
jns 0x1006f36d
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x41], 0
je 0x1006f37c
mov eax, 0x102004bc
jmp 0x1006f385
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x3c], ecx
cmp dword [eax + 0x54], ecx
jg 0x1006f3b6
push 0
push dword [esp + 0x24]
mov edx, 0x6c
mov ecx, esi
push dword [esp + 0x1c]
call fcn.10038de0
add esp, 0xc
mov dword [esp + 0x3c], eax
jmp 0x1006f3ed
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov word [eax + ecx*4], 0x6c
mov byte [eax + ecx*4 + 3], 0
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 + 0x40]
mov ecx, esi
push dword [esp + 0x28]
mov edx, dword [edx + 0xc]
call fcn.1006e130
mov eax, dword [esi + 0x18]
add esp, 4
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x54], ecx
jg 0x1006f433
push dword [esp + 0x1c]
mov edx, 0x66
mov ecx, esi
push dword [esp + 0x30]
push dword [esp + 0x1c]
call fcn.10038de0
mov edx, dword [esp + 0x28]
add esp, 0xc
xor ecx, ecx
jmp 0x1006f4f1
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x1c]
mov word [eax + ecx*4], 0x66
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
xor ecx, ecx
jmp 0x1006f4f1
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x3c], ecx
cmp dword [eax + 0x54], ecx
jg 0x1006f49c
push 0
push dword [esp + 0x24]
mov ecx, esi
push edx
mov edx, 0x6d
call fcn.10038de0
add esp, 0xc
mov dword [esp + 0x3c], eax
jmp 0x1006f4cf
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov word [eax + ecx*4], 0x6d
mov byte [eax + ecx*4 + 3], 0
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 + 0x40]
mov ecx, esi
push dword [esp + 0x28]
mov edx, dword [edx + 0xc]
call fcn.1006e130
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x1c], edx
mov ecx, 1
mov eax, dword [esp + 0x3c]
inc eax
cmp dword [esp + 0x24], 0
mov dword [esp + 0x2c], eax
jle 0x1006f56f
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x30]
add ebx, ecx
nop dword [eax + eax]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x54], ecx
jg 0x1006f533
push edi
push ebx
push edx
mov edx, 0x30
mov ecx, esi
call fcn.10038de0
mov edx, dword [esp + 0x28]
add esp, 0xc
jmp 0x1006f55e
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x30
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
inc edi
inc ebx
sub dword [esp + 0x24], 1
jne 0x1006f510
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
mov eax, ecx
sub eax, 0xa
je 0x1006f800
sub eax, 1
je 0x1006f726
sub eax, 1
je 0x1006f651
cmp ecx, 9
mov ecx, dword [esi + 0x20]
jne 0x1006f607
mov eax, dword [esi + 0x18]
mov edx, dword [ebp + 0x10]
mov edx, dword [edx + 8]
cmp dword [eax + 0x54], ecx
jg 0x1006f5c9
push 0
push dword [ebp + 0xc]
mov ecx, esi
push edx
mov edx, 0x22
call fcn.10038de0
mov eax, dword [ebp + 0x10]
add esp, 0xc
push dword [ebp + 0xc]
mov edx, dword [eax + 8]
jmp 0x1006f863
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 0xc]
mov word [eax + ecx*4], 0x22
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 0x10]
push edx
mov edx, dword [eax + 8]
jmp 0x1006f863
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 4]
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x54], ecx
jg 0x1006f62e
push 0
push 0
push edx
mov edx, 0x14
mov ecx, esi
call fcn.10038de0
add esp, 0xc
jmp 0x1006f86d
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x14
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
jmp 0x1006f7e9
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x54], ecx
jg 0x1006f67b
push 0
push dword [esp + 0x14]
mov edx, 0x54
mov ecx, esi
push dword [esp + 0x20]
call fcn.10038de0
mov edx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x1006f6b2
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov word [eax + ecx*4], 0x54
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x54], ecx
jg 0x1006f6d4
push edx
push ebx
push dword [esp + 0x20]
mov edx, 0x5f
mov ecx, esi
call fcn.10038de0
add esp, 0xc
jmp 0x1006f707
mov edi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x38]
mov word [eax + ecx*4], 0x5f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x41], 0
jne 0x1006f86d
mov eax, dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov byte [eax + ecx*4 - 0x11], 8
jmp 0x1006f86d
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
cmp dword [eax + 0x54], edx
jg 0x1006f74b
push dword [esp + 0x10]
mov edx, 0x32
mov ecx, esi
push 1
push ebx
call fcn.10038de0
add esp, 0xc
mov edx, eax
jmp 0x1006f782
mov edi, dword [esp + 0x10]
lea eax, [edx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x38]
mov word [eax + ecx*4], 0x32
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 0x10]
mov ecx, esi
inc eax
push 1
push eax
call fcn.10039ac0
push 1
mov edx, ebx
mov ecx, edi
call fcn.1004ff70
mov eax, dword [esi + 0x18]
add esp, 0xc
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x54], ecx
jg 0x1006f7c7
push 0
push dword [esp + 0x14]
mov edx, 0x70
mov ecx, esi
push dword [esp + 0x20]
call fcn.10038de0
add esp, 0xc
jmp 0x1006f86d
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov word [eax + ecx*4], 0x70
mov dword [eax + ecx*4 + 8], edx
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1006f86d
mov ecx, dword [edi + 8]
mov dword [esp + 0x4c], ecx
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x20]
cmp dword [eax + 0x54], edx
jg 0x1006f828
push 1
push dword [esp + 0x1c]
mov edx, 0x1e
push ebx
call fcn.10038de0
add esp, 0xc
jmp 0x1006f85f
lea eax, [edx + 1]
mov dword [ecx + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x18]
mov eax, dword [eax + 4]
mov word [eax + ecx*4], 0x1e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 1
mov dword [eax + ecx*4 + 0x10], 0
push 1
mov edx, ebx
mov ecx, edi
call fcn.1004ff70
add esp, 4
cmp dword [esp + 0x10], 0
je 0x1006f8d2
test ebx, ebx
je 0x1006f8a3
mov dl, byte [edi + 0x13]
cmp dl, 8
jae 0x1006f8a3
xor ecx, ecx
lea eax, [edi + 0x78]
cmp dword [eax + 0xc], ebx
je 0x1006f89f
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x1006f885
movzx eax, dl
mov dword [edi + eax*4 + 0x18], ebx
inc byte [edi + 0x13]
jmp 0x1006f8a3
mov byte [eax + 6], 1
mov dl, byte [edi + 0x13]
cmp dl, 8
jae 0x1006f8d2
mov ebx, dword [esp + 0x10]
lea eax, [edi + 0x78]
xor ecx, ecx
cmp dword [eax + 0xc], ebx
je 0x1006f8ce
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x1006f8b4
movzx eax, dl
mov dword [edi + eax*4 + 0x18], ebx
inc byte [edi + 0x13]
jmp 0x1006f8d2
mov byte [eax + 6], 1
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x74]
test ecx, ecx
je 0x1006f8ee
mov eax, dword [esp + 0x28]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
mov ebx, dword [ebp + 8]
dec eax
mov dword [edx + 0x5c], eax
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
test byte [ebx + 0x1c], 1
je 0x1006f939
cmp dword [eax + 0x54], ecx
jg 0x1006f925
mov edx, dword [esp + 0x2c]
mov ecx, esi
push 0
push edx
push dword [esp + 0x1c]
mov edx, 4
call fcn.10038de0
add esp, 0xc
jmp 0x1006f991
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 4
jmp 0x1006f96c
cmp dword [eax + 0x54], ecx
jg 0x1006f95a
mov edx, dword [esp + 0x2c]
mov ecx, esi
push 0
push edx
push dword [esp + 0x1c]
mov edx, 8
call fcn.10038de0
add esp, 0xc
jmp 0x1006f991
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 8
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], edx
mov byte [eax + ecx*4 + 3], 0
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x1006f9ec
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x54], ecx
jg 0x1006f9b9
push 0
push 0
push edx
mov edx, 0x10
mov ecx, esi
call fcn.10038de0
add esp, 0xc
jmp 0x1006f9ec
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x10
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x74]
test ecx, ecx
je 0x1006fa08
mov eax, dword [esp + 0x20]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
pop edi
dec eax
pop esi
mov dword [edx + 0x5c], eax
pop ebx
mov esp, ebp
pop ebp
ret