Function at 0x485bc0
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 0x485c45
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 0x485c45
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 0x485cc2
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
jmp 0x485cc6
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 0x485d66
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 0x485d6a
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + 0x1e8]
test eax, eax
je 0x486049
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 0x48602a
lea eax, [esp + 0x50]
push 0x20
push eax
mov edx, eax
call fcn.004d01b0
mov eax, dword [esi + 0x1e8]
add esp, 8
test eax, eax
je 0x485ff1
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 0x485de8
mov eax, 0x800
test word [esi + 0x424], ax
je 0x485e43
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.004864a0
add esp, 0x10
test eax, eax
je 0x485f36
mov ecx, 0x20
lea edx, [esp + 0x50]
mov byte [edx], 0
lea edx, [edx + 1]
sub ecx, 1
jne 0x485e32
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, dword [esi + 0x1350]
lea edx, [esp + 0x54]
call fcn.004d3080
add esp, 4
test eax, eax
je 0x485e74
mov ecx, 0x20
lea edx, [esp + 0x50]
mov byte [edx], 0
lea edx, [edx + 1]
sub ecx, 1
jne 0x485e63
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [esi + 0x1350]
test edi, edi
je 0x485fcb
cmp dword [ebp + 8], 0
je 0x485fcb
push 0xd
lea edx, [esp + 0x20]
mov ecx, edi
call fcn.004d34e0
add esp, 4
test eax, eax
jne 0x485fd0
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.004d34e0
add esp, 4
test eax, eax
jne 0x485fd0
push dword [esp + 0x14]
mov edx, dword [ebp + 8]
mov ecx, edi
call fcn.004d34e0
add esp, 4
test eax, eax
jne 0x485fd0
mov edx, dword [esp + 0x14]
mov ecx, edi
call fcn.004d2fa0
test eax, eax
jne 0x485fd0
push dword [esp + 0x14]
lea edx, [eax + 0xd]
mov ecx, edi
call fcn.004d2f30
add esp, 4
test eax, eax
jne 0x485fd0
lea edx, [esp + 0x80]
mov ecx, edi
call fcn.004d3230
test eax, eax
jne 0x485fd0
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 0x485f40
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x80]
movzx eax, word [esi + 0x2ea]
push eax
lea ecx, [ecx + edi]
call fcn.0048c580
add esp, 4
test eax, eax
je 0x485f92
test byte [esi + 0x422], 4
jne 0x485f87
push 0x14
mov edx, 2
mov ecx, esi
call fcn.004928a0
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 0x48605d
test edi, edi
je 0x48605d
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x48605d
push dword [esp + 0x14]
mov edx, edi
push eax
call fcn.004d01b0
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 0x485fe0
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 0x486000
mov eax, 0x20
lea ecx, [esp + 0x50]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x486014
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 0x486033
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 0x486052
pop edi
mov eax, 0xffffff53
pop esi
mov esp, ebp
pop ebp
ret