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

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x28]
mov ebx, 0xffff8000
push esi
push edi
mov edi, dword [esp + 0x2c]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x28]
mov edx, dword [edi]
mov dword [esp + 0x30], eax
add eax, 2
mov dword [edi + 0x28], eax
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x1006eee8
mov eax, dword [edx + 0x10]
xor ebx, ebx
add eax, 0xc
cmp dword [eax], ecx
je 0x1006eee8
nop dword [eax]
lea eax, [eax + 0x10]
inc ebx
cmp dword [eax], ecx
jne 0x1006eee0
mov eax, dword [edx + 0x10]
mov esi, ebx
add esi, esi
push dword [eax + esi*8]
push 0
push dword [ebp]
push 0x1b
push edi
call fcn.1004a610
add esp, 0x14
test eax, eax
jne 0x1006f26f
cmp ebx, 1
je 0x1006ef33
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + esi*8 + 4]
cmp byte [eax + 9], 0
je 0x1006ef33
mov eax, dword [esp + 0x14]
push dword [eax]
push 1
push dword [eax + 0x14]
push ebx
push edi
call fcn.100369e0
add esp, 0x14
mov esi, dword [edi + 8]
test esi, esi
jne 0x1006ef5e
cmp dword [edi + 0x78], esi
jne 0x1006ef4b
mov eax, dword [edi]
test byte [eax + 0x50], 8
jne 0x1006ef4b
mov byte [edi + 0x17], 1
push edi
call fcn.1007aff0
mov esi, eax
add esp, 4
test esi, esi
je 0x1006f26f
mov eax, dword [esp + 0x34]
test eax, eax
jns 0x1006ef69
mov eax, dword [ebp + 0x2c]
push ebp
push edi
mov dword [esp + 0x20], eax
call fcn.100649a0
mov edx, dword [edi + 0x28]
add esp, 8
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], edx
lea ecx, [edx + 1]
mov dword [edi + 0x28], ecx
test eax, eax
je 0x1006ef8e
inc dword [eax]
push 0xfffffffffffffff8
push eax
movzx eax, word [ebp + 0x32]
push eax
push 0
push edx
push 0x77
push esi
call fcn.1007aa80
push 0x70
push dword [esp + 0x34]
push ebx
push dword [esp + 0x58]
push edi
call fcn.10066550
push 0
push dword [esp + 0x64]
push 0x24
push esi
call fcn.1007a9c0
mov cl, byte [edi + 0x13]
add esp, 0x40
mov dword [esp + 0x1c], eax
test cl, cl
jne 0x1006efd6
inc dword [edi + 0x2c]
mov edx, dword [edi + 0x2c]
jmp 0x1006efe5
dec cl
movzx eax, cl
mov byte [edi + 0x13], cl
mov edx, dword [edi + eax*4 + 0x9c]
mov eax, dword [edi + 0x78]
mov ecx, edi
push 0
test eax, eax
mov dword [esp + 0x18], edx
push 0
cmovne ecx, eax
lea eax, [esp + 0x34]
push eax
push 0
push edx
push dword [esp + 0x44]
mov byte [ecx + 0x14], 1
push ebp
push edi
call fcn.10060620
push dword [esp + 0x34]
push dword [esp + 0x34]
push 0x8b
push esi
call fcn.1007a9c0
mov edx, dword [esp + 0x5c]
add esp, 0x30
test edx, edx
je 0x1006f055
mov eax, dword [edi + 8]
not edx
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
mov eax, dword [edi + 8]
jns 0x1006f04c
push edx
push eax
push ecx
call fcn.100430f0
add esp, 0xc
jmp 0x1006f055
mov ecx, dword [ecx + 0x40]
mov eax, dword [eax + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x1c]
inc eax
push eax
push dword [esp + 0x34]
push 0x27
push esi
call fcn.1007a9c0
mov eax, dword [esi + 0x6c]
add esp, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x1006f087
lea eax, [esi + 0x68]
mov ecx, 0x100bdf30
mov dword [esp + 0x2c], eax
jmp 0x1006f09a
mov eax, dword [esp + 0x1c]
lea edx, [esi + 0x68]
mov dword [esp + 0x2c], edx
lea ecx, [eax + eax*4]
mov eax, dword [edx]
lea ecx, [eax + ecx*4]
cmp dword [esp + 0x34], 0
mov eax, dword [esp + 0x20]
mov dword [ecx + 8], eax
jge 0x1006f0bb
push ebx
push dword [esp + 0x1c]
push 0x91
push esi
call fcn.1007a9c0
add esp, 0x10
mov eax, dword [esp + 0x30]
push 0xfffffffffffffff8
push dword [esp + 0x28]
inc eax
push ebx
push dword [esp + 0x24]
push eax
push 0x71
push esi
call fcn.1007aa80
mov eax, dword [esi + 0x6c]
add esp, 0x1c
test eax, eax
jle 0x1006f0fe
cmp dword [esp + 0x34], 0
mov ecx, 0x11
mov edx, 1
cmovge edx, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov word [eax + ecx*4 - 0x12], dx
push 0
push dword [esp + 0x14]
push 0x22
push esi
call fcn.1007a9c0
add esp, 0x10
mov dword [esp + 0x20], eax
cmp byte [ebp + 0x36], 0
je 0x1006f17d
push 1
push esi
call fcn.10084800
mov ecx, dword [esi + 0x6c]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
movzx ecx, word [ebp + 0x32]
push ecx
push ebx
push eax
push dword [esp + 0x24]
mov dword [esp + 0x3c], eax
push 0x84
push esi
call fcn.1007ab00
push ebp
push 2
push edi
call fcn.10077660
mov eax, dword [esi]
add esp, 0x2c
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x1006f167
mov eax, 0x100bdf30
mov dword [eax + 8], edx
jmp 0x1006f196
mov eax, dword [esp + 0x24]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x1006f196
mov eax, dword [edi + 0x78]
mov ecx, edi
mov ebx, dword [esp + 0x14]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
inc eax
push eax
push ebx
push dword [esp + 0x18]
push 0x85
push esi
call fcn.1007aa20
add esp, 0x14
test dword [ebp + 0x38], 0x200
jne 0x1006f1cc
mov eax, dword [esp + 0x30]
inc eax
push eax
push 0x89
push esi
call fcn.1007a960
add esp, 0xc
mov eax, dword [esp + 0x30]
push ebx
inc eax
push eax
push 0x8a
push esi
call fcn.1007a9c0
mov eax, dword [esi + 0x6c]
add esp, 0x10
mov ebp, dword [esp + 0x2c]
test eax, eax
jle 0x1006f1fc
lea ecx, [eax + eax*4]
mov edx, 0x10
mov eax, dword [ebp]
mov word [eax + ecx*4 - 0x12], dx
test ebx, ebx
je 0x1006f214
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x1006f214
movzx eax, al
mov dword [edi + eax*4 + 0x9c], ebx
inc byte [edi + 0x13]
push dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
push ebx
push 0x25
push esi
call fcn.1007a9c0
mov eax, dword [esi]
add esp, 0x10
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x1006f23a
mov eax, 0x100bdf30
jmp 0x1006f247
mov eax, dword [esp + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [ebp]
lea eax, [eax + ecx*4]
mov ebp, dword [esp + 0x30]
push ebp
push 0x7a
push esi
mov dword [eax + 8], edx
call fcn.1007a960
lea eax, [ebp + 1]
push eax
push 0x7a
push esi
call fcn.1007a960
push ebx
push 0x7a
push esi
call fcn.1007a960
add esp, 0x24
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret