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

Disassembly:
sub esp, 0x98
mov eax, ecx
mov dword [esp + 0x40], eax
push ebx
push ebp
mov ecx, dword [eax + 0xcfac]
mov ebp, edx
movzx eax, byte [eax + 0x31a]
push esi
mov esi, dword [esp + 0xa8]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xac]
push edi
mov dword [esp + 0x14], ecx
lea edi, [esp + 0x6c]
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x64], eax
xor eax, eax
mov ebx, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xb4]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0xb8]
sub eax, ecx
mov dword [esp + 0x68], ebp
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x58], ebx
mov dword [esp + 0xb4], eax
mov eax, dword [eax + ecx]
lea esi, [esp + 0x6c]
lea edi, [esp + 0x78]
mov dword [esp + 0x4c], eax
movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x78]
xor edx, edx
inc edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00460a96
push 0
lea edx, [esp + 0x64]
lea ecx, [esp + 0x94]
call fcn.0046093c
push dword [esp + 0x50]
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x34]
mov esi, dword [esp + 0x80]
sub esi, dword [esp + 0x74]
push dword [esp + 0xc4]
movzx edx, byte [eax + 0x31b]
shl esi, 6
push 0
mov dword [esp + 0x48], esi
call fcn.0045fb2c
mov ecx, dword [esp + 0xa0]
add esp, 0x10
sub ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
add edx, dword [esp + 0x18]
shl ecx, 6
add eax, ecx
and dword [esp + 0x3c], 0
add esi, eax
mov dword [esp + 0x24], eax
add esi, edi
mov eax, edx
mov ecx, esi
shr edx, 6
and ecx, 0x3f
shr esi, 6
imul ecx, dword [esp + 0x14]
and eax, 0x3f
imul esi, dword [esp + 0x14]
add eax, 0x20
add ecx, eax
xor eax, eax
shr ecx, 6
add ecx, esi
mov dword [esp + 0x1c], eax
add ecx, edx
inc eax
mov dword [esp + 0x34], ecx
cmp dword [esp + 0x54], eax
jbe 0x45f300
mov esi, dword [esp + 0x38]
lea ebx, [esp + 0x98]
add esi, edi
mov ebp, eax
mov edi, dword [esp + 0x18]
mov dword [esp + 0x48], esi
push ebp
lea edx, [esp + 0x64]
mov ecx, ebx
call fcn.0046093c
push dword [esp + 0x50]
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x38]
push dword [esp + 0xc4]
push 0
movzx edx, byte [eax + ebp + 0x31b]
call fcn.0045fb2c
mov ecx, dword [ebx]
add esp, 0x10
sub ecx, dword [esp + 0x40]
shl ecx, 6
add eax, ecx
mov dword [esp + 0x20], eax
lea edx, [esi + eax]
mov esi, dword [esp + 0x30]
mov ecx, edx
add esi, edi
and ecx, 0x3f
shr edx, 6
imul ecx, dword [esp + 0x14]
mov eax, esi
imul edx, dword [esp + 0x14]
and eax, 0x3f
add eax, 0x20
shr esi, 6
add eax, ecx
shr eax, 6
add eax, edx
add eax, esi
cmp eax, dword [esp + 0x34]
jae 0x45f2e4
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov eax, ebp
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x48]
inc ebp
add ebx, 8
cmp ebp, dword [esp + 0x54]
jl 0x45f255
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x68]
jmp 0x45f304
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xb8]
mov eax, dword [eax]
mov dword [esp + 0x48], eax
cmp eax, 0xffffffff
jae 0x45f3b6
cmp dword [esp + 0x44], 3
jge 0x45f3b6
lea esi, [esp + 0x6c]
xor edx, edx
lea edi, [esp + 0x84]
movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x84]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00460a96
mov ecx, dword [esp + 0x84]
sub ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
mov eax, edi
mov esi, dword [esp + 0x48]
and eax, 0x3f
shl ecx, 6
add eax, 0x20
add edx, ecx
mov dword [esp + 0x20], ecx
mov ecx, edx
shl esi, 6
and ecx, 0x3f
shr edx, 6
imul ecx, dword [esp + 0x14]
imul edx, dword [esp + 0x14]
mov dword [esp + 0x30], esi
add ecx, eax
lea eax, [esi + edi]
shr ecx, 6
shr eax, 6
add ecx, eax
add ecx, edx
cmp ecx, dword [esp + 0x34]
ja 0x45f3b6
mov ecx, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], esi
add ecx, 4
mov dword [esp + 0x3c], 1
jmp 0x45f3be
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
lea esi, [esp + 0x78]
add edi, dword [esp + 0x2c]
add edx, eax
imul eax, dword [esp + 0x3c], 0xc
add ebx, dword [esp + 0x38]
mov dword [esp + 0x18], edi
lea edi, [esp + 0x6c]
mov dword [esp + 0x28], edx
mov dword [esp + 0x58], ebx
add esi, eax
cmp dword [esp + 0x3c], 0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jne 0x45f40d
mov eax, dword [esp + ecx*8 + 0x90]
mov dword [esp + 0x40], eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + ecx*8 + 0x94]
mov dword [esp + 0x64], eax
jmp 0x45f411
inc dword [esp + 0x44]
mov eax, dword [esp + 0x5c]
mov byte [eax + ebp + 0x10], cl
inc eax
mov ecx, dword [esp + 0xb8]
add ecx, 4
mov dword [esp + 0x5c], eax
cmp eax, 4
mov dword [esp + 0xb8], ecx
mov eax, dword [esp + 0xb4]
jl 0x45f174
mov eax, dword [esp + 0x18]
mov dword [ebp + 4], eax
xor eax, eax
test ebx, ebx
mov dword [ebp + 8], edx
pop edi
cmovs ebx, eax
pop esi
mov dword [ebp + 0xc], ebx
pop ebp
pop ebx
add esp, 0x98
ret