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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x100
mov edi, dword [edx + 0x1c]
mov dword [esp + 0x74], ecx
test edi, edi
je 0x4a32c8
mov ebx, dword [edx + 0x14]
mov dword [esp + 0xc], edx
mov edx, 0xffffffff
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x78], 0
mov ecx, ebx
mov eax, ebx
mov esi, ebx
mov ebx, 0xffffffff
neg cl
shr eax, 0x10
shl cl, 3
shr ebx, cl
test cl, 0x20
mov ecx, edi
mov edi, ebx
cmove ebx, edx
mov edx, esi
mov esi, 0
cmovne edi, esi
cmp ax, 5
mov esi, dword [esp + 0xc]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x38], edx
sbb ebx, 0
mov dword [esp + 0x70], edi
sbb edi, 0
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x98], edi
mov edi, ecx
call 0x4a1f19
pop ecx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esi]
mov ah, byte [esi + 0x20]
mov ebx, dword [esi + 0x18]
mov dword [esp + 0x94], ecx
mov ecx, dword [esi + 4]
mov byte [esp + 0x33], ah
mov dword [esp + 0x48], ecx
movzx ecx, dl
mov dword [esp + 0x64], ecx
mov ecx, edx
test ah, ah
mov dword [esp + 0x10], ebx
je 0x4a2040
mov esi, dword [esp + 0xc]
lea ecx, [ebx + 1]
lea edx, [edi - 1]
mov dword [esp + 8], ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
xor esi, esi
movzx ecx, byte [ebx]
cmp ecx, 7
ja 0x4a3464
mov eax, dword [ecx*4 + 0x4a3800]
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x14], edx
mov dword [esp + 4], edx
mov dword [esp + 0x18], edx
mov edx, ecx
mov dword [esp + 0x44], 8
mov dword [esp + 0x40], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x3c], edx
mov edx, ecx
add eax, dword [esp + 0x5c]
jmp eax
mov edx, ecx
mov al, 0x17
movzx ecx, dl
dec ecx
cmp ecx, 7
ja 0x4a24b3
mov esi, dword [ecx*4 + 0x4a3880]
mov edx, dword [esp + 0x64]
mov dword [esp + 4], ecx
xor ecx, ecx
add esi, dword [esp + 0x5c]
jmp esi
mov edx, dword [esp + 0x64]
mov dword [esp + 4], ecx
xor ecx, ecx
mov esi, dword [esp + 0x20]
shld ecx, edx, 8
shl edx, 8
movzx eax, al
mov dword [esp + 0x34], edi
or eax, edx
xor edx, edx
mov dword [esp + 8], eax
xor eax, eax
test al, al
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], esi
jne 0x4a2baa
jmp 0x4a32de
mov dword [esp + 0x10], ebx
movzx ebx, byte [esp + 4]
mov edi, dword [esp + 8]
mov dword [esp + 0x48], eax
mov eax, esi
mov esi, ecx
shl eax, 8
or esi, edx
or ebx, eax
mov eax, edi
or eax, ebx
or esi, eax
jne 0x4a2c14
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x44], 8
mov dword [esp + 4], 0
xor esi, esi
xor edx, edx
mov dword [esp + 0x40], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 8], eax
mov dword [esp + 0x18], eax
jmp 0x4a2c6c
mov eax, edi
mov esi, ecx
mov dword [esp + 0x6c], edx
mov edx, ecx
xor ecx, ecx
xor eax, dword [esp + 0x68]
xor esi, dword [esp + 0x70]
or esi, eax
mov esi, dword [esp + 0x20]
cmovne ebx, edi
sete cl
cmove edx, dword [esp + 0x6c]
mov edi, dword [esp + 0x48]
mov eax, ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x18], ebx
shr eax, 0x10
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 8], eax
mov al, bh
mov dword [esp + 0x3c], eax
mov ebx, dword [esp + 0x44]
cmp ebx, 8
je 0x4a32b6
shl esi, 8
movzx ecx, byte [esp + 0x18]
mov ebx, dword [ebx*4 + 0x4a38a0]
mov eax, esi
movzx esi, byte [esp + 4]
add ebx, dword [esp + 0x5c]
or esi, eax
movzx eax, byte [esp + 0x3c]
shl eax, 8
or ecx, eax
mov eax, dword [esp + 0x40]
shl eax, 0x10
or ecx, eax
jmp ebx
mov eax, dword [esp + 0xc]
mov dword [eax + 0x18], str.PathTryFromIntErrornumber_of_bones_should_fit_in_i32vmesh_src_v3mc.rs
mov dword [eax + 0x1c], 0
mov eax, dword [esp + 0x74]
mov dword [eax + 4], 0
mov dword [eax], 0
jmp 0x4a371d
mov ebx, dword [esp + 8]
mov edi, ecx
mov esi, edx
mov eax, ebx
mov ecx, ebx
mov bl, bh
shr eax, 0x10
jmp 0x4a36d0
mov cl, 0x30
mov dword [esp + 4], eax
mov dword [esp + 0x20], 0
mov ebx, dword [esp + 0x38]
xor esi, esi
jmp 0x4a36d0
movzx edx, bl
shl eax, 0x10
mov ebx, dword [esp + 0x74]
shl edx, 8
or edx, eax
movzx eax, cl
mov ecx, dword [esp + 0x20]
or eax, edx
movzx edx, byte [esp + 4]
mov dword [ebx + 0xc], edi
mov dword [ebx + 8], eax
mov dword [ebx + 0x14], esi
shl ecx, 8
or edx, ecx
mov ecx, dword [esp + 0xc]
mov dword [ebx + 0x10], edx
mov dword [ebx + 4], 0
mov dword [ebx], 2
mov dword [ecx + 0x18], str.PathTryFromIntErrornumber_of_bones_should_fit_in_i32vmesh_src_v3mc.rs
mov dword [ecx + 0x1c], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret