Function at 0x5f5fb0
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 eax, edx
lea edx, [esp + 0x20]
xor esi, esi
mov edi, dword [ecx + 8]
mov dword [esp + 0xc], ecx
mov dword [edx], 4
mov dword [edx + 4], esi
mov dword [edx + 8], esi
lea edx, [esp + 0x30]
mov dword [edx], 1
mov dword [edx + 4], esi
mov dword [edx + 8], esi
mov edx, dword [ecx]
mov esi, dword [ebp + 8]
lea ecx, [esp + 0xa0]
mov dword [esp + 4], edx
push esi
push eax
mov dword [esp + 0x10], edi
push edi
call fcn.004aad00
add esp, 0xc
xor esi, esi
lea ecx, [esp + 0x44]
lea edx, [esp + 0xa0]
call fcn.0058701c
cmp dword [esp + 0x44], 0
je 0x5f612e
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 4]
mov edi, dword [esp + 0x4c]
sub eax, esi
lea edx, [ecx + esi]
lea ecx, [esp + 0x30]
push eax
call fcn.0060c14c
add esp, 4
call fcn.004e6507
mov ebx, eax
mov eax, dword [eax + 0x108]
cmp eax, 0x40
jb 0x5f6066
lea edx, [ebx + 8]
lea ecx, [ebx + 0x110]
call fcn.004e4fea
xor eax, eax
mov esi, dword [ebx + eax*4 + 8]
inc eax
mov ecx, ebx
mov dword [ebx + 0x108], eax
call fcn.004e4f78
mov edx, dword [esp + 0x28]
mov dword [esp + 0x1c], esi
cmp edx, dword [esp + 0x24]
jne 0x5f6093
lea ecx, [esp + 0x20]
call fcn.00606f32
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
mov dword [eax + edx*4], esi
xor eax, eax
mov dword [esp + 0x10], 1
inc edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x54], 0x20
mov byte [esp + 0x64], 3
mov dword [esp + 0x44], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x28], edx
mov dword [esp + 0x58], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x5c], 0x7c4a74
push eax
push ecx
call fcn.004a3a90
add esp, 8
test al, al
jne 0x5f6743
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x30]
mov edx, ebx
push dword [esp + 0x18]
call fcn.0060c14c
add esp, 4
test esi, esi
mov esi, edi
je 0x5f600b
push ebx
push 0
push dword [0x8032a8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov esi, edi
jmp 0x5f600b
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
add edx, esi
sub eax, esi
lea esi, [esp + 0x30]
mov ecx, esi
push eax
call fcn.0060c14c
add esp, 4
mov eax, dword [esi + 8]
movsd xmm0, qword [esi]
mov esi, dword [esp + 0xc]
cmp dword [esi + 4], 0
mov dword [esp + 0xa8], eax
movsd qword [esp + 0xa0], xmm0
je 0x5f617a
push dword [esi]
push 0
push dword [0x8032a8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esp + 0xa8]
movq xmm0, qword [esp + 0xa0]
mov edi, dword [ebp + 0x18]
mov dword [esi + 8], eax
movq qword [esi], xmm0
mov esi, dword [esp + 0x28]
mov ecx, dword [edi + 8]
or ecx, esi
jne 0x5f61c4
cmp dword [esp + 0x24], 0
je 0x5f64b2
push dword [esp + 0x20]
push 0
push dword [0x8032a8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov edx, dword [edi + 8]
jmp 0x5f64b4
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov ecx, esi
call fcn.004eac1a
cmp edx, esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0
jb 0x5f6701
xor edx, edx
test esi, esi
je 0x5f629d
lea ecx, [edx + edx*2]
mov dword [esp + 4], edi
mov dword [esp + 0xc], ebx
lea edi, [eax + ecx*4]
lea eax, [esi*4 - 4]
shl esi, 2
shr eax, 2
lea edx, [edx + eax + 1]
mov dword [esp + 8], edx
mov eax, dword [ebx]
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x30]
mov dword [esp + 0xa0], 0x7c6248
mov dword [esp + 0xa4], 2
mov dword [esp + 0xb0], 0
add ebx, 4
mov dword [esp + 0x30], edx
mov dword [esp + 0xa8], ecx
lea ecx, [esp + 0x44]
lea edx, [esp + 0xa0]
mov dword [esp + 0x34], fcn.004a3a90
mov dword [esp + 0xac], 1
mov dword [esp + 0x1c], eax
call fcn.00499020
mov eax, dword [esp + 0x4c]
mov dword [edi + 8], eax
movq xmm0, qword [esp + 0x44]
movq qword [edi], xmm0
add edi, 0xc
add esi, 0xfffffffc
jne 0x5f6218
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 4]
mov edx, dword [esp + 8]
test edi, edi
mov dword [esp + 0x18], edx
je 0x5f62b4
push ebx
push 0
push dword [0x8032a8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov edi, dword [ebp + 0x14]
mov eax, dword [esp + 0x18]
movsd xmm0, qword [esp + 0x10]
mov ecx, edi
mov dword [esp + 0x88], eax
movsd qword [esp + 0x80], xmm0
call fcn.0059c336
mov ebx, eax
mov dword [esp + 0x3c], edx
push edi
push dword [ebp + 0x10]
push eax
call fcn.0064a810
add esp, 0xc
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
mov esi, dword [edi + 0x18]
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
push dword [ebp + 0x14]
mov dword [esp + 0xc], ebx
push ebx
mov dword [esp + 0x70], eax
push eax
mov dword [esp + 0x78], esi
push esi
call fcn.004d5c9d
mov edx, dword [ebp + 0x14]
add esp, 0x10
mov ecx, eax
mov esi, dword [edi + 4]
mov ebx, dword [edi]
mov dword [esp + 0x78], eax
mov dword [esp + 0x40], 0
shr ecx, 0x19
movd xmm0, ecx
mov dword [esp + 0x7c], ecx
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
mov dword [esp + 0xc], esi
and esi, eax
pshufd xmm1, xmm0, 0
movdqa xmmword [esp + 0x90], xmm1
movdqu xmm0, xmmword [ebx + esi]
mov dword [esp + 4], esi
movdqa xmmword [esp + 0xe0], xmm0
pcmpeqb xmm0, xmm1
pmovmskb esi, xmm0
test si, si
je 0x5f63c1
mov eax, esi
lea esi, [eax - 1]
and esi, eax
bsf eax, eax
add eax, dword [esp + 4]
and eax, dword [esp + 0xc]
mov ecx, eax
neg ecx
lea ecx, [ecx + ecx*8]
lea edi, [ecx + ecx*2]
sub edi, eax
cmp dword [ebx + edi - 0x14], edx
jne 0x5f6374
add edi, ebx
push edx
push dword [esp + 0xc]
push dword [edi - 0x1c]
call fcn.0064aeea
movdqa xmm1, xmmword [esp + 0x9c]
mov edx, dword [ebp + 0x14]
add esp, 0xc
test eax, eax
jne 0x5f6374
jmp 0x5f63fa
movdqa xmm2, xmmword [esp + 0xe0]
pcmpeqd xmm0, xmm0
pcmpeqb xmm2, xmm0
pmovmskb eax, xmm2
test eax, eax
jne 0x5f6644
mov esi, dword [esp + 4]
mov eax, dword [esp + 0x40]
lea esi, [esi + eax + 0x10]
add eax, 0x10
and esi, dword [esp + 0xc]
mov dword [esp + 0x40], eax
jmp 0x5f635a
cmp dword [esp + 0x3c], 0
je 0x5f6413
push dword [esp + 8]
push 0
push dword [0x8032a8]
call dword [sym.imp.kernel32.dll_HeapFree]
lea eax, [edi - 0x10]
mov ecx, 6
mov dword [esp + 0xc], eax
call fcn.0059c336
mov dword [eax], 0x6c657327
mov word [eax + 4], 0x2766
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 6
mov dword [esp + 4], edx
mov dword [esp + 8], eax
cmp dword [edi - 0x10], 0
mov ebx, dword [edi - 0xc]
mov edi, dword [edi - 4]
je 0x5f64cd
mov ecx, 6
mov esi, eax
call fcn.0059c336
mov ecx, dword [esi]
shl edi, 2
add ebx, 8
mov dword [eax], ecx
movzx ecx, word [esi + 4]
lea esi, [edi + edi*2]
mov word [eax + 4], cx
test esi, esi
je 0x5f6498
cmp dword [ebx], 6
jne 0x5f6490
mov ecx, dword [ebx - 8]
mov edi, dword [ecx]
movzx ecx, word [ecx + 4]
xor cx, word [eax + 4]
xor edi, dword [eax]
movzx ecx, cx
or ecx, edi
je 0x5f6498
add ebx, 0xc
add esi, 0xfffffff4
jmp 0x5f6471
test edx, edx
je 0x5f64ab
push eax
push 0
push dword [0x8032a8]
call dword [sym.imp.kernel32.dll_HeapFree]
test esi, esi
jmp 0x5f65cb
xor edx, edx
mov esi, dword [edi]
mov ecx, esi
call fcn.00489190
cmp dword [edi + 4], 0
je 0x5f663c
push esi
jmp 0x5f65f7
lea edx, [esp + 0xa0]
lea ecx, [esp + 0x10]
lea esi, [esp + 0x44]
lea eax, [esp + 0x30]
mov dword [edx], 0x7c87b8
mov dword [edx + 4], 2
mov dword [edx + 0x10], 0
mov dword [edx + 8], ecx
mov ecx, esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0x538ad0
mov dword [edx + 0xc], 1
call fcn.00499020
mov eax, esi
mov esi, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
push edi
push ebx
call fcn.0060172f
add esp, 8
lea ecx, [esp + 0x44]
cmp dword [ecx + 4], 0
je 0x5f654b
push esi
push 0
push dword [0x8032a8]
mov byte [esp + 0x9c], al
call dword [sym.imp.kernel32.dll_HeapFree]
mov al, byte [esp + 0x90]
test al, al
je 0x5f655c
mov esi, dword [ebp + 0x18]
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 8]
jmp 0x5f65d8
lea eax, [esp + 0x30]
lea edx, [esp + 0xa0]
lea ecx, [esp + 0x10]
lea esi, [esp + 0x44]
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [edx], 0x7c87c8
mov dword [esp + 0x14], 0x538ad0
inc eax
mov dword [edx + 4], eax
mov dword [edx + 0x10], 0
mov dword [edx + 8], ecx
mov ecx, esi
mov dword [edx + 0xc], eax
call fcn.00499020
mov eax, esi
mov esi, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
push edi
push ebx
call fcn.0060172f
add esp, 8
lea ecx, [esp + 0x44]
mov ebx, eax
cmp dword [ecx + 4], 0
je 0x5f65c9
push esi
push 0
push dword [0x8032a8]
call dword [sym.imp.kernel32.dll_HeapFree]
test bl, bl
mov esi, dword [ebp + 0x18]
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 8]
je 0x5f6607
lea edx, [esp + 0x80]
mov ecx, edi
call fcn.00601c99
mov ecx, edi
mov edx, esi
call fcn.00601c99
cmp dword [esp + 4], 0
je 0x5f663c
push ebx
push 0
push dword [0x8032a8]
call dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x5f663c
mov eax, dword [esp + 4]
lea edx, [esp + 0xa0]
mov ecx, edi
mov dword [edx], ebx
mov dword [edx + 4], eax
mov dword [edx + 8], 6
call fcn.00601bea
lea edx, [esp + 0x80]
mov ecx, edi
call fcn.00601c99
mov ecx, edi
mov edx, esi
call fcn.00601c99
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [ebp + 0xc]
cmp dword [edi + 8], 0
je 0x5f6724
mov ecx, dword [edi + 4]
mov ebx, dword [esp + 0x78]
mov eax, dword [edi]
and ebx, ecx
movdqu xmm0, xmmword [eax + ebx]
pmovmskb edx, xmm0
test edx, edx
jne 0x5f6682
mov esi, 0x10
add ebx, esi
add esi, 0x10
and ebx, ecx
movdqu xmm0, xmmword [eax + ebx]
pmovmskb edx, xmm0
test edx, edx
je 0x5f666e
bsf edx, edx
add edx, ebx
and edx, ecx
mov bl, byte [eax + edx]
test bl, bl
js 0x5f669e
movdqa xmm0, xmmword [eax]
pmovmskb edx, xmm0
bsf edx, edx
mov bl, byte [eax + edx]
lea esi, [edx - 0x10]
and bl, 1
and esi, ecx
mov ecx, dword [esp + 0x7c]
mov byte [eax + edx], cl
mov byte [esi + eax + 0x10], cl
mov ecx, edx
movzx esi, bl
mov ebx, dword [esp + 8]
neg ecx
sub dword [edi + 8], esi
mov esi, dword [esp + 0x3c]
lea ecx, [ecx + ecx*8]
lea ecx, [ecx + ecx*2]
sub ecx, edx
mov dword [eax + ecx - 0x1c], ebx
mov ebx, dword [ebp + 0x14]
mov dword [eax + ecx - 0x18], esi
mov esi, edi
lea edi, [eax + ecx]
mov dword [eax + ecx - 0x14], ebx
xor ebx, ebx
mov dword [eax + ecx - 0x10], 1
mov dword [eax + ecx - 0xc], 4
mov dword [eax + ecx - 8], ebx
mov dword [eax + ecx - 4], ebx
inc dword [esi + 0xc]
jmp 0x5f6413
mov dword [esp + 4], edi
lea edi, [esp + 0x10]
xor edx, edx
mov ecx, edi
push esi
call fcn.0065577c
add esp, 4
mov eax, dword [edi]
mov edx, dword [edi + 8]
mov edi, dword [esp + 4]
jmp 0x5f61f5
mov edx, dword [esp + 0x70]
mov ecx, edi
push dword [esp + 0x68]
push dword [esp + 0x70]
push dword [esp + 0x7c]
call fcn.0065fa5f
add esp, 0xc
jmp 0x5f6651
lea eax, [esp + 0x2f]
mov ecx, str.a_Display_implementation_returned_an_error_unexpectedly_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_alloc_src_string.rs
mov edx, 0x37
push 0x7f4d0c
push 0x7c4b08
push eax
call fcn.006525c0
add esp, 0xc
ud2