joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415462
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x442008]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x442c1c
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 8
pop ecx
lea eax, [esi + 0x18]
push 0x20
mov esi, eax
lea edi, [esp + 0x34]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00417440
add esp, 0xc
push 0x442c1c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x30], 0
je 0x415593
lea edi, [ebx + 0x28]
mov ecx, ebx
push edi
push str.Timings
call fcn.00415392
test al, al
je 0x415593
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push dword [eax + 4]
call fcn.00405320
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov edx, esi
mov ecx, edi
call fcn.004156d0
pop ecx
test al, al
jne 0x415513
push 0x20
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00418890
add esp, 0xc
jmp 0x415577
mov eax, dword [esp + 0x30]
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
adc dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x44]
cmp ecx, dword [esp + 0x24]
jg 0x415541
mov eax, dword [esp + 0x40]
jl 0x415549
cmp eax, dword [esp + 0x20]
jb 0x415549
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x2c], ecx
jg 0x415567
mov eax, dword [esp + 0x48]
jl 0x41556f
cmp dword [esp + 0x28], eax
jb 0x41556f
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
push 0x20
lea eax, [esp + 0x14]
push eax
push 3
push 0
push esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [esi - 0x10]
call fcn.004015ce
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004168cd
mov esp, ebp
pop ebp
ret 4

Function at 0x415684
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 8
pop esi
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4156bd
cmp dword [ebp - 8], 3
jne 0x4156bd
test eax, eax
jne 0x4156bd
cmp dword [ebp - 4], esi
jne 0x4156bd
mov al, 1
jmp 0x4156cd
push esi
push 0
push dword [ebp + 8]
call fcn.00417440
add esp, 0xc
xor al, al
pop esi
leave
ret
Function at 0x4156d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 0x20
pop esi
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x415709
cmp dword [ebp - 8], 3
jne 0x415709
test eax, eax
jne 0x415709
cmp dword [ebp - 4], esi
jne 0x415709
mov al, 1
jmp 0x415719
push esi
push 0
push dword [ebp + 8]
call fcn.00417440
add esp, 0xc
xor al, al
pop esi
leave
ret
Function at 0x41664c
Capabilities:
Read pipe
Write file on windows
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebx + 0x24]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
sub esp, 0xc
lea edx, [ebx + 0x1c]
lea ecx, [ebx + 0x40]
mov esi, eax
lea eax, [ebx + 0x38]
push edx
push ecx
lea ecx, [ebx + 0x3c]
push ecx
push eax
push edi
push esi
push ecx
lea ecx, [ebp - 0x88]
call fcn.0041650d
lea ecx, [ebp - 0x30]
call fcn.0040f07a
xor esi, esi
lea eax, [ebp - 4]
push esi
push eax
push 0x2c
mov eax, ecx
mov dword [ebp - 4], esi
push eax
push 0x2c
lea eax, [ebp - 0x88]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
je 0x41670f
cmp dword [ebp - 0x30], 2
jne 0x41670f
cmp dword [ebp - 0x2c], esi
je 0x41670f
cmp dword [ebp - 0x10], esi
je 0x41670f
cmp dword [ebp - 0xc], esi
je 0x41670f
cmp dword [ebp - 8], esi
je 0x41670f
lea ecx, [ebp - 0x5c]
call fcn.0040f07a
push esi
lea eax, [ebp - 4]
mov dword [ebp - 0x5c], 3
push eax
push 0x2c
mov eax, ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41670f
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x34], eax
mov al, 1
jmp 0x416711
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x418141
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ebx
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
invalid
Function at 0x419e65
Capabilities:
Resolve function by parsing pe exports

Disassembly:
out dx, eax
push esp
inc edi
mov edi, eax
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.00417c97

Function at 0x420af9
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x442008]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x420b44
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00420d1a
test al, al
jne 0x420b3e
sub edx, 2
cmp edx, edi
jne 0x420b24
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x420b66
lea eax, [edi + 2]
cmp edx, eax
je 0x420b66
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00420a45
add esp, 0x10
jmp 0x420c60
push esi
lea ecx, [ebp - 0x255]
call fcn.00420d1a
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x420ba9
push dword [ebp - 0x25c]
jmp 0x420b56
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x420be6
cmp word [ebp - 0x226], 0
je 0x420c07
cmp word [ebp - 0x226], ax
jne 0x420be6
cmp word [ebp - 0x224], 0
je 0x420c07
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00420a45
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x420c53
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x420bc0
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x420c3b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x420c60
push 0x420875
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00424b70
add esp, 0x10
jmp 0x420c30
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004168cd
leave
ret

