joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46f456
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov dword [ecx + 0x9c], edi
cmp dword [str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
mov ebx, 0x493b74
je 0x46f512
push esi
lea eax, [ebp - 4]
push eax
push 1
push edi
push dword [ebx]
push 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x46f4fa
mov esi, dword [ebx + 4]
jmp 0x46f4f4
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x46f4e4
cmp dword [ebp - 0xc], 4
jne 0x46f4e4
cmp dword [ebp - 8], edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
je 0x46f4dc
or dword [eax + 0x9c], ecx
jmp 0x46f4e4
not ecx
and dword [eax + 0x9c], ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
add esi, 8
mov eax, dword [esi]
cmp eax, edi
jne 0x46f4a8
push dword [ebp - 4]
call dword [sym.imp.advapi32.dll_RegCloseKey]
add ebx, 8
cmp dword [ebx], edi
mov dword [ebp - 4], edi
jne 0x46f48b
pop esi
push edi
call dword [sym.imp.advapi32.dll_RegCloseKey]
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret

Function at 0x46f961
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x472fdb
call fcn.00411d0c
sub esp, 0x11c
mov eax, dword [0x493ea0]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x124]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.advapi32.dll_RegOpenKeyA]
mov esi, eax
test esi, esi
jne 0x46fa5a
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0
push dword [ebp - 0x124]
call dword [sym.imp.advapi32.dll_RegEnumKeyA]
mov esi, eax
test esi, esi
jne 0x46fa2e
and dword [ebp - 4], eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x120]
call fcn.004061f0
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x124]
mov byte [ebp - 4], 1
call fcn.0046f961
mov ecx, dword [ebp - 0x120]
mov esi, eax
test esi, esi
setne bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00401580
test bl, bl
jne 0x46fa2e
or dword [ebp - 4], 0xffffffff
jmp 0x46f99f
cmp esi, 0x103
je 0x46fa3e
cmp esi, 0x3f2
jne 0x46fa4e
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.advapi32.dll_RegDeleteKeyA]
mov esi, eax
push dword [ebp - 0x124]
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
mov eax, esi
call fcn.00410507
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x46feef
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x46ff24
cmp edi, dword [esi + 0xc]
jge 0x46ff24
push dword [esi]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x46ff24
cmp edi, dword [eax + 8]
jge 0x46ff24
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edi*4]
jmp 0x46ff26
xor edi, edi
push ebx
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
ret 4

Function at 0x47002a
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x47005e
jmp fcn.00462adb
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

Function at 0x4700cf
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1c]
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jle 0x4701c8
cmp eax, dword [edi + 0xc]
jge 0x4701c8
push dword [edi]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
je 0x470120
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 8]
jl 0x4701b1
cmp dword [ebp + 0xc], ebx
je 0x4701b1
jmp 0x47014a
push 0x10
call fcn.0046fdbb
cmp eax, ebx
je 0x470136
mov ecx, eax
call fcn.00470021
mov esi, eax
jmp 0x470138
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
mov dword [edi + 0x14], esi
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x470161
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.kernel32.dll_LocalAlloc]
jmp 0x470171
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.kernel32.dll_LocalReAlloc]
cmp eax, ebx
jne 0x470183
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
call fcn.00462adb
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0xc]
sub edx, ecx
shl edx, 2
push edx
lea eax, [eax + ecx*4]
push ebx
push eax
call fcn.00411d70
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x4701c3
cmp ecx, dword [esi + 8]
jge 0x4701c3
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
push dword [ebp - 4]
jmp 0x4701c9
push esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x470288
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4702b6
push dword [esi]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x4702d4
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004701f2
jmp 0x4702d4
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4702d4
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.004701f2
test edi, edi
mov eax, edi
jne 0x4702be
pop edi
push ebx
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x4a3344]
test ecx, ecx
je 0x470387
jmp 0x470287
ret 8
Function at 0x4aba74
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x4bba6c], 0
jne 0x4abb33
mov dword [ebp - 0x10], 0x80000000
push 0x400
call fcn.004b0a8d
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [0x4bba6c], eax
mov dword [ebp - 0xc], 0
jmp 0x4abab8
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x100
jge 0x4abb33
push 8
mov edx, dword [ebp - 0xc]
push edx
call fcn.004aba1e
add esp, 8
shl eax, 0x18
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
jmp 0x4abae7
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 8
jge 0x4abb14
mov ecx, dword [ebp - 0x18]
and ecx, 0x80000000
test ecx, ecx
je 0x4abb0a
mov edx, dword [ebp - 0x18]
shl edx, 1
xor edx, 0x4c11db7
mov dword [ebp - 0x18], edx
jmp 0x4abb12
mov eax, dword [ebp - 0x18]
shl eax, 1
mov dword [ebp - 0x18], eax
jmp 0x4abade
push 0x20
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004aba1e
add esp, 8
mov edx, dword [ebp - 0xc]
mov ecx, dword [0x4bba6c]
mov dword [ecx + edx*4], eax
jmp 0x4abaaf
mov edx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
jmp 0x4abb4d
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
jae 0x4abb79
mov eax, dword [ebp - 4]
movsx ecx, byte [eax]
xor ecx, dword [ebp + 0x10]
and ecx, 0xff
mov edx, dword [ebp + 0x10]
shr edx, 8
mov eax, dword [0x4bba6c]
mov ecx, dword [eax + ecx*4]
xor ecx, edx
mov dword [ebp + 0x10], ecx
jmp 0x4abb44
mov eax, dword [ebp + 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x4ac73a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xf8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x78]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x4ac7a6
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x18]
jae 0x4ac7ef
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.004b69c0
add esp, 8
test eax, eax
jne 0x4ac7ed
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + eax*2]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x4ac7f1
jmp 0x4ac79d
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x42883a
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov edi, dword [ebp + 8]
mov edi, dword [edi]
push edi
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
pop edi
mov esi, ecx
not esi
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0xc]
lea eax, [eax + 0x10]
push dword [eax]
xor eax, eax
push edx
mov ecx, dword [edx + 0x30]
movzx ebx, byte [eax + edi]
movzx edx, byte [ecx + eax*2]
sub ebx, edx
cmp ebx, 0
je 0x4288a3
cmp ebx, 0x20
je 0x4288a3
cmp ebx, 0xffffffe0
je 0x4288a3
jne 0x4288ac
add eax, 1
cmp esi, eax
je 0x4288b9
jne 0x428888
pop edx
mov edx, dword [edx]
xor eax, eax
pop ebx
cmp ebx, edx
push ebx
je 0x4288bd
jne 0x428884
pop edx
mov eax, dword [edx + 0x18]
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
cmp ebx, 0
je 0x428902
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov edx, dword [eax + 0x78]
add edx, ebx
mov ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x20]
push ecx
push ecx
push eax
xor eax, eax
or ecx, 0xffffffff
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
repne scasb al, byte es:[edi]
not ecx
pop eax
push ecx
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
mov esi, dword [eax + ebx]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
pop ecx
je 0x428908
add eax, 4
pop esi
dec esi
push esi
jne 0x4288ea
xor eax, eax
mov dword [ebp - 8], eax
nop
pop esi
pop ecx
sub ecx, esi
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx eax, word [eax + ebx]
mov ecx, dword [edx + 0x1c]
lea eax, [ecx + eax*4]
mov eax, dword [eax + ebx]
add eax, ebx
mov dword [ebp - 8], eax
sub esp, 8
push esi
mov esi, dword [ebp + 0x10]
mov esi, dword [esi]
mov esi, dword [esi + 4]
lea ecx, [esi - 1]
test ecx, ecx
jl 0x428949
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
lea eax, [eax + ecx*4 + 8]
inc ecx
push dword [eax]
sub eax, 4
dec ecx
jne 0x428941
call dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x42895f
lea eax, [esi*4]
add esp, eax
mov eax, 0
jmp 0x428969
mov esp, ebp
pop ebp
ret 0x18
Function at 0x6e9018b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x3c
movzx esi, word [eax + 0x264]
mov edi, dword [eax + 0x468]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x258]
test eax, eax
jne 0x6e901967
test byte [ebx + 0x1a], 1
jne 0x6e901990
lea eax, [ebx + 0x454]
mov edx, dword [ebx + 0x450]
mov dword [ebx + 0x258], 1
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x4c]
mov dword [ebx + 0x454], 0
mov dword [ebx + 0x458], 0
mov dword [ebx + 0x45c], 0
mov dword [ebx + 0x460], 0
mov dword [ebx + 0x464], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ReadFile]
sub esp, 0x14
test eax, eax
jne 0x6e901970
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 0x3e5
je 0x6e901970
mov eax, ebx
call sym._controller_destroy.constprop.0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [0x6e90c010]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_SetEvent]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea edx, [ebp - 0x1c]
mov eax, ebx
call sym._HID_set_state
jmp 0x6e9018e6
Function at 0x6e9030a0
Capabilities:
Create thread

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
push ecx
lea eax, [ebp - 0xc]
sub esp, 0x30
mov dword [esp + 8], eax
mov dword [esp + 4], sym._hid_update_thread_proc_4
mov dword [esp], 4
call dword [sym.imp.kernel32.dll_GetModuleHandleExW]
sub esp, 0xc
test eax, eax
jne 0x6e9030e2
test byte [0x6e9074c0], 4
jne 0x6e9032e0
mov ebx, dword [sym.imp.kernel32.dll_CreateEventA]
mov dword [esp + 0xc], str.__wine_steamclient_GameOverlayActivated
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0
call ebx
sub esp, 0x10
mov dword [0x6e90c00c], eax
mov dword [esp + 0xc], str.__wine_steamclient_KeyboardActivated
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0
call ebx
sub esp, 0x10
mov dword [0x6e90c008], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call ebx
mov dword [0x6e90c014], eax
sub esp, 0x10
test eax, eax
je 0x6e903298
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call ebx
mov dword [0x6e90c010], eax
sub esp, 0x10
test eax, eax
je 0x6e903250
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], sym._hid_update_thread_proc_4
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateThread]
sub esp, 0x18
mov ebx, eax
test eax, eax
je 0x6e903210
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [0x6e90c014]
sub esp, 4
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, 1
sub esp, 8
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 0xc
test byte [0x6e9074c0], 2
je 0x6e9031da
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.failed_to_create_update_thread__error__lu_n
mov dword [esp + 8], str.start_update_thread_once
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6e9074c0
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x6e9031da
test byte [0x6e9074c0], 2
je 0x6e90319c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.failed_to_create_update_event__error__lu_n
mov dword [esp + 8], str.start_update_thread_once
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6e9074c0
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x6e90319c
test byte [0x6e9074c0], 2
je 0x6e90316b
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.failed_to_create_start_event__error__lu_n
mov dword [esp + 8], str.start_update_thread_once
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6e9074c0
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x6e90316b
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.Failed_to_increase_modules_reference_count__error:__lu_n
mov dword [esp + 8], str.start_update_thread_once
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6e9074c0
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
jmp 0x6e9030e2
Function at 0x6e905010
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x6e90506b
cmp byte [esi + ebx - 1], 0xa
je 0x6e90503f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x6e90c0c4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x463728
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
mov ecx, dword [ebp + 8]
add ecx, eax
push ebx
push edi
mov edi, dword [ecx]
add eax, 4
mov dword [esi], eax
xor ecx, ecx
push 2
pop edx
lea eax, [edi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call 0x4a9ff6
mov ecx, dword [esi]
add ecx, dword [ebp + 8]
lea ebx, [edi + edi]
push ebx
push ecx
push eax
mov dword [ebp - 4], eax
call 0x4ac350
mov eax, dword [ebp - 4]
add dword [esi], ebx
xor ecx, ecx
add esp, 0x10
cmp edi, ecx
mov word [ebx + eax], cx
jle 0x463781
xor word [eax + ecx*2], di
inc ecx
cmp ecx, edi
jl 0x463778
pop edi
pop ebx
leave
ret 4

Function at 0x46de38
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
xor esi, esi
inc esi
mov dword [0x4876c0], eax
push edi
mov edx, esi
mov eax, 0x4876c0
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0x48807c
jl 0x46de49
pop edi
mov dword [0x475c94], esi
mov dword [0x488090], esi
pop esi
ret

Function at 0x46de77
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
cmp dword [0x488090], 0
push ebx
push ebp
push esi
push edi
mov esi, 0x4876c0
jne 0x46de97
push 0
call 0x4ae531
pop ecx
call fcn.0046de38
mov dword [0x475c94], 0x270
mov dword [0x4876bc], esi
mov edx, 0xe3
mov ecx, 0x7ffffffe
mov eax, 0x9908b0df
mov ebx, dword [esi]
lea edi, [esi + 4]
mov ebp, dword [edi]
xor ebx, ebp
frstor dword [ebx]
fnstenv [ebx]
push ds
mov dword [esp + 0x10], ecx
mov ecx, ebp
and cl, 1
shr ebx, 1
neg cl
sbb ecx, ecx
and ecx, eax
xor ebx, ecx
xor ebx, dword [esi + 0x634]
dec edx
mov ecx, dword [esp + 0x10]
mov dword [esi], ebx
mov esi, edi
jne 0x46deb6
mov edx, 0x18c

Function at 0x46debe
Capabilities:
Encode data using xor

Disassembly:
push ecx
cmp dword [0x488090], 0
push ebx
push ebp
push esi
push edi
mov esi, 0x4876c0
jne 0x46de97
push 0
call 0x4ae531
pop ecx
call fcn.0046de38
mov dword [0x475c94], 0x270
mov dword [0x4876bc], esi
mov edx, 0xe3
mov ecx, 0x7ffffffe
mov eax, 0x9908b0df
mov ebx, dword [esi]
lea edi, [esi + 4]
mov ebp, dword [edi]
xor ebx, ebp
frstor dword [ebx]
fnstenv [ebx]
push ds
mov dword [esp + 0x10], ecx
mov ecx, ebp
and cl, 1
shr ebx, 1
neg cl
sbb ecx, ecx
and ecx, eax
xor ebx, ecx
xor ebx, dword [esi + 0x634]
dec edx
mov ecx, dword [esp + 0x10]
mov dword [esi], ebx
mov esi, edi
jne 0x46deb6
mov edx, 0x18c

Function at 0x46df0a
Capabilities:
Encode data using xor

Disassembly:
mov ebx, dword [esi]
lea edi, [esi + 4]
mov ebp, dword [edi]
xor ebx, ebp
and ebx, ecx
xor ebx, dword [esi]
mov dword [esp + 0x10], ecx
mov ecx, ebp
and cl, 1
shr ebx, 1
neg cl
sbb ecx, ecx
and ecx, eax
xor ebx, ecx
xor ebx, dword [esi - 0x38c]
dec edx
mov ecx, dword [esp + 0x10]
mov dword [esi], ebx
mov esi, edi
jne 0x46deec
mov edx, dword [0x4876c0]
mov edi, dword [esi]
xor edi, edx
and edi, ecx
xor edi, dword [esi]
and dl, 1
shr edi, 1
neg dl
sbb edx, edx
and edx, eax
xor edi, edx
xor edi, dword [esi - 0x38c]
mov dword [esi], edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x46df46
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x475c94]
jne 0x46df53
call fcn.0046de77
mov eax, dword [0x4876bc]
mov ecx, dword [eax]
add dword [0x4876bc], 4
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
ret

Function at 0x46df8a
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
dec dword [0x475c94]
jne 0x46df98
call fcn.0046de77
mov eax, dword [0x4876bc]
mov eax, dword [eax]
add dword [0x4876bc], 4
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov ecx, eax
and ecx, 0xff3a58ad
shl ecx, 7
xor eax, ecx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov ecx, eax
shr ecx, 0x12
xor ecx, eax
test ecx, ecx
mov dword [esp], ecx
fild dword [esp]

Function at 0x46e5b8
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call 0x4ac7e0
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
mov dword [esi + 0x38], 0xefcdab89
mov dword [esi + 0x3c], 0x98badcfe
mov dword [esi + 0x40], 0x10325476
ret

Function at 0x46f197
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
push esi
push edi
lea eax, [ebp - 0xdc]
call fcn.0046edfe
push dword [ebp + 0x10]
lea esi, [ebp - 0xdc]
call fcn.0046ef3e
xor edi, edi
cmp dword [ebp + 0xc], edi
jbe 0x46f1dc
mov eax, dword [ebp + 8]
lea esi, [edi + eax]
lea eax, [ebp - 0xdc]
push eax
call fcn.0046ef10
xor byte [esi], al
inc edi
cmp edi, dword [ebp + 0xc]
jb 0x46f1c2
pop edi
pop esi
leave
ret 0xc