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

Disassembly:
push esi
sub esp, 0x138
mov eax, dword [esp + 0x148]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x144]
mov dword [esp + 0x48], ecx
mov dl, byte [esp + 0x140]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
mov dword [esp + 0x130], ecx
mov dword [esp + 0x134], eax
lea edx, [esp + 0x68]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00475540
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x50], ecx
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb8], ecx
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], ecx
mov edx, eax
sub edx, ecx
mov dword [esp + 0x54], edx
cmp eax, ecx
setb al
test al, 1
jne 0x4777b6
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x44], eax
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc8], eax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x94], eax
mov esi, dword [esp + 0x94]
mov dword [esp + 0x100], edx
mov dword [esp + 0x104], ecx
mov dword [esp + 0x108], esi
lea eax, [0x495404]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00478410
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00473670
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], edx
lea eax, [esp + 0x140]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x98]
lea ecx, [esp + 0x8c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0047bdc0
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edx
cmp dword [esp + 0x84], 1
je 0x4777c3
jmp 0x4777e5
mov eax, esp
mov dword [eax], str._home_hagb_.rustup_toolchains_nightly_2024_04_15_x86_64_unknown_linux_gnu_lib_rustlib_src_rust_library_core_src_slice_memchr.rs
call fcn.00469680
mov eax, dword [esp + 0x88]
mov dword [esp + 0xcc], eax
add eax, dword [esp + 0x80]
mov dword [esp + 0x40], eax
setb al
test al, 1
jne 0x47781f
jmp 0x47780d
movzx eax, byte [esp + 0x140]
mov dword [esp], eax
call fcn.004823d0
mov dword [esp + 0x3c], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], 4
jmp 0x47783c
mov eax, dword [esp + 0x40]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], 1
jmp 0x47782c
mov eax, esp
mov dword [eax], str._home_hagb_.rustup_toolchains_nightly_2024_04_15_x86_64_unknown_linux_gnu_lib_rustlib_src_rust_library_core_src_slice_memchr.rs
call fcn.00469640
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
add esp, 0x138
pop esi
ret
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x80], eax
ja 0x477993
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x80]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf8], edx
mov dword [esp + 0xfc], eax
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], esi
mov dword [esp + 0x11c], edx
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x110]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], ecx
mov dword [esp + 0x128], esi
mov dword [esp + 0x12c], edx
cmp eax, ecx
ja 0x4778ea
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x4c]
cmp eax, ecx
ja 0x477905
jmp 0x477920
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
mov dword [eax + 8], 0x495474
call fcn.00472c90
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x4c]
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
mov dword [eax + 8], 0x495474
call fcn.00472b80
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00477d70
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00473670
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edx
lea eax, [esp + 0x140]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xa8]
lea ecx, [esp + 0x9c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0047bf80
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edx
jmp 0x47782c
mov eax, dword [esp + 0x80]
mov dword [esp + 0x2c], eax
mov eax, 2
mov ecx, 4
mul ecx
mov dword [esp + 0x30], eax
seto al
test al, 1
jne 0x4779d0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, eax
sub edx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
setb al
test al, 1
jne 0x477a21
jmp 0x4779dd
mov eax, esp
mov dword [eax], str._home_hagb_.rustup_toolchains_nightly_2024_04_15_x86_64_unknown_linux_gnu_lib_rustlib_src_rust_library_core_src_slice_memchr.rs
call fcn.004696c0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], ecx
mov eax, dword [eax + ecx]
mov dword [esp + 0x20], eax
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x80]
mov ecx, eax
sub ecx, 4
mov dword [esp + 0x24], ecx
cmp eax, 4
setb al
test al, 1
jne 0x477aa4
jmp 0x477a2e
mov eax, esp
mov dword [eax], str._home_hagb_.rustup_toolchains_nightly_2024_04_15_x86_64_unknown_linux_gnu_lib_rustlib_src_rust_library_core_src_slice_memchr.rs
call fcn.00469680
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x24]
mov dword [esp + 0xe4], edx
mov dword [esp + 0xe8], esi
mov edx, dword [edx + esi]
mov dword [esp + 0x18], edx
mov dword [esp + 0xdc], edx
xor eax, ecx
mov dword [esp], eax
call fcn.004770e0
mov ecx, dword [esp + 0x3c]
mov dl, al
mov eax, dword [esp + 0x18]
mov byte [esp + 0x1e], dl
and dl, 1
mov byte [esp + 0xe2], dl
xor eax, ecx
mov dword [esp], eax
call fcn.004770e0
mov cl, al
mov al, byte [esp + 0x1e]
mov byte [esp + 0x1f], cl
and cl, 1
mov byte [esp + 0xe3], cl
test al, 1
jne 0x47784d
jmp 0x477ab1
mov eax, esp
mov dword [eax], str._home_hagb_.rustup_toolchains_nightly_2024_04_15_x86_64_unknown_linux_gnu_lib_rustlib_src_rust_library_core_src_slice_memchr.rs
call fcn.00469680
mov al, byte [esp + 0x1f]
test al, 1
jne 0x47784d
jmp 0x477abf
mov eax, 2
mov ecx, 4
mul ecx
mov dword [esp + 0x14], eax
seto al
test al, 1
jne 0x477af4
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x80]
mov edx, eax
sub edx, ecx
mov dword [esp + 0x10], edx
cmp eax, ecx
setb al
test al, 1
jne 0x477b11
jmp 0x477b01
mov eax, esp
mov dword [eax], str._home_hagb_.rustup_toolchains_nightly_2024_04_15_x86_64_unknown_linux_gnu_lib_rustlib_src_rust_library_core_src_slice_memchr.rs
call fcn.004696c0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x80], eax
jmp 0x47783c
mov eax, esp
mov dword [eax], str._home_hagb_.rustup_toolchains_nightly_2024_04_15_x86_64_unknown_linux_gnu_lib_rustlib_src_rust_library_core_src_slice_memchr.rs
call fcn.00469680
int3