Function at 0x421a2e
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x430cb4
push 0x430cac
push str.FlsAlloc
push 0x1e
call fcn.0042196b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x421a62
push dword [ebp + 8]
mov ecx, esi
call dword [0x42f3dc]
call esi
jmp 0x421a68
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x421aac
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x430cc4
push 0x430cbc
push str.FlsGetValue
push 0x20
call fcn.0042196b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x421ae3
push dword [ebp + 8]
mov ecx, esi
call dword [0x42f3dc]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x100536b
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [esp + 0x14]
jle 0x10053a6
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x1005383
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x10053c2
dec esi
je 0x10053bb
dec esi
jne 0x10053c7
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
ret 0xc
Function at 0x41e6b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x417015
lea edi, [esi - 0x16015]
push edi
jmp 0x41e6ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41e6d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41e6c0
mov eax, 1
add ebx, ebx
jne 0x41e6e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41e6d8
jne 0x41e6f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41e6d8
xor ecx, ecx
sub eax, 3
jb 0x41e708
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41e77a
mov ebp, eax
add ebx, ebx
jne 0x41e713
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41e720
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41e744
inc ecx
add ebx, ebx
jne 0x41e730
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41e725
jne 0x41e741
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41e725
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41e764
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41e755
jmp 0x41e6c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41e764
add edi, ecx
jmp 0x41e6c6
pop esi
mov edi, esi
mov ecx, 0x2e1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41e782
cmp byte [edi], 7
jne 0x41e782
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41e787
lea edi, [esi + 0x1c000]
mov eax, dword [edi]
or eax, eax
je 0x41e7f6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1e000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1e03c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41e7b4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1e044]
or eax, eax
je 0x41e7f0
mov dword [ebx], eax
add ebx, 4
jmp 0x41e7d1
call dword [esi + 0x1e040]
mov ebp, dword [esi + 0x1e048]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x1e851]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41e842
sub esp, 0xffffff80
jmp 0x4012e0
Function at 0x401ea9
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
sub esp, 0x60
xor esi, esi
xor edi, edi
mov ecx, 0x51
push esi
dec ecx
jne 0x401ebb
mov dword [ebp - 0x1a4], 0x128
sub esp, 4
xor eax, eax
mov ebx, esp
push ebx
mov dword [ebx], eax
push 2
call dword [sym.imp.KERNEL32_CreateToolhelp32Snapshot]
add esp, 4
call fcn.00404725
mov esi, eax
lea ebx, [ebp - 0x1a4]
push ebx
mov eax, esi
push eax
call dword [sym.imp.KERNEL32_Process32First]
call fcn.00404725
mov eax, dword [reloc.KERNEL32.DLL_TlsSetValue]
mov ecx, eax
mov eax, 0x3e9
call fcn.00403996
lea ebx, [ebp - 0x1a4]
push ebx
mov eax, esi
push eax
call dword [sym.imp.KERNEL32_Process32Next]
call fcn.00404725
test eax, eax
je 0x401fcb
lea ebx, [ebp - 0x180]
mov ecx, 0x104
call fcn.00404b2e
mov ecx, 1
mov eax, 1
lea ebx, [ebp - 0x180]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
mov ecx, 0x104
call fcn.00404b2e
mov eax, 1
push 0
xor ecx, ecx
xchg ecx, eax
call fcn.004028a3
call fcn.0040283c
mov eax, ecx
call fcn.00402982
sub eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
call fcn.00402a66
lea ebx, [ebp - 0x1a8]
call fcn.00404493
mov eax, dword [reloc.KERNEL32.DLL_TlsSetValue]
mov ecx, eax
mov eax, 0x3e9
fild dword [ebp - 0x19c]
call fcn.004043a2
mov edx, 0x406390
call fcn.00404cb4
call fcn.00404680
mov edx, dword [ebp - 0x1a8]
call fcn.00404ca0
call fcn.00404680
call fcn.0040390d
jmp 0x401f0c
mov ebx, fcn.00401ea9
call fcn.00404c37
mov eax, dword [ebp - 0x7c]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x402190
Capabilities:
Accept command line arguments
Allocate thread local storage
Query environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, section..data
test word cs:[0x40281e], 4
jne 0x402286
push 0
call dword [sym.imp.OLE32.DLL_CoInitialize]
call fcn.00402454
mov dword [ebx + 0x108], 1
lea eax, [ebx + 0x294]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
sub esp, 0x44
mov dword [esp], 0x44
mov dword [esp + 0x2c], 0
push esp
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoA]
mov eax, 0xa
test dword [esp + 0x2c], 1
je 0x4021fc
movzx eax, word [esp + 0x30]
add esp, 0x44
mov dword [ebx + 0xfe], eax
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
call fcn.00402631
mov dword [ebx + 0xf4], eax
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentStringsA]
mov dword [ebx + 0xf0], eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [ebx + 0x104], eax
call fcn.0040233c
mov eax, 0xff
jb 0x402272
call fcn.0040249f
call fcn.00402681
mov eax, 0xff
jb 0x402254
push ebx
call fcn.004023aa
pop ebx
push eax
call fcn.004023af
call fcn.00402396
push dword [ebx + 0xf0]
call dword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsA]
dec dword [ebx + 0x1c]
dec dword [ebx + 0x10]
pop eax
push eax
call dword [sym.imp.OLE32.DLL_CoUninitialize]
pop eax
pop edi
pop esi
pop ebx
pop ebp
push eax
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
cmp dword [ebp + 0xc], 1
jne 0x4022e7
call fcn.00402454
lea eax, [ebx + 0x294]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
call fcn.00402631
mov dword [ebx + 0xf4], eax
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentStringsA]
mov dword [ebx + 0xf0], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x104], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x10c], eax
call fcn.0040249f
call fcn.00402681
jb 0x402322
call fcn.0040233c
jb 0x402322
inc word [ebx + 0x102]
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x108], eax
cmp eax, 2
jne 0x4022fa
call fcn.004026e9
push ebx
call fcn.004023aa
pop ebx
cmp dword [ebx + 0x108], 3
jne 0x40230f
call fcn.00402723
cmp dword [ebx + 0x108], 0
jne 0x40232e
call fcn.004023af
call fcn.00402396
push dword [ebx + 0xf0]
call dword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsA]
movzx eax, word [ebx + 0x102]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x40233c
Capabilities:
Allocate thread local storage

Disassembly:
call dword [sym.imp.KERNEL32.DLL_TlsAlloc]
cmp eax, 0xffffffff
stc
je 0x402395
mov dword [ebx + 0xe4], eax
mov dword [ebx + 0xec], 0
mov dword [ebx + 0xe8], 0
call fcn.004026e9
jb 0x402395
mov dword [ebx + 0xe8], eax
mov dword [eax + 0x4c], 8
call 0x402389
dec ebp
push ebx
and byte [ebx + 0x61], dl
outsb dx, byte [esi]
jae 0x4023a3
push ebx
jb 0x4023f0
add byte [esi - 4], bl
mov ecx, 0xe
lea edi, [eax + 0x2c]
rep movsb byte es:[edi], byte [esi]
ret
call dword [sym.imp.KERNEL32.DLL_TlsFree]
ret
mov edi, 0x8d02e6c1
dec esp
xor eax, 0x15ff5100
xor al, 0x73
inc eax
add bl, ch
scasd eax, dword es:[edi]
add byte [edx], cl
add byte [esi], cl
add byte [eax + eax - 0x1f], ah
call [edi - 0x75]
pop edi
mov esp, ebp
pop ebp
Function at 0x40249f
Capabilities:
Get system information on windows

Disassembly:
mov word [ebx + 0xf8], 0
mov ah, byte [ebx + 0x298]
mov al, byte [ebx + 0x29c]
mov word [ebx + 0xfa], ax
mov eax, dword [ebx + 0x2a4]
test al, 1
jne 0x4024cf
test al, 2
je 0x4024f7
mov ax, 0x400
jmp 0x4024f0
mov dx, word [ebx + 0x2a0]
cmp dx, 0x3b6
mov ax, pe_nt_image_headers32
je 0x4024f0
cmp dx, 0x457
mov ax, 0x100
je 0x4024f0
mov ax, 0x200
or word [ebx + 0xf8], ax
sub esp, 0x24
push esp
cld
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov byte [ebx + 0xfc], 3
test word [ebx + 0xf8], 0x380
jne 0x402536
test word [ebx + 0xf8], 0x400
je 0x40256f
cmp word [esp], 0
jne 0x40256f
mov al, byte [esp + 0x20]
cmp al, 3
jb 0x40256f
cmp al, 5
jbe 0x40254c
mov al, 5
jmp 0x40254c
mov eax, dword [esp + 0x18]
cmp eax, 0x182
jbe 0x40256f
cmp eax, 0x24a
mov al, 5
jae 0x40254c
mov al, 4
mov byte [ebx + 0xfc], al
cmp al, 5
jb 0x40256f
mov eax, 1
push ebx
cpuid
pop ebx
test edx, 0x800000
je 0x40256f
or word [ebx + 0xf8], 0x40
add esp, 0x24
push esp
push esp
push 0x20019
push 0
call 0x4025b3
dec eax
inc ecx
push edx
inc esp
push edi
inc ecx
push edx
inc ebp
pop esp
inc esp
inc ebp
push ebx
inc ebx
push edx
dec ecx
push eax
push esp
dec ecx
dec edi
dec esi
pop esp
push ebx
jns 0x40260b
je 0x4025ff
insd dword es:[edi], dx
pop esp
inc esi
insb byte es:[edi], dx
outsd dx, dword [esi]
popal
je 0x40260b
outsb dx, byte [esi]
push eax
outsd dx, dword [esi]
imul ebp, dword [esi + 0x74], 0x636f7250
jae 0x402623
outsd dx, dword [esi]
jb 0x4025b3
push 0x80000002
call dword [sym.imp.ADVAPI32.DLL_RegOpenKeyExA]
test eax, eax
pop edx
jne 0x4025d5
mov ax, 2
or word [0x4060f8], ax
push edx
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
ret
add byte [ebx], dh
sar byte [ecx + 0xcc], 0x8d
jnp 0x40261a
stosb byte es:[edi], al
mov al, byte [esi]
mov byte [edi], al
inc esi
inc edi
or al, al
jne 0x40261b
ret

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

Disassembly:
pushal
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x10007140
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx edx, byte [eax + 8]
movzx ecx, byte [eax + 0xa]
xor edx, 0x811c9dc5
imul esi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor esi, edx
imul edx, esi, 0x1000193
xor edx, ecx
movzx ecx, byte [eax + 0xb]
imul edx, edx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [edi + 0x18]
and edx, ecx
lea esi, [edx*8]
mov edx, dword [edi + 0xc]
add edx, esi
mov ecx, dword [edx]
cmp dword [edx + 4], eax
jne 0x100071b3
cmp ecx, eax
jne 0x100071ab
mov ecx, dword [edi + 4]
mov dword [edx], ecx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov dword [esi + edx + 4], ecx
jmp 0x100071bb
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x100071bb
cmp ecx, eax
jne 0x100071bb
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
push 0x20
push eax
mov dword [ecx], esi
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
dec dword [edi + 8]
call fcn.100d92cf
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebp
ret 8

Function at 0x100071f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
movzx eax, byte [edi + 0xa]
imul ecx, edx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp dword [ecx + 4], edi
jne 0x10007263
cmp eax, edi
jne 0x1000725b
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x1000726b
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x1000726b
cmp eax, edi
jne 0x1000726b
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
lea ecx, [edi + 8]
mov esi, dword [edi]
mov dword [eax], esi
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
dec dword [ebx + 8]
call fcn.100077f0
push 0x24
push edi
call fcn.100d92cf
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x10007d90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x10143118]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 0x1010fbb1
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x204], 0xf
mov byte [ebp - 0x218], 0
call fcn.1000a4e0
push 0x1f4
lea eax, [ebp - 0x1f8]
mov dword [ebp - 0x200], 0
push 0
push eax
call fcn.100dbff0
cmp dword [ebp - 0x204], 0x10
lea eax, [ebp - 0x218]
push 0x1f3
cmovae eax, dword [ebp - 0x218]
push eax
lea eax, [ebp - 0x1f8]
push 0x1f4
push eax
call fcn.100e4b50
mov edx, dword [ebp - 0x204]
add esp, 0x1c
cmp edx, 0x10
jb 0x10007e51
mov ecx, dword [ebp - 0x218]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10007e47
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007eb2
push edx
push ecx
call fcn.100d92cf
add esp, 8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1fc], eax
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x1f8]
push 0x1f4
push eax
call fcn.1000b640
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 2
push ecx
call fcn.100e7cdc
add esp, 0x1c
lea eax, [ebp - 0x200]
push 0
push 0x1014a0d8
push 0x1fc
push eax
push dword [0x101422c8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d92f9
mov esp, ebp
pop ebp
ret
call fcn.100e45a9
int3