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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb8
lea esi, [esp + 0x70]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call fcn.0041a162
add esp, 0x14
mov eax, dword [esi]
mov ebx, dword [esi + 0x3c]
mov edx, dword [esi + 0x10]
mov edi, dword [esi + 4]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x18]
mov ecx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x1c], edi
sub ecx, eax
mov dword [esp + 0x34], eax
mov al, byte [esi + 0xe]
mov dword [esp + 0x50], ecx
mov ecx, dword [esi + 0x38]
mov byte [esp + 0xa], al
mov eax, dword [esi + 0x34]
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 0x1c]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x30]
mov dword [esp], ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], ecx
mov ecx, edx
neg ecx
mov dword [esp + 0x58], ecx
lea ecx, [ebx - 1]
mov bh, byte [esp + 0xa]
mov dword [esp + 0x40], ecx
lea ecx, [eax + edi]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 4]
add ecx, eax
mov dword [esp + 0x24], ecx
lea ecx, [eax + edi + 1]
mov dword [esp + 0x6c], ecx
lea ecx, [eax + edi + 2]
lea eax, [eax + edi + 3]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x60], ecx
lea ecx, [edx - 1]
mov dword [esp + 0x5c], ecx
xor ecx, ecx
inc ecx
mov dword [esp + 0x18], ecx
mov cl, byte [esp + 0x7c]
test eax, eax
jne 0x40f977
test bh, bh
jne 0x40fb9a
mov ch, cl
xor ch, 1
test edi, edi
je 0x40f8ae
cmp edi, dword [esp + 4]
jae 0x40f928
mov edx, dword [esp + 0x44]
cmp byte [edx], 0xc0
jl 0x40fcde
cmp dword [esp + 4], edi
jb 0x40fcce
je 0x40f92e
mov eax, dword [esp + 0x44]
mov bl, byte [eax]
movzx esi, bl
test bl, bl
jns 0x40f94d
mov eax, dword [esp + 0x6c]
cmp eax, dword [esp + 0x24]
je 0x40fd07
movzx eax, byte [eax]
and esi, 0x1f
and eax, 0x3f
cmp bl, 0xdf
jbe 0x40f93d
mov edx, dword [esp + 0x60]
cmp edx, dword [esp + 0x24]
je 0x40fd07
movzx edi, byte [edx]
shl eax, 6
and edi, 0x3f
or edi, eax
cmp bl, 0xf0
jb 0x40f944
mov eax, dword [esp + 0x54]
cmp eax, dword [esp + 0x24]
je 0x40fd07
movzx eax, byte [eax]
and esi, 7
shl edi, 6
shl esi, 0x12
and eax, 0x3f
or eax, edi
or esi, eax
jmp 0x40f949
jne 0x40fcde
test cl, cl
mov cl, ch
jne 0x40f87e
jmp 0x40fb9c
shl esi, 6
or esi, eax
jmp 0x40f94d
shl esi, 0xc
or esi, edi
mov edi, dword [esp + 0x1c]
mov eax, esi
xor eax, 0xd800
add eax, 0xffef0000
cmp eax, 0xffef07ff
jbe 0x40fcf7
mov eax, dword [esp + 0x28]
test cl, cl
mov cl, ch
jne 0x40f87e
jmp 0x40fba7
mov eax, dword [esp + 4]
mov byte [esp + 0x7c], cl
cmp dword [esp], eax
je 0x40fba0
cmp dword [esp + 0x10], 0
je 0x40fca6
mov esi, dword [esp]
mov edi, dword [esp + 0xc]
mov edx, 1
add esi, dword [esp + 0x40]
jb 0x40fc74
mov eax, dword [esp + 0x78]
mov ecx, dword [esp]
mov dword [esp + 0x38], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x7c]
mov ebx, ecx
mov dword [esp + 0x64], eax
mov eax, ecx
add eax, dword [esp + 0x34]
setb byte [esp + 0xb]
add ebx, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ebx
setb byte [esp + 9]
cmp esi, dword [esp + 4]
jae 0x40fbe8
cmp dword [esp], ecx
jne 0x40fbec
mov eax, dword [esp + 0x14]
mov cl, byte [eax + esi]
xor eax, eax
mov esi, edx
shld eax, edx, cl
shl esi, cl
test cl, 0x20
mov ecx, 0
cmovne eax, esi
cmovne esi, ecx
and eax, dword [esp + 0x64]
and esi, dword [esp + 0x68]
or esi, eax
je 0x40faab
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
mov esi, edx
cmp eax, ecx
mov ebx, ecx
cmova ebx, eax
cmp edi, 0xffffffff
mov edi, dword [esp + 0x10]
cmove ebx, eax
mov dword [esp + 0x4c], ebx
cmp ebx, edi
cmova edi, ebx
sub esi, ebx
cmp edi, ebx
je 0x40fada
mov eax, dword [esp]
mov edx, dword [esp + 4]
add eax, ebx
jb 0x40fc2e
cmp eax, edx
jae 0x40fc38
mov ecx, dword [esp + 0x48]
dec esi
mov dl, byte [ecx + ebx]
mov ecx, dword [esp + 0x14]
inc ebx
cmp dl, byte [ecx + eax]
je 0x40fa49
mov eax, esi
neg eax
cmp eax, dword [esp + 0x3c]
jb 0x40fc88
mov ecx, dword [esp + 0x58]
sub ecx, esi
inc ecx
je 0x40fc92
add ecx, dword [esp]
jb 0x40fc9c
mov edi, dword [esp + 0xc]
xor esi, esi
mov edx, 1
jmp 0x40fabc
cmp byte [esp + 9], 0
jne 0x40fc7e
mov ecx, dword [esp + 0x30]
xor esi, esi
cmp edi, 0xffffffff
je 0x40fac9
mov dword [esp + 0x38], esi
mov dword [esp + 0x20], esi
mov esi, ecx
add esi, dword [esp + 0x40]
jae 0x40f9e2
jmp 0x40fc74
cmp dword [esp + 0xc], 0xffffffff
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x1c]
mov bh, byte [esp + 0xa]
mov eax, 0
cmove esi, eax
lea eax, [ecx + 1]
cmp esi, eax
jae 0x40fb6a
cmp ecx, dword [esp + 0x10]
jae 0x40fc4c
mov eax, dword [esp]
add eax, ecx
jb 0x40fc5b
cmp eax, dword [esp + 4]
jae 0x40fc65
mov edx, dword [esp + 0x48]
mov bl, byte [edx + ecx]
mov edx, dword [esp + 0x14]
dec ecx
cmp bl, byte [edx + eax]
je 0x40faf7
cmp byte [esp + 0xb], 0
jne 0x40fcba
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
mov edx, 1
cmp edi, 0xffffffff
je 0x40fac9
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x50]
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x10], eax
jae 0x40fac1
jmp 0x40fcc4
cmp byte [esp + 9], 0
mov eax, dword [esp + 0x28]
jne 0x40fcb0
cmp dword [esp + 0xc], 0xffffffff
mov edx, dword [esp + 0x38]
mov ecx, 0
cmovne edx, ecx
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x30]
mov dword [esp], edx
jmp 0x40f87a
mov ch, cl
mov byte [esp + 0x7c], ch
mov edx, dword [ebp + 0xc]
mov edi, edx
jmp 0x40fc1f
cmp esi, 0x80
mov byte [esp + 0x7c], ch
jb 0x40fbd5
cmp esi, 0x800
mov dword [esp + 0x18], 2
jb 0x40fbd5
cmp esi, 0x10000
mov eax, 4
sbb eax, 0
mov dword [esp + 0x18], eax
add dword [esp + 0x18], edi
mov edx, dword [ebp + 0xc]
jae 0x40fc17
push 0x433680
call fcn.0042b1ad
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x40fc11
mov eax, dword [esp + 0x14]
cmp ecx, dword [esp + 4]
jae 0x40fc02
cmp byte [eax + ecx], 0xbf
jle 0x40fc04
jmp 0x40fc11
je 0x40fc11
inc ecx
jne 0x40fbf4
push 0x433690
call fcn.0042b1ad
mov edi, dword [esp]
mov edx, dword [ebp + 0xc]
cmp edi, edx
ja 0x40fcd2
mov eax, dword [ebp + 8]
sub edx, edi
add eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x4334a4
call fcn.0042b1ad
mov eax, dword [esp + 0x4c]
add eax, dword [esp]
cmp edx, eax
cmova eax, edx
push 0x4334b4
push edx
jmp 0x40fc6e
push 0x433454
push dword [esp + 0x14]
push ecx
call fcn.0042af69
push 0x433464
call fcn.0042b1ad
push 0x433474
push dword [esp + 8]
push eax
call fcn.0042af69
push 0x433424
call fcn.0042b1ad
push 0x433434
call fcn.0042b1ad
push 0x4334c4
call fcn.0042b1d9
push 0x4334c4
call fcn.0042b1ad
push 0x4334d4
call fcn.0042b1ad
push 0x433414
call fcn.0042b1d9
push 0x433444
call fcn.0042b1ad
push 0x433484
call fcn.0042b1ad
push 0x433494
call fcn.0042b1d9
mov byte [esp + 0x7c], ch
push 0x66
push 0x43332f
call fcn.0042af2f
mov byte [esp + 0x7c], ch
push 0x433670
mov eax, dword [esp + 8]
push eax
push edi
push eax
push dword [esp + 0x24]
call fcn.0042b12d
mov byte [esp + 0x7c], ch
push 0x39
push str.unsafe_precondition_s__violated:_invalid_value_for__char_unsafe_precondition_s__violated:_hint::unreachable_unchecked_must_never_be_reached_home_hagb_.rustup_toolchains_nightly_2024_04_15_x86_64_unknown_linux_gnu_lib_rustlib_src_rust_library_core_src_iter_traits_iterator.rs
call fcn.0042af2f
mov byte [esp + 0x7c], ch
call fcn.0040fd10