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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
push esi
mov esi, ecx
mov dword [esp + 0x48], edx
movzx ecx, ax
xor edx, edx
push edi
xor edi, edi
movaps xmmword [esp + 0x80], xmm0
movzx eax, word [esi + 0x2ea]
sub ecx, eax
movaps xmmword [esp + 0x50], xmm0
xor eax, eax
mov dword [esp + 0x14], ecx
test byte [esi + 0x422], 4
movaps xmmword [esp + 0x60], xmm0
movq qword [esp + 8], xmm0
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], eax
jne 0x485965
mov edx, dword [esi + 0x3f8]
mov eax, dword [esi + 0x3f4]
mov dword [esp + 0x18], eax
lea eax, [edx + 1]
mov dword [esi + 0x3f8], eax
cmp edx, eax
mov eax, dword [esp + 0x18]
jbe 0x485965
inc eax
mov dword [esi + 0x3f4], eax
mov eax, dword [esp + 0x18]
mov ecx, eax
mov byte [esp + 0x1f], al
shr ecx, 0x18
mov dword [esp + 0x34], ecx
mov byte [esp + 0x1c], cl
mov ecx, eax
shr ecx, 0x10
mov dword [esp + 0x38], ecx
mov byte [esp + 0x1d], cl
mov ecx, eax
mov eax, edx
shr ecx, 8
shr eax, 0x18
mov dword [esp + 0x40], eax
mov byte [esp + 0x20], al
mov eax, edx
shr eax, 0x10
mov dword [esp + 0x44], eax
mov byte [esp + 0x21], al
mov eax, edx
shr eax, 8
mov dword [esp + 0x48], eax
mov byte [esp + 0x22], al
mov eax, 0x800
and ax, word [esi + 0x424]
movzx eax, ax
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x1e], cl
mov byte [esp + 0x23], dl
mov dword [esp + 0x30], eax
je 0x4859e2
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
jmp 0x4859e6
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
movzx eax, byte [esi + 0x2d7]
mov byte [esp + 0x24], al
movzx eax, byte [esi + 0x2d8]
mov byte [esp + 0x25], al
movzx eax, byte [esi + 0x2d9]
mov byte [esp + 0x26], al
mov eax, ecx
sar eax, 8
cmp word [esp + 0x30], 0
mov byte [esp + 0x27], al
mov byte [esp + 0x28], cl
jne 0x485a86
mov eax, dword [esi + 0x3f0]
movq xmm0, qword [esi + 0x3e8]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
movq qword [esp + 8], xmm0
xor byte [esp + 0xc], al
mov eax, dword [esp + 0x38]
xor byte [esp + 0xd], al
mov eax, dword [esp + 0x3c]
xor byte [esp + 0xe], al
mov eax, dword [esp + 0x18]
xor byte [esp + 0xf], al
mov eax, dword [esp + 0x40]
xor byte [esp + 0x10], al
mov eax, dword [esp + 0x44]
xor byte [esp + 0x11], al
mov eax, dword [esp + 0x48]
xor byte [esp + 0x12], al
xor byte [esp + 0x13], dl
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
jmp 0x485a8a
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + 0x1e8]
test eax, eax
je 0x485d69
mov edx, dword [esp + 8]
mov dword [eax + 0x40], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], edx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], edi
mov ecx, dword [esi + 0x1e8]
test ecx, ecx
je 0x485d4a
lea eax, [esp + 0x50]
push 0x20
push eax
mov edx, eax
call fcn.004cff40
mov eax, dword [esi + 0x1e8]
add esp, 8
test eax, eax
je 0x485d11
mov ecx, dword [esp + 8]
mov dword [eax + 0x34], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x38], ecx
lea ecx, [esp + 8]
mov dword [eax + 0x40], 0
mov dword [eax + 0x30], 1
mov dword [eax + 0x3c], edi
mov eax, 0xc
mov byte [ecx], 0
inc ecx
sub eax, 1
jne 0x485b08
mov eax, 0x800
test word [esi + 0x424], ax
je 0x485b63
mov edi, dword [ebp + 8]
lea eax, [esp + 0x80]
push eax
push dword [ebp + 0xc]
lea eax, [esp + 0x58]
mov ecx, esi
push eax
push edi
lea edx, [esp + 0x2c]
call fcn.004861c0
add esp, 0x10
test eax, eax
je 0x485c56
mov ecx, 0x20
lea edx, [esp + 0x50]
mov byte [edx], 0
lea edx, [edx + 1]
sub ecx, 1
jne 0x485b52
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, dword [esi + 0x1350]
lea edx, [esp + 0x54]
call fcn.004d2e10
add esp, 4
test eax, eax
je 0x485b94
mov ecx, 0x20
lea edx, [esp + 0x50]
mov byte [edx], 0
lea edx, [edx + 1]
sub ecx, 1
jne 0x485b83
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [esi + 0x1350]
test edi, edi
je 0x485ceb
cmp dword [ebp + 8], 0
je 0x485ceb
push 0xd
lea edx, [esp + 0x20]
mov ecx, edi
call fcn.004d3270
add esp, 4
test eax, eax
jne 0x485cf0
xorps xmm0, xmm0
mov dword [esp + 0x78], eax
push 3
lea edx, [esp + 0x74]
movq qword [esp + 0x74], xmm0
mov ecx, edi
mov word [esp + 0x80], ax
mov byte [esp + 0x82], al
call fcn.004d3270
add esp, 4
test eax, eax
jne 0x485cf0
push dword [esp + 0x14]
mov edx, dword [ebp + 8]
mov ecx, edi
call fcn.004d3270
add esp, 4
test eax, eax
jne 0x485cf0
mov edx, dword [esp + 0x14]
mov ecx, edi
call fcn.004d2d30
test eax, eax
jne 0x485cf0
push dword [esp + 0x14]
lea edx, [eax + 0xd]
mov ecx, edi
call fcn.004d2cc0
add esp, 4
test eax, eax
jne 0x485cf0
lea edx, [esp + 0x80]
mov ecx, edi
call fcn.004d2fc0
test eax, eax
jne 0x485cf0
mov edi, dword [ebp + 8]
mov eax, 0x20
lea ecx, [esp + 0x50]
nop
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x485c60
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x80]
movzx eax, word [esi + 0x2ea]
push eax
lea ecx, [ecx + edi]
call fcn.0048c2a0
add esp, 4
test eax, eax
je 0x485cb2
test byte [esi + 0x422], 4
jne 0x485ca7
push 0x14
mov edx, 2
mov ecx, esi
call fcn.004925c0
add esp, 4
mov eax, 0xfffffecf
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x1e8]
test ecx, ecx
je 0x485d7d
test edi, edi
je 0x485d7d
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x485d7d
push dword [esp + 0x14]
mov edx, edi
push eax
call fcn.004cff40
add esp, 8
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0xffffff53
mov ecx, 0x20
lea edx, [esp + 0x50]
nop dword [eax]
mov byte [edx], 0
lea edx, [edx + 1]
sub ecx, 1
jne 0x485d00
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0xc
lea ecx, [esp + 8]
nop word [eax + eax]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x485d20
mov eax, 0x20
lea ecx, [esp + 0x50]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x485d34
mov eax, 0xffffff53
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0xc
lea ecx, [esp + 8]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x485d53
mov eax, 0xffffff53
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0xc
lea ecx, [esp + 8]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x485d72
pop edi
mov eax, 0xffffff53
pop esi
mov esp, ebp
pop ebp
ret