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

Disassembly:
sub esp, 0x24
push ebx
mov dword [esp + 0xc], 0
push ebp
push esi
push edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x1c], 0
mov ebx, dword [edi + 0xc]
mov eax, dword [edi]
add ebx, 0x38
mov ecx, dword [edi + 0x44]
mov edx, dword [edi + 0x48]
mov dword [esp + 0x24], ebx
mov eax, dword [eax + 0x64]
movsx ebp, word [ebx + 2]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 4]
lea esi, [ebp*8]
mov dword [esp + 0x20], esi
mov dword [esi + eax], ecx
mov dword [esi + eax + 4], edx
mov eax, dword [ebx + 4]
mov ecx, dword [edi + 0x4c]
mov edx, dword [edi + 0x50]
mov dword [esi + eax + 8], ecx
mov dword [esi + eax + 0xc], edx
mov eax, dword [ebx + 4]
mov ecx, dword [edi + 0xb4]
mov edx, dword [edi + 0xb8]
mov dword [eax + ebp*8 + 0x10], ecx
mov dword [eax + ebp*8 + 0x14], edx
mov eax, dword [ebx + 4]
mov edx, dword [edi + 0xc0]
mov ecx, dword [edi + 0xbc]
mov dword [eax + ebp*8 + 0x18], ecx
mov dword [eax + ebp*8 + 0x1c], edx
mov eax, dword [ebx + 8]
mov byte [eax + ebp], 0
mov eax, dword [ebx + 8]
mov byte [eax + ebp + 1], 0
mov eax, dword [ebx + 8]
mov byte [eax + ebp + 2], 0
mov eax, dword [ebx + 8]
mov byte [eax + ebp + 3], 0
add ebp, 4
mov edx, dword [edi]
test dword [edx + 4], 0x7fff0000
jne 0x1009e9c6
test dword [edx + 8], 0x8000
je 0x1009ea5f
lea eax, [esp + 0x18]
push eax
push 0
push ebp
push 0
push 8
push dword [esp + 0x3c]
call fcn.1008e8e0
add esp, 0x18
mov esi, eax
cmp dword [esp + 0x18], 0
mov dword [esp + 0x1c], esi
jne 0x1009edeb
push ebp
push esi
push ebx
push dword [edi + 0x14]
push dword [edi]
call fcn.100a1b90
mov edx, dword [edi]
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x18], ecx
test byte [edx + 0x2e4], 2
jne 0x1009ea2f
mov edx, dword [esp + 0x20]
mov eax, dword [esi + ebp*8 - 0x18]
sub eax, dword [edx + esi]
add eax, 0x20
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
mov edx, dword [edi]
sar eax, 6
mov dword [edi + 0x3c], eax
test byte [edx + 0x2e4], 0x10
jne 0x1009ea57
mov eax, dword [esi + ebp*8 - 8]
sub eax, dword [esi + ebp*8 - 0x10]
add eax, 0x20
and eax, 0xffffffc0
cdq
and edx, 0x3f
add eax, edx
mov edx, dword [edi]
sar eax, 6
mov dword [edi + 0xb0], eax
test ecx, ecx
jne 0x1009edeb
test byte [edi + 0x10], 2
jne 0x1009ea98
push 0
push 0
lea eax, [edi + 0x78]
push ebx
push eax
call fcn.100a6a10
movzx eax, word [edi + 0x80]
lea eax, [eax*8 + 0x20]
push eax
push dword [edi + 0x88]
push dword [edi + 0x8c]
call fcn.1010c860
mov edx, dword [edi]
add esp, 0x1c
test byte [edi + 0x10], 1
mov esi, dword [ebx + 4]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
lea ebx, [esi + ebp*8]
mov dword [esp + 0x20], ebx
jne 0x1009ebf6
test dword [edx + 4], 0x7fff0000
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x14], eax
jne 0x1009eb64
test dword [edx + 8], 0x8000
jne 0x1009eb64
cmp esi, ebx
jae 0x1009ebf6
mov eax, dword [esi]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x10]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esi], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 4], eax
add esi, 8
cmp esi, ebx
jb 0x1009eaf2
jmp 0x1009ebf6
mov ebx, dword [esp + 0x1c]
cmp esi, dword [esp + 0x20]
jae 0x1009ebf6
mov edi, dword [esp + 0x20]
mov eax, dword [ebx]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
add eax, 0x20
sar eax, 6
mov dword [esi], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
lea ebx, [ebx + 8]
add eax, 0x20
sar eax, 6
mov dword [esi + 4], eax
add esi, 8
cmp esi, edi
jb 0x1009eb76
mov edi, dword [esp + 0x38]
mov eax, dword [edi]
mov ebx, dword [edi + 0x10]
test byte [eax + 0x2e4], 2
je 0x1009ec7a
test bl, 2
jne 0x1009ec7a
mov eax, dword [edi + 0x44]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x10]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [edi + 0x44], eax
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x10]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov ebx, dword [edi + 0x10]
mov edx, dword [esp + 0x24]
mov dword [edi + 0x4c], eax
jmp 0x1009eca0
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 4]
mov ecx, dword [eax + ebp*8 - 0x20]
mov eax, dword [eax + ebp*8 - 0x1c]
mov dword [edi + 0x44], ecx
mov dword [edi + 0x48], eax
mov eax, dword [edx + 4]
mov ecx, dword [eax + ebp*8 - 0x18]
mov eax, dword [eax + ebp*8 - 0x14]
mov dword [edi + 0x4c], ecx
mov dword [edi + 0x50], eax
mov eax, dword [edi]
test byte [eax + 0x2e4], 0x10
je 0x1009ed9c
test bl, 2
jne 0x1009ed9c
mov eax, dword [edi + 0xb4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x10]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [edi + 0xb4], eax
mov eax, dword [edi + 0xb8]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [edi + 0xb8], eax
mov eax, dword [edi + 0xbc]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x10]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [edi + 0xbc], eax
mov eax, dword [edi + 0xc0]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
jmp 0x1009edc4
mov eax, dword [edx + 4]
mov ecx, dword [eax + ebp*8 - 0x10]
mov eax, dword [eax + ebp*8 - 0xc]
mov dword [edi + 0xb4], ecx
mov dword [edi + 0xb8], eax
mov eax, dword [edx + 4]
mov ecx, dword [eax + ebp*8 - 8]
mov eax, dword [eax + ebp*8 - 4]
mov dword [edi + 0xbc], ecx
test byte [edi + 0x10], 2
mov dword [edi + 0xc0], eax
jne 0x1009ede7
add word [edi + 0x80], 4
push 0
push edi
call fcn.1009cfc0
add esp, 8
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x1c]
push esi
push dword [esp + 0x2c]
call fcn.1008e770
mov eax, dword [esp + 0x20]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret