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

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
mov esi, dword [esp + 0x40]
push edi
xor edx, edx
mov edi, dword [esi + 0x154]
lea ebx, [esi + 0x170]
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
lea eax, [edi + 0x80]
mov dword [esp + 0x20], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x28], 5
mov dword [esp + 0x24], ebx
jmp 0x100940a9
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov eax, dword [esi + 0xd0]
mov ecx, edx
shr ecx, 1
imul ecx, eax
push eax
imul eax, dword [esp + 0x54]
mov ebp, dword [esp + 0x50]
and edx, 1
add ecx, edx
mov edx, dword [esp + 0x4c]
add eax, ebp
mov ebp, dword [edx]
shl eax, 4
shl ecx, 3
add eax, ebp
add eax, ecx
push eax
mov eax, dword [esi + 0xb8]
add eax, ecx
push eax
push edi
call dword [0x10198798]
mov ecx, dword [esi + 0x1a4]
mov edx, dword [ebx + 0x1c]
mov eax, dword [esi + 0x188]
mov ebp, dword [esi + 0x15c]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0x16c]
mov dword [esp + 0x40], edx
mov edx, dword [ebx]
mov ebx, dword [esi + 0x154]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x168]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x158]
push edi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x30], ecx
add ebx, 0x100
call dword [0x10198760]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x58]
add esp, 0x14
test ebp, ebp
push edx
push eax
push edi
push ecx
je 0x1009415f
call dword [0x10198770]
jmp 0x10094165
call dword [0x10198784]
add esp, 0x10
test eax, eax
jle 0x10094215
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x44]
or eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push eax
push ecx
call fcn.1007b4b0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x4c]
shl eax, 4
add esp, 8
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x1c]
push edx
push eax
push ecx
push ebx
test ebp, ebp
je 0x100941ba
call dword [0x10198778]
jmp 0x100941c0
call dword [0x1019877c]
mov eax, dword [esp + 0x3c]
add esp, 0x10
test eax, eax
je 0x10094210
push edi
call dword [0x101988d4]
imul eax, dword [esp + 0x34]
mov edx, 0x8000
add esp, 4
add eax, eax
mov ecx, edx
mov ebp, ecx
imul ebp, ecx
cmp ebp, eax
jbe 0x100941ee
xor ecx, edx
shr edx, 1
je 0x100941f6
or ecx, edx
jmp 0x100941e3
add ecx, 0x30
shr ecx, 6
push ecx
push ebx
push edi
call dword [0x101988dc]
lea eax, [eax + eax*4]
add esp, 0xc
shr eax, 7
jmp 0x1009426f
push 0x10
push ebx
jmp 0x10094265
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x34], 0
test eax, eax
je 0x1009425e
push edi
call dword [0x101988d4]
imul eax, dword [esp + 0x34]
mov edx, 0x8000
add esp, 4
add eax, eax
mov ecx, edx
mov ebx, ecx
imul ebx, ecx
cmp ebx, eax
jbe 0x10094248
xor ecx, edx
shr edx, 1
je 0x10094250
or ecx, edx
jmp 0x1009423d
add ecx, 0x30
shr ecx, 6
push ecx
push 0x100f5218
jmp 0x100941fe
push 0x10
push 0x100f5218
push edi
call dword [0x101988b4]
add esp, 0xc
imul eax, dword [esp + 0x38]
xor edx, edx
mov ebp, dword [esp + 0x34]
div dword [esp + 0x3c]
mov ecx, dword [esi + 0x10]
mov edx, eax
mov eax, dword [esp + 0x14]
add edx, ebp
add eax, edx
cmp eax, ecx
mov dword [esp + 0x14], eax
jge 0x1009455c
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
inc eax
add ebx, 4
dec edx
cmp eax, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edx
jb 0x100940a1
mov eax, dword [esp + 0x10]
mov ecx, 0x100efb7c
shr eax, 2
shl eax, 3
sub ecx, eax
mov eax, dword [esi + 0xd0]
shr eax, 1
push eax
imul eax, dword [esp + 0x54]
mov ebp, dword [esp + 0x18]
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [esp + 0x50]
sub edx, 2
add eax, ecx
mov ecx, dword [esp + 0x4c]
shl edx, 4
add ebp, edx
mov edx, dword [ecx + 4]
mov ecx, dword [esi + 0xbc]
mov dword [esp + 0x18], ebp
lea eax, [edx + eax*8]
push eax
push ecx
push edi
call dword [0x10198798]
mov edx, dword [esi + 0x1a4]
mov eax, dword [esi + 0x19c]
mov ecx, dword [esi + 0x188]
mov ebx, dword [esi + 0x154]
mov ebp, dword [esi + 0x15c]
mov dword [esp + 0x44], edx
mov edx, dword [esi + 0x16c]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x180]
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 0x168]
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0x158]
push edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x2c], edx
add ebx, 0x100
call dword [0x10198760]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x58]
add esp, 0x14
test ebp, ebp
push eax
push ecx
push edi
push edx
je 0x1009438d
call dword [0x10198770]
jmp 0x10094393
call dword [0x10198784]
add esp, 0x10
test eax, eax
jle 0x10094439
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
or edx, 2
push eax
push ecx
mov dword [esp + 0x18], edx
call fcn.1007b4b0
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
shl eax, 4
add esp, 8
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
push edx
push eax
push ecx
push ebx
test ebp, ebp
je 0x100943de
call dword [0x10198778]
jmp 0x100943e4
call dword [0x1019877c]
mov eax, dword [esp + 0x44]
add esp, 0x10
test eax, eax
je 0x10094434
push edi
call dword [0x101988d4]
imul eax, dword [esp + 0x34]
mov edx, 0x8000
add esp, 4
add eax, eax
mov ecx, edx
mov ebp, ecx
imul ebp, ecx
cmp ebp, eax
jbe 0x10094412
xor ecx, edx
shr edx, 1
je 0x1009441a
or ecx, edx
jmp 0x10094407
add ecx, 0x30
shr ecx, 6
push ecx
push ebx
push edi
call dword [0x101988dc]
lea eax, [eax + eax*4]
add esp, 0xc
shr eax, 7
jmp 0x1009448c
push 0x10
push ebx
jmp 0x10094482
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], 0
test eax, eax
je 0x1009447b
push edi
call dword [0x101988d4]
imul eax, dword [esp + 0x34]
add eax, eax
push eax
call fcn.100946d0
add eax, 0x30
shr eax, 6
push eax
push 0x100f5218
push edi
call dword [0x101988dc]
lea eax, [eax + eax*4]
add esp, 0x14
shr eax, 7
jmp 0x1009448c
push 0x10
push 0x100f5218
push edi
call dword [0x101988b4]
add esp, 0xc
imul eax, dword [esp + 0x38]
xor edx, edx
mov ebx, dword [esp + 0x14]
div dword [esp + 0x28]
add eax, dword [esp + 0x2c]
add ebx, eax
mov eax, dword [esi + 0x10]
cmp ebx, eax
jl 0x100944b2
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x30
ret
mov eax, dword [esi + 0xd0]
mov ecx, dword [esp + 0x4c]
shr eax, 1
push eax
imul eax, dword [esp + 0x54]
mov edx, dword [esp + 0x4c]
add eax, ecx
mov ecx, dword [edx + 8]
lea edx, [ecx + eax*8]
mov eax, dword [esi + 0xc0]
push edx
push eax
push edi
call dword [0x10198798]
mov ecx, dword [esi + 0x1a4]
mov edx, dword [esi + 0x1a0]
mov eax, dword [esi + 0x188]
push ecx
mov ecx, dword [esi + 0x16c]
push edx
mov edx, dword [esi + 0x184]
push eax
mov eax, dword [esi + 0x168]
push ecx
push edx
mov edx, dword [esi + 0x15c]
push eax
mov eax, dword [esi + 0x158]
lea ecx, [esp + 0x38]
push 5
push ecx
mov ecx, dword [esi + 0x154]
push edx
mov edx, dword [esp + 0x78]
add ecx, 0x100
push eax
push ecx
push edi
push edx
call fcn.10094570
mov ecx, dword [esp + 0x54]
add ebx, eax
mov eax, ecx
xor edx, edx
and eax, 3
add esp, 0x44
shl eax, 6
mov dl, byte [eax + 0x10121cbc]
mov dword [esi + 0x160], ecx
shl edx, 4
lea eax, [ebx + edx - 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret