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

Disassembly:
sub esp, 0x90
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
push ebx
push ebp
mov ebp, dword [esp + 0xa0]
lea eax, [edx + ecx]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x9c]
push esi
push edi
mov edi, dword [esp + 0xac]
mov ebx, dword [eax + 0x5cd0]
mov esi, dword [eax + 0x5ce0]
mov eax, dword [eax + 0x5c30]
add esi, ebx
add edi, dword [esp + 0xa8]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xa4]
push ecx
mov dword [esp + 0x14], edi
push edx
mov edi, dword [eax + 0x5c34]
mov eax, dword [eax + 0x5c38]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0xb0]
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x54], esi
mov dword [esp + 0x4c], edi
call fcn.00459b70
mov edi, dword [esp + 0x20]
add esp, 0x10
cmp eax, 0xffffff88
ja 0x45aa21
mov ecx, dword [esp + 0xb0]
add ecx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], eax
test eax, eax
je 0x45a9e4
mov ebx, dword [esp + 0xa4]
mov dword [ebx + 0x5c6c], 1
mov eax, dword [ebx + 0x5c20]
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x5c24]
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 0x5c28]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x1c]
sub eax, ecx
push eax
push ecx
lea eax, [esp + 0x50]
push eax
call fcn.004594a0
add esp, 0xc
cmp eax, 0xffffff88
ja 0x45a9fc
mov edx, dword [esp + 0x4c]
mov ecx, edx
mov edi, dword [ebx]
and ecx, 0x1f
mov eax, dword [esp + 0x48]
or ebx, 0xffffffff
shl eax, cl
mov ecx, ebx
shr eax, 1
movzx esi, word [edi]
sub ecx, esi
add edx, esi
and ecx, 0x1f
mov dword [esp + 0x4c], edx
shr eax, cl
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x48]
push eax
call fcn.004595d0
mov edx, dword [esp + 0x50]
lea eax, [edi + 4]
mov dword [esp + 0x64], eax
mov ecx, edx
mov eax, dword [esp + 0xa8]
and ecx, 0x1f
mov edi, dword [eax + 8]
mov eax, dword [esp + 0x4c]
shl eax, cl
mov ecx, ebx
shr eax, 1
movzx esi, word [edi]
sub ecx, esi
add edx, esi
and ecx, 0x1f
mov dword [esp + 0x50], edx
shr eax, cl
mov dword [esp + 0x68], eax
lea eax, [esp + 0x4c]
push eax
call fcn.004595d0
mov edx, dword [esp + 0x54]
lea eax, [edi + 4]
mov dword [esp + 0x70], eax
mov ecx, edx
mov eax, dword [esp + 0xac]
and ecx, 0x1f
mov edi, dword [eax + 4]
mov eax, dword [esp + 0x50]
shl eax, cl
shr eax, 1
movzx esi, word [edi]
sub ebx, esi
add edx, esi
and ebx, 0x1f
mov dword [esp + 0x54], edx
mov ecx, ebx
shr eax, cl
mov dword [esp + 0x74], eax
lea eax, [esp + 0x50]
push eax
call fcn.004595d0
lea eax, [edi + 4]
add esp, 0xc
mov dword [esp + 0x70], eax
mov edx, dword [esp + 0x4c]
cmp edx, 0x20
ja 0x45a9ac
mov ecx, dword [esp + 0x50]
cmp ecx, dword [esp + 0x58]
jb 0x45a703
mov eax, edx
shr eax, 3
sub ecx, eax
and edx, 7
jmp 0x45a72a
mov edi, dword [esp + 0x54]
cmp ecx, edi
je 0x45a738
mov esi, edx
mov eax, ecx
shr esi, 3
sub eax, esi
cmp eax, edi
jae 0x45a723
mov eax, ecx
sub eax, edi
sub ecx, eax
imul eax, eax, 0xfffffff8
jmp 0x45a728
sub ecx, esi
imul eax, esi, 0xfffffff8
add edx, eax
mov eax, dword [ecx]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x45a9b3
dec eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x94]
push eax
call fcn.00459cb0
mov edx, dword [esp + 0x20]
add esp, 8
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x8c], eax
add ecx, 0xfffffff8
movups xmm1, xmmword [eax]
movaps xmm0, xmm1
movd eax, xmm1
psrldq xmm0, 4
movd ebp, xmm0
mov dword [esp + 0x34], eax
psrldq xmm1, 8
movd dword [esp + 0x2c], xmm1
lea esi, [eax + edx]
mov ebx, esi
sub ebx, dword [esp + 0x2c]
lea edi, [eax + ebp]
lea eax, [edi + edx]
mov dword [esp + 0x1c], edi
mov edx, dword [esp + 0x34]
add edx, dword [esp + 0x14]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x10]
ja 0x45a99a
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x38], eax
ja 0x45a988
cmp esi, ecx
jbe 0x45a815
push dword [esp + 0x40]
mov ecx, dword [esp + 0x90]
push dword [esp + 0x40]
push dword [esp + 0x30]
movups xmm0, xmmword [ecx]
push eax
lea eax, [esp + 0x34]
push eax
sub esp, 0x10
mov eax, esp
push dword [esp + 0x34]
movups xmmword [eax], xmm0
push edx
call fcn.0045aa30
mov edi, eax
add esp, 0x2c
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
jmp 0x45a974
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edx], eax
mov eax, dword [esp + 0x34]
mov dword [edx + 4], ecx
cmp eax, 8
jbe 0x45a844
add eax, 0xfffffff8
push eax
mov eax, dword [esp + 0x18]
add eax, 8
push eax
lea eax, [edx + 8]
push eax
call fcn.0045b0e0
add esp, 0xc
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov eax, esi
sub eax, edx
cmp ecx, eax
jbe 0x45a8df
mov eax, esi
sub eax, dword [esp + 0x3c]
cmp ecx, eax
ja 0x45a988
mov ecx, dword [esp + 0x40]
mov eax, ecx
sub eax, edx
add ebx, eax
lea eax, [ebx + ebp]
cmp eax, ecx
ja 0x45a88c
push ebp
push ebx
push esi
call fcn.004593fb
jmp 0x45a971
mov edi, ecx
sub edi, ebx
push edi
push ebx
push esi
call fcn.004593fb
mov eax, dword [esp + 0x1c]
add esi, edi
mov edx, dword [esp + 0x34]
add eax, 0xfffffff8
add esp, 0xc
sub ebp, edi
mov ebx, edx
cmp esi, eax
ja 0x45a8b5
cmp ebp, 3
jae 0x45a8d7
test ebp, ebp
je 0x45a8ce
mov ecx, edx
sub ecx, esi
nop dword [eax]
mov al, byte [esi + ecx]
lea esi, [esi + 1]
mov byte [esi - 1], al
sub ebp, 1
jne 0x45a8c0
mov edi, dword [esp + 0x1c]
jmp 0x45a974
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
cmp ecx, 8
jae 0x45a913
movzx eax, byte [ebx]
mov byte [esi], al
movzx eax, byte [ebx + 1]
mov byte [esi + 1], al
movzx eax, byte [ebx + 2]
mov byte [esi + 2], al
movzx eax, byte [ebx + 3]
add ebx, dword [ecx*4 + 0x45878c]
mov byte [esi + 3], al
mov eax, dword [ebx]
sub ebx, dword [ecx*4 + 0x4587ac]
mov dword [esi + 4], eax
jmp 0x45a91d
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov edx, dword [esp + 0x10]
add esi, 8
mov ecx, dword [esp + 0x20]
add ebx, 8
lea eax, [edx - 0xd]
cmp ecx, eax
jbe 0x45a966
lea ebp, [edx - 8]
cmp esi, ebp
jae 0x45a954
mov eax, ebp
sub eax, esi
push eax
push ebx
push esi
call fcn.0045b0e0
mov ecx, dword [esp + 0x2c]
mov eax, ebp
sub eax, esi
add esp, 0xc
add ebx, eax
mov esi, ebp
cmp esi, ecx
jae 0x45a974
mov al, byte [ebx]
lea ebx, [ebx + 1]
mov byte [esi], al
inc esi
cmp esi, ecx
jb 0x45a958
jmp 0x45a974
lea eax, [ebp - 8]
push eax
push ebx
push esi
call fcn.0045b0e0
add esp, 0xc
cmp edi, 0xffffff88
ja 0x45a99f
mov ebp, dword [esp + 0x18]
add ebp, edi
mov dword [esp + 0x18], ebp
jmp 0x45a6e0
mov edi, 0xffffffec
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
mov edi, 0xffffffba
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
cmp dword [esp + 0x30], 0
jne 0x45a9fc
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x10]
mov dword [ecx + 0x5c20], eax
mov eax, dword [esp + 0x78]
mov dword [ecx + 0x5c24], eax
mov eax, dword [esp + 0x7c]
mov dword [ecx + 0x5c28], eax
sub esi, ebx
sub edi, ebp
cmp esi, edi
jbe 0x45aa0c
mov eax, 0xffffffba
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
mov eax, 0xffffffec
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
push esi
push ebx
push ebp
call fcn.004593d7
add esp, 0xc
sub esi, dword [esp + 0xa8]
lea eax, [esi + ebp]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret