joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455bd0
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x958
push esi
push edi
mov edi, dword [ebx + 8]
mov esi, ecx
cmp edi, 4
ja 0x455d8b
push 0x670
lea eax, [ebp - 0x950]
push 0
push eax
call fcn.00513df0
add esp, 0xc
lea eax, [ebp - 0x2e0]
push 0x2cc
push 0
push eax
call fcn.00513df0
mov ecx, dword [esi]
add esp, 0xc
mov eax, dword [ecx + 8]
mov al, byte [eax + 0xe]
mov byte [ebp - 1], al
test al, al
jne 0x455c51
mov dword [ebp - 0x920], 0x100010
lea edx, [ebp - 0x950]
mov ecx, dword [ecx + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
jmp 0x455c69
mov dword [ebp - 0x2e0], 0x10010
lea edx, [ebp - 0x2e0]
mov ecx, dword [ecx + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
push edx
push dword [esi + 8]
call eax
cmp byte [ebp - 1], 0
lea ecx, [ebp - 0x8e0]
lea edx, [ebp - 0x2c8]
cmovne ecx, edx
mov dword [ebp - 0xc], ecx
test eax, eax
js 0x455d8d
mov edx, dword [ecx]
test edi, edi
jne 0x455c9d
and edx, 0xfff0fffe
mov dword [ecx], edx
jmp 0x455d06
cmp edi, 1
jne 0x455ca7
and edx, 0xfffffffb
jmp 0x455cbc
cmp edi, 2
mov dword [ebp - 8], 0xffffffbf
mov eax, 0xffffffef
cmovne eax, dword [ebp - 8]
and edx, eax
cmp edi, 1
jne 0x455cc9
and edx, 0xff3fffff
jmp 0x455cde
cmp edi, 2
mov dword [ebp - 8], 0x3fffffff
mov eax, 0xf3ffffff
cmovne eax, dword [ebp - 8]
and edx, eax
cmp edi, 1
jne 0x455ced
and edx, 0xffcfffff
mov dword [ecx], edx
jmp 0x455d06
cmp edi, 2
mov dword [ebp - 8], 0xcfffffff
mov eax, 0xfcffffff
cmovne eax, dword [ebp - 8]
and eax, edx
mov dword [ecx], eax
mov edx, eax
mov eax, edx
shr eax, 2
mov ecx, eax
or ecx, edx
shr ecx, 4
or ecx, eax
or ecx, edx
test cl, 1
jne 0x455d26
mov eax, dword [ebp - 0xc]
and edx, 0xfffffeff
mov dword [eax], edx
mov ecx, esi
mov edi, 0xc000071c
call fcn.00455a50
cmp byte [ebp - 1], 0
jne 0x455d4e
test al, al
je 0x455d7e
mov eax, dword [esi]
lea edx, [ebp - 0x950]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
jmp 0x455d62
test al, al
je 0x455d7e
mov eax, dword [esi]
lea edx, [ebp - 0x2e0]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
push edx
push dword [esi + 8]
call eax
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 4], eax
je 0x455d7e
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x455da0
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x958
push esi
push edi
push 0x670
lea eax, [ebp - 0x950]
mov esi, ecx
push 0
push eax
call fcn.00513df0
add esp, 0xc
lea eax, [ebp - 0x2d8]
push 0x2cc
push 0
push eax
call fcn.00513df0
mov ecx, dword [esi]
add esp, 0xc
mov eax, dword [ecx + 8]
mov al, byte [eax + 0xe]
mov byte [ebp - 1], al
test al, al
jne 0x455e15
mov dword [ebp - 0x920], 0x100010
lea edx, [ebp - 0x950]
mov ecx, dword [ecx + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
jmp 0x455e2d
mov dword [ebp - 0x2d8], 0x10010
lea edx, [ebp - 0x2d8]
mov ecx, dword [ecx + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
push edx
push dword [esi + 8]
call eax
cmp byte [ebp - 1], 0
lea edi, [ebp - 0x8e0]
lea ecx, [ebp - 0x2c0]
cmovne edi, ecx
test eax, eax
jns 0x455e57
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
mov edx, dword [ebx + 8]
xor eax, eax
nop dword [eax]
lea ecx, [eax*4]
cmp dword [ebp + eax*8 - 0x908], edx
jne 0x455e7f
mov edx, dword [ebx + 0xc]
cmp dword [ebp + eax*8 - 0x904], edx
mov edx, dword [ebx + 8]
je 0x455e9e
cmp dword [ebp + ecx - 0x2d4], edx
je 0x455e9e
inc eax
cmp eax, 4
jl 0x455e60
mov eax, 0xc0000225
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
cmp byte [ebp - 1], 0
jne 0x455ebc
mov dword [ebp + eax*8 - 0x908], 0
mov dword [ebp + eax*8 - 0x904], 0
jmp 0x455ec7
mov dword [ebp + ecx - 0x2d4], 0
mov edx, dword [edi]
test eax, eax
jne 0x455ed5
and edx, 0xfff0fffe
jmp 0x455ef5
cmp eax, 1
jne 0x455ee2
and edx, 0xff0ffffb
jmp 0x455ef5
cmp eax, 2
jne 0x455eef
and edx, 0xf0ffffef
jmp 0x455ef5
and edx, 0xfffffbf
mov eax, edx
mov dword [edi], edx
shr eax, 2
mov ecx, eax
or ecx, edx
shr ecx, 4
or ecx, eax
or ecx, edx
test cl, 1
jne 0x455f14
and edx, 0xfffffeff
mov dword [edi], edx
mov ecx, esi
mov edi, 0xc000071c
call fcn.00455a50
cmp byte [ebp - 1], 0
jne 0x455f3c
test al, al
je 0x455f6c
mov eax, dword [esi]
lea edx, [ebp - 0x950]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
jmp 0x455f50
test al, al
je 0x455f6c
mov eax, dword [esi]
lea edx, [ebp - 0x2d8]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
push edx
push dword [esi + 8]
call eax
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 4], eax
je 0x455f6c
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
Function at 0x455f80
Capabilities:
Encode data using xor
Hash data using fnv

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
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x542efd
push eax
mov dword fs:[0], esp
mov eax, dword fs:[0x2c]
push ebx
sub esp, 0x48
mov ecx, dword [eax]
mov eax, dword [0x68306c]
push esi
push edi
cmp eax, dword [ecx + 4]
jle 0x456005
push 0x68306c
call fcn.00511b9f
add esp, 4
cmp dword [0x68306c], 0xffffffff
jne 0x456005
push str.GetThreadId
push 0x66bb98
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x68306c
mov dword [0x683068], eax
call fcn.00511b55
add esp, 4
mov eax, dword [0x683068]
test eax, eax
je 0x456018
push dword [ebx + 8]
call eax
jmp 0x456139
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x1c], 0
movq qword [ebp - 0x48], xmm0
call fcn.004347a0
push 0x18
mov esi, eax
mov dword [ebp - 0x3c], 0
push 0x66bbc0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call fcn.0040db70
mov dword [ebp - 4], 0
call fcn.00449440
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp - 0x28], 0x10
lea edi, [ebp - 0x3c]
mov esi, dword [ebp - 0x3c]
mov edx, 0x811c9dc5
setae byte [ebp - 0x11]
cmovae edi, esi
xor ecx, ecx
cmp dword [ebp - 0x2c], ecx
jbe 0x4560a5
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x2c]
jb 0x456093
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x3c]
push edx
push eax
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.00435240
mov eax, dword [eax + 4]
test eax, eax
je 0x4560eb
cmp eax, dword [edi + 4]
je 0x4560eb
mov edi, dword [eax + 0x20]
mov eax, dword [ebp - 0x18]
add eax, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x4560f5
lea eax, [ebp - 0x1c]
push eax
push 0x1c
lea eax, [ebp - 0x58]
push eax
push 0
push dword [ebx + 8]
call edi
jmp 0x4560fa
lea eax, [edi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0xc0000138
shr eax, 0x1f
xor al, 1
cmp byte [ebp - 0x11], 0
mov dword [ebp - 0x18], eax
je 0x456130
mov ecx, dword [ebp - 0x28]
mov eax, esi
inc ecx
cmp ecx, 0x1000
jb 0x456126
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45614e
push ecx
push esi
call fcn.005121df
add esp, 8
xor eax, eax
cmp byte [ebp - 0x18], al
cmovne eax, dword [ebp - 0x4c]
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
call fcn.00520c6d
int3
Function at 0x456160
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0x682a24], 0
jne 0x4561b8
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 [0x682a1c], eax
mov eax, dword [ebp - 8]
mov dword [0x682a20], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x682a24], eax
mov eax, 0x682a1c
mov esp, ebp
pop ebp
ret
Function at 0x456cf0
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 0x456e06
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 0x456d34
mov eax, dword [edi + 8]
sub eax, dword [edi + 0xc]
cmp ebx, eax
jbe 0x456ddd
mov edi, dword [edi]
test edi, edi
jne 0x456d20
mov eax, 0x8000
cmp ebx, eax
push 0x10
cmova eax, ebx
mov dword [ebp + 0xc], eax
call fcn.005231b7
mov edi, eax
add esp, 4
test edi, edi
je 0x456da8
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp + 8], eax
je 0x456d98
call fcn.00456160
mov edx, dword [ebp + 8]
mov ecx, eax
test edx, edx
jne 0x456d72
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 0x456dba
push edi
mov dword [edi + 4], 0
call fcn.00520056
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 0x456dc6
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 0x456de0
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.00456890
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x458310
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54324b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x42c
push esi
mov esi, ecx
lea ecx, [ebp - 0x13c]
call fcn.0043e090
lea ecx, [ebp - 0x22c]
mov dword [ebp - 4], 0
call fcn.0043e090
push 0x208
lea eax, [ebp - 0x434]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.00513df0
add esp, 0xc
lea eax, [ebp - 0x434]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [ebp - 0x434]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x14], 0
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4583a0
sub ecx, edx
lea eax, [ebp - 0x434]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00408810
mov byte [ebp - 4], 2
cmp byte [esi], 0
je 0x458421
mov ecx, dword [ebp - 0x18]
mov eax, bind
sub eax, ecx
cmp eax, 0x13
jb 0x45854c
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x13
cmovae eax, dword [ebp - 0x28]
push 0x66c64c
push ecx
push eax
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x48]
call fcn.00441b10
push 1
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x13c]
call fcn.0043e290
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.00413120
jmp 0x4584f4
mov al, byte [esi + 1]
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x2c], al
test al, al
je 0x45843c
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
mov esi, bind
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
mov eax, esi
sub eax, ecx
cmp eax, 0x13
jb 0x458551
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x13
cmovae eax, dword [ebp - 0x28]
push str.System32_ntdll.dll
push ecx
push eax
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x48]
call fcn.00441b10
push 1
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x22c]
call fcn.0043e290
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.00413120
mov ecx, dword [ebp - 0x18]
sub esi, ecx
cmp esi, 0x13
jb 0x458556
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x13
cmovae eax, dword [ebp - 0x28]
push str.SysWOW64_ntdll.dll
push ecx
push eax
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x48]
call fcn.00441b10
push 1
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x13c]
call fcn.0043e290
lea ecx, [ebp - 0x48]
call fcn.00413120
mov byte [ebp - 4], 2
cmp byte [ebp - 0x2c], 0
je 0x4584f4
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x13c]
push eax
mov ecx, esi
call fcn.00458560
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 7
push eax
lea ecx, [esi + 0xf0]
call fcn.00458560
lea ecx, [ebp - 0x28]
call fcn.00413120
lea ecx, [ebp - 0x22c]
call fcn.0043e210
lea ecx, [ebp - 0x13c]
call fcn.0043e210
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.004018b0
call fcn.004018b0
call fcn.004018b0
int3
Function at 0x458fd0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542efd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 0
call fcn.004347a0
push 0x20
mov esi, eax
mov dword [ebp - 0x3c], 0
push 0x66c738
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call fcn.0040db70
mov dword [ebp - 4], 0
call fcn.00449440
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp - 0x28], 0x10
lea edi, [ebp - 0x3c]
mov esi, dword [ebp - 0x3c]
mov edx, 0x811c9dc5
mov ebx, dword [ebp - 0x2c]
setae byte [ebp - 0xd]
cmovae edi, esi
xor ecx, ecx
test ebx, ebx
je 0x459071
nop dword [eax + eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x459060
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x3c]
push edx
push eax
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.00435240
mov eax, dword [eax + 4]
test eax, eax
je 0x4590ba
cmp eax, dword [ebx + 4]
je 0x4590ba
mov edi, dword [eax + 0x20]
lea eax, [ebx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x4590c4
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x10]
mov eax, dword [ebp - 0x1c]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [eax + 4]
call edi
mov edi, eax
jmp 0x4590c9
lea eax, [ebx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, 0xc0000138
cmp byte [ebp - 0xd], 0
je 0x4590f7
mov ecx, dword [ebp - 0x28]
mov eax, esi
inc ecx
cmp ecx, 0x1000
jb 0x4590ed
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45910c
push ecx
push esi
call fcn.005121df
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
call fcn.00520c6d
int3
Function at 0x4595f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542f9e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push esi
mov esi, ecx
mov dword [ebp - 0x18], 0
cmp byte [esi + 0xd], 0
jne 0x459630
xor eax, eax
xor edx, edx
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push edi
movups xmmword [ebp - 0x58], xmm0
movq qword [ebp - 0x48], xmm0
call fcn.004347a0
push 0x19
mov edi, eax
mov dword [ebp - 0x40], 0
push 0x66c834
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.0040db70
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 1
call fcn.00449440
lea eax, [edi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
mov edi, dword [ebp - 0x40]
mov edx, 0x811c9dc5
setae byte [ebp - 0xe]
cmovae eax, edi
xor ecx, ecx
cmp dword [ebp - 0x30], ecx
jbe 0x4596c5
mov edi, eax
nop
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x30]
jb 0x4596b0
mov edi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x40]
push edx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00435240
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 4]
test eax, eax
je 0x459721
cmp eax, dword [ecx + 4]
je 0x459721
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x1c], eax
lea eax, [ecx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x45972b
lea ecx, [ebp - 0x20]
add esi, 4
push ecx
push 0x18
lea ecx, [ebp - 0x58]
push ecx
push 0
push dword [esi]
call eax
mov ecx, esi
test eax, eax
js 0x45972e
cmp dword [ebp + 8], 0
je 0x45972e
mov byte [ebp - 0xd], 1
jmp 0x459734
lea eax, [ecx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esi + 4]
mov byte [ebp - 0xd], 0
mov esi, ecx
cmp byte [ebp - 0xe], 0
je 0x459762
mov ecx, dword [ebp - 0x2c]
mov eax, edi
inc ecx
cmp ecx, 0x1000
jb 0x459758
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459793
push ecx
push edi
call fcn.005121df
add esp, 8
cmp byte [ebp - 0xd], 0
pop edi
je 0x45977e
push 0
push 0x250
push dword [ebp + 8]
push dword [ebp - 0x54]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
cdq
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
call fcn.00520c6d
int3
Function at 0x4597a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543336
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
push edi
push 0x30
lea eax, [ebp - 0x70]
mov dword [ebp - 0x14], ecx
push 0
push eax
mov dword [ebp - 0x1c], 0
call fcn.00513df0
add esp, 0xc
mov dword [ebp - 0x18], 0
call fcn.004347a0
push 0x20
mov esi, eax
mov dword [ebp - 0x40], 0
push 0x66c850
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.0040db70
mov dword [ebp - 4], 0
call fcn.00449440
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp - 0x2c], 0x10
lea edi, [ebp - 0x40]
mov esi, dword [ebp - 0x40]
mov edx, 0x811c9dc5
mov ebx, dword [ebp - 0x30]
setae byte [ebp - 0xd]
cmovae edi, esi
xor ecx, ecx
test ebx, ebx
je 0x459853
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x459842
mov ebx, dword [ebp - 0x20]
lea eax, [ebp - 0x40]
push edx
push eax
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.00435240
mov eax, dword [eax + 4]
test eax, eax
je 0x459899
cmp eax, dword [ebx + 4]
je 0x459899
mov edi, dword [eax + 0x20]
lea eax, [ebx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [ebp - 0x14]
test edi, edi
je 0x4598a6
lea eax, [ebp - 0x18]
push eax
push 0x30
lea eax, [ebp - 0x70]
push eax
push 0
push dword [ebx + 4]
call edi
jmp 0x4598a6
lea eax, [ebx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [ebp - 0x14]
cmp byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
je 0x4598df
mov ecx, dword [ebp - 0x2c]
mov eax, esi
inc ecx
cmp ecx, 0x1000
jb 0x4598d5
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4599bc
push ecx
push esi
call fcn.005121df
add esp, 8
cmp dword [ebp - 0x18], 0
jbe 0x459953
call fcn.004347a0
push 0x1a
push 0x66c7fc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x20], 0
mov esi, eax
mov dword [ebp - 0x14], 0x388
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.0040db70
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], 1
push eax
lea eax, [ebp + 8]
mov ecx, esi
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebx + 4]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00459d70
test eax, eax
js 0x459953
mov bl, 1
jmp 0x459955
xor bl, bl
test byte [ebp - 0x1c], 1
je 0x45998b
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x45998b
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x459981
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4599bc
push ecx
push edx
call fcn.005121df
add esp, 8
pop edi
pop esi
test bl, bl
pop ebx
je 0x4599a8
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0xc]
xor eax, eax
xor edx, edx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
call fcn.00520c6d
int3
Function at 0x4599d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542f9e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov eax, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], eax
cmp byte [eax + 0xd], 0
jne 0x459a11
xor eax, eax
xor edx, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
push esi
push edi
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x1c], 0
movq qword [ebp - 0x4c], xmm0
call fcn.004347a0
push 0x18
mov esi, eax
mov dword [ebp - 0x40], 0
push 0x66c818
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.0040db70
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 1
call fcn.00449440
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp - 0x2c], 0x10
lea edi, [ebp - 0x40]
mov esi, dword [ebp - 0x40]
mov edx, 0x811c9dc5
setae byte [ebp - 0xd]
cmovae edi, esi
xor ecx, ecx
cmp dword [ebp - 0x30], ecx
jbe 0x459aa7
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x30]
jb 0x459a95
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x40]
push edx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00435240
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 4]
test eax, eax
je 0x459afd
cmp eax, dword [ecx + 4]
je 0x459afd
mov edi, dword [eax + 0x20]
lea eax, [ecx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x459b09
lea eax, [ebp - 0x1c]
push eax
push 0x1c
lea eax, [ebp - 0x5c]
push eax
push 0
push dword [ebp + 8]
call edi
mov edi, dword [ebp + 0xc]
test eax, eax
js 0x459b0c
test edi, edi
je 0x459b0c
mov byte [ebp + 0xf], 1
jmp 0x459b10
lea eax, [ecx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x459b0c
mov edi, dword [ebp + 0xc]
mov byte [ebp + 0xf], 0
cmp byte [ebp - 0xd], 0
je 0x459b3e
mov ecx, dword [ebp - 0x2c]
mov eax, esi
inc ecx
cmp ecx, 0x1000
jb 0x459b34
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459b72
push ecx
push esi
call fcn.005121df
add esp, 8
cmp byte [ebp + 0xf], 0
je 0x459b5b
mov eax, dword [ebp - 0x20]
push 0
push 0x1000
push edi
push dword [ebp - 0x58]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [ebp - 0x58]
xor edx, edx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
call fcn.00520c6d
int3