Function at 0x101e19a0
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 0x101e19e9
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 [0x104d834c]
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 [0x104d82d4]
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 0x101e1a9f
call dword [0x104d8308]
jmp 0x101e1aa5
call dword [0x104d8328]
add esp, 0x10
test eax, eax
jle 0x101e1b55
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.10139193
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 0x101e1afa
call dword [0x104d8310]
jmp 0x101e1b00
call dword [0x104d8314]
mov eax, dword [esp + 0x3c]
add esp, 0x10
test eax, eax
je 0x101e1b50
push edi
call dword [0x104d84f4]
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 0x101e1b2e
xor ecx, edx
shr edx, 1
je 0x101e1b36
or ecx, edx
jmp 0x101e1b23
add ecx, 0x30
shr ecx, 6
push ecx
push ebx
push edi
call dword [0x104d84fc]
lea eax, [eax + eax*4]
add esp, 0xc
shr eax, 7
jmp 0x101e1baf
push 0x10
push ebx
jmp 0x101e1ba5
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x34], 0
test eax, eax
je 0x101e1b9e
push edi
call dword [0x104d84f4]
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 0x101e1b88
xor ecx, edx
shr edx, 1
je 0x101e1b90
or ecx, edx
jmp 0x101e1b7d
add ecx, 0x30
shr ecx, 6
push ecx
push 0x103ee0e8
jmp 0x101e1b3e
push 0x10
push 0x103ee0e8
push edi
call dword [0x104d84d4]
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 0x101e1e9c
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 0x101e19e1
mov eax, dword [esp + 0x10]
mov ecx, 0x103e76e4
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 [0x104d834c]
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 [0x104d82d4]
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 0x101e1ccd
call dword [0x104d8308]
jmp 0x101e1cd3
call dword [0x104d8328]
add esp, 0x10
test eax, eax
jle 0x101e1d79
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.10139193
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 0x101e1d1e
call dword [0x104d8310]
jmp 0x101e1d24
call dword [0x104d8314]
mov eax, dword [esp + 0x44]
add esp, 0x10
test eax, eax
je 0x101e1d74
push edi
call dword [0x104d84f4]
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 0x101e1d52
xor ecx, edx
shr edx, 1
je 0x101e1d5a
or ecx, edx
jmp 0x101e1d47
add ecx, 0x30
shr ecx, 6
push ecx
push ebx
push edi
call dword [0x104d84fc]
lea eax, [eax + eax*4]
add esp, 0xc
shr eax, 7
jmp 0x101e1dcc
push 0x10
push ebx
jmp 0x101e1dc2
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], 0
test eax, eax
je 0x101e1dbb
push edi
call dword [0x104d84f4]
imul eax, dword [esp + 0x34]
add eax, eax
push eax
call fcn.101e21c0
add eax, 0x30
shr eax, 6
push eax
push 0x103ee0e8
push edi
call dword [0x104d84fc]
lea eax, [eax + eax*4]
add esp, 0x14
shr eax, 7
jmp 0x101e1dcc
push 0x10
push 0x103ee0e8
push edi
call dword [0x104d84d4]
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 0x101e1df2
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 [0x104d834c]
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.101e2000
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 + 0x1042ce84]
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