joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406b00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, edx
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
xor esi, esi
lea edx, [eax + edx*2]
movzx ebx, byte [eax + 1]
cmp byte [eax], ch
lea eax, [eax + 2]
lea edi, [esi + ebx]
jne 0x406b50
cmp edi, esi
jb 0x406bb8
cmp edi, dword [esp + 0x1c]
ja 0x406bcb
add esi, dword [esp + 0x18]
nop word [eax + eax]
test ebx, ebx
je 0x406b52
dec ebx
cmp byte [esi], cl
lea esi, [esi + 1]
jne 0x406b40
jmp 0x406baf
ja 0x406b58
cmp eax, edx
mov esi, edi
jne 0x406b13
mov edi, dword [esp + 0x24]
movzx ecx, cx
mov al, 1
add edi, ebp
nop word cs:[eax + eax]
nop dword [eax]
movzx edx, byte [ebp]
lea esi, [ebp + 1]
test dl, dl
js 0x406b90
mov ebp, esi
sub ecx, edx
jns 0x406ba7
jmp 0x406bb1
cmp esi, edi
je 0x406be0
movzx esi, byte [ebp + 1]
and edx, 0x7f
add ebp, 2
shl edx, 8
or edx, esi
sub ecx, edx
js 0x406bb1
xor al, 1
cmp ebp, edi
jne 0x406b70
jmp 0x406bb1
xor eax, eax
and al, 1
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
mov edx, edi
push 0x437d18
call fcn.004354a0
add esp, 4
ud2
mov edx, dword [esp + 0x1c]
mov ecx, edi
push 0x437d18
call fcn.004352f0
add esp, 4
ud2
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_90c541806f23a127002de5b4038be731ba1458calibrary_alloc_srccollections_btreemapentry.rs
mov edx, 0x2b
push 0x437d28
call fcn.00435300
add esp, 4
ud2
Function at 0x40e840
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x4267c0
lea ecx, [ebp - 0x18]
mov edx, dword fs:[0]
cmp eax, 3
mov dword [ebp - 0x18], edx
mov dword fs:[0], ecx
je 0x40e87e
test eax, eax
jne 0x40e9fa
mov ebx, dword [0x444a40]
test ebx, ebx
je 0x40e9fa
mov dword [ebp - 0x20], 0
jmp 0x40e8a7
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x40e8d8
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x40ea4b
dec esi
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x40e8a0
push 0
push esi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
call edi
add esp, 4
mov al, 1
mov dword [ebp - 0x20], eax
jmp 0x40e8a0
test byte [ebp - 0x20], 1
je 0x40e9fa
mov ebx, dword [0x444a40]
test ebx, ebx
je 0x40e9fa
mov dword [ebp - 0x20], 0
jmp 0x40e907
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x40e938
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x40ea4b
dec esi
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x40e900
push 0
push esi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
call edi
add esp, 4
mov al, 1
mov dword [ebp - 0x20], eax
jmp 0x40e900
test byte [ebp - 0x20], 1
je 0x40e9fa
mov ebx, dword [0x444a40]
test ebx, ebx
je 0x40e9fa
mov dword [ebp - 0x20], 0
jmp 0x40e967
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x40e998
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x40ea4b
dec esi
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x40e960
push 0
push esi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
call edi
add esp, 4
mov al, 1
mov dword [ebp - 0x20], eax
jmp 0x40e960
test byte [ebp - 0x20], 1
je 0x40e9fa
mov ebx, dword [0x444a40]
test ebx, ebx
je 0x40e9fa
mov dword [ebp - 0x20], 0
jmp 0x40e9c7
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x40e9f4
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x40ea4b
dec esi
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x40e9c0
push 0
push esi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
call edi
add esp, 4
mov al, 1
mov dword [ebp - 0x20], eax
jmp 0x40e9c0
test byte [ebp - 0x20], 1
jne 0x40ea14
movzx eax, byte [0x440600]
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov ebx, dword [0x444a40]
jmp 0x40ea1f
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x40e9fa
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
je 0x40ea4b
dec esi
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x40ea1c
push 0
push esi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
call edi
add esp, 4
jmp 0x40ea1c
mov dword [ebp - 0x10], 0
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_90c541806f23a127002de5b4038be731ba1458calibrary_alloc_srccollections_btreemapentry.rs
mov edx, 0x2b
push 0x43b260
call fcn.00435300
add esp, 4
ud2
Function at 0x40f350
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x426840
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov eax, dword [0x444058]
test eax, eax
je 0x40f442
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
jbe 0x40f3a6
cmp dword [eax], 0
mov edi, eax
je 0x40f3a6
add edi, 4
jmp 0x40f42f
mov eax, dword [0x444058]
test eax, eax
je 0x40f451
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
je 0x40f42d
mov esi, eax
test eax, eax
jne 0x40f3fe
mov ecx, 0x10
mov edx, 4
call fcn.00403880
test eax, eax
je 0x40f46c
mov dword [eax], 0
mov dword [eax + 0xc], 0x444058
mov esi, eax
mov eax, dword [0x444058]
test eax, eax
je 0x40f460
dec eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [esi + 8]
cmp dword [esi], 0
lea edi, [esi + 4]
mov dword [esi], 1
mov dword [esi + 4], 0
mov dword [esi + 8], 0
je 0x40f42f
test ecx, ecx
je 0x40f42f
lock dec dword [ecx]
jne 0x40f42f
call fcn.0040f4c0
jmp 0x40f42f
xor edi, edi
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x444058
call fcn.00435b80
jmp 0x40f38b
mov ecx, 0x444058
call fcn.00435b80
jmp 0x40f3b4
mov ecx, 0x444058
call fcn.00435b80
jmp 0x40f3f6
mov ecx, 0x10
mov edx, 4
mov dword [ebp - 0x10], 0
call fcn.00435190
ud2
Function at 0x40fc90
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x4268b0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], ecx
mov eax, dword [eax]
cmp byte [eax], 0
mov byte [eax], 0
je 0x40fec8
mov byte [ebp - 0x1d], 0
mov eax, dword [0x4449d0]
cmp eax, 3
jne 0x40fe78
cmp byte [ebp - 0x1d], 0
jne 0x40fe8a
mov eax, dword [0x444034]
test eax, eax
je 0x40fe9b
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
jbe 0x40fd11
cmp byte [eax + 4], 0
mov esi, eax
jne 0x40fd92
mov eax, dword [0x444034]
test eax, eax
je 0x40feaa
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x40fd53
mov esi, eax
cmp eax, 1
jne 0x40fd8c
lea eax, [ebp - 0x20]
mov ecx, 0x4399ab
mov edx, 0x46
push 0x439a10
push 0x4390a4
push eax
call fcn.004354b0
add esp, 0xc
ud2
mov ecx, 8
mov edx, 4
call fcn.00403880
test eax, eax
je 0x40ff0a
mov dword [eax], 0x444034
mov byte [eax + 4], 0
mov esi, eax
mov eax, dword [0x444034]
test eax, eax
je 0x40feb9
dec eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov word [esi + 4], 1
mov eax, dword [0x4449f0]
add esi, 5
cmp eax, esi
jne 0x40fdbf
mov eax, dword [0x4449f4]
inc eax
jne 0x40fddf
mov ecx, str.lock_count_overflow_in_reentrant_mutexlibrary_std_src_sync_remutex.rs
mov edx, 0x26
push 0x43a260
call fcn.00435530
add esp, 4
ud2
lea eax, [0x4449ec]
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x40fe8a
mov eax, 1
mov dword [0x4449f0], esi
mov dword [0x4449f4], eax
mov dword [ebp - 0x28], 0
mov word [ebp - 0x24], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], 0
cmp dword [0x4449d4], 0
jne 0x40fee1
lea ecx, [0x4449d8]
mov dword [0x4449d4], 0xffffffff
mov dword [ebp - 0x10], 1
call fcn.0040ffd0
mov eax, dword [ebp - 0x24]
movsd xmm0, qword [ebp - 0x34]
movsd xmm1, qword [ebp - 0x2c]
mov dword [0x4449e8], eax
movsd qword [0x4449e0], xmm1
movsd qword [0x4449d8], xmm0
inc dword [0x4449d4]
dec dword [0x4449f4]
jne 0x40fe8a
lea eax, [0x4449ec]
mov dword [0x4449f0], 0
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x40fe8a
lea ecx, [ebp - 0x1d]
call fcn.00435d80
cmp byte [ebp - 0x1d], 0
je 0x40fceb
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x444034
call fcn.00435b80
jmp 0x40fcf9
mov ecx, 0x444034
call fcn.00435b80
jmp 0x40fd1f
mov ecx, 0x444034
call fcn.00435b80
jmp 0x40fd84
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_90c541806f23a127002de5b4038be731ba1458calibrary_alloc_srccollections_btreemapentry.rs
mov edx, 0x2b
push 0x43a1d4
call fcn.00435300
add esp, 4
ud2
mov dword [ebp - 0x10], 2
lea eax, [ebp - 0x20]
mov ecx, str.already_borrowedlibrary_std_srcio_stdio.rs
mov edx, 0x10
push 0x439f64
push 0x4390b4
push eax
call fcn.004354b0
add esp, 0xc
ud2
mov ecx, 8
mov edx, 4
call fcn.00435190
ud2
Function at 0x4112c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
mov eax, dword [0x444068]
test eax, eax
je 0x411347
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
jbe 0x4112e1
cmp dword [eax], 0
je 0x4112e1
add eax, 4
pop esi
ret
mov eax, dword [0x444068]
test eax, eax
je 0x411356
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
je 0x411343
mov esi, eax
test eax, eax
jne 0x411331
mov ecx, 0xc
mov edx, 4
call fcn.00403880
test eax, eax
je 0x41136e
mov dword [eax], 0
mov dword [eax + 8], 0x444068
mov esi, eax
mov eax, dword [0x444068]
test eax, eax
je 0x411362
dec eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esi], 1
lea eax, [esi + 4]
mov dword [esi + 4], 0
pop esi
ret
xor eax, eax
pop esi
ret
mov ecx, 0x444068
call fcn.00435b80
jmp 0x4112cb
mov ecx, 0x444068
call fcn.00435b80
jmp 0x4112eb
mov ecx, 0x444068
call fcn.00435b80
jmp 0x411329
mov ecx, 0xc
mov edx, 4
call fcn.00435190
ud2
Function at 0x418dc0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x426a40
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov eax, dword [0x444024]
test eax, eax
je 0x418eab
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
jbe 0x418e16
cmp dword [eax], 0
mov edi, eax
je 0x418e16
add edi, 4
jmp 0x418e98
mov eax, dword [0x444024]
test eax, eax
je 0x418eba
dec eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, 1
je 0x418e96
mov esi, eax
test eax, eax
jne 0x418e6e
mov ecx, 0xc
mov edx, 4
call fcn.00403880
test eax, eax
je 0x418ed5
mov dword [eax], 0
mov dword [eax + 8], 0x444024
mov esi, eax
mov eax, dword [0x444024]
test eax, eax
je 0x418ec9
dec eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [esi + 4]
cmp dword [esi], 0
lea edi, [esi + 4]
mov dword [esi], 1
mov dword [esi + 4], 0
je 0x418e98
test ecx, ecx
je 0x418e98
lock dec dword [ecx]
jne 0x418e98
call fcn.00418f10
jmp 0x418e98
xor edi, edi
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x444024
call fcn.00435b80
jmp 0x418dfb
mov ecx, 0x444024
call fcn.00435b80
jmp 0x418e24
mov ecx, 0x444024
call fcn.00435b80
jmp 0x418e66
mov ecx, 0xc
mov edx, 4
mov dword [ebp - 0x10], 0
call fcn.00435190
ud2
Function at 0x41f980
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x426ae0
mov eax, dword [ebp + 8]
mov edi, ecx
lea ecx, [ebp - 0x18]
mov esi, dword fs:[0]
mov dword [ebp - 0x18], esi
mov dword fs:[0], ecx
lea ecx, [ebp - 0x34]
push eax
call fcn.0041f860
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x41fa0d
cmp byte [ebp - 0x30], 3
jne 0x41fa36
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], edi
mov eax, dword [ecx]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x10], 0
push eax
call dword [ecx]
add esp, 4
mov esi, dword [ebp - 0x20]
mov eax, dword [esi + 4]
cmp dword [eax + 4], 0
je 0x41f9fc
mov edx, dword [eax + 8]
mov ecx, dword [esi]
call fcn.004038e0
mov ecx, esi
mov edx, 4
call fcn.004038e0
mov edi, dword [ebp - 0x24]
jmp 0x41fa36
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x41fa36
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41fa4e
mov eax, dword [ebp - 0x20]
mov dword [edi], ebx
mov dword [edi + 4], esi
mov dword [edi + 8], eax
jmp 0x41fa3d
mov dword [edi + 4], 0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
test ebx, ebx
mov dword [edi + 4], 0
je 0x41fa3d
mov ecx, esi
mov edx, 2
call fcn.004038e0
jmp 0x41fa3d
Function at 0x421ae0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1048
call fcn.00426ed0
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x426b50
mov edi, ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x30], edx
lea esi, [ebp - 0x1054]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edx
push 0x1000
push 0
push esi
call fcn.00429470
add esp, 0xc
xorps xmm0, xmm0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x44]
push 0x419a20
push eax
push 0x1000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFileEx]
test eax, eax
je 0x421c44
mov esi, dword [sym.imp.KERNEL32.dll_SleepEx]
mov dword [ebp - 0x20], edi
push 1
push 0xffffffffffffffff
call esi
cmp dword [ebp - 0x2c], 0
je 0x421b70
cmp dword [ebp - 0x28], 0
jne 0x421c55
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x54], 4
test ebx, ebx
mov dword [ebp - 0x50], ebx
je 0x421c55
cmp ebx, 0x1000
ja 0x421c91
xor edi, edi
nop dword [eax]
mov eax, ebx
sub eax, edi
jb 0x421c77
xorps xmm0, xmm0
lea edx, [ebp - 0x2c]
lea ecx, [ebp + edi - 0x1054]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], edx
push 0x419a20
lea edx, [ebp - 0x44]
push edx
push eax
push ecx
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_WriteFileEx]
test eax, eax
je 0x421c4c
nop dword [eax]
push 1
push 0xffffffffffffffff
call esi
cmp dword [ebp - 0x2c], 0
je 0x421bf0
cmp dword [ebp - 0x28], 0
jne 0x421c52
add edi, dword [ebp - 0x24]
cmp edi, ebx
jne 0x421bb0
xorps xmm0, xmm0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], eax
push 0x419a20
lea eax, [ebp - 0x44]
push eax
push 0x1000
lea eax, [ebp - 0x1054]
push eax
mov edi, dword [ebp - 0x20]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFileEx]
test eax, eax
jne 0x421b70
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x421c55
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call esi
push dword [ebp - 0x30]
call esi
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x1048
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
mov ecx, edi
mov edx, ebx
push 0x43adfc
call fcn.004354a0
add esp, 4
jmp 0x421cac
mov dword [ebp - 0x10], 0
mov ecx, ebx
mov edx, 0x1000
push 0x43adfc
call fcn.004352f0
add esp, 4
ud2
Function at 0x421cf0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov esi, esp
mov dword [esi + 0x38], ebp
mov dword [esi + 0x3c], esp
mov dword [esi + 0x48], 0xffffffff
mov dword [esi + 0x44], 0x426b60
lea eax, [esi + 0x40]
xorps xmm0, xmm0
mov ecx, dword fs:[0]
mov dword [esi + 0x40], ecx
mov dword fs:[0], eax
movaps xmmword [esi + 0x10], xmm0
lea eax, [esi + 0x10]
push 0x10
push eax
call dword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x421d54
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, esi
lea ecx, [esi + 8]
mov dword [esi + 0x28], 0x43af0c
mov dword [esi + 0x2c], 1
mov dword [esi + 0x20], 0
mov dword [esi + 4], eax
mov dword [esi], 0
mov dword [esi + 0x48], 0
mov dword [esi + 8], edx
mov dword [esi + 0x30], ecx
lea ecx, [esi + 0x20]
mov edx, 0x43af38
mov dword [esi + 0xc], 0x414f40
mov dword [esi + 0x34], 1
call fcn.00435240
ud2

Function at 0x42740c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42744b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42744b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42744b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42744b
cmp dword [ecx + 0x74], 0xe
jbe 0x42744b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x42e613
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x42e6b0
push ebx
push esi
call fcn.0042e5dc
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0042e570
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x42e65d
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42e6af
push edi
push eax
call fcn.0042f230
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x42e67d
call fcn.0042d0d1
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42e6ae
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0042e570
add esp, 0x20
test eax, eax
jne 0x42e69c
push edi
call fcn.0042d0d1
jmp 0x42e6a4
push ebx
call fcn.0042d0d1
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x42f9ad
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43d7f8
push 0x43d7f0
push str.FlsAlloc
push 0x1f
call fcn.0042f86c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42f9e1
push dword [ebp + 8]
mov ecx, esi
call dword [0x4371b4]
call esi
jmp 0x42f9e7
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x42fa2b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43d808
push 0x43d800
push str.FlsGetValue
push 0x21
call fcn.0042f86c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42fa62
push dword [ebp + 8]
mov ecx, esi
call dword [0x4371b4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x42fa6a
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43d810
push 0x43d808
push str.FlsSetValue
push 0x22
call fcn.0042f86c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42faa4
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4371b4]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x434f00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x434f2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x434f2d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x435b80
Capabilities:
Allocate thread local storage

Disassembly:
push ebx
push edi
push esi
sub esp, 0x20
cmp dword [ecx + 4], 0
mov esi, ecx
je 0x435bea
lea ebx, [esi + 0xc]
mov dword [esp + 4], 0
lea eax, [esp + 4]
push 0
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
cmp eax, 1
mov dword [esp], eax
jne 0x435c25
cmp dword [esp + 4], 0
je 0x435c0c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x435c3a
mov edi, eax
inc eax
mov dword [esi], eax
mov eax, dword [0x444a40]
nop dword [eax]
mov dword [esi + 8], eax
lock cmpxchg dword [0x444a40], esi
jne 0x435bd0
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_InitOnceComplete]
jmp 0x435c1c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esp], eax
je 0x435c7d
mov ecx, eax
xor eax, eax
inc ecx
lock cmpxchg dword [esi], ecx
jne 0x435c10
mov edi, dword [esp]
jmp 0x435c1c
mov edi, dword [esi]
jmp 0x435c1b
mov edi, eax
push dword [esp]
call dword [sym.imp.KERNEL32.dll_TlsFree]
dec edi
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
ret
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 0x10], 0
call fcn.00435cc0
ud2
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_InitOnceComplete]
lea ecx, [esp + 8]
mov edx, 0x43b23c
mov dword [esp + 0x10], 0x43b234
mov dword [esp + 0x14], 1
mov dword [esp + 8], 0
mov dword [esp + 0x18], str._rustc_90c541806f23a127002de5b4038be731ba1458calibrarycore_src_strpattern.rs
mov dword [esp + 0x1c], 0
call fcn.00435240
ud2
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0
mov dword [esp + 0x10], 0x43b234
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], str._rustc_90c541806f23a127002de5b4038be731ba1458calibrarycore_src_strpattern.rs
mov dword [esp + 0x1c], 0
call fcn.00435d20
ud2