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

Disassembly:
sub esp, 0xa8
push ebx
mov ebx, dword [esp + 0xb0]
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
test eax, eax
push esi
mov esi, ecx
jle 0x100451a0
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 4]
test eax, eax
mov dword [esp + 8], eax
jle 0x100451a0
mov eax, dword [esi + 0x3c]
test eax, eax
push ebp
lea ecx, [eax + 1]
push edi
mov dword [esi + 0x3c], ecx
jne 0x10045016
push 0
mov dword [esp + 0x40], 0x7c
mov ecx, 0x1e
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x10]
mov edx, dword [eax]
push 0x801
lea ecx, [esp + 0x44]
push ecx
push 0
push eax
call dword [edx + 0x64]
test eax, eax
jge 0x10045002
dec dword [esi + 0x3c]
jmp 0x10045016
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x60]
mov ecx, dword [esi + 0x30]
mov dword [esi + 0x38], edx
mov dword [esi + 0x48], eax
mov dword [esi + 0x40], ecx
mov eax, dword [ebx + 8]
mov ecx, dword [ebx]
mov edx, dword [ebx + 0xc]
mov edi, dword [ebx + 4]
mov ebx, dword [esi + 0x38]
add eax, 0x1f
imul ebx, edi
mov dword [esp + 0x38], edx
and ecx, 0xffffffe0
and eax, 0xffffffe0
sub eax, ecx
cdq
and edx, 0x1f
add eax, edx
mov edx, dword [esi + 0x4c]
imul edx, edi
mov ebp, eax
mov eax, ecx
imul eax, dword [esi + 0x68]
mov edi, dword [esi + 0x78]
add ebx, eax
add ebx, dword [esi + 0x48]
mov eax, ecx
mov ecx, edx
cdq
and edx, 0x1f
add eax, edx
mov edx, dword [esi + 0x50]
sar eax, 5
add ecx, eax
lea eax, [edx + ecx*4]
mov cl, byte [esi + 0x87]
mov edx, dword [esi + 0x74]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x134]
and edi, eax
shr edi, cl
mov cl, byte [esi + 0x86]
and edx, eax
sar ebp, 5
shl edi, cl
mov cl, byte [esi + 0x85]
shr edx, cl
mov cl, byte [esi + 0x84]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x1c], ebx
shl edx, cl
mov cl, byte [esi + 0x83]
or edi, edx
mov edx, dword [esi + 0x70]
and edx, eax
shr edx, cl
mov cl, byte [esi + 0x82]
shl edx, cl
mov cl, byte [esi + 0x81]
or edi, edx
mov edx, dword [esi + 0x6c]
and edx, eax
mov eax, dword [esp + 0x10]
shr edx, cl
mov cl, byte [esi + 0x80]
mov dword [esp + 0x14], eax
shl edx, cl
mov ecx, dword [esi + 0x7c]
or edi, edx
or edi, ecx
and edi, 0xffffff
test ebp, ebp
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
jle 0x10045147
mov dword [esp + 0x10], ebp
xor ebp, ebp
mov dword [esp + 0x24], 0x20
mov ecx, ebx
call dword [esi + 0x8c]
mov ecx, dword [esi + 0x68]
and eax, 0xffffff
xor edx, edx
cmp eax, edi
setne dl
lea eax, [ebp + ebp]
add ebx, ecx
or edx, eax
mov eax, dword [esp + 0x24]
dec eax
mov ebp, edx
mov dword [esp + 0x24], eax
jne 0x10045100
mov eax, dword [esp + 0x20]
mov dword [eax], ebp
add eax, 4
mov dword [esp + 0x20], eax
dec dword [esp + 0x10]
jne 0x100450f6
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x4c]
mov edx, dword [esp + 0x18]
lea eax, [edx + ecx*4]
mov ecx, dword [esi + 0x38]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
add ebx, ecx
dec eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
jne 0x100450e6
cmp dword [esi + 0x3c], 1
pop edi
pop ebp
jne 0x1004519d
mov ecx, dword [esi + 0x40]
cmp ecx, dword [esi + 0x30]
je 0x1004518f
mov eax, dword [esi + 0x50]
test eax, eax
je 0x1004518f
lea edx, [esi + 0x54]
push edx
mov ecx, esi
call fcn.10044f90
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x80]
dec dword [esi + 0x3c]
pop esi
pop ebx
add esp, 0xa8
ret 4