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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x730
mov edi, ecx
mov ebx, edx
mov ebp, eax
mov ecx, dword [esp + 0x768]
mov esi, dword [ebp + 0xbc]
mov dword [esp + 4], esi
shr esi, 1
test ecx, ecx
mov dword [esp + 8], esi
je 0x1000e52a
mov esi, 0x10
jmp 0x1000e52f
mov esi, 8
mov ecx, dword [esp + 4]
imul esi, ecx
mov edx, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0xc], esi
mov esi, dword [ebx + 0xf0]
mov dword [esp], esi
shl edx, 4
add edx, dword [ebp + 0xc4]
mov esi, dword [esp + 0x750]
mov dword [esp + 0x10], edx
mov eax, esi
shl eax, 4
imul eax, ecx
mov dword [esp + 0x14], eax
lea eax, [edx + eax]
mov edx, dword [ebp + 0xc8]
mov dword [esp + 0x18], eax
lea eax, [edi + edi]
add eax, eax
add eax, eax
lea edi, [esi + esi]
mov esi, dword [esp + 8]
add edi, edi
add edi, edi
imul edi, esi
add edx, eax
add edx, edi
mov dword [esp + 0x1c], edx
mov edx, dword [ebp + 0xcc]
add edx, eax
mov eax, dword [ebx + 0x1ac]
add edx, edi
mov edi, dword [ebx + 0x1b0]
mov dword [esp + 0x20], edx
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edi
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edi
mov dword [ebx], eax
mov dword [ebx + 4], edi
lea eax, [ebp + 0x16c]
lea edi, [ebp + 0xd0]
lea edx, [ebp + 0xc4]
push edx
push dword [esp + 0x768]
push dword [ebp + 0x18]
push esi
push ecx
mov ecx, dword [esp + 0x764]
push ecx
mov ecx, dword [esp + 0x3c]
push ecx
push edi
push eax
mov esi, dword [esp + 0x30]
call fcn.1005596c
add esp, 0x24
mov ecx, dword [esp + 0x754]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
mov dword [ebx + 0x1ac], eax
mov dword [ebx + 0x1b0], edx
lea ecx, [ecx + 4]
mov edi, 1
shl edi, cl
mov ecx, edi
neg ecx
cmp eax, ecx
jl 0x1000e634
cmp eax, edi
jl 0x1000e636
lea eax, [edi - 1]
jmp 0x1000e636
mov eax, ecx
mov dword [ebx + 0x1ac], eax
mov eax, dword [ebx + 0x1b0]
cmp eax, ecx
jl 0x1000e651
cmp eax, edi
jl 0x1000e64f
lea ecx, [edi - 1]
jmp 0x1000e651
mov ecx, eax
mov edi, dword [ebx + 0x1ac]
mov dword [ebx + 0x1b0], ecx
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x1c], ecx
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], ecx
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], ecx
mov dword [ebx], edi
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x758]
test ecx, ecx
jne 0x1000e68a
add esp, 0x730
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [esp + 0xc], esi
xor edi, edi
mov bl, 5
mov edx, dword [ebp + 0x88]
test edx, edx
je 0x1000e6a3
mov edx, 2
jmp 0x1000e6a5
xor edx, edx
mov eax, dword [esp + 0x758]
mov esi, 1
mov cl, bl
shl esi, cl
test esi, eax
je 0x1000e795
lea ecx, [esp + 0x6f]
and ecx, 0xffffffc0
lea esi, [edi + edi]
add esi, esi
add esi, esi
add esi, esi
add esi, esi
add esi, esi
add esi, esi
add ecx, esi
xor eax, eax
mov dword [ecx], eax
mov dword [esp + 0x24], ecx
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], eax
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], eax
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], eax
mov dword [ecx + 0x40], eax
mov dword [ecx + 0x44], eax
mov dword [ecx + 0x48], eax
mov dword [ecx + 0x4c], eax
mov dword [ecx + 0x50], eax
mov dword [ecx + 0x54], eax
mov dword [ecx + 0x58], eax
mov dword [ecx + 0x5c], eax
mov dword [ecx + 0x60], eax
mov dword [ecx + 0x64], eax
mov dword [ecx + 0x68], eax
mov dword [ecx + 0x6c], eax
mov dword [ecx + 0x70], eax
mov dword [ecx + 0x74], eax
mov dword [ecx + 0x78], eax
mov dword [ecx + 0x7c], eax
push edx
mov edx, ecx
push edx
push dword [esp + 0x764]
call fcn.10038f5c
add esp, 0xc
lea eax, [esp + 0x3ef]
mov edx, dword [ebp + 0x14]
test edx, edx
jne 0x1000e775
mov edx, dword [esp]
push edx
mov edx, dword [esp + 0x28]
and eax, 0xffffffc0
add esi, eax
push edx
push esi
call dword [0x1031e448]
add esp, 0xc
jmp 0x1000e78d
mov edx, dword [esp]
push edx
mov edx, dword [esp + 0x28]
and eax, 0xffffffc0
add esi, eax
push edx
push esi
call dword [0x1031e434]
add esp, 0xc
push esi
call dword [0x1031e450]
pop ecx
add bl, 0xff
add edi, 1
cmp edi, 6
jb 0x1000e692
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x758]
test al, 0x20
je 0x1000e7d1
mov ecx, dword [esp + 4]
lea edx, [esp + 0x3ef]
push ecx
and edx, 0xffffffc0
push edx
mov eax, dword [esp + 0x20]
push eax
call dword [0x1031e3b8]
add esp, 0xc
mov eax, dword [esp + 0x758]
test al, 0x10
je 0x1000e808
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 4]
lea edx, [esp + 0x3ef]
lea eax, [ebp + ebx + 8]
and edx, 0xffffffc0
push ecx
add edx, 0x80
push edx
push eax
call dword [0x1031e3b8]
add esp, 0xc
mov eax, dword [esp + 0x758]
test al, 8
je 0x1000e83a
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 4]
lea edx, [esp + 0x3ef]
push ecx
lea eax, [esi + ebx]
and edx, 0xffffffc0
add edx, 0x100
push edx
push eax
call dword [0x1031e3b8]
add esp, 0xc
mov eax, dword [esp + 0x758]
test al, 4
je 0x1000e86c
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 4]
lea eax, [esp + 0x3ef]
push edx
lea esi, [esi + ecx + 8]
and eax, 0xffffffc0
add eax, 0x180
push eax
push esi
call dword [0x1031e3b8]
add esp, 0xc
mov eax, dword [esp + 0x758]
test al, 2
je 0x1000e89b
mov ecx, dword [esp + 8]
lea edx, [esp + 0x3ef]
push ecx
and edx, 0xffffffc0
add edx, 0x200
push edx
mov eax, dword [esp + 0x24]
push eax
call dword [0x1031e3b8]
add esp, 0xc
mov eax, dword [esp + 0x758]
test al, 1
je 0x1000e8ca
mov ecx, dword [esp + 8]
lea edx, [esp + 0x3ef]
push ecx
and edx, 0xffffffc0
add edx, 0x280
push edx
mov eax, dword [esp + 0x28]
push eax
call dword [0x1031e3b8]
add esp, 0xc
add esp, 0x730
pop ebx
pop ebp
pop esi
pop edi
ret