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

Disassembly:
sub esp, 0xb4
push ebx
push ebp
push esi
push edi
push 1
xor edi, edi
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0xcc]
mov esi, ecx
push 0x80
push 3
push 0x800
push dword [esp + 0xe4]
lea ecx, [esp + 0x74]
mov dword [esp + 0x28], esi
push dword [esp + 0xe4]
mov dword [esp + 0x78], 0
push dword [esp + 0xe4]
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0x54], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x94], edi
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], edi
call fcn.1006d980
mov ebx, eax
add esp, 0x1c
test ebx, ebx
jne 0x1006e8f9
push ecx
mov ebp, 0x11e
lea ecx, [esp + 0x3c]
mov edx, ebp
call fcn.1006bc80
add esp, 4
test eax, eax
jne 0x1006e013
mov ebx, 0x53
jmp 0x1006e8f5
push ecx
mov edx, 0x1e
lea ecx, [esp + 0x7c]
call fcn.1006bc80
add esp, 4
test eax, eax
je 0x1006e009
mov edi, dword [esp + 0x64]
xor ecx, ecx
mov ebx, dword [esp + 0x38]
test edi, edi
je 0x1006e06a
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x78]
add edx, 8
mov eax, dword [esp + 0x60]
mov eax, dword [eax + ecx*4]
inc dword [ebx + eax*4]
cmp eax, 0x100
jbe 0x1006e05e
mov eax, dword [edx]
add ecx, 3
inc dword [esi + eax*4]
add edx, 0xc
inc ecx
add edx, 4
cmp ecx, edi
jne 0x1006e042
mov esi, dword [esp + 0x14]
push 0xf
push dword [esp + 0x40]
mov edx, ebx
mov dword [ebx + 0x400], 1
push 0x101
lea ecx, [esp + 0x90]
call fcn.1006ca10
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x1006e8f5
mov edx, dword [esp + 0x78]
lea ecx, [esp + 0xb0]
push 0xf
push dword [esp + 0x80]
push 2
call fcn.1006ca10
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x1006e8f5
mov eax, dword [esp + 0x94]
mov ecx, 0x1e
cmp eax, 0x11e
cmova eax, ebp
mov ebp, dword [esp + 0xc0]
cmp ebp, 0x1e
mov dword [esp + 0x44], eax
cmova ebp, ecx
xor edi, edi
mov dword [esp + 0x18], ebp
test eax, eax
je 0x1006e115
mov ebx, dword [esp + 0x8c]
mov ebp, eax
lea ebx, [ebx]
mov edx, dword [ebx + edi*4]
lea ecx, [esp + 0x54]
call fcn.1006bce0
inc edi
cmp edi, ebp
jne 0x1006e100
mov ebp, dword [esp + 0x18]
xor edi, edi
test ebp, ebp
je 0x1006e138
jmp 0x1006e120
mov edx, dword [esp + 0xb8]
lea ecx, [esp + 0x54]
mov edx, dword [edx + edi*4]
call fcn.1006bce0
inc edi
cmp edi, ebp
jne 0x1006e120
mov ebx, dword [esp + 0x58]
xor ebp, ebp
test ebx, ebx
je 0x1006e271
mov esi, dword [esp + 0x54]
mov edx, 0x8a
nop
lea eax, [ebp + 1]
xor edi, edi
cmp eax, ebx
jae 0x1006e174
mov edx, dword [esi + ebp*4]
lea ecx, [esi + 4]
lea ecx, [ecx + ebp*4]
cmp dword [ecx], edx
jne 0x1006e16f
inc eax
inc edi
add ecx, 4
cmp eax, ebx
jb 0x1006e162
mov edx, 0x8a
mov ecx, dword [esi + ebp*4]
test ecx, ecx
jne 0x1006e1cf
cmp edi, 2
jb 0x1006e1cf
inc edi
lea ecx, [esp + 0x2c]
cmp edi, 0xa
ja 0x1006e1a8
mov edx, 0x11
call fcn.1006bce0
lea edx, [edi - 3]
lea ecx, [esp + 0x2c]
call fcn.1006bce0
dec ebp
add ebp, edi
jmp 0x1006e25f
cmp edi, 0x8a
cmova edi, edx
mov edx, 0x12
call fcn.1006bce0
lea edx, [edi - 0xb]
lea ecx, [esp + 0x2c]
call fcn.1006bce0
dec ebp
add ebp, edi
jmp 0x1006e25f
cmp edi, 3
jb 0x1006e254
mov eax, 0xaaaaaaab
mul edi
mov ebx, edx
mov edx, edi
shr ebx, 2
lea eax, [ebx + ebx*2]
add eax, eax
sub edx, eax
mov dword [esp + 0x28], edx
mov edx, ecx
lea ecx, [esp + 0x2c]
call fcn.1006bce0
test ebx, ebx
je 0x1006e21f
mov edx, 0x10
lea ecx, [esp + 0x2c]
call fcn.1006bce0
mov edx, 3
lea ecx, [esp + 0x2c]
call fcn.1006bce0
dec ebx
jne 0x1006e200
mov ebx, dword [esp + 0x28]
cmp ebx, 3
jb 0x1006e24a
mov edx, 0x10
lea ecx, [esp + 0x2c]
call fcn.1006bce0
lea edx, [ebx - 3]
lea ecx, [esp + 0x2c]
call fcn.1006bce0
mov ebx, dword [esp + 0x58]
add ebp, edi
jmp 0x1006e25f
sub edi, ebx
mov ebx, dword [esp + 0x58]
add ebp, edi
jmp 0x1006e25f
mov edx, ecx
lea ecx, [esp + 0x2c]
call fcn.1006bce0
inc ebp
mov edx, 0x8a
cmp ebp, ebx
jne 0x1006e150
mov esi, dword [esp + 0x14]
push ecx
mov edx, 0x13
lea ecx, [esp + 0x70]
call fcn.1006bc80
add esp, 4
test eax, eax
je 0x1006e009
mov ebx, dword [esp + 0x30]
xor ecx, ecx
mov edi, dword [esp + 0x6c]
test ebx, ebx
je 0x1006e2b2
mov edx, dword [esp + 0x2c]
lea ecx, [ecx]
mov eax, dword [edx + ecx*4]
inc dword [edi + eax*4]
cmp dword [edx + ecx*4], 0x10
jb 0x1006e2ad
inc ecx
inc ecx
cmp ecx, ebx
jne 0x1006e2a0
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x98]
push 7
push eax
push eax
mov edx, edi
call fcn.1006ca10
mov ebx, eax
add esp, 0xc
mov dword [esp + 0xac], ebx
test ebx, ebx
jne 0x1006e8f5
mov edi, dword [esp + 0xa8]
lea ecx, [esp + 0x48]
mov edx, edi
call fcn.1006bc30
test eax, eax
je 0x1006e009
test edi, edi
je 0x1006e31f
mov ecx, dword [esp + 0x48]
mov edx, 0x1008de00
mov ebx, dword [esp + 0xa0]
sub edx, ecx
lea esp, [esp]
mov eax, dword [edx + ecx]
lea ecx, [ecx + 4]
mov eax, dword [ebx + eax*4]
mov dword [ecx - 4], eax
dec edi
jne 0x1006e310
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
cmp dword [eax + ebx*4 - 4], 0
jne 0x1006e358
mov edi, edi
cmp ebx, 4
jbe 0x1006e358
lea edx, [ebx - 1]
lea ecx, [esp + 0x48]
call fcn.1006bc30
test eax, eax
je 0x1006e009
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
cmp dword [eax + ebx*4 - 4], 0
je 0x1006e330
mov ebp, dword [esp + 0x24]
test byte [ebp], 7
jne 0x1006e36b
xor dl, dl
mov ecx, esi
call fcn.1006bd90
mov ecx, dword [esi + 4]
mov edi, dword [ebp]
dec ecx
mov edx, dword [esi]
mov eax, dword [esp + 0xdc]
add edx, ecx
mov ecx, edi
and ecx, 7
shl al, cl
or byte [edx], al
lea eax, [edi + 1]
mov dword [ebp], eax
test al, 7
jne 0x1006e399
xor dl, dl
mov ecx, esi
call fcn.1006bd90
mov edi, dword [ebp]
mov ecx, edi
mov edx, dword [esi + 4]
and ecx, 7
mov eax, dword [esi]
dec edx
add edx, eax
xor al, al
shl al, cl
or byte [edx], al
lea eax, [edi + 1]
mov dword [ebp], eax
test al, 7
jne 0x1006e3c2
xor dl, dl
mov ecx, esi
call fcn.1006bd90
mov edx, dword [ebp]
mov al, 1
mov ebp, dword [esi + 4]
mov ecx, edx
and ecx, 7
shl al, cl
mov ecx, dword [esi]
lea edi, [edx + 1]
lea edx, [ebx - 4]
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], edx
or byte [ecx + ebp - 1], al
mov eax, dword [esp + 0x24]
mov dword [eax], edi
mov eax, dword [esp + 0x48]
lea eax, [eax + edx*4]
add eax, 0xc
cmp dword [eax], 0
jne 0x1006e411
lea ebx, [ebx]
test edx, edx
je 0x1006e40d
sub eax, 4
dec edx
cmp dword [eax], 0
je 0x1006e400
mov dword [esp + 0x20], edx
xor edx, edx
mov dword [esp + 0x14], edx
mov eax, edi
and eax, 7
mov dword [esp + 0x1c], eax
jne 0x1006e45f
mov eax, dword [esi + 8]
lea edi, [ebp + 1]
cmp edi, eax
jbe 0x1006e452
add eax, eax
cmp edi, eax
jbe 0x1006e436
mov ebx, edi
jmp 0x1006e43b
lea ebx, [edi + edi*2]
shr ebx, 1
push ebx
push ecx
call fcn.10070cf8
mov edx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x1006e45b
mov dword [esi + 8], ebx
mov dword [esi], eax
mov eax, dword [esi]
mov ebp, edi
mov byte [eax + edi - 1], 0
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x44]
mov ecx, edx
inc edi
inc edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x14], edx
lea eax, [eax - 0x101]
shr eax, cl
mov ecx, dword [esp + 0x1c]
and al, 1
shl al, cl
mov ecx, dword [esi]
or byte [ecx + ebp - 1], al
mov eax, dword [esp + 0x24]
mov dword [eax], edi
cmp edx, 5
jne 0x1006e417
mov dword [esi + 4], ebp
mov dword [esp + 0x14], 0
jmp 0x1006e4a0
mov eax, dword [eax]
and eax, 7
mov dword [esp + 0x1c], eax
jne 0x1006e4e1
mov eax, dword [esi + 8]
lea edi, [ebp + 1]
cmp edi, eax
jbe 0x1006e4d8
add eax, eax
cmp edi, eax
jbe 0x1006e4bf
mov ebx, edi
jmp 0x1006e4c4
lea ebx, [edi + edi*2]
shr ebx, 1
push ebx
push dword [esi]
call fcn.10070cf8
add esp, 8
test eax, eax
je 0x1006e4e1
mov dword [esi + 8], ebx
mov dword [esi], eax
mov eax, dword [esi]
mov ebp, edi
mov byte [edi + eax - 1], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi]
lea eax, [eax - 1]
shr eax, cl
mov ecx, dword [esp + 0x1c]
and al, 1
shl al, cl
or byte [edx + ebp - 1], al
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
mov ebx, dword [eax]
inc ebx
mov dword [eax], ebx
cmp ecx, 5
jne 0x1006e4a0
mov edi, dword [esp + 0x20]
mov dword [esi + 4], ebp
mov dword [esp + 0x14], 0
mov eax, ebx
and eax, 7
mov dword [esp + 0x1c], eax
jne 0x1006e573
mov eax, dword [esi + 8]
lea edi, [ebp + 1]
cmp edi, eax
jbe 0x1006e566
add eax, eax
cmp edi, eax
jbe 0x1006e545
mov eax, edi
mov dword [esp + 0x18], edi
jmp 0x1006e54e
lea eax, [edi + edi*2]
shr eax, 1
mov dword [esp + 0x18], eax
push eax
push dword [esi]
call fcn.10070cf8
add esp, 8
test eax, eax
je 0x1006e56f
mov ecx, dword [esp + 0x18]
mov dword [esi + 8], ecx
mov dword [esi], eax
mov eax, dword [esi]
mov ebp, edi
mov byte [edi + eax - 1], 0
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov eax, edi
mov edx, dword [esi]
inc ebx
shr eax, cl
mov ecx, dword [esp + 0x1c]
and al, 1
shl al, cl
or byte [edx + ebp - 1], al
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
inc ecx
mov dword [esp + 0x14], ecx
mov dword [eax], ebx
cmp ecx, 4
jne 0x1006e522
lea ecx, [edi + 4]
mov dword [esp + 0x14], ebx
xor eax, eax
mov dword [esi + 4], ebp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x1006e665
lea ebx, [ebx]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x28], 0
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x1c], eax
mov eax, ebx
and eax, 7
mov dword [esp + 0x44], eax
jne 0x1006e61e
mov eax, dword [esi + 8]
lea edi, [ebp + 1]
cmp edi, eax
jbe 0x1006e60f
add eax, eax
cmp edi, eax
jbe 0x1006e5f2
mov ebx, edi
jmp 0x1006e5f7
lea ebx, [edi + edi*2]
shr ebx, 1
push ebx
push dword [esi]
call fcn.10070cf8
add esp, 8
test eax, eax
je 0x1006e61a
mov dword [esi + 8], ebx
mov ebx, dword [esp + 0x14]
mov dword [esi], eax
mov eax, dword [esi]
mov ebp, edi
mov byte [edi + eax - 1], 0
jmp 0x1006e61e
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
inc ebx
mov eax, dword [esp + 0x1c]
mov edx, dword [esi]
shr eax, cl
mov ecx, dword [esp + 0x44]
and al, 1
shl al, cl
mov ecx, dword [esp + 0x28]
or byte [edx + ebp - 1], al
inc ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], ecx
cmp ecx, 3
jne 0x1006e5d3
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x20]
jne 0x1006e5c0
mov eax, dword [esp + 0x24]
mov dword [esi + 4], ebp
mov dword [eax], ebx
xor ebx, ebx
cmp dword [esp + 0x30], ebx
je 0x1006e899
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
lea esp, [esp]
mov ecx, dword [edi + ebx*4]
mov edx, esi
mov eax, dword [esp + 0xa0]
push dword [eax + ecx*4]
mov eax, dword [esp + 0xa0]
push dword [eax + ecx*4]
mov ecx, ebp
call fcn.1006bea0
mov eax, dword [edi + ebx*4]
add esp, 8
cmp eax, 0x10
jne 0x1006e748
mov eax, dword [edi + ebx*4 + 4]
inc ebx
mov dword [esp + 0x20], ebx
mov ebx, dword [esi + 4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], ebx
jmp 0x1006e6d0
mov ebp, dword [ebp]
and ebp, 7
jne 0x1006e718
mov eax, dword [esi + 8]
lea edi, [ebx + 1]
cmp edi, eax
jbe 0x1006e705
add eax, eax
cmp edi, eax
jbe 0x1006e6ec
mov ebx, edi
jmp 0x1006e6f1
lea ebx, [edi + edi*2]
shr ebx, 1
push ebx
push dword [esi]
call fcn.10070cf8
add esp, 8
test eax, eax
je 0x1006e714
mov dword [esi + 8], ebx
mov dword [esi], eax
mov eax, dword [esi]
mov ebx, edi
mov dword [esp + 0x18], ebx
mov byte [edi + eax - 1], 0
jmp 0x1006e718
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov edx, dword [esi]
shr eax, cl
mov ecx, ebp
mov ebp, dword [esp + 0x24]
and al, 1
shl al, cl
mov ecx, dword [esp + 0x14]
or byte [edx + ebx - 1], al
inc ecx
inc dword [ebp]
mov dword [esp + 0x14], ecx
cmp ecx, 2
jne 0x1006e6d0
jmp 0x1006e883
cmp eax, 0x11
jne 0x1006e7e8
mov eax, dword [edi + ebx*4 + 4]
inc ebx
mov dword [esp + 0x20], ebx
mov ebx, dword [esi + 4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], ebx
lea ecx, [ecx]
mov ebp, dword [ebp]
and ebp, 7
jne 0x1006e7b8
mov eax, dword [esi + 8]
lea edi, [ebx + 1]
cmp edi, eax
jbe 0x1006e7a5
add eax, eax
cmp edi, eax
jbe 0x1006e78c
mov ebx, edi
jmp 0x1006e791
lea ebx, [edi + edi*2]
shr ebx, 1
push ebx
push dword [esi]
call fcn.10070cf8
add esp, 8
test eax, eax
je 0x1006e7b4
mov dword [esi + 8], ebx
mov dword [esi], eax
mov eax, dword [esi]
mov ebx, edi
mov dword [esp + 0x18], ebx
mov byte [edi + eax - 1], 0
jmp 0x1006e7b8
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov edx, dword [esi]
shr eax, cl
mov ecx, ebp
mov ebp, dword [esp + 0x24]
and al, 1
shl al, cl
mov ecx, dword [esp + 0x14]
or byte [edx + ebx - 1], al
inc ecx
inc dword [ebp]
mov dword [esp + 0x14], ecx
cmp ecx, 3
jne 0x1006e770
jmp 0x1006e883
cmp eax, 0x12
jne 0x1006e88e
mov eax, dword [edi + ebx*4 + 4]
inc ebx
mov dword [esp + 0x20], ebx
mov ebx, dword [esi + 4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], ebx
lea ecx, [ecx]
mov ebp, dword [ebp]
and ebp, 7
jne 0x1006e858
mov eax, dword [esi + 8]
lea edi, [ebx + 1]
cmp edi, eax
jbe 0x1006e845
add eax, eax
cmp edi, eax
jbe 0x1006e82c
mov ebx, edi
jmp 0x1006e831
lea ebx, [edi + edi*2]
shr ebx, 1
push ebx
push dword [esi]
call fcn.10070cf8
add esp, 8
test eax, eax
je 0x1006e854
mov dword [esi + 8], ebx
mov dword [esi], eax
mov eax, dword [esi]
mov ebx, edi
mov dword [esp + 0x18], ebx
mov byte [edi + eax - 1], 0
jmp 0x1006e858
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov edx, dword [esi]
shr eax, cl
mov ecx, ebp
mov ebp, dword [esp + 0x24]
and al, 1
shl al, cl
mov ecx, dword [esp + 0x14]
or byte [edx + ebx - 1], al
inc ecx
inc dword [ebp]
mov dword [esp + 0x14], ecx
cmp ecx, 7
jne 0x1006e810
mov edi, dword [esp + 0x2c]
mov dword [esi + 4], ebx
mov ebx, dword [esp + 0x20]
inc ebx
cmp ebx, dword [esp + 0x30]
jne 0x1006e680
mov edi, dword [esp + 0x24]
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x88]
mov edx, esi
push eax
lea eax, [esp + 0x68]
mov ecx, edi
push eax
call fcn.1006ddf0
mov ebx, dword [esp + 0x98]
add esp, 0xc
mov eax, dword [ebx + 0x400]
test eax, eax
jne 0x1006e8d4
lea ebx, [eax + 0x40]
jmp 0x1006e8f5
push eax
mov eax, dword [esp + 0x8c]
mov edx, esi
mov ecx, edi
push dword [eax + 0x400]
call fcn.1006bea0
mov ebx, dword [esp + 0xb4]
add esp, 8
mov edi, dword [esp + 0x38]
push dword [esp + 0x60]
call fcn.1006f3c8
add esp, 4
push dword [esp + 0x84]
call fcn.1006f3c8
add esp, 4
push dword [esp + 0x88]
call fcn.1006f3c8
add esp, 4
push dword [esp + 0x8c]
call fcn.1006f3c8
add esp, 4
push dword [esp + 0xb0]
call fcn.1006f3c8
add esp, 4
push dword [esp + 0xb4]
call fcn.1006f3c8
add esp, 4
push dword [esp + 0xb8]
call fcn.1006f3c8
add esp, 4
push dword [esp + 0x98]
call fcn.1006f3c8
add esp, 4
push dword [esp + 0x9c]
call fcn.1006f3c8
add esp, 4
push dword [esp + 0xa0]
call fcn.1006f3c8
add esp, 4
push edi
call fcn.1006f3c8
add esp, 4
push dword [esp + 0x78]
call fcn.1006f3c8
add esp, 4
push dword [esp + 0x6c]
call fcn.1006f3c8
add esp, 4
push dword [esp + 0x2c]
call fcn.1006f3c8
add esp, 4
push dword [esp + 0x54]
call fcn.1006f3c8
add esp, 4
push dword [esp + 0x48]
call fcn.1006f3c8
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret