joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405924
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x514], 0
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.00404d1d
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00404cd2
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.00404d0d
loop 0x40594a
cli
invalid
sar esp, cl
push 0x104
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x405a01
cmp dword [ebp - 0x398], 0
je 0x405bcb
cmp dword [ebp + 0xc], 1
je 0x405bcb
cmp dword [ebp + 0xc], 8
jne 0x405b93
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
test dword [edx - 7], edx
invalid
call dword [esi]
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
inc dword [edi]
call fcn.00404d0d
or eax, 0x80594e49
movsd dword es:[edi], dword [esi]
mov esp, 0xfffffa
push 0
call dword [ebp - 0x340]
mov dword [ebp + 8], eax
push 0x104
add al, 1
add byte [eax], al
and byte [ebp - 0x230], 0
Function at 0x405baf
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x514], 0
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.00404d1d
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00404cd2
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.00404d0d
loop 0x40594a
cli
invalid
sar esp, cl
push 0x104
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x405a01
cmp dword [ebp - 0x398], 0
je 0x405bcb
cmp dword [ebp + 0xc], 1
je 0x405bcb
cmp dword [ebp + 0xc], 8
jne 0x405b93
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
test dword [edx - 7], edx
invalid
call dword [esi]
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
inc dword [edi]
call fcn.00404d0d
or eax, 0x80594e49
movsd dword es:[edi], dword [esi]
mov esp, 0xfffffa
push 0
call dword [ebp - 0x340]
mov dword [ebp + 8], eax
push 0x104
add al, 1
add byte [eax], al
and byte [ebp - 0x230], 0
Function at 0x40668f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
out 0xff, al
call [ecx + 0x50]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00404cd2
add esp, 0xc
mov dword [ebp - 0x730], eax
and dword [ebp - 0x6fc], 0
push 1
pop eax
test eax, eax
je 0x406db3
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x406888
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 4
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0xb8
mov byte [ebp - 0x777], 0xc1
mov byte [ebp - 0x776], 0xa7
mov byte [ebp - 0x775], 0xab
mov byte [ebp - 0x774], 0x89
mov byte [ebp - 0x773], 0x94
mov byte [ebp - 0x772], 0x9c
mov byte [ebp - 0x771], 0x89
mov byte [ebp - 0x770], 0x9a
mov byte [ebp - 0x76f], 0x96
mov byte [ebp - 0x76e], 0xdb
mov byte [ebp - 0x76d], 0xbd
mov byte [ebp - 0x76c], 0x92
mov byte [ebp - 0x76b], 0x97
mov byte [ebp - 0x76a], 0x9e
mov byte [ebp - 0x769], 0x88
mov byte [ebp - 0x768], 0xa7
mov byte [ebp - 0x767], 0xb8
mov byte [ebp - 0x766], 0x94
mov byte [ebp - 0x765], 0x96
mov byte [ebp - 0x764], 0x96
mov byte [ebp - 0x763], 0x94
mov byte [ebp - 0x762], 0x95
mov byte [ebp - 0x761], 0xdb
mov byte [ebp - 0x760], 0xbd
mov byte [ebp - 0x75f], 0x92
mov byte [ebp - 0x75e], 0x97
mov byte [ebp - 0x75d], 0x9e
mov byte [ebp - 0x75c], 0x88
mov byte [ebp - 0x75b], 0xa7
mov byte [ebp - 0x75a], 0xa8
mov byte [ebp - 0x759], 0x82
mov byte [ebp - 0x758], 0x88
mov byte [ebp - 0x757], 0x8f
mov byte [ebp - 0x756], 0x9e
mov byte [ebp - 0x755], 0x96
mov byte [ebp - 0x754], 0xa7
mov byte [ebp - 0x753], 0x88
mov byte [ebp - 0x752], 0x82
mov byte [ebp - 0x751], 0x96
mov byte [ebp - 0x750], 0x88
mov byte [ebp - 0x74f], 0x89
mov byte [ebp - 0x74e], 0x8d
mov byte [ebp - 0x74d], 0xd5
mov byte [ebp - 0x74c], 0x9f
mov byte [ebp - 0x74b], 0x97
mov byte [ebp - 0x74a], 0x97
mov byte [ebp - 0x749], 0xfb
lea eax, [ebp - 0x77c]
push eax
call fcn.00404d1d
pop ecx
mov al, byte [ebp - 0x12c]
mov byte [ebp - 0x778], al
push 0x30
lea eax, [ebp - 0x77c]
push eax
call fcn.00404d1d
pop ecx
push eax
lea eax, [ebp - 0x504]
push eax
call fcn.00404c7e
add esp, 0xc
lea eax, [ebp - 0x504]
mov dword [ebp - 0x3a0], eax
jmp 0x406c85
cmp dword [ebp - 0x6fc], 1
jne 0x406939
and byte [ebp - 0x78c], 0
and byte [ebp - 0x78b], 0
mov byte [ebp - 0x78a], 0xa0
and byte [ebp - 0x789], 0
invalid
test dword [eax - 8], edi
Function at 0x402200
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b378
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push esi
push dword [ebp + 8]
xorps xmm0, xmm0
lea ecx, [ebp - 0x48]
mov edx, str._registrymachineSYSTEMCurrentControlSetServices_
movq qword [ebp - 0x18], xmm0
call fcn.00402cf0
add esp, 4
mov dword [ebp - 4], 0
lea esi, [ebp - 0x48]
cmp dword [ebp - 0x34], 8
lea ecx, [ebp - 0x30]
push 0x14
cmovae esi, dword [ebp - 0x48]
push 0x48b79c
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.00402850
mov byte [ebp - 4], 1
call fcn.004011f0
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
call fcn.00403120
test eax, eax
je 0x402289
push esi
lea ecx, [ebp - 0x18]
push ecx
call eax
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x4022c1
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4022b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4023ec
push edx
push ecx
call fcn.0041ee0c
add esp, 8
push 0xe
push str.NtUnloadDriver
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.00402850
mov byte [ebp - 4], 2
call fcn.004011f0
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
call fcn.00403120
test eax, eax
je 0x402304
lea ecx, [ebp - 0x18]
push ecx
call eax
mov esi, eax
jmp 0x402309
mov esi, 0xc0000138
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x402341
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402337
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4023ec
push edx
push ecx
call fcn.0041ee0c
add esp, 8
push dword [ebp + 8]
mov edx, str.SYSTEMCurrentControlSetServices_
lea ecx, [ebp - 0x30]
call fcn.00402cf0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x40235c
mov eax, dword [eax]
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x40239e
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402394
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4023e7
push edx
push ecx
call fcn.0041ee0c
add esp, 8
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x4023d4
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4023ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4023ec
push edx
push ecx
call fcn.0041ee0c
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.00424b90
call fcn.00424b90
int3
Function at 0x404ca0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push ebx
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x404d65
push 0x22c
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.004213e0
add esp, 0xc
mov dword [ebp - 0x22c], 0x22c
lea eax, [ebp - 0x22c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x404d5e
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
nop word [eax + eax]
cmp dword [esi + 0x10], 0
je 0x404d24
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x404d10
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0042845b
add esp, 8
test eax, eax
jne 0x404d49
mov ecx, dword [edi + 4]
cmp dword [edi + 8], ecx
je 0x404d3a
mov eax, dword [ebp - 0x224]
mov dword [ecx], eax
add dword [edi + 4], 4
jmp 0x404d49
lea eax, [ebp - 0x224]
push eax
push ecx
mov ecx, edi
call fcn.00404dc0
lea eax, [ebp - 0x22c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x404d00
pop edi
pop esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x405100
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0x49aa94], 0
jne 0x405158
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x20]
dec ecx
mov eax, ecx
shr eax, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or ecx, eax
mov eax, ecx
shr eax, 4
or ecx, eax
mov eax, ecx
shr eax, 8
or ecx, eax
mov eax, ecx
shr eax, 0x10
or eax, ecx
inc eax
mov dword [0x49aa8c], eax
mov eax, dword [ebp - 8]
mov dword [0x49aa90], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x49aa94], eax
mov eax, 0x49aa8c
mov esp, ebp
pop ebp
ret

Function at 0x405170
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0x49aa94], 0
jne 0x4051c8
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x20]
dec ecx
mov eax, ecx
shr eax, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or ecx, eax
mov eax, ecx
shr eax, 4
or ecx, eax
mov eax, ecx
shr eax, 8
or ecx, eax
mov eax, ecx
shr eax, 0x10
or eax, ecx
inc eax
mov dword [0x49aa8c], eax
mov eax, dword [ebp - 8]
mov dword [0x49aa90], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x49aa94], eax
mov eax, dword [0x49aa8c]
mov esp, ebp
pop ebp
ret
Function at 0x4052c0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x49aa94]
sub esp, 0x24
test eax, eax
jne 0x405318
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x20]
dec ecx
mov eax, ecx
shr eax, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or ecx, eax
mov eax, ecx
shr eax, 4
or ecx, eax
mov eax, ecx
shr eax, 8
or ecx, eax
mov eax, ecx
shr eax, 0x10
or eax, ecx
inc eax
mov dword [0x49aa8c], eax
mov eax, dword [ebp - 8]
mov dword [0x49aa90], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x49aa94], eax
push 0x8000
push 0
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
mov esp, ebp
pop ebp
ret

Function at 0x405340
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x49aa94]
sub esp, 0x24
test eax, eax
jne 0x405398
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x20]
dec ecx
mov eax, ecx
shr eax, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or ecx, eax
mov eax, ecx
shr eax, 4
or ecx, eax
mov eax, ecx
shr eax, 8
or ecx, eax
mov eax, ecx
shr eax, 0x10
or eax, ecx
inc eax
mov dword [0x49aa8c], eax
mov eax, dword [ebp - 8]
mov dword [0x49aa90], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x49aa94], eax
mov ecx, dword [ebp + 8]
test ecx, ecx
push 0x8000
push 0
push dword [ebp + 0xc]
cmove ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
mov esp, ebp
pop ebp
ret
Function at 0x405dd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 1
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
jne 0x405ee5
mov ebx, dword [ebp + 8]
lea esi, [edi + 4]
add ebx, 0x1f
push esi
and ebx, 0xffffffe0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [edi + 0x40]
test edi, edi
je 0x405e14
mov eax, dword [edi + 8]
sub eax, dword [edi + 0xc]
cmp ebx, eax
jbe 0x405ebc
mov edi, dword [edi]
test edi, edi
jne 0x405e00
mov eax, 0x8000
cmp ebx, eax
push 0x10
cmova eax, ebx
mov dword [ebp + 0xc], eax
call fcn.004282a0
mov edi, eax
add esp, 4
test edi, edi
je 0x405e99
cmp dword [ebp + 0xc], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp + 8], eax
jne 0x405e43
xor eax, eax
jmp 0x405e89
call fcn.00405100
mov edx, dword [ebp + 8]
mov ecx, eax
test edx, edx
jne 0x405e56
mov eax, dword [ecx + 8]
mov edx, eax
mov eax, dword [ecx]
mov ecx, dword [ebp + 0xc]
dec ecx
push 0x40
add ecx, eax
neg eax
push 0x3000
and ecx, eax
push ecx
push 0
push edx
mov dword [ebp + 8], ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
test eax, eax
je 0x405e86
lea ecx, [edi + 8]
test ecx, ecx
je 0x405e86
mov edx, dword [ebp + 8]
mov dword [ecx], edx
mov edx, dword [ebp - 4]
mov dword [edi + 4], eax
test eax, eax
jne 0x405eab
push edi
call fcn.0042716d
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [edi + 0xc], 0
mov eax, dword [edx + 0x40]
mov dword [edi], eax
mov dword [edx + 0x40], edi
jmp 0x405ebf
mov edx, dword [ebp - 4]
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 4]
add eax, ecx
add ecx, ebx
mov dword [edi + 0xc], ecx
add dword [edx + 0x2c], ebx
push esi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 8]
call fcn.004058c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x406780
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x1c], 0x10
push ebx
mov ebx, dword [eax + 0x18]
push esi
lea esi, [eax + 8]
mov dword [ebp - 8], ecx
jb 0x40679c
mov esi, dword [esi]
lea edx, [esi + ebx]
mov ecx, 0x811c9dc5
push edi
xor edi, edi
cmp esi, edx
cmova ebx, edi
test ebx, ebx
je 0x4067c3
movzx edx, byte [esi]
lea esi, [esi + 1]
xor edx, ecx
inc edi
imul ecx, edx, 0x1000193
cmp edi, ebx
jne 0x4067b0
mov ebx, dword [ebp - 8]
pop edi
mov edx, dword [ebx + 0x18]
and edx, ecx
lea esi, [edx*8]
mov edx, dword [ebx + 0xc]
add edx, esi
mov ecx, dword [edx]
cmp dword [edx + 4], eax
jne 0x4067fc
cmp ecx, eax
jne 0x4067f4
mov ecx, dword [ebx + 4]
mov dword [edx], ecx
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
mov dword [esi + edx + 4], ecx
jmp 0x406804
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x406804
cmp ecx, eax
jne 0x406804
mov ecx, dword [eax]
mov dword [edx], ecx
mov esi, dword [ebp + 8]
lea ecx, [ebx + 4]
push eax
push esi
call fcn.004066a0
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x406f00
Capabilities:
Enumerate threads

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b588
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x38
push esi
push edi
push 0
mov esi, ecx
push 4
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push dword [esi + 8]
add esi, 4
mov edi, eax
mov dword [ebp - 0x1c], edi
push dword [esi]
call fcn.00404d70
mov ecx, dword [esi]
mov dword [esi + 4], ecx
cmp edi, 0xffffffff
je 0x407038
lea eax, [ebp - 0x48]
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x48], xmm0
push edi
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x48], 0x1c
call dword [sym.imp.KERNEL32.dll_Thread32First]
cmp eax, 1
jne 0x407031
nop
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
mov eax, dword [edi + 4]
cmp dword [ebp - 0x3c], eax
jne 0x40701a
mov eax, dword [ebp - 0x40]
push eax
push 0
push 0x10005b
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 1
mov dword [ebp - 4], 0
mov ecx, dword [esi + 4]
cmp dword [esi + 8], ecx
je 0x406fe4
mov edx, dword [ebp - 0x18]
mov dword [ecx], edi
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov byte [ecx + 0xc], 1
xor cl, cl
add dword [esi + 4], 0x10
jmp 0x406ff6
lea eax, [ebp - 0x2c]
push eax
push ecx
mov ecx, esi
call fcn.00407050
mov cl, byte [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
test cl, cl
je 0x40701a
test eax, eax
je 0x40701a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x48]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
cmp eax, 1
je 0x406f90
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x408390
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x150
push esi
push edi
push 0x40
lea eax, [esp + 0x24]
mov esi, ecx
push 0
push eax
mov dword [esp + 0x18], esi
call fcn.004213e0
push 0xf8
lea eax, [esp + 0x70]
push 0
push eax
call fcn.004213e0
mov edi, dword [ebp + 8]
add esp, 0x18
mov edx, dword [ebp + 0xc]
mov eax, edi
mov ecx, dword [esi + 4]
xorps xmm0, xmm0
or eax, edx
movlpd qword [esp + 0x10], xmm0
mov eax, dword fs:[0x18]
jne 0x4083f8
mov dword [eax + 0xbf4], 0xc0000141
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov dword [eax + 0xbf4], 0
lea esi, [esp + 0x10]
mov eax, dword [ecx + 0x4c]
push esi
push 0x40
lea esi, [esp + 0x28]
mov ecx, dword [eax + 8]
push esi
push edx
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
jne 0x4083ee
mov eax, 0x5a4d
cmp word [esp + 0x20], ax
jne 0x4083ee
mov eax, dword [esp + 0x5c]
xorps xmm0, xmm0
cdq
mov esi, eax
movlpd qword [esp + 0x18], xmm0
mov eax, dword [esp + 0xc]
add esi, edi
mov ecx, esi
adc edx, dword [ebp + 0xc]
or ecx, edx
mov edi, dword [eax + 4]
mov eax, dword fs:[0x18]
je 0x4083e4
mov dword [eax + 0xbf4], 0
mov eax, dword [edi + 0x4c]
lea edi, [esp + 0x18]
push edi
push 0xf8
lea edi, [esp + 0x68]
mov ecx, dword [eax + 8]
push edi
push edx
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
jne 0x4083ee
cmp dword [esp + 0x60], 0x4550
jne 0x4083ee
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x4088e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov edx, edi
mov dword [ebp - 4], ecx
cmp dword [edi + 0x14], 8
mov ebx, dword [edi + 0x10]
jb 0x4088fa
mov edx, dword [edi]
add ebx, ebx
xor esi, esi
mov eax, 0x811c9dc5
lea ecx, [ebx + edx]
cmp edx, ecx
cmova ebx, esi
test ebx, ebx
je 0x408923
nop
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
inc esi
imul eax, ecx, 0x1000193
cmp esi, ebx
jne 0x408910
mov ecx, dword [edi + 0x18]
xor ecx, eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
and ecx, dword [eax + 0x18]
mov eax, ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x409130
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b705
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push esi
push edi
mov dword [ebx], 0xffffffff
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov byte [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0xffffffff
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
lea ecx, [ebx + 0x50]
mov dword [ebp - 4], 0
call fcn.00409710
lea ecx, [ebx + 0x70]
mov byte [ebp - 4], 1
call fcn.00409710
xor eax, eax
mov dword [ebx + 0xa0], 0
mov dword [ebx + 0xa4], 7
mov word [ebx + 0x90], ax
mov dword [ebx + 0xb8], eax
mov dword [ebx + 0xbc], 7
mov word [ebx + 0xa8], ax
lea edi, [ebx + 0xc0]
mov dword [ebp - 0x14], edi
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
lea esi, [edi + 0x18]
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.00412ac0
mov ecx, dword [ebp - 0xc]
mov dword [esi], eax
mov eax, ebx
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret