Function at 0x5378a9
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov edi, eax
mov dword [ebp - 0x40], edx
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov esi, dword [ebp + 0xc]
mov edx, 1
mov eax, dword [edi]
call fcn.00427195
cmp dword [0x5af03c], 3
jbe 0x537910
mov dword [0x611418], 4
mov dword [0x611414], 1
mov dword [esp + 0xc], eax
mov dword [ebp - 0x44], eax
mov dword [esp + 8], 1
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
mov dword [esp], 0x5fdb9e
call fcn.004268ea
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x537b91
lea eax, [ebp - 0x34]
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp], eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 0x40]
call fcn.00476deb
mov dword [edi + 8], eax
mov edx, 4
mov eax, dword [edi]
call fcn.00427195
mov dword [ebp - 0x40], eax
cmp dword [0x5af03c], 3
jbe 0x537982
mov dword [0x611418], 4
mov dword [0x611414], 1
mov dword [esp + 0xc], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 0x5fdf65
mov dword [esp], 0x5fdb9e
call fcn.004268ea
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x40]
mov eax, edi
call fcn.005370f2
mov dword [ebp - 0x3c], eax
mov dword [ebx + 4], eax
mov al, byte [ebp - 0x40]
mov byte [ebx], al
test esi, esi
je 0x537b91
movzx edx, al
cmp dword [esi], 5
ja case.default.0x5379af
mov eax, dword [esi]
jmp dword [eax*4 + 0x5fe514]
mov al, 0x52
jmp 0x537b61
mov byte [ebx], 0x4f
jmp 0x537b91
mov byte [ebx], 0x50
cmp dword [ebp - 0x3c], 0
jne 0x537ae0
jmp 0x537b91
mov byte [ebx], 0x53
cmp dword [ebp - 0x3c], 0
jne 0x537a21
jmp 0x537b91
mov byte [ebx], 0x4e
jmp 0x537b91
cmp dword [0x5af090], 0
je 0x537b91
mov dword [0x611418], 1
mov dword [0x611414], 8
mov dword [ebp + 8], str._LSR_Parsing__unknown_datatype_for_animate_transform._n
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.004268ea
mov dword [ebp - 0x3c], edx
mov dword [esp], 0xc
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov edi, eax
xorps xmm0, xmm0
movss dword [eax + 4], xmm0
movss dword [eax], xmm0
mov esi, dword [ebx + 4]
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jne 0x537ab1
xor edx, edx
mov eax, esi
call fcn.00425c8e
test eax, eax
je 0x537a67
movss xmm0, dword [eax]
movss dword [edi + 8], xmm0
mov dword [esp], eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov edx, 1
mov eax, esi
call fcn.00425c8e
test eax, eax
je 0x537a87
movss xmm0, dword [eax]
movss dword [edi], xmm0
mov dword [esp], eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov edx, 2
mov eax, esi
call fcn.00425c8e
test eax, eax
je 0x537aa8
movss xmm0, dword [eax]
movss dword [edi + 4], xmm0
mov dword [esp], eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov eax, esi
call fcn.00425c2c
jmp 0x537ac6
movss xmm0, dword [esi + 4]
movss dword [eax + 8], xmm0
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
movss xmm0, dword [0x5febd4]
mulss xmm0, dword [edi + 8]
movss dword [edi + 8], xmm0
mov dword [ebx + 4], edi
jmp 0x537b91
cmp edx, 8
jne 0x537b91
mov dword [esp], 8
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov esi, eax
test eax, eax
je 0x537b91
mov ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
xor edx, edx
mov eax, dword [ebp - 0x3c]
call fcn.00425c8e
test eax, eax
je 0x537b28
movss xmm0, dword [eax]
movss dword [esi], xmm0
mov dword [esp], eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov edx, 1
mov eax, dword [ebp - 0x3c]
call fcn.00425c8e
test eax, eax
je 0x537b4c
movss xmm0, dword [eax]
movss dword [esi + 4], xmm0
mov dword [esp], eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x537b55
movss xmm0, dword [esi]
movss dword [esi + 4], xmm0
mov eax, dword [ebp - 0x3c]
call fcn.00425c2c
jmp 0x537b8e
mov al, 0x51
mov byte [ebx], al
cmp dword [ebp - 0x3c], 0
je 0x537b91
mov dword [esp], 4
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov esi, eax
mov eax, dword [ebp - 0x3c]
movss xmm0, dword [eax + 4]
movss dword [esi], xmm0
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov dword [ebx + 4], esi
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret