joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d9b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, ecx
push ebx
push esi
push edi
cmp dword [edx + 0x14], 0x10
mov edi, edx
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], eax
jb 0x40d9ce
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x40d9f4
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x40d9e0
mov eax, dword [ebp - 4]
push esi
push edx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.0040d930
pop edi
pop esi
pop ebx
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x40da14
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 4]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x40dab0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0x4a6ddc], 0
jne 0x40db08
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 [0x4a6dd4], eax
mov eax, dword [ebp - 8]
mov dword [0x4a6dd8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x4a6ddc], eax
mov eax, 0x4a6dd4
mov esp, ebp
pop ebp
ret
Function at 0x40e650
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 0x40e766
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 0x40e694
mov eax, dword [edi + 8]
sub eax, dword [edi + 0xc]
cmp ebx, eax
jbe 0x40e73d
mov edi, dword [edi]
test edi, edi
jne 0x40e680
mov eax, 0x8000
cmp ebx, eax
push 0x10
cmova eax, ebx
mov dword [ebp + 0xc], eax
call fcn.004504af
mov edi, eax
add esp, 4
test edi, edi
je 0x40e708
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp + 8], eax
je 0x40e6f8
call fcn.0040dab0
mov edx, dword [ebp + 8]
mov ecx, eax
test edx, edx
jne 0x40e6d2
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]
mov edx, eax
test edx, edx
jne 0x40e71a
push edi
mov dword [edi + 4], 0
call fcn.0044ab7f
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
lea eax, [edi + 8]
test eax, eax
je 0x40e726
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp - 4]
mov dword [edi + 0xc], 0
mov eax, dword [edx + 0x40]
mov dword [edi], eax
mov dword [edx + 0x40], edi
jmp 0x40e740
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.0040e1f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x410570
Capabilities:
Access peb ldr_data
Get process heap force flags

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 0x465813
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x10
push esi
mov esi, ecx
mov dword [ebp - 0x14], esi
push edi
mov dword [esi], 0
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 4
call fcn.00411c30
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 5
call fcn.00411c30
xorps xmm0, xmm0
xor eax, eax
movups xmmword [esi + 0x94], xmm0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 7
mov word [esi + 0x94], ax
movups xmmword [esi + 0xac], xmm0
mov dword [esi + 0xbc], eax
mov dword [esi + 0xc0], 7
mov word [esi + 0xac], ax
lea edi, [esi + 0xc4]
mov dword [ebp - 0x18], edi
movups xmmword [edi], xmm0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
lea esi, [edi + 0x18]
mov byte [ebp - 4], 9
push 0x44
mov dword [ebp - 0x1c], esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.00441881
mov ecx, dword [ebp - 0xc]
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x410840
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov eax, dword [esi + 8]
push edi
lea edi, [esi + 8]
test eax, eax
je 0x410867
jle 0x410861
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [edi], 0
mov eax, dword [esi + 4]
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x410886
jle 0x41087f
push eax
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov eax, dword [esi]
test eax, eax
je 0x410897
jle 0x410891
push eax
call ecx
mov dword [esi], 0
mov eax, dword [esi + 0x34]
test eax, eax
je 0x4108ae
jle 0x4108a7
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov dword [esi + 0x34], 0
lea ecx, [esi + 0x94]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
cmp ecx, ebx
je 0x4108d9
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x4108d0
mov eax, dword [ebx]
push dword [ebx + 0x10]
push eax
call fcn.004050c0
mov byte [esi + 0x10], 0
cmp dword [ebx + 0x14], 8
jb 0x4108e5
mov ebx, dword [ebx]
push 0
push 0
push 3
push 0
push 7
push 0x120089
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [esi]
mov ebx, eax
cmp ebx, ecx
je 0x410912
test ecx, ecx
jle 0x41090e
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], ebx
mov ecx, ebx
test ecx, ecx
jle 0x410a06
push 0
push 0
push 0
push 0x1000002
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ecx, dword [esi + 4]
mov ebx, eax
cmp ebx, ecx
je 0x410947
test ecx, ecx
jle 0x410942
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], ebx
mov ecx, ebx
push 0
push 0
push 0
test ecx, ecx
jle 0x410965
push 4
push ecx
mov byte [esi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
lea eax, [ebp - 4]
jmp 0x4109a6
push 2
push 0
push dword [esi]
mov byte [esi + 0xc], 1
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ecx, dword [esi + 4]
mov ebx, eax
cmp ebx, ecx
je 0x41098e
test ecx, ecx
jle 0x410989
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], ebx
mov ecx, ebx
test ecx, ecx
jle 0x4109cc
push 0
push 0
push 0
push 4
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
lea eax, [ebp - 8]
cmp eax, edi
je 0x4109c0
mov eax, dword [edi]
cmp ebx, eax
je 0x4109cc
test eax, eax
jle 0x4109bc
push eax
mov eax, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
call eax
mov dword [edi], ebx
jmp 0x4109cc
test ebx, ebx
jle 0x4109cc
mov eax, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call eax
cmp dword [edi], 0
je 0x410a06
push 0
mov ecx, esi
call fcn.00410bb0
test eax, eax
js 0x410a12
cmp byte [ebp + 0xc], 0
jne 0x410a12
cmp dword [esi + 0xa8], 8
lea eax, [esi + 0x94]
jb 0x4109f5
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.004118c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xbf4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x410ad0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x410aed
jle 0x410ae6
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi + 8], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x410b04
jle 0x410afd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov eax, dword [esi]
test eax, eax
je 0x410b19
jle 0x410b13
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov eax, dword [esi + 0x34]
test eax, eax
je 0x410b30
jle 0x410b29
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov dword [esi + 0x34], 0
cmp byte [ebp + 8], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
jne 0x410ba2
cmp dword [esi + 0xa8], 8
lea ecx, [esi + 0x94]
jb 0x410b59
mov ecx, dword [esi + 0x94]
xor eax, eax
mov dword [esi + 0xa4], 0
mov word [ecx], ax
cmp byte [esi + 0x10], al
je 0x410b86
add esi, 0xac
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x410b7d
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x410b8c
add esi, 0xac
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x410b96
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], 0
mov word [eax], cx
pop esi
pop ebp
ret 4
Function at 0x4118c0
Capabilities:
Get common file path
Write file on windows

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 0x46587d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x430
push esi
push edi
push 0x200
lea eax, [ebp - 0x240]
mov edi, ecx
push 0
push eax
call fcn.00445960
add esp, 0xc
mov dword [ebp - 0x14], 0
lea esi, [edi + 0x38]
xorps xmm0, xmm0
lea eax, [ebp - 0x14]
mov ecx, edi
movups xmmword [ebp - 0x3c], xmm0
push esi
push eax
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x3c], 0x20
call fcn.00411ab0
mov dword [ebp - 0x18], eax
test eax, eax
je 0x411a95
mov ecx, dword [ebx + 8]
test ecx, ecx
jne 0x411a23
push 0x200
push ecx
lea eax, [ebp - 0x440]
push eax
call fcn.00445960
add esp, 0xc
lea eax, [ebp - 0x440]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x240]
push eax
push 0
push str.ImageManifest
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x41199a
mov eax, 0xc0150002
jmp 0x411a97
push 0
push 0
push 4
push 0
push 0
push 0x120116
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 4], 0
test esi, esi
jle 0x411a15
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x240]
xor esi, esi
mov ecx, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x34], eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4119f7
sub ecx, edx
lea eax, [ebp - 0x240]
sar ecx, 1
push ecx
lea ecx, [edi + 0xac]
jmp 0x411a4f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xbf4]
jmp 0x411a97
movzx eax, word [esi]
mov dword [ebp - 0x28], eax
lea eax, [edi + 0x94]
mov dword [ebp - 0x34], ecx
lea ecx, [edi + 0xac]
mov dword [ebp - 0x38], 8
cmp ecx, eax
je 0x411a55
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x411a4e
mov eax, dword [eax]
push edx
push eax
call fcn.004050c0
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov ecx, dword [edi + 0x34]
mov esi, eax
cmp esi, ecx
je 0x411a78
test ecx, ecx
jle 0x411a73
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov dword [edi + 0x34], esi
mov ecx, esi
test ecx, ecx
jg 0x411a95
mov eax, dword fs:[0x18]
cmp dword [eax + 0xbf4], 0xc0000022
jne 0x411a15
mov dword [edi + 0x38], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x411d60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
mov edx, dword [ebp + 0xc]
push 0xffffffffffffffff
push 0x4658d5
push eax
mov dword fs:[0], esp
sub esp, 0x10
cmp dword [edx + 0x14], 8
mov eax, dword [edx + 0x10]
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
jb 0x411d90
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add eax, eax
je 0x411db4
mov edx, eax
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x411da0
mov edx, dword [ebp + 0xc]
push esi
push edx
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.0040cde0
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x411de4
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 8], 0x5d1745d
je 0x411f2a
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
push 0x2c
mov dword [ebp - 0x18], 0
call fcn.00441881
add esp, 4
mov edi, eax
mov dword [ebp - 0x18], edi
push dword [ebp + 0xc]
lea ecx, [edi + 8]
call fcn.00404d00
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x49b8a0]
mov eax, dword [ebx + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x49b8a0]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x411ecd
divss xmm0, xmm3
call fcn.00401550
call fcn.00441f10
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x411eb1
cmp eax, 0x200
jae 0x411eaf
shl eax, 3
cmp eax, ecx
jae 0x411eb1
mov eax, ecx
push eax
mov ecx, ebx
call fcn.0040cc10
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040cde0
mov edx, dword [eax]
jmp 0x411ed0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x18]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x411ef8
mov dword [ecx + eax*8], edi
jmp 0x411f0a
cmp esi, edx
jne 0x411f01
mov dword [ecx + eax*8], edi
jmp 0x411f0e
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x411f0e
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.00442bd2
int3
Function at 0x415420
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push edi
mov edi, ecx
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x10], xmm0
mov dword [edi + 4], eax
lea eax, [ebp - 0x24]
push eax
mov dword [edi], vtable.blackbone::Native.0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp byte [ebp + 0xc], 0
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x10], eax
je 0x415485
mov word [edi + 0xc], 0x101
mov eax, edi
mov dword [edi + 8], 0
mov byte [edi + 0xe], 1
pop edi
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push eax
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
lea eax, [ebp + 8]
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
mov ecx, dword [ebp + 0xc]
cmp ecx, 1
mov edx, dword [ebp + 8]
sete al
cmp edx, 1
mov byte [edi + 0xc], al
sete al
mov byte [edi + 0xd], al
cmp ecx, 1
jne 0x4154e2
cmp edx, ecx
jne 0x4154fa
mov dword [edi + 8], 0
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret 8
test ecx, ecx
jne 0x4154fa
test edx, edx
jne 0x4154fa
mov dword [edi + 8], 1
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret 8
xor eax, eax
mov byte [edi + 0xf], 1
cmp ecx, 1
setne al
add eax, 2
mov dword [edi + 8], eax
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x4155c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465b0d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
call fcn.0040d0d0
mov edi, eax
xorps xmm0, xmm0
push 0x20
mov dword [ebp - 0x10], edi
movups xmmword [ebp - 0x38], xmm0
call fcn.00441881
movups xmm0, xmmword [0x4941e0]
mov esi, eax
mov dword [ebp - 0x28], 0x14
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x24], 0x1f
movups xmmword [esi], xmm0
mov ecx, dword [0x4941f0]
mov dword [esi + 0x10], ecx
mov byte [esi + 0x14], 0
mov dword [ebp - 4], 0
call fcn.004230a0
add edi, 0x20
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, 0x14
jb 0x415650
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x38]
push edx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040d930
mov eax, dword [eax + 4]
test eax, eax
je 0x4156af
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx + 4]
je 0x4156af
mov edi, dword [eax + 0x20]
lea eax, [ecx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x4156b6
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x18]
mov eax, dword [ebp - 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [eax + 4]
call edi
mov edi, eax
jmp 0x4156bb
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, 0xc0000138
push 0x20
push esi
call fcn.004418b1
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, edi
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4157b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465b2d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push esi
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
call fcn.0040d0d0
mov edi, eax
xorps xmm0, xmm0
push 0x20
mov dword [ebp - 0x10], edi
movups xmmword [ebp - 0x3c], xmm0
call fcn.00441881
movups xmm0, xmmword [0x4941f8]
mov esi, eax
mov dword [ebp - 0x2c], 0x19
add esp, 4
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x28], 0x1f
movups xmmword [esi], xmm0
movq xmm0, qword [0x494208]
movq qword [esi + 0x10], xmm0
mov cl, byte [0x494210]
mov byte [esi + 0x18], cl
mov byte [esi + 0x19], 0
mov dword [ebp - 4], 0
call fcn.004230a0
add edi, 0x20
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, 0x811c9dc5
xor ecx, ecx
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, 0x19
jb 0x415846
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x3c]
push edx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040d930
mov eax, dword [eax + 4]
test eax, eax
je 0x4158a2
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx + 4]
je 0x4158a2
mov edi, dword [eax + 0x20]
lea eax, [ecx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x4158a9
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x10]
mov eax, dword [ebp - 0x18]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [eax + 4]
call edi
mov edi, eax
jmp 0x4158ae
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, 0xc0000138
push 0x20
push esi
call fcn.004418b1
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, edi
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4158d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465b4d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov dword [ebp - 0x14], ecx
call fcn.0040d0d0
mov edi, eax
xorps xmm0, xmm0
push 0x20
mov dword [ebp - 0x10], edi
movups xmmword [ebp - 0x34], xmm0
call fcn.00441881
movups xmm0, xmmword [0x494214]
mov esi, eax
mov dword [ebp - 0x24], 0x17
add esp, 4
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x20], 0x1f
movups xmmword [esi], xmm0
mov ecx, dword [0x494224]
mov dword [esi + 0x10], ecx
mov cx, word [0x494228]
mov word [esi + 0x14], cx
mov al, byte [0x49422a]
mov byte [esi + 0x16], al
mov byte [esi + 0x17], 0
mov dword [ebp - 4], 0
call fcn.004230a0
add edi, 0x20
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, 0x811c9dc5
xor ecx, ecx
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, 0x17
jb 0x415965
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x34]
push edx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040d930
mov eax, dword [eax + 4]
test eax, eax
je 0x4159bd
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx + 4]
je 0x4159bd
mov edi, dword [eax + 0x20]
lea eax, [ecx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x4159c4
push dword [ebp + 0x10]
mov eax, dword [ebp - 0x14]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [eax + 4]
call edi
mov edi, eax
jmp 0x4159c9
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, 0xc0000138
push 0x20
push esi
call fcn.004418b1
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, edi
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4159f0
Capabilities:
Create thread
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465b4d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov dword [ebp - 0x14], ecx
call fcn.0040d0d0
mov edi, eax
xorps xmm0, xmm0
push 0x20
mov dword [ebp - 0x10], edi
movups xmmword [ebp - 0x34], xmm0
call fcn.00441881
movups xmm0, xmmword [0x49422c]
mov esi, eax
mov dword [ebp - 0x24], 0x10
add esp, 4
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x20], 0x1f
movups xmmword [esi], xmm0
mov byte [esi + 0x10], 0
mov dword [ebp - 4], 0
call fcn.004230a0
lea eax, [edi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, 0x10
jb 0x415a70
push edx
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040d930
mov ecx, dword [ebp - 0x10]
mov edi, dword [eax + 4]
test edi, edi
je 0x415ab0
cmp edi, dword [ecx + 4]
je 0x415ab0
mov edi, dword [edi + 0x20]
lea eax, [ecx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x415abc
lea eax, [ecx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edi, edi
push 0x20
push esi
mov dword [ebp - 4], 0xffffffff
call fcn.004418b1
mov ecx, dword [ebp - 0x14]
add esp, 8
mov ecx, dword [ecx + 4]
push 0
test edi, edi
je 0x415b17
mov esi, dword [ebp + 8]
push 0x100000
push 0x1000
push 0
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push ecx
push 0
push dword [ebp + 0x20]
push esi
call edi
test eax, eax
jns 0x415b5b
pop edi
mov dword [esi], 0
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [ebp + 0x1c]
and eax, 1
shl eax, 2
push eax
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push 0
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
test eax, eax
je 0x415b4f
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xbf4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x1c