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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x68
mov ebx, edx
cmp edx, 0x15
mov dword [esp + 0x1c], ecx
jae 0x440805
cmp ebx, 1
jbe 0x440e87
mov ecx, dword [esp + 0x1c]
mov edx, ebx
push 1
call fcn.00440510
add esp, 4
jmp 0x440e87
movzx eax, byte [0x592110]
mov eax, dword [0x5920d8]
test eax, eax
jne 0x440827
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x440f3f
mov dword [0x5920d8], eax
lea ecx, [ebx*4]
and ecx, 0xfffffff8
lea ecx, [ecx + ecx*2]
push ecx
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
mov dword [esp + 4], eax
je 0x440f3f
movzx eax, byte [0x592110]
mov eax, dword [0x5920d8]
test eax, eax
jne 0x44086b
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x440f53
mov dword [0x5920d8], eax
push pe_nt_image_headers32
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x440f53
mov edi, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x48], 0x10
mov dword [esp + 0x10], ebx
lea ecx, [eax + 0x30]
add eax, 0xffffffe8
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], eax
xor eax, eax
xor ecx, ecx
jmp 0x4408c1
mov ecx, 1
mov eax, dword [esp + 0x24]
cmp eax, ebx
jae 0x440e68
mov dword [esp + 0xc], ecx
mov ecx, eax
mov eax, ebx
mov dword [esp + 8], edi
sub eax, ecx
mov dword [esp], ecx
lea edx, [ecx + ecx*2]
mov ecx, dword [esp + 0x1c]
cmp eax, 2
lea ecx, [ecx + edx*8]
mov dword [esp + 0x18], ecx
jae 0x4409c0
mov ecx, eax
mov eax, dword [esp]
mov esi, ebx
mov edx, esi
sub esi, eax
jb 0x440eea
cmp edx, ebx
ja 0x440eea
mov dword [esp + 0x24], edx
jae 0x44093d
cmp ecx, 0xa
mov eax, ecx
jae 0x44093d
mov eax, dword [esp]
lea esi, [eax + 0xa]
cmp esi, ebx
cmovae esi, ebx
mov dword [esp + 0x24], esi
sub esi, eax
jb 0x440f12
mov eax, ecx
cmp ecx, 1
mov ecx, dword [esp + 0x18]
mov edx, esi
adc eax, 0
push eax
call fcn.00440510
add esp, 4
mov ecx, dword [esp + 0xc]
cmp ecx, dword [esp + 0x48]
jne 0x4409f0
movzx eax, byte [0x592110]
mov eax, dword [0x5920d8]
test eax, eax
jne 0x440971
mov ebx, ecx
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x440efe
mov ecx, ebx
mov dword [0x5920d8], eax
mov edi, ecx
shl ecx, 4
push ecx
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x440efe
mov ebx, eax
lea eax, [edi + edi]
mov dword [esp + 0x48], eax
lea eax, [edi*8]
push eax
push dword [esp + 0xc]
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
push dword [esp + 8]
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
mov eax, ebx
mov ebx, dword [esp + 0x10]
mov ecx, edi
jmp 0x4409f4
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 0x18]
ucomisd xmm0, xmm1
ja 0x440d00
cmp eax, 2
jne 0x440d12
mov eax, dword [esp]
mov ecx, 2
lea esi, [eax + 2]
jmp 0x4408f0
mov eax, dword [esp + 8]
mov edx, dword [esp]
mov dword [eax + ecx*8], esi
mov edi, eax
mov dword [esp + 8], eax
mov dword [eax + ecx*8 + 4], edx
inc ecx
cmp ecx, 2
jae 0x440a72
jmp 0x4408b5
mov edi, dword [esp + 4]
mov eax, ebx
mov ebx, dword [esp + 0xc]
sub esi, edi
lea ecx, [ebx - 1]
mov dword [esp], ecx
push esi
push edi
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x5c]
mov edi, dword [esp + 8]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x58]
add eax, dword [esp + 0x54]
mov dword [edi + ecx*8 + 8], eax
mov eax, dword [esp + 0x60]
mov dword [edi + ecx*8 + 0xc], eax
not ecx
lea eax, [edx + 8]
add ecx, ebx
shl ecx, 3
push ecx
push eax
push edx
call sub.msvcrt.dll_memmove
add esp, 0xc
mov ecx, dword [esp]
mov ebx, dword [esp + 0x10]
cmp ecx, 1
jbe 0x4408b0
mov dword [esp + 0xc], ecx
mov eax, dword [edi + ecx*8 - 8]
mov ecx, dword [esp + 0xc]
mov ecx, dword [edi + ecx*8 - 4]
add ecx, eax
cmp ecx, ebx
mov ecx, dword [esp + 0xc]
je 0x440ae0
mov edx, dword [edi + ecx*8 - 0x10]
cmp edx, eax
jbe 0x440ae0
cmp ecx, 2
jbe 0x440e43
lea ebx, [ecx - 3]
lea esi, [edx + eax]
mov dword [esp + 0x14], ebx
mov ebx, ecx
mov ecx, dword [edi + ecx*8 - 0x18]
cmp ecx, esi
jbe 0x440cda
cmp ebx, 3
jbe 0x440e4d
mov edi, dword [esp + 8]
add edx, ecx
cmp dword [edi + ebx*8 - 0x20], edx
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
jbe 0x440aec
jmp 0x440e5f
cmp ecx, 3
jb 0x440af4
lea edx, [ecx - 3]
mov ecx, dword [edi + ecx*8 - 0x18]
cmp ecx, eax
mov ecx, dword [esp + 0xc]
jb 0x440af7
lea edx, [ecx - 2]
cmp ecx, edx
jbe 0x440e8f
lea eax, [edx + 1]
cmp ecx, eax
jbe 0x440e9a
mov eax, dword [edi + edx*8 + 8]
mov esi, dword [edi + edx*8 + 0xc]
mov ecx, dword [edi + edx*8 + 4]
mov dword [esp + 0x14], edx
add esi, eax
mov edx, esi
sub edx, ecx
mov dword [esp + 0x20], edx
jb 0x440ed0
cmp esi, ebx
ja 0x440edc
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x14]
mov edx, edi
mov dword [esp + 0x60], ecx
mov edi, dword [edi + eax*8]
lea eax, [ecx + ecx*2]
mov ecx, dword [esp + 0x1c]
lea ecx, [ecx + eax*8]
lea eax, [edi + edi*2]
mov dword [esp + 0x54], edi
lea ebx, [ecx + eax*8]
lea eax, [esi + esi*2]
mov esi, dword [esp + 0x20]
mov dword [esp], ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x14]
sub esi, edi
cmp esi, edi
lea eax, [edx + eax*8]
mov dword [esp + 0x58], eax
jae 0x440c30
lea eax, [esi*8]
mov dword [esp + 0x18], esi
lea esi, [eax + eax*2]
push esi
push ebx
push dword [esp + 0xc]
call sub.msvcrt.dll_memcpy
add esp, 0xc
add esi, dword [esp + 4]
test edi, edi
jle 0x440a10
cmp dword [esp + 0x18], 0
jle 0x440a10
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov edi, dword [esp]
lea eax, [eax + ecx*8]
nop dword [eax + eax]
movsd xmm0, qword [ebx - 0x18]
movsd xmm1, qword [esi - 0x18]
xor ecx, ecx
xor edx, edx
ucomisd xmm0, xmm1
setbe cl
seta dl
neg ecx
neg edx
ucomisd xmm0, xmm1
lea ecx, [ecx + ecx*2]
lea edx, [edx + edx*2]
lea esi, [esi + ecx*8]
lea ebx, [ebx + edx*8]
mov ecx, esi
cmova ecx, ebx
cmp ebx, edi
movsd xmm0, qword [ecx + 0x10]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
jbe 0x440a10
add eax, 0xffffffe8
cmp esi, dword [esp + 4]
ja 0x440bc0
jmp 0x440a10
lea eax, [edi*8]
lea esi, [eax + eax*2]
push esi
push ecx
push dword [esp + 0xc]
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x10]
add esp, 0xc
add esi, edx
test edi, edi
jle 0x440cd0
cmp dword [esp + 0x20], edi
jle 0x440cd0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x50]
mov edi, edx
mov dword [esp + 0x18], esi
lea eax, [eax + ecx*8]
mov dword [esp + 0x20], eax
nop dword [eax]
movsd xmm0, qword [edi]
xor ecx, ecx
xor edx, edx
mov eax, edi
mov esi, dword [esp]
ucomisd xmm0, qword [ebx]
cmova eax, ebx
setbe cl
movsd xmm0, qword [eax + 0x10]
movsd qword [esi + 0x10], xmm0
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
lea eax, [ecx + ecx*2]
seta cl
lea edi, [edi + eax*8]
movsd qword [esi + 8], xmm1
movsd qword [esi], xmm0
add esi, 0x18
mov dword [esp], esi
mov esi, dword [esp + 0x18]
cmp edi, esi
jae 0x440cd2
mov dl, cl
lea eax, [edx + edx*2]
lea ebx, [ebx + eax*8]
cmp ebx, dword [esp + 0x20]
jb 0x440c70
jmp 0x440cd2
mov edi, edx
mov eax, dword [esp]
jmp 0x440a16
mov edi, dword [esp + 8]
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
cmp ecx, eax
mov ecx, dword [esp + 0xc]
jae 0x440af4
jmp 0x440af7
cmp eax, 2
jne 0x440d48
mov eax, dword [esp]
mov ecx, 2
lea esi, [eax + 2]
jmp 0x440d8a
mov esi, dword [esp + 0x44]
movapd xmm2, xmm1
lea esi, [esi + edx*8]
mov edx, 2
nop word cs:[eax + eax]
nop dword [eax]
movapd xmm3, xmm2
movsd xmm2, qword [esi]
ucomisd xmm3, xmm2
ja 0x440d78
inc edx
add esi, 0x18
cmp eax, edx
jne 0x440d30
jmp 0x440d76
mov esi, dword [esp + 0x44]
movapd xmm2, xmm1
lea esi, [esi + edx*8]
mov edx, 2
nop dword [eax + eax]
movapd xmm3, xmm2
movsd xmm2, qword [esi]
ucomisd xmm3, xmm2
jbe 0x440d78
inc edx
add esi, 0x18
cmp eax, edx
jne 0x440d60
mov edx, eax
mov eax, dword [esp]
ucomisd xmm0, xmm1
mov ecx, edx
lea esi, [edx + eax]
jbe 0x4408f0
cmp eax, esi
ja 0x440f23
cmp esi, ebx
ja 0x440f31
mov eax, ecx
cmp ecx, 2
jae 0x440da9
mov eax, dword [esp]
jmp 0x4408f0
mov edi, dword [esp]
mov ebx, esi
mov esi, eax
mov edx, eax
shr edx, 1
add esi, edi
mov edi, dword [esp + 0x4c]
lea esi, [esi + esi*2]
lea esi, [edi + esi*8]
mov edi, dword [esp + 0x18]
nop word cs:[eax + eax]
nop
movsd xmm0, qword [edi + 0x10]
movsd xmm1, qword [edi + 8]
movsd qword [esp + 0x38], xmm0
movsd xmm0, qword [edi]
movsd qword [esp + 0x30], xmm1
movsd qword [esp + 0x28], xmm0
movsd xmm0, qword [esi + 0x10]
movsd xmm2, qword [esp + 0x28]
movsd qword [edi + 0x10], xmm0
movsd xmm1, qword [esi + 8]
movsd xmm0, qword [esi]
movsd qword [edi + 8], xmm1
movsd xmm1, qword [esp + 0x38]
movsd qword [edi], xmm0
movsd qword [esi], xmm2
add edi, 0x18
movsd qword [esi + 0x10], xmm1
movsd xmm1, qword [esp + 0x30]
movsd qword [esi + 8], xmm1
add esi, 0xffffffe8
dec edx
jne 0x440dd0
mov esi, ebx
mov ebx, dword [esp + 0x10]
mov eax, dword [esp]
jmp 0x4408f0
mov ecx, 2
jmp 0x4408b5
mov edi, dword [esp + 8]
mov ebx, dword [esp + 0x10]
mov ecx, 3
jmp 0x4408b5
mov ecx, dword [esp + 0xc]
jmp 0x4408b5
push edi
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
push dword [esp + 4]
push 0
push dword [0x5920d8]
call sub.KERNEL32.dll_HeapFree
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x28]
mov edx, 0x580f84
jmp 0x440ea3
lea ecx, [esp + 0x28]
mov edx, 0x580f94
mov dword [esp + 0x28], str.Index_out_of_bounds
mov dword [esp + 0x2c], 1
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], str.PathTryFromIntErrornumber_of_bones_should_fit_in_i32vmesh_src_v3mc.rs
mov dword [esp + 0x34], 0
call fcn.00469660
mov edx, esi
push 0x580fa4
call fcn.0046e9f0
mov ecx, esi
mov edx, ebx
push 0x580fa4
call fcn.0046a750
mov ecx, str.assertion_failed:_end___start__end___len_
mov edx, 0x2c
push 0x581010
call fcn.0046b100
mov ecx, str.called__Option::unwrap____on_a__None__value_home_rafalh_.cargo_registry_src_index.crates.io_6f17d22bba15001f_serde_json_1.0.81_src_read.rs
mov edx, 0x2b
push 0x580fd4
call fcn.0046b100
mov ecx, dword [esp]
mov edx, dword [esp + 0x24]
push 0x581020
call fcn.0046e9f0
mov ecx, eax
mov edx, esi
push 0x580f74
call fcn.0046e9f0
mov ecx, esi
mov edx, ebx
push 0x580f74
call fcn.0046a750
mov ecx, str.called__Option::unwrap____on_a__None__value_home_rafalh_.cargo_registry_src_index.crates.io_6f17d22bba15001f_serde_json_1.0.81_src_read.rs
mov edx, 0x2b
push 0x580fb4
call fcn.0046b100
mov ecx, str.called__Option::unwrap____on_a__None__value_home_rafalh_.cargo_registry_src_index.crates.io_6f17d22bba15001f_serde_json_1.0.81_src_read.rs
mov edx, 0x2b
push 0x580fc4
call fcn.0046b100
nop word [eax + eax]