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

Disassembly:
call 0x8059ad
jmp 0x805b7d
lea esp, [esp + 4]
jmp 0x805bed
jmp 0x805bb5
jmp 0x805bd1
push ebp
jmp 0x845690
jmp 0x805b99
jmp 0x805b5c
mov ebp, esp
mov eax, dword [0x80d50c]
sub esp, 0x14
cmp dword [eax + 4], 0
jmp 0x8456d7
push ebx
push esi
push edi
je 0x84570a
cmp dword [eax + 0x10], 0
jne 0x8457a1
add byte [eax], al
call fcn.00824452
test eax, eax
je 0x8457a1
jne 0x845848
lcall 0x5bbf, 0x38c9ae38
clc
outsb dx, byte [esi]
or eax, edi
jg 0x8456e4
stc
inc esi
xor dl, dh
xor eax, eax
inc eax
jmp 0x8459a3
lea eax, [ebp - 0x14]
push eax
mov eax, dword [0x80d508]
jmp 0x845801
call dword [eax + 0x48]
movzx eax, word [ebp - 0x14]
movzx ecx, word [ebp - 0x12]
imul eax, eax, 0xc
mov ebx, dword [0x80d50c]
mov edx, dword [ebx + 4]
movzx esi, word [edx + 0xa68]
add eax, ecx
imul esi, esi, 0xc
movzx ecx, word [ebp - 0xe]
imul eax, eax, 0x1e
movzx edi, word [edx + 0xa92]
jmp 0x8458f1
push eax
call fcn.00824423
pop ecx
jmp 0x8457a1
cmp eax, esi
jb 0x845893
mov edi, dword [ebx + 0x10]
add edi, 0x10
lea esi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.008243d3
jmp 0x8458d3
xor eax, eax
jmp 0x8459a3
cmp eax, edx
jae 0x845864
mov eax, dword [ebx + 0x10]
lea esi, [eax + 0x10]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 4]
mov eax, edx
jmp 0x845864
test eax, eax
je 0x8459c0
jne 0x84599a
setns byte [ecx]
push 0xda4f719b
dec eax
das
fidivr dword [ebp + 0x27]
or dword [edx + 0xfc10385], esp
mov bh, 0x8a
push 0xa
add byte [eax], al
add eax, ecx
movzx ecx, word [edx + 0xa6a]
add esi, ecx
movzx ecx, word [edx + 0xa6e]
imul esi, esi, 0x1e
add esi, ecx
movzx ecx, word [edx + 0xa90]
movzx edx, word [edx + 0xa96]
imul ecx, ecx, 0xc
add ecx, edi
mov edi, dword [ebx + 0x10]
imul ecx, ecx, 0x1e
add ecx, edx
movzx edx, word [edi + 0x10]
movzx edi, word [edi + 0x12]
imul edx, edx, 0xc
add edx, edi
mov edi, dword [ebx + 0x10]
imul edx, edx, 0x1e
movzx edi, word [edi + 0x16]
add edx, edi
mov dword [ebp - 4], esi
cmp eax, ecx
jae 0x8458b3
mov eax, dword [ebx + 4]
lea esi, [eax + 0xa90]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 4]
mov eax, ecx
jmp 0x8458b3
push eax
call fcn.008243b5
pop ecx
jmp 0x8459c0
pop edi
pop esi
jmp 0x845ae7
push 0xb
pop eax
jmp 0x8459a3
pop ebx
leave
ret
Function at 0x823f3a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call fcn.0080178c
jmp 0x80180b
Function at 0x82f4ab
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jmp 0x82f527
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x82f529
je 0x82f58f
invalid
je 0x82f4d5
xor eax, eax
jmp 0x82f586
pop ebp
ret
xor edx, edx
mov ecx, 0x10b
cmp word [eax + 0x18], cx
sete dl
mov eax, edx
pop ebp
ret

Function at 0x860073
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
clc
out 0x53, al
out 0xbf, al
scasd eax, dword es:[edi]
jnp 0x85f5b7
daa
mov ch, 0x87
sub eax, 0xd8df6594
cmp esp, ecx
dec ebx
xchg dword [ebp - 0x54], ebp
xchg edx, eax
invalid
jno 0x85f58c
das
lodsb al, byte [esi]
adc dl, byte [edi + 0x3291c332]
in eax, 0x21
add al, 0xca
xor al, bl
xchg ecx, eax
xor ah, ch
and dword [edx + ecx*8], eax
daa
aaa
add dword [0x77c416eb], edx
fild dword [edi + ecx*8 + 0x1a538327]
aam 0x4b
cmp al, 0xab
pop esp
xchg byte [0xe1cc1bf1], dh
stosd dword es:[edi], eax
loop 0x85f5e2
push es
jge 0x85f5f0
das
or eax, 0x2c89515b
pop edx
mov dword [edx + ebx*2], ebp
fld qword [ebx + 0x73]
sti
push ebx
test ebp, ecx
push ebp
mov dl, 8
or dl, ah
loopne 0x85f5ba
aam 0xe0
invalid
pop esi
xor cl, byte [ebx]
pop ecx
xchg ebp, eax
pop ss
adc esp, 0x5e
mov byte [ebx - 0x460905a9], dl
and byte [edx + 0x5bb13ca0], ch
rol dword [eax], cl
cdq
jb 0x85f5ce
jecxz 0x85f5b1
stosd dword es:[edi], eax
stc
mov ebp, 0xe7d42c98
adc byte [ebx - 0x41525d0b], bl
xlatb
pop ebx
xor al, 0x26
push esi
scasb al, byte es:[edi]
mov dword [0x231e7ee3], eax
arpl word [0x5d3a00cf], dx
pushal
xor dword [edx], 0x3b
clc
or dword [edx - 0x24312a9b], 0xefc80782
test dword [ebp + 0x55b7f8b9], esp
imul edi, dword [eax], 0x2a68f81e
push ss
or al, 0xe8
movsd dword es:[edi], dword [esi]
push ebx
mov eax, dword [0x52d447ee]
push edx
fsub st(7)
and eax, 0xaee4d0cb
retf 0x3479
inc dword [eax + 0x7f8e69]
push 0x970fadcd
add dword [esp], 0x696f3b39
push 0
push 0
push 0xa610790d
add dword [esp], 0x5a6e5ac4
call fcn.00806406
call fcn.008057d7
popal
jmp 0x85f5db
call 0x86003b
jmp 0x8600d6
call 0x860073
push ebx
popal
outsb dx, byte gs:[esi]
imul ebp, dword [bp + 0x65], 0x63694c20
outsb dx, byte gs:[esi]
jae 0x8600d2
jb 0x860085
inc esp
insd dword es:[edi], dx
outsd dx, dword [esi]
and byte [esi + 0x31], dh
cmp byte cs:[esi], ch
xor byte [esi], ch
xor byte [eax], al
lea esp, [esp + 4]
pushal
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0x860106
add byte [eax], al
add byte [edx + ebx*4], 0xfd
or al, 0xe5
jnp 0x86008b
xchg edx, eax
cmc
add al, 0xe4
mov dword [ecx - 0x2f], 0x24af43b0
push 0xffffffffffffffe8
add byte [eax], al
add byte [eax], al
call 0x8600a0
pop eax
sub eax, 0x8600a0
cmp dword [eax + 0x7f8e69], 0
je 0x860002
lea esp, [esp + 8]
popal
jmp 0x85f5db
xor ebx, ebx
sahf
push edx
pop eax
xor ax, ax
cmp word [eax], 0x5a4d
je 0x860146
sub eax, 0x10000
jmp 0x8600da
je 0x860168
jmp 0x8600e1
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
jmp 0x860036
movzx ebx, word [eax + 0x3c]
add ebx, eax
cmp word [ebx], 0x4550
jmp 0x8600e9
push eax
jmp 0x86009b
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x1c
xor eax, eax
cmp word [0x400000], 0x5a4d
mov dword [0x5c61e0], 1
mov dword [0x5c61dc], 1
mov dword [0x5c61d8], 1
jne 0x401056
mov edx, dword [0x40003c]
cmp dword [edx + 0x400000], 0x4550
lea ecx, [edx + 0x400000]
je 0x4010b0
mov dword [0x5c600c], eax
mov eax, dword [0x5c61ec]
test eax, eax
je 0x4010a0
mov dword [esp], 2
call sym.___set_app_type
call sym.___p__fmode
mov edx, dword [0x5c6200]
mov dword [eax], edx
call sym.___p__commode
mov edx, dword [0x5c61e8]
mov dword [eax], edx
call dbg._setargv
cmp dword [0x54a364], 1
je 0x4010e0
xor eax, eax
add esp, 0x1c
ret
mov dword [esp], 1
call sym.___set_app_type
jmp 0x401070
movzx edx, word [ecx + 0x18]
cmp dx, 0x10b
je 0x4010f8
cmp dx, 0x20b
jne 0x401056
cmp dword [ecx + 0x84], 0xe
jbe 0x401056
mov edx, dword [ecx + 0xf8]
xor eax, eax
test edx, edx
setne al
jmp 0x401056
mov dword [esp], dbg._matherr
call dbg.__mingw_setusermatherr
xor eax, eax
add esp, 0x1c
ret
cmp dword [ecx + 0x74], 0xe
jbe 0x401056
mov ecx, dword [ecx + 0xe8]
xor eax, eax
test ecx, ecx
setne al
jmp 0x401056
Function at 0x453470
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, dword [ebp + 8]
test esi, esi
je 0x4534ee
mov dword [ebp - 0x14], ecx
mov ecx, esi
xor ebx, ebx
mov eax, 0x811c9dc5
mov esi, edx
mov dword [ebp - 0x10], edx
nop word cs:[eax + eax]
nop dword [eax + eax]
movzx edx, byte [esi]
inc esi
xor edx, eax
mov eax, 0x100
mov edi, edx
imul edi, eax
mov eax, edx
mov edx, 0x1b3
mul edx
add edx, edi
mov edi, 0x1b3
imul ebx, edi
add ebx, edx
dec ecx
jne 0x4534a0
mov ecx, 0x1b3
xor eax, 0xff
mov esi, 0x100
imul esi, eax
mul ecx
imul ebx, ecx
mov ecx, dword [ebp - 0x14]
add edx, esi
mov esi, dword [ebp + 8]
add ebx, edx
mov edx, dword [ebp - 0x10]
jmp 0x4534f8
mov ebx, 0x1c9d3adb
mov eax, 0x639f298e
mov dword [ecx], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x30], edx
mov dword [ecx + 0x34], esi
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], ebx
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x48], 0
mov dword [ecx + 0x50], 0
mov dword [ecx + 0x58], 0
mov dword [ecx + 0x60], 0
mov dword [ecx + 0x68], 0
mov dword [ecx + 0x70], 0
mov dword [ecx + 0x7c], 0x110000
mov dword [ecx + 0x80], 0x110000
mov dword [ecx + 0x84], 8
mov dword [ecx + 0x88], 0
mov dword [ecx + 0x8c], 0
mov dword [ecx + 0x90], 8
mov dword [ecx + 0x94], 0
mov dword [ecx + 0x98], 0
mov dword [ecx + 0x9c], 8
mov dword [ecx + 0xa0], 0
mov dword [ecx + 0xa4], 0
mov dword [ecx + 0xa8], 8
mov dword [ecx + 0xac], 0
mov dword [ecx + 0xb0], 0
mov dword [ecx + 0xb4], 8
mov dword [ecx + 0xb8], 0
mov dword [ecx + 0xbc], 0
mov dword [ecx + 0xc0], 8
mov dword [ecx + 0xc4], 0
mov dword [ecx + 0xc8], 0
mov dword [ecx + 0xcc], 8
mov dword [ecx + 0xd0], 0
mov dword [ecx + 0xd4], 0
mov dword [ecx + 0xd8], 8
mov dword [ecx + 0xdc], 0
mov dword [ecx + 0xe0], 0
mov dword [ecx + 0xe4], 4
mov dword [ecx + 0xe8], 0
mov dword [ecx + 0xec], 0
mov dword [ecx + 0xf0], 4
mov dword [ecx + 0xf4], 0
mov dword [ecx + 0xf8], 0
mov dword [ecx + 0xfc], 4
mov dword [ecx + 0x100], 0
mov dword [ecx + 0x104], 0
mov dword [ecx + 0x108], 4
mov dword [ecx + 0x10c], 0
mov dword [ecx + 0x110], 0
mov dword [ecx + 0x114], 4
mov dword [ecx + 0x118], 0
mov dword [ecx + 0x11c], 0
mov dword [ecx + 0x120], 8
mov dword [ecx + 0x124], 0
mov dword [ecx + 0x128], 0
mov dword [ecx + 0x12c], 4
mov dword [ecx + 0x130], 0
mov dword [ecx + 0x134], 0
mov dword [ecx + 0x138], 0
mov word [ecx + 0x13c], 2
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x460a20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
xor esi, esi
lea eax, [edx + eax*2]
mov dword [ebp - 0x10], eax
movzx eax, byte [edx + 1]
cmp byte [edx], ch
lea edx, [edx + 2]
lea edi, [esi + eax]
jne 0x460a70
cmp esi, edi
ja 0x460adb
cmp edi, dword [ebp + 0x10]
ja 0x460aee
add esi, dword [ebp + 0xc]
nop word [eax + eax]
test eax, eax
je 0x460a72
dec eax
cmp byte [esi], cl
lea esi, [esi + 1]
jne 0x460a60
jmp 0x460acf
ja 0x460a79
cmp edx, dword [ebp - 0x10]
mov esi, edi
jne 0x460a35
mov edi, dword [ebp + 0x18]
movzx ecx, cx
mov al, 1
add edi, ebx
nop word cs:[eax + eax]
nop dword [eax]
movzx edx, byte [ebx]
lea esi, [ebx + 1]
test dl, dl
js 0x460ab0
mov ebx, esi
sub ecx, edx
jns 0x460ac7
jmp 0x460ad1
cmp esi, edi
je 0x460b02
movzx esi, byte [ebx + 1]
and edx, 0x7f
add ebx, 2
shl edx, 8
or edx, esi
sub ecx, edx
js 0x460ad1
xor al, 1
cmp ebx, edi
jne 0x460a90
jmp 0x460ad1
xor eax, eax
and al, 1
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
mov edx, edi
push 0x54fdd4
call dbg.slice_index_order_fail
add esp, 4
ud2
mov edx, dword [ebp + 0x10]
mov ecx, edi
push 0x54fdd4
call dbg.slice_end_index_len_fail
add esp, 4
ud2
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_std_src_threadmod.rs
mov edx, 0x2b
push 0x54fdc4
call dbg.panic
add esp, 4
ud2
Function at 0x468360
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov edi, dword [ebp + 8]
mov esi, dword [edi]
mov eax, dword [esi]
test eax, eax
je 0x468377
dec eax
jmp 0x46837e
mov ecx, esi
call dbg.init
push 1
push eax
call sub.KERNEL32.dll_TlsSetValue
cmp dword [edi + 4], 0
je 0x4683b4
cmp byte [edi + 0x10], 3
je 0x4683b4
mov ebx, dword [edi + 0xc]
dec dword [ebx]
jne 0x4683b4
lea ecx, [ebx + 8]
call sym.__ZN4core3ptr95drop_in_place_LT_core..cell..RefCell_LT_env_logger..fmt..writer..termcolor..imp..Buffer_GT__GT_17h713562e62641e
dec dword [ebx + 4]
jne 0x4683b4
push ebx
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
push edi
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [esi]
test eax, eax
je 0x4683cb
dec eax
jmp 0x4683d2
mov ecx, esi
call dbg.init
push 0
push eax
call sub.KERNEL32.dll_TlsSetValue
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x477070
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, dword [ebp + 8]
mov eax, dword [esi]
nop dword [eax]
mov ecx, eax
xor edx, edx
test cl, 3
sete dl
or edx, eax
or edx, 0x20
lock cmpxchg dword [esi], edx
jne 0x477080
test cl, 3
je 0x4770be
mov eax, 0xffffffc0
lock xadd dword [esi], eax
cmp eax, 0x3f
jbe 0x477101
and eax, 0xffffffc0
cmp eax, 0x40
jne 0x4770f9
mov ecx, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
jmp sym.tokio::runtime::task::harness::Harness_LT_T_C_S_GT_::dealloc::h4f357dca784b3037
lea edi, [esi + 0x40]
mov ecx, edi
call sym.__ZN4core3ptr141drop_in_place_LT_tokio..runtime..task..core..Stage_LT_merino..Merino..serve.._u7b__u7b_closure_u7d__u7d_.._u7b
mov dword [esi + 0x48], 0x3b9aca02
mov ecx, edi
call sym.__ZN4core3ptr141drop_in_place_LT_tokio..runtime..task..core..Stage_LT_merino..Merino..serve.._u7b__u7b_closure_u7d__u7d_.._u7b
mov dword [esi + 0x48], 0x3b9aca01
mov dword [esi + 0x4c], 1
mov dword [esi + 0x50], 0
mov ecx, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
jmp sym.tokio::runtime::task::harness::Harness_LT_T_C_S_GT_::complete::h36e72ec7cec10721
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, str.assertion_failed:_prev.ref_count_____1
mov edx, 0x27
push 0x5a3e9c
call dbg.panic
add esp, 4
ud2

Function at 0x4771a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, dword [ebp + 8]
mov eax, dword [esi]
nop dword [eax]
mov ecx, eax
xor edx, edx
test cl, 3
sete dl
or edx, eax
or edx, 0x20
lock cmpxchg dword [esi], edx
jne 0x4771b0
test cl, 3
je 0x4771ee
mov eax, 0xffffffc0
lock xadd dword [esi], eax
cmp eax, 0x3f
jbe 0x477231
and eax, 0xffffffc0
cmp eax, 0x40
jne 0x477229
mov ecx, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
jmp sym.tokio::runtime::task::harness::Harness_LT_T_C_S_GT_::dealloc::ha4f8dc60a109291f
lea edi, [esi + 0x40]
mov ecx, edi
call sym.__ZN4core3ptr141drop_in_place_LT_tokio..runtime..task..core..Stage_LT_merino..Merino..serve.._u7b__u7b_closure_u7d__u7d_.._u7b
mov dword [esi + 0x48], 0x3b9aca02
mov ecx, edi
call sym.__ZN4core3ptr141drop_in_place_LT_tokio..runtime..task..core..Stage_LT_merino..Merino..serve.._u7b__u7b_closure_u7d__u7d_.._u7b
mov dword [esi + 0x48], 0x3b9aca01
mov dword [esi + 0x4c], 1
mov dword [esi + 0x50], 0
mov ecx, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
jmp sym.tokio::runtime::task::harness::Harness_LT_T_C_S_GT_::complete::hcf6b8f59902d4d91
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, str.assertion_failed:_prev.ref_count_____1
mov edx, 0x27
push 0x5a3e9c
call dbg.panic
add esp, 4
ud2
Function at 0x47f270
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x58
mov ebx, dword [ebp + 8]
mov edi, edx
mov dword [ebp - 0x44], ecx
mov edx, ecx
mov dword [ebp - 0x40], 8
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], ebx
lea ecx, [ebp - 0x3c]
push 8
call dbg.inner
add esp, 4
mov esi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
test esi, esi
je 0x47f303
mov dword [ebp - 0x10], eax
mov edx, edi
lea ecx, [ebp - 0x3c]
push ebx
call dbg.inner
add esp, 4
mov edi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x38]
test edi, edi
je 0x47f311
push edi
push esi
call sub.KERNEL32.dll_SetEnvironmentVariableW
test eax, eax
je 0x47f341
mov al, 4
mov dword [ebp - 0x14], eax
test ebx, ebx
je 0x47f2e4
push edi
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebp - 0x10], 0
je 0x47f2f8
push esi
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
jmp 0x47f335
mov edi, dword [ebp - 0x34]
mov ebx, eax
shrd ebx, edi, 8
shr edi, 8
jmp 0x47f335
mov edi, dword [ebp - 0x34]
mov eax, ebx
shrd ebx, edi, 8
shr edi, 8
cmp dword [ebp - 0x10], 0
je 0x47f335
push esi
push 0
push dword [0x5c6108]
mov esi, eax
call sub.KERNEL32.dll_HeapFree
mov eax, esi
cmp al, 4
jne 0x47f368
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret
call sub.KERNEL32.dll_GetLastError
mov ecx, eax
shl eax, 0x18
mov dword [ebp - 0x14], 0
shr ecx, 8
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
test ebx, ebx
jne 0x47f2d6
jmp 0x47f2e4
shld edi, ebx, 8
shl ebx, 8
movzx eax, al
lea esi, [ebp - 0x4c]
mov dword [ebp - 0x64], 0x5a05f0
mov dword [ebp - 0x60], 3
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x20], edi
lea edi, [ebp - 0x44]
or eax, ebx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], sym.__LT_std..path..Display_u20_as_u20_core..fmt..Debug_GT_::fmt::hefeeaac7fb042b47
mov dword [ebp - 0x34], esi
lea esi, [ebp - 0x3c]
lea edi, [ebp - 0x24]
mov dword [ebp - 0x30], sym.__LT_std..path..Display_u20_as_u20_core..fmt..Debug_GT_::fmt::hefeeaac7fb042b47
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x28], sym.__LT_std..io..error..Error_u20_as_u20_core..fmt..Display_GT_::fmt::hba8fb6b1cfc1e601
mov dword [ebp - 0x58], 3
lea ecx, [ebp - 0x64]
mov edx, 0x5a0608
call dbg.panic_fmt
ud2
Function at 0x47f810
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x47f879
mov edi, edx
xor ebx, ebx
mov eax, 0x811c9dc5
mov dword [ebp - 0x10], esi
nop
mov dword [ebp - 0x14], ecx
movzx ecx, byte [edi]
inc edi
xor ecx, eax
mov eax, 0x100
mov esi, ecx
imul esi, eax
mov eax, ecx
mov ecx, 0x1b3
mul ecx
imul ebx, ecx
mov ecx, dword [ebp - 0x14]
add edx, esi
add ebx, edx
dec ecx
jne 0x47f830
mov ecx, 0x1b3
xor eax, 0xff
mov esi, 0x100
imul esi, eax
mul ecx
imul ebx, ecx
add edx, esi
mov esi, dword [ebp - 0x10]
add ebx, edx
jmp 0x47f883
mov ebx, 0x1c9d3adb
mov eax, 0x639f298e
mov edx, eax
mov ecx, esi
push ebx
call sym.indexmap::map::IndexMap_LT_K_C_V_C_S_GT_::get_index_of::h631be00c5c0d3465
add esp, 4
mov ecx, eax
xor eax, eax
cmp ecx, 1
jne 0x47f8f2
mov edi, dword [esi + 0x28]
cmp edx, edi
jae 0x47f8fa
mov esi, dword [esi + 0x20]
imul edx, edx, 0x38
mov ecx, dword [esi + edx + 0x1c]
mov edx, dword [esi + edx + 0x24]
shl edx, 2
add ecx, 0xfffffff4
lea edx, [edx + edx*2]
nop word [eax + eax]
test edx, edx
je 0x47f8f2
add edx, 0xfffffff4
cmp dword [ecx + 0x14], 0
lea esi, [ecx + 0xc]
mov ecx, esi
je 0x47f8c0
mov eax, dword [esi]
lea ecx, [ebp - 0x20]
mov edx, dword [eax]
push dword [eax + 8]
call dbg.from_utf8
add esp, 4
cmp dword [ebp - 0x20], 0
jne 0x47f90d
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
jmp 0x47f8f2
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, edx
mov edx, edi
push 0x556164
call dbg.panic_bounds_check
add esp, 4
ud2
mov ecx, 0x55561a
mov edx, 0x23
push 0x5556a8
call dbg.expect_failed
add esp, 4
ud2
Function at 0x484250
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, dword [ebp + 8]
test esi, esi
je 0x4842ce
mov dword [ebp - 0x14], ecx
mov ecx, esi
xor ebx, ebx
mov eax, 0x811c9dc5
mov esi, edx
mov dword [ebp - 0x10], edx
nop word cs:[eax + eax]
nop dword [eax + eax]
movzx edx, byte [esi]
inc esi
xor edx, eax
mov eax, 0x100
mov edi, edx
imul edi, eax
mov eax, edx
mov edx, 0x1b3
mul edx
add edx, edi
mov edi, 0x1b3
imul ebx, edi
add ebx, edx
dec ecx
jne 0x484280
mov ecx, 0x1b3
xor eax, 0xff
mov esi, 0x100
imul esi, eax
mul ecx
imul ebx, ecx
mov ecx, dword [ebp - 0x14]
add edx, esi
mov esi, dword [ebp + 8]
add ebx, edx
mov edx, dword [ebp - 0x10]
jmp 0x4842d8
mov ebx, 0x1c9d3adb
mov eax, 0x639f298e
mov dword [ecx], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x30], edx
mov dword [ecx + 0x34], esi
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], ebx
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x48], 0
mov dword [ecx + 0x50], 0
mov dword [ecx + 0x58], 0
mov dword [ecx + 0x60], 0
mov dword [ecx + 0x68], 0
mov dword [ecx + 0x70], 0
mov dword [ecx + 0x7c], 0x110000
mov dword [ecx + 0x80], 0x110000
mov dword [ecx + 0x84], 8
mov dword [ecx + 0x88], 0
mov dword [ecx + 0x8c], 0
mov dword [ecx + 0x90], 8
mov dword [ecx + 0x94], 0
mov dword [ecx + 0x98], 0
mov dword [ecx + 0x9c], 8
mov dword [ecx + 0xa0], 0
mov dword [ecx + 0xa4], 0
mov dword [ecx + 0xa8], 8
mov dword [ecx + 0xac], 0
mov dword [ecx + 0xb0], 0
mov dword [ecx + 0xb4], 8
mov dword [ecx + 0xb8], 0
mov dword [ecx + 0xbc], 0
mov dword [ecx + 0xc0], 8
mov dword [ecx + 0xc4], 0
mov dword [ecx + 0xc8], 0
mov dword [ecx + 0xcc], 8
mov dword [ecx + 0xd0], 0
mov dword [ecx + 0xd4], 0
mov dword [ecx + 0xd8], 8
mov dword [ecx + 0xdc], 0
mov dword [ecx + 0xe0], 0
mov dword [ecx + 0xe4], 4
mov dword [ecx + 0xe8], 0
mov dword [ecx + 0xec], 0
mov dword [ecx + 0xf0], 4
mov dword [ecx + 0xf4], 0
mov dword [ecx + 0xf8], 0
mov dword [ecx + 0xfc], 4
mov dword [ecx + 0x100], 0
mov dword [ecx + 0x104], 0
mov dword [ecx + 0x108], 4
mov dword [ecx + 0x10c], 0
mov dword [ecx + 0x110], 0
mov dword [ecx + 0x114], 4
mov dword [ecx + 0x118], 0
mov dword [ecx + 0x11c], 0
mov dword [ecx + 0x120], 8
mov dword [ecx + 0x124], 0
mov dword [ecx + 0x128], 0
mov dword [ecx + 0x12c], 4
mov dword [ecx + 0x130], 0
mov dword [ecx + 0x134], 0
mov dword [ecx + 0x138], 0
mov word [ecx + 0x13c], 2
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x498cb0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x2c
mov edi, dword [ebp + 8]
mov esi, dword [edi]
mov eax, dword [esi]
test eax, eax
je 0x498cc6
dec eax
jmp 0x498ccd
mov ecx, esi
call dbg.init
push 1
push eax
call sub.KERNEL32.dll_TlsSetValue
cmp dword [edi + 4], 0
je 0x498ce2
lock dec dword [0x5c6070]
push edi
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [esi]
test eax, eax
je 0x498cf9
dec eax
jmp 0x498d00
mov ecx, esi
call dbg.init
push 0
push eax
call sub.KERNEL32.dll_TlsSetValue
add esp, 0x2c
pop esi
pop edi
pop ebp
ret

Function at 0x498ea0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
push str.api_ms_win_core_synch_l1_2_0.dll
call sub.KERNEL32.dll_GetModuleHandleA
test eax, eax
je 0x498ef8
mov esi, eax
push str.WaitOnAddress
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x498ef8
mov edi, eax
push str.WakeByAddressSingle
push esi
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x498ef8
mov ebx, eax
mov dword [ebp - 0x10], 0
movzx eax, byte [0x5c6170]
mov eax, dword [0x5c6108]
test eax, eax
jne 0x498f82
jmp 0x498f74
push str.ntdll.dll
call sub.KERNEL32.dll_GetModuleHandleA
test eax, eax
je 0x498fd2
mov edi, eax
push str.NtCreateKeyedEvent
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x498fd2
mov esi, eax
push str.NtReleaseKeyedEvent
push edi
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x498fd2
mov ebx, eax
push str.NtWaitForKeyedEvent
push edi
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x498fd2
mov edi, eax
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x14]
push 0
push 0
push 0xc0000000
push eax
call esi
test eax, eax
jne 0x498fd2
mov ebx, dword [ebp - 0x14]
movzx eax, byte [0x5c6170]
mov eax, dword [0x5c6108]
test eax, eax
jne 0x498f82
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x498fd9
mov dword [0x5c6108], eax
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x498fd9
mov esi, eax
mov eax, dword [ebp - 0x10]
mov dword [esi], eax
mov dword [esi + 4], edi
mov dword [esi + 8], ebx
xor eax, eax
lock cmpxchg dword [0x5c6078], esi
je 0x498fc8
cmp dword [esi], 0
mov edi, eax
je 0x498fb8
push dword [esi + 8]
call sub.KERNEL32.dll_CloseHandle
push esi
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
mov esi, edi
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
call sym.std::panicking::begin_panic::h868cdfb19215f8e0
ud2
mov ecx, 4
mov edx, 0xc
call dbg.handle_alloc_error
ud2