Function at 0x100941f0
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 0x10094239
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 [0x5be9778]
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 [0x5be9740]
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 0x100942ef
call dword [0x5be9750]
jmp 0x100942f5
call dword [0x5be9764]
add esp, 0x10
test eax, eax
jle 0x100943a5
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.1007b650
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 0x1009434a
call dword [0x5be9758]
jmp 0x10094350
call dword [0x5be975c]
mov eax, dword [esp + 0x3c]
add esp, 0x10
test eax, eax
je 0x100943a0
push edi
call dword [0x5be98b4]
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 0x1009437e
xor ecx, edx
shr edx, 1
je 0x10094386
or ecx, edx
jmp 0x10094373
add ecx, 0x30
shr ecx, 6
push ecx
push ebx
push edi
call dword [0x5be98bc]
lea eax, [eax + eax*4]
add esp, 0xc
shr eax, 7
jmp 0x100943ff
push 0x10
push ebx
jmp 0x100943f5
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x34], 0
test eax, eax
je 0x100943ee
push edi
call dword [0x5be98b4]
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 0x100943d8
xor ecx, edx
shr edx, 1
je 0x100943e0
or ecx, edx
jmp 0x100943cd
add ecx, 0x30
shr ecx, 6
push ecx
push 0x5b46218
jmp 0x1009438e
push 0x10
push 0x5b46218
push edi
call dword [0x5be9894]
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 0x100946ec
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 0x10094231
mov eax, dword [esp + 0x10]
mov ecx, 0x5b40b7c
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 [0x5be9778]
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 [0x5be9740]
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 0x1009451d
call dword [0x5be9750]
jmp 0x10094523
call dword [0x5be9764]
add esp, 0x10
test eax, eax
jle 0x100945c9
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.1007b650
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 0x1009456e
call dword [0x5be9758]
jmp 0x10094574
call dword [0x5be975c]
mov eax, dword [esp + 0x44]
add esp, 0x10
test eax, eax
je 0x100945c4
push edi
call dword [0x5be98b4]
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 0x100945a2
xor ecx, edx
shr edx, 1
je 0x100945aa
or ecx, edx
jmp 0x10094597
add ecx, 0x30
shr ecx, 6
push ecx
push ebx
push edi
call dword [0x5be98bc]
lea eax, [eax + eax*4]
add esp, 0xc
shr eax, 7
jmp 0x1009461c
push 0x10
push ebx
jmp 0x10094612
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], 0
test eax, eax
je 0x1009460b
push edi
call dword [0x5be98b4]
imul eax, dword [esp + 0x34]
add eax, eax
push eax
call fcn.10094860
add eax, 0x30
shr eax, 6
push eax
push 0x5b46218
push edi
call dword [0x5be98bc]
lea eax, [eax + eax*4]
add esp, 0x14
shr eax, 7
jmp 0x1009461c
push 0x10
push 0x5b46218
push edi
call dword [0x5be9894]
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 0x10094642
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 [0x5be9778]
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.10094700
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 + 0x5b72d8c]
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