Function at 0x5f12f0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x184
mov eax, 3
mov ecx, 2
push ebx
push ebp
mov ebp, dword [esp + 0x190]
push esi
mov edx, 4
push edi
mov edi, 1
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], eax
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], ecx
mov dword [esp + 0xfc], eax
mov dword [esp + 0x104], ecx
mov dword [esp + 0x108], ecx
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], eax
xor ebx, ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x38], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edx
mov dword [esp + 0x78], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], edx
mov dword [esp + 0xb8], edi
mov dword [esp + 0xc0], edi
mov dword [esp + 0xdc], edi
mov dword [esp + 0xe8], edi
mov dword [esp + 0xec], edx
mov dword [esp + 0xf8], edi
mov dword [esp + 0x100], edi
xor eax, eax
mov ecx, 0x40
lea ecx, [ecx]
mov byte [esp + eax + 0x193], bl
mov byte [esp + eax + 0x153], bl
dec eax
dec ecx
jne 0x5f1490
lea esi, [esp + 0x154]
xor ecx, ecx
mov eax, ebp
sub esi, ebp
nop
mov dl, byte [eax]
cmp dl, bl
je 0x5f14c0
inc ecx
mov byte [esi + eax], dl
inc eax
cmp ecx, 0x40
jl 0x5f14b0
xor eax, eax
mov cl, byte [eax + str.rigidbodysoftcloth]
cmp cl, bl
je 0x5f14d9
mov byte [esp + eax + 0x114], cl
inc eax
cmp eax, 0x40
jl 0x5f14c2
mov dword [esp + 0x10], ebx
mov esi, 0xc18f77a2
mov ebp, edi
xor ecx, ecx
jmp 0x5f14f0
movsx eax, byte [esp + ecx + 0x114]
movsx edx, byte [esp + ecx + 0x154]
xor eax, edx
imul eax, eax, 0x1010101
cmp ebp, ebx
je 0x5f1515
mov edx, dword [esp + ecx*4 + 0x14]
imul edx, eax
jmp 0x5f151d
xor edx, edx
div dword [esp + ecx*4 + 0x14]
mov edx, eax
add dword [esp + 0x10], edx
mov eax, edi
sub eax, ebp
mov ebp, eax
xor eax, eax
cmp ecx, ebx
jle 0x5f155d
lea ecx, [ecx]
movsx edx, byte [esp + eax + 0x114]
movsx ebx, byte [esp + eax + 0x154]
add edx, ebx
imul edx, edx, 0x1010101
add esi, esi
xor esi, edx
mov edx, dword [esp + 0x10]
add edx, esi
inc eax
cmp eax, ecx
mov dword [esp + 0x10], edx
jl 0x5f1530
xor ebx, ebx
inc ecx
cmp ecx, 0x40
jl 0x5f14f0
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x184
ret