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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, ecx
mov dword [ebp - 8], ebx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x14], esi
mov ecx, dword [esi + 0x118]
mov eax, ecx
cdq
add eax, edi
mov dword [ebp - 4], edi
adc edx, ebx
test edx, edx
ja 0x1009f057
jb 0x1009efac
cmp eax, 0x200
jae 0x1009f057
sar ecx, 3
lea eax, [esi + 0xd8]
mov dword [ebp - 0x10], eax
mov eax, ecx
cdq
mov ecx, edi
mov dword [ebp - 0x18], eax
and ecx, 7
mov eax, edi
mov dword [ebp - 0x20], edx
shrd eax, ebx, 3
shr ebx, 3
or ecx, 0
mov dword [ebp + 0x10], eax
je 0x1009efe0
add eax, 1
mov dword [ebp + 0x10], eax
adc ebx, 0
xor ecx, ecx
test ebx, ebx
jb 0x1009f012
ja 0x1009efec
test eax, eax
je 0x1009f012
mov esi, dword [ebp - 0x18]
add esi, dword [ebp - 0x10]
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov al, byte [ecx + eax]
mov byte [esi + ecx], al
inc ecx
mov eax, ecx
cdq
cmp edx, ebx
jb 0x1009eff5
ja 0x1009f00c
cmp eax, edi
jb 0x1009eff5
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 4]
add dword [esi + 0x118], edi
mov eax, dword [esi + 0x118]
mov esi, eax
and esi, 0x80000007
jns 0x1009f02d
dec esi
or esi, 0xfffffff8
inc esi
je 0x1009f57c
sar eax, 3
mov ecx, 8
cdq
sub ecx, esi
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x10]
add edx, eax
or al, 0xff
pop edi
shl al, cl
pop esi
and byte [edx], al
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 4]
cdq
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
test ecx, ecx
jle 0x1009f46f
cmp dword [esi + 0x120], 0
jne 0x1009f130
mov ecx, dword [esi + 0xc8]
mov eax, dword [esi + 0xcc]
add ecx, 1
mov dword [esi + 0x120], 1
mov dword [esi + 0x48], ecx
adc eax, 0
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x90]
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x94]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x98]
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x9c]
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0xa0]
mov dword [esi + 0x60], eax
mov eax, dword [esi + 0xa4]
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0xa8]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0xac]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0xb0]
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0xb4]
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0xb8]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0xbc]
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0xc0]
mov dword [esi + 0x80], eax
mov eax, dword [esi + 0xc4]
mov dword [esi + 0x84], eax
mov dword [esi + 0xd0], 0
mov dword [esi + 0xd4], 0
mov eax, dword [esi + 0x118]
sar eax, 3
cdq
mov ecx, eax
mov dword [ebp - 0x20], edx
mov edx, dword [ebp + 8]
mov eax, 0x40
sub eax, ecx
mov dword [ebp - 0x18], ecx
xor ecx, ecx
mov dword [ebp - 8], eax
test eax, eax
jle 0x1009f178
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 8]
add eax, 0xd8
add eax, esi
mov ebx, eax
mov al, byte [ecx + edx]
mov byte [ebx + ecx], al
inc ecx
cmp ecx, edi
jl 0x1009f164
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 8]
push dword [ebp - 0xc]
add edx, eax
lea ecx, [esi + 0xd8]
push dword [ebp - 0x10]
shl eax, 3
mov dword [ebp + 8], edx
cdq
push 0
sub edi, eax
lea eax, [esi + 0x48]
push 1
push ecx
sbb ebx, edx
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 8], ebx
call fcn.10161da0
add esp, 0x18
mov dword [esi + 0x118], 0
add dword [esi + 0xd0], 0x200
mov eax, dword [esi + 0xd0]
adc dword [esi + 0xd4], 0
and eax, 0xfffffff8
cmp eax, 0x800000
jne 0x1009f1e7
cmp dword [esi + 0xd4], 0
jne 0x1009f1e7
lea eax, [esi + 0x48]
mov ecx, esi
push eax
call fcn.1009e910
mov ecx, dword [ebp + 8]
mov eax, edi
and eax, 0x1ff
mov dword [ebp + 0x10], eax
je 0x1009f280
cdq
sub edi, eax
mov dword [ebp - 4], edi
sbb ebx, edx
mov edx, edi
mov eax, ebx
mov dword [ebp - 8], ebx
shrd edx, eax, 3
xor edi, edi
shr eax, 3
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
mov edx, eax
sar edx, 3
test edx, edx
jle 0x1009f245
mov ebx, dword [ebp - 0x14]
add ebx, ecx
lea esp, [esp]
mov al, byte [ebx + edi]
mov byte [edi + esi + 0xd8], al
inc edi
cmp edi, edx
jl 0x1009f230
mov ebx, dword [ebp - 8]
mov eax, dword [ebp + 0x10]
mov edx, eax
and edx, 0x80000007
jns 0x1009f254
dec edx
or edx, 0xfffffff8
inc edx
je 0x1009f277
mov eax, dword [ebp - 0x14]
mov ecx, 8
sub ecx, edx
add eax, edi
or dl, 0xff
shl dl, cl
mov ecx, dword [ebp + 8]
and dl, byte [eax + ecx]
mov eax, dword [ebp + 0x10]
mov byte [edi + esi + 0xd8], dl
mov edi, dword [ebp - 4]
mov dword [esi + 0x118], eax
mov eax, edi
or eax, ebx
je 0x1009f57c
mov edx, dword [esi + 0xd0]
mov eax, dword [esi + 0xd4]
add edx, edi
adc eax, ebx
mov dword [ebp + 0x10], eax
jne 0x1009f2ab
cmp edx, 0x800000
jb 0x1009f47a
mov eax, 0x800000
mov edx, 0
sub eax, dword [esi + 0xd0]
sbb edx, dword [esi + 0xd4]
shrd eax, edx, 9
shr edx, 9
cmp dword [esi + 0x120], 0
mov dword [ebp + 0x10], eax
mov dword [ebp - 0x18], edx
je 0x1009f314
push dword [ebp - 0xc]
lea edi, [esi + 0x48]
push dword [ebp - 0x10]
push edx
push eax
push ecx
push edi
call fcn.10161da0
mov ecx, dword [ebp + 0x10]
add esp, 0x18
mov eax, ecx
shl eax, 6
add dword [ebp + 8], eax
mov eax, dword [ebp - 0x18]
shld eax, ecx, 9
push edi
shl ecx, 9
sub dword [ebp - 4], ecx
mov ecx, esi
sbb ebx, eax
mov dword [ebp - 8], ebx
call fcn.1009e910
mov edi, dword [ebp - 4]
mov eax, edi
mov ecx, ebx
shrd eax, ecx, 3
push 0
shr ecx, 3
mov dword [ebp + 0x10], ecx
mov ecx, eax
and ecx, 0xfffff
sub eax, ecx
cdq
push 0x100000
push edx
push eax
call fcn.101c86f0
mov ecx, eax
mov dword [ebp + 0x10], ecx
test ecx, ecx
jle 0x1009f47a
mov eax, dword [esi + 0xc8]
add eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0xcc]
adc eax, 0
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x14], eax
test ecx, ecx
jle 0x1009f44d
mov ecx, dword [ebp + 8]
lea edi, [esi + 0x48]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x18], ecx
lea esp, [esp]
cdq
add eax, dword [ebp - 0x1c]
mov dword [edi], eax
adc edx, dword [ebp - 0x20]
mov dword [edi + 4], edx
mov eax, dword [esi + 0x90]
push dword [ebp - 0xc]
mov dword [edi + 8], eax
mov eax, dword [esi + 0x94]
push dword [ebp - 0x10]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x98]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x9c]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0xa0]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0xa4]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0xa8]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0xac]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0xb0]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0xb4]
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0xb8]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0xbc]
push 0
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0xc0]
push 0x4000
push ecx
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0xc4]
push edi
mov dword [edi + 0x3c], eax
call fcn.10161da0
add esp, 0x18
mov ecx, esi
push edi
call fcn.1009e910
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
inc eax
add ecx, 0x100000
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
cmp eax, ebx
jl 0x1009f380
mov ebx, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
mov eax, ecx
cdq
push 0xff800000
push edx
push eax
call fcn.101c8330
add edi, eax
mov eax, dword [ebp + 0x10]
adc ebx, edx
mov edx, dword [ebp + 8]
shl eax, 0x14
add edx, eax
jmp 0x1009f47d
mov ecx, dword [ebp + 8]
mov dword [ebp + 8], ecx
jmp 0x1009f1ea
mov edx, dword [ebp + 8]
test ebx, ebx
jne 0x1009f489
test edi, edi
je 0x1009f57c
cmp dword [esi + 0x120], 0
jne 0x1009f550
mov ecx, dword [esi + 0xc8]
mov eax, dword [esi + 0xcc]
add ecx, 1
mov dword [esi + 0x120], 1
mov dword [esi + 0x48], ecx
adc eax, 0
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x90]
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x94]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x98]
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x9c]
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0xa0]
mov dword [esi + 0x60], eax
mov eax, dword [esi + 0xa4]
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0xa8]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0xac]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0xb0]
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0xb4]
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0xb8]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0xbc]
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0xc0]
mov dword [esi + 0x80], eax
mov eax, dword [esi + 0xc4]
mov dword [esi + 0x84], eax
mov dword [esi + 0xd0], 0
mov dword [esi + 0xd4], 0
push dword [ebp - 0xc]
mov ecx, edi
mov eax, ebx
push dword [ebp - 0x10]
shrd ecx, eax, 9
shr eax, 9
push eax
push ecx
push edx
lea eax, [esi + 0x48]
push eax
call fcn.10161da0
add esp, 0x18
add dword [esi + 0xd0], edi
adc dword [esi + 0xd4], ebx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc