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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x57a040]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x24], 0xe0f378c1
push edi
mov ebx, 0xfde8
mov word [esp + 0x38], bx
movzx edi, word [esi + 0xd0]
mov eax, edi
mov word [esp + 0x2c], di
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov ax, word [esi + 0xd4]
mov word [esp + 0x2e], ax
mov eax, dword [esi + 0xdc]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0xe0]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0xe8]
cmp eax, ebx
jg 0x4e9fb6
mov word [esp + 0x38], ax
mov eax, dword [esi + 0xec]
mov word [esp + 0x3a], bx
cmp eax, 0xfde8
jg 0x4e9fcd
mov word [esp + 0x3a], ax
mov eax, dword [esi + 0xf0]
mov word [esp + 0x3c], bx
cmp eax, 0xfde8
jg 0x4e9fe4
mov word [esp + 0x3c], ax
mov eax, dword [esi + 0xf4]
mov word [esp + 0x3e], bx
cmp eax, 0xfde8
jg 0x4e9ffb
mov word [esp + 0x3e], ax
mov eax, dword [esi + 0xf8]
mov word [esp + 0x40], bx
cmp eax, 0xfde8
jg 0x4ea012
mov word [esp + 0x40], ax
movss xmm2, dword [esi + 0xfc]
movss xmm0, dword [0x56a824]
comiss xmm2, xmm0
jbe 0x4ea02e
mov word [esp + 0x42], bx
jmp 0x4ea037
cvttss2si eax, xmm2
mov word [esp + 0x42], ax
movd xmm1, dword [esi + 0x14c]
cvtdq2ps xmm1, xmm1
addss xmm1, dword [esi + 0x100]
comiss xmm1, xmm0
movss dword [esp + 0x18], xmm1
jbe 0x4ea05c
mov word [esp + 0x44], bx
jmp 0x4ea065
cvttss2si eax, xmm1
mov word [esp + 0x44], ax
movss xmm1, dword [esi + 0x108]
comiss xmm1, xmm0
jbe 0x4ea079
mov word [esp + 0x46], bx
jmp 0x4ea082
cvttss2si eax, xmm1
mov word [esp + 0x46], ax
movd xmm1, dword [esi + 0x150]
cvtdq2ps xmm1, xmm1
addss xmm1, dword [esi + 0x10c]
comiss xmm1, xmm0
movss dword [esp + 0x1c], xmm1
jbe 0x4ea0a7
mov word [esp + 0x48], bx
jmp 0x4ea0b0
cvttss2si eax, xmm1
mov word [esp + 0x48], ax
mov eax, dword [esi + 0x128]
mov word [esp + 0x4a], bx
cmp eax, 0xfde8
jg 0x4ea0c7
mov word [esp + 0x4a], ax
mov eax, dword [esi + 0x130]
mov ecx, dword [esi + 0x12c]
lea edx, [ecx + eax]
mov dword [esp + 0x20], edx
cmp edx, ebx
jle 0x4ea0e5
mov word [esp + 0x4c], bx
jmp 0x4ea0ec
add eax, ecx
mov word [esp + 0x4c], ax
mov ebx, dword [esi + 0x154]
cmp ebx, 0xfde8
jle 0x4ea106
mov eax, 0xfde8
mov word [esp + 0x4e], ax
jmp 0x4ea10b
mov word [esp + 0x4e], bx
mov eax, dword [esi + 0x15c]
mov ecx, dword [esi + 0x158]
lea edx, [ecx + eax]
mov dword [esp + 0x24], edx
cmp edx, 0xfde8
jle 0x4ea12d
mov eax, 0xfde8
jmp 0x4ea12f
add eax, ecx
mov word [esp + 0x50], ax
mov ax, word [esi + 0xd8]
mov word [esp + 0x52], ax
mov eax, 0x3e8
cmp di, 1
jl 0x4ea19a
cmp di, ax
jg 0x4ea19a
movzx eax, word [esi + 0xcc]
lea edx, [esi + 0xcc]
mov ecx, dword [esp + 0x10]
movsx ecx, cx
cmp eax, 3
jne 0x4ea172
mov eax, dword [ecx*4 + 0x64ea60]
jmp 0x4ea187
cmp eax, 4
jne 0x4ea180
mov eax, dword [ecx*4 + 0x64fa00]
jmp 0x4ea187
mov eax, dword [ecx*4 + 0x64dac0]
mov word [esp + 0x54], ax
mov ax, word [esi + 0xda]
mov word [esp + 0x56], ax
jmp 0x4ea1ca
mov eax, dword [esp + 0x14]
lea edx, [esi + 0xcc]
movsx ecx, ax
xor eax, eax
mov word [esp + 0x54], ax
mov ax, word [esi + 0xda]
mov word [esp + 0x56], ax
cmp di, 1
jl 0x4ea1f2
mov eax, 0x3e8
cmp di, ax
jg 0x4ea1f2
movzx eax, word [edx]
cmp eax, 3
jne 0x4ea1db
mov eax, dword [ecx*4 + 0x64ea60]
jmp 0x4ea1f4
cmp eax, 4
jne 0x4ea1e9
mov eax, dword [ecx*4 + 0x64fa00]
jmp 0x4ea1f4
mov eax, dword [ecx*4 + 0x64dac0]
jmp 0x4ea1f4
xor eax, eax
mov word [esp + 0x58], ax
movaps xmm0, xmm2
mov eax, dword [esi + 0x73c]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x740]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x644]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0xd4]
mov dword [esp + 0x68], eax
call fcn.00545fb0
movss xmm0, dword [esp + 0x18]
mov dword [esp + 0x6c], eax
call fcn.00545fb0
movss xmm0, dword [esi + 0x108]
mov dword [esp + 0x70], eax
call fcn.00545fb0
movss xmm0, dword [esp + 0x1c]
mov dword [esp + 0x74], eax
call fcn.00545fb0
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x128]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x88], eax
mov eax, dword [esi + 0xe8]
mov dword [esp + 0x8c], eax
mov eax, dword [esi + 0xec]
mov dword [esp + 0x90], eax
mov eax, dword [esi + 0xf0]
mov dword [esp + 0x94], eax
mov eax, dword [esi + 0xf4]
mov dword [esp + 0x98], eax
mov eax, dword [esi + 0xf8]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x28]
push 0x78
push eax
push dword [esi]
mov dword [esp + 0x90], ebx
call fcn.005192f0
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret