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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x1c]
xor edx, edx
push esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x30], eax
push edi
lea eax, [esp + 0x14]
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
call fcn.004e9143
test al, al
je 0x45e524
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x18]
lea esi, [esp + 0x3c]
call fcn.004e9168
mov esi, eax
mov eax, dword [ebp + 0x10]
neg eax
mov dword [esp + 0x14], eax
lea edi, [esp + 0x28]
movsd dword es:[edi], dword [esi]
mov eax, ebx
neg eax
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
sub ecx, dword [ebp + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub eax, ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x28]
movsd dword es:[edi], dword [esi]
call fcn.004e9143
test al, al
je 0x45e524
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x18]
lea esi, [esp + 0x3c]
call fcn.004e9168
mov esi, eax
lea edi, [esp + 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x28]
movsd dword es:[edi], dword [esi]
call fcn.004e9129
test al, al
jne 0x45e524
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 4]
and dword [esp + 0x38], 0
and dword [esp + 0x3c], 0
mov dword [esp + 0x40], eax
mov eax, dword [ecx + 8]
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
add eax, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x1c]
add eax, ebx
mov dword [esp + 0x20], eax
lea eax, [esp + 0x38]
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], ebx
call fcn.004e9143
test al, al
je 0x45e524
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x3c]
lea esi, [esp + 0xac]
call fcn.004e9168
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov esi, eax
mov eax, dword [ebp + 0x10]
lea edi, [esp + 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add edx, eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x14]
movsd dword es:[edi], dword [esi]
add ecx, ebx
push eax
lea eax, [esp + 0x3c]
lea esi, [esp + 0xac]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ecx
call fcn.004e9168
mov esi, eax
lea edi, [esp + 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x14]
movsd dword es:[edi], dword [esi]
call fcn.004e9129
test al, al
jne 0x45e524
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
push 0
push eax
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
lea edi, [esp + 0x58]
push eax
push dword [esp + 0x38]
mov eax, dword [ebp + 8]
push dword [esp + 0x38]
call fcn.0045f30d
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
mov esi, dword [ebp + 0xc]
push eax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x84]
push dword [esp + 0x20]
call fcn.0045f9de
mov ebx, 0xff
mov byte [esp + 0x12], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x10], 0
mov byte [esp + 0x13], bl
jmp 0x45e516
mov eax, dword [esp + 0x8c]
cmp eax, dword [esp + 0x78]
jae 0x45e524
lea edx, [esp + 0x50]
lea ecx, [esp + 0x48]
call dword [esp + 0x70]
mov eax, dword [eax]
lea edx, [esp + 0x78]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x24], eax
call dword [esp + 0x98]
mov eax, dword [eax]
movzx esi, byte [esp + 0x27]
mov dword [esp + 0x10], eax
shr eax, 0x18
mov cl, bl
sub cl, byte [esp + 0x27]
add eax, esi
cmp eax, ebx
mov byte [esp + 0x13], bl
jg 0x45e4a3
mov byte [esp + 0x13], al
movzx edx, byte [esp + 0x12]
movzx eax, byte [esp + 0x26]
imul eax, esi
movzx ecx, cl
imul edx, ecx
add eax, edx
cdq
mov edi, ebx
idiv edi
movzx edx, byte [esp + 0x11]
imul edx, ecx
mov byte [esp + 0x12], al
movzx eax, byte [esp + 0x25]
imul eax, esi
add eax, edx
cdq
idiv edi
movzx edx, byte [esp + 0x10]
imul edx, ecx
mov ecx, ebx
mov byte [esp + 0x11], al
movzx eax, byte [esp + 0x24]
imul eax, esi
add eax, edx
cdq
idiv ecx
lea edx, [esp + 0x10]
lea ecx, [esp + 0x78]
mov byte [esp + 0x10], al
call dword [esp + 0xa0]
lea eax, [esp + 0x78]
call fcn.0045f94a
lea eax, [esp + 0x50]
call fcn.0045f94a
mov eax, dword [esp + 0x64]
cmp eax, dword [esp + 0x50]
jb 0x45e44f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18