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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x60
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x7c]
mov eax, dword [esp + 0x74]
cmp edx, 0x101
jb 0x596862
cmp byte [eax + 0x100], 0xbf
mov ebx, 0x100
jg 0x596848
cmp byte [eax + 0xff], 0xbf
mov ebx, 0xff
jg 0x596848
cmp byte [eax + 0xfe], 0xbf
mov ebx, 0xfe
jg 0x596848
mov ebx, 0xfd
cmp ebx, edx
jae 0x596881
cmp byte [eax + ebx], 0xbf
jg 0x596883
push ecx
push ebx
push 0
push edx
push eax
call fcn.005a11c0
add esp, 0x14
ud2
xor ebp, ebp
mov ebx, str.assertion_failed:_edelta___0librarycore_src_numdiy_float.rs
mov dword [esp], eax
mov dword [esp + 4], edx
cmp edi, edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebp
jbe 0x5968b1
jmp 0x59692d
jne 0x596852
mov dword [esp], eax
xor eax, eax
cmp ebx, edx
mov dword [esp + 4], ebx
mov ebp, str._..._begin___end_______when_slicing___
mov ebx, str.assertion_failed:_edelta___0librarycore_src_numdiy_float.rs
setb al
cmovb ebx, ebp
lea ebp, [eax + eax*4]
mov eax, dword [esp + 0x74]
cmp edi, edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebp
ja 0x59692d
cmp esi, edx
ja 0x59692d
cmp edi, esi
mov ebp, ecx
jbe 0x59699c
lea eax, [esp + 0x7c]
lea edx, [esp + 0x80]
mov ecx, esp
mov dword [esp + 0xc], 0x676c98
mov dword [esp + 0x10], 4
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], fcn.00598a80
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], fcn.00598a80
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x24]
lea edx, [esp + 0x4c]
mov dword [esp + 0x38], 0x598d60
mov dword [esp + 0x3c], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x40], 0x598d60
mov dword [esp + 0x18], 4
jmp 0x596b53
lea eax, [esp + 0x54]
cmp edi, edx
mov dword [esp + 0xc], 0x676d38
mov dword [esp + 0x10], 3
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], eax
mov eax, esp
mov dword [esp + 0x28], fcn.00598a80
cmova esi, edi
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x30], 0x598d60
mov dword [esp + 0x54], esi
mov dword [esp + 0x34], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x38], 0x598d60
mov dword [esp + 0x14], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x18], 3
push ecx
push eax
call fcn.005a0aa0
add esp, 8
ud2
test edi, edi
je 0x5969aa
cmp edi, edx
jae 0x5969aa
cmp byte [eax + edi], 0xc0
jl 0x5969ac
mov edi, esi
cmp edi, edx
mov esi, edx
mov dword [esp + 0x5c], edi
jae 0x5969ff
mov ebx, edi
mov ecx, eax
xor eax, eax
lea esi, [edi + 1]
sub ebx, 3
cmovb ebx, eax
cmp ebx, esi
jbe 0x5969da
push 0x676d6c
push esi
push ebx
call fcn.005a1030
add esp, 0xc
ud2
add esi, ecx
add edi, ecx
sub esi, ecx
sub esi, ebx
mov eax, ecx
nop word cs:[eax + eax]
nop
test esi, esi
je 0x5969fd
dec esi
cmp byte [edi], 0xc0
lea edi, [edi - 1]
jl 0x5969f0
add esi, ebx
test esi, esi
jne 0x596a07
mov edi, edx
jmp 0x596a1d
mov edi, edx
sub edi, esi
jbe 0x596a1b
cmp byte [eax + esi], 0xbf
jg 0x596a1d
push ebp
push edx
push esi
jmp 0x596856
jne 0x596a13
test edi, edi
jne 0x596a33
push ebp
push 0x2b
push 0x675f4d
call fcn.005a0b60
add esp, 0xc
ud2
movzx ebx, byte [eax + esi]
movzx edx, bl
test bl, bl
js 0x596a4c
mov dword [esp + 8], edx
mov edx, 1
jmp 0x596ad3
mov ecx, eax
mov eax, ebp
and edx, 0x1f
movzx ebp, byte [ecx + esi + 1]
and ebp, 0x3f
cmp bl, 0xdf
jbe 0x596a93
movzx edi, byte [ecx + esi + 2]
shl ebp, 6
and edi, 0x3f
or edi, ebp
cmp bl, 0xf0
jb 0x596a9e
movzx ecx, byte [ecx + esi + 3]
and edx, 7
shl edi, 6
mov ebp, eax
shl edx, 0x12
and ecx, 0x3f
or ecx, edi
or ecx, edx
cmp ecx, 0x110000
je 0x596a21
jmp 0x596aa7
shl edx, 6
or edx, ebp
mov ebp, eax
mov ecx, edx
jmp 0x596aa7
shl edx, 0xc
mov ebp, eax
or edi, edx
mov ecx, edi
mov edx, 1
cmp ecx, 0x80
mov dword [esp + 8], ecx
jb 0x596ad3
mov edx, 2
cmp ecx, 0x800
jb 0x596ad3
cmp ecx, 0x10000
mov edx, 4
sbb edx, 0
lea eax, [esp + 0x5c]
add edx, esi
lea ecx, [esp + 8]
mov dword [esp + 0x54], esi
mov dword [esp + 0xc], 0x676cf8
mov dword [esp + 0x10], 5
mov dword [esp + 0x1c], 0
mov dword [esp + 0x58], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], fcn.00598a80
mov dword [esp + 0x2c], ecx
lea edx, [esp + 0x54]
mov ecx, esp
mov dword [esp + 0x30], 0x595400
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], 0x590650
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x24]
lea edx, [esp + 0x4c]
mov dword [esp + 0x40], 0x598d60
mov dword [esp + 0x44], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x48], 0x598d60
mov dword [esp + 0x18], 5
lea eax, [esp + 0xc]
push ebp
push eax
call fcn.005a0aa0
add esp, 8
ud2