joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53b170
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6d6bec
push eax
mov dword fs:[0], esp
sub esp, 0xa80
push esi
mov esi, dword [ebp + 0x28]
test esi, esi
je 0x53b19b
mov eax, dword [esi + 8]
jmp 0x53b19d
xor eax, eax
push eax
lea ecx, [ebp - 0x468]
call fcn.0053b0a0
mov dword [ebp - 4], 0
test esi, esi
je 0x53b1b9
mov eax, dword [esi + 0xc]
jmp 0x53b1bb
xor eax, eax
push ebx
push edi
push eax
lea ecx, [ebp - 0x25c]
call fcn.0053b0a0
mov byte [ebp - 4], 1
xor ebx, ebx
test esi, esi
je 0x53b24d
xor eax, eax
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x1a], ax
lea ebx, [ebp - 0x50]
mov eax, dword [ebp - 0x468]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x24], eax
mov ax, word [esi + 0x30]
mov word [ebp - 0x20], ax
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x1e], 0
mov dword [ebp - 0x50], 0x44
mov dword [ebp - 0x10], eax
push dword [ebp + 0x24]
lea ecx, [ebp - 0xa8c]
call fcn.0053b0a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x880]
push dword [ebp + 0xc]
mov esi, dword [eax]
call fcn.0053b0a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x674]
push dword [ebp + 8]
mov edi, dword [eax]
call fcn.0053b0a0
mov byte [ebp - 4], 4
push dword [ebp + 0x2c]
push ebx
push esi
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x674]
lea ecx, [ebp - 0x670]
pop edi
pop ebx
cmp eax, ecx
je 0x53b2c5
push eax
call fcn.0054a474
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x87c]
mov eax, dword [ebp - 0x880]
cmp eax, ecx
je 0x53b2e2
push eax
call fcn.0054a474
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa88]
mov eax, dword [ebp - 0xa8c]
cmp eax, ecx
je 0x53b2ff
push eax
call fcn.0054a474
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x258]
mov eax, dword [ebp - 0x25c]
cmp eax, ecx
je 0x53b31c
push eax
call fcn.0054a474
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x464]
mov eax, dword [ebp - 0x468]
cmp eax, ecx
je 0x53b33c
push eax
call fcn.0054a474
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x53d8a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
call fcn.0053d730
test al, al
je 0x53da3c
push ebx
push esi
push edi
call fcn.0053d710
mov esi, eax
mov dword [ebp - 4], ebp
mov dword [ebp - 8], esp
push 0x108
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.0054caf0
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x10c], 3
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xec], 3
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xdc], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push 0x8254e0
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 8]
xor edi, edi
cmp dword [ebp + 0xc], edi
jle 0x53d9ca
mov ebx, dword [ebp + 0x10]
lea ebx, [ebx]
push 0
push dword [0x825518]
lea eax, [ebp - 0x118]
push dword [0x825514]
push 0
push 0
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0x14c
call dword [0x8254fc]
test eax, eax
je 0x53d9ca
mov eax, dword [ebp - 0xf8]
or eax, dword [ebp - 0xf4]
je 0x53d9ca
cmp edi, ebx
jle 0x53d9c4
mov edx, dword [esi + 0xa0]
cmp edx, 0x14
jge 0x53d9c4
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x114]
mov dword [esi + edx*8], eax
mov dword [esi + edx*8 + 4], ecx
inc dword [esi + 0xa0]
inc edi
cmp edi, dword [ebp + 0xc]
jl 0x53d960
push 0x8254e0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [esi + 0xa0]
xor edi, edi
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
test ebx, ebx
jle 0x53da39
jmp 0x53da00
mov edx, dword [esi + 0xa8]
mov ecx, dword [esi + 0xac]
shld ecx, edx, 2
shl edx, 2
mov dword [esi + 0xa8], edx
mov dword [esi + 0xac], ecx
xor edx, dword [esi + edi*8]
mov eax, dword [esi + edi*8 + 4]
inc edi
xor eax, ecx
mov dword [esi + 0xa8], edx
mov dword [esi + 0xac], eax
cmp edi, ebx
jl 0x53da00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x53e1d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6d6da3
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword fs:[0x2c]
mov edx, dword [0x856320]
push esi
push edi
mov edx, dword [eax + edx*4]
mov edi, ecx
mov eax, dword [0x825544]
cmp eax, dword [edx + 0x480]
jg 0x53e334
mov dword [ebp - 0x10], 0x825524
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, eax
mov esi, 0x825524
cmp edx, dword [0x825524]
je 0x53e243
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
je 0x53e243
pause
push edx
mov ecx, esi
call fcn.0053a540
jmp 0x53e24a
lock inc dword [0x825528]
push ebx
mov dword [ebp - 4], 2
mov ebx, dword [ebp + 8]
cmp ebx, dword [edi + 0x20]
je 0x53e303
movzx eax, bl
xor eax, 0x811c9dc5
mov dword [edi + 0x20], ebx
imul ecx, eax, 0x1000193
mov eax, ebx
shr eax, 8
movzx eax, al
mov dword [ebp + 8], ebx
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x10
movzx eax, al
xor ecx, eax
mov eax, ebx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0052d7c0
mov eax, dword [eax + 4]
test eax, eax
je 0x53e2c3
cmp eax, dword [edi + 4]
je 0x53e2c3
mov eax, dword [eax + 0xc]
mov dword [edi + 0x24], eax
jmp 0x53e306
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x53e2c8
sub esi, ecx
inc esi
push esi
call fcn.00566d74
push esi
push ebx
push eax
mov dword [edi + 0x24], eax
call fcn.0054c570
mov eax, dword [edi + 0x24]
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ecx, edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0053ddd0
mov esi, 0x825524
mov eax, dword [edi + 0x24]
mov dword [ebp - 4], 0xffffffff
lock dec dword [0x825528]
cmp dword [0x825528], 0
pop ebx
jne 0x53e322
xor ecx, ecx
xchg dword [esi], ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push 0x825544
call fcn.0054a911
add esp, 4
cmp dword [0x825544], 0xffffffff
jne 0x53e20f
mov dword [ebp - 4], 0
mov ecx, 0x82552c
mov dword [0x825524], 0
mov dword [0x825528], 0
call fcn.00539ff0
mov byte [ebp - 4], 0
push 0x6df5a0
call fcn.0054a6c3
mov dword [ebp - 4], 0xffffffff
push 0x825544
call fcn.0054a8c7
add esp, 8
jmp 0x53e20f
Function at 0x53e3a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d6dbd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0x14], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x53e52f
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.00532f90
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x53e4ec
mov edi, edi
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [ebp + 8], eax
cmp ebx, esi
jne 0x53e471
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x53e4df
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x53e4a8
mov eax, dword [eax]
cmp eax, ecx
je 0x53e4a0
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x53e4df
cmp ebx, eax
je 0x53e4bc
lea esp, [esp]
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x53e50d
cmp ebx, eax
jne 0x53e4b0
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ebx, dword [ebp - 0x14]
mov ecx, edx
cmp edx, esi
jne 0x53e420
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp + 8], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
jmp 0x53e4df
push str.invalid_hash_bucket_count
call fcn.005498f3
int3
Function at 0x53e540
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d647d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0x10], ebx
cmp edx, esi
je 0x53e6ed
mov ecx, dword [ebx + 4]
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 4]
push edi
mov edi, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0
mov eax, dword [edx + 4]
mov dword [ebp - 0x24], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
xor ecx, eax
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp + 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], eax
lea ebx, [ebx]
cmp edi, eax
mov eax, edi
mov edi, dword [edi]
push 0x10
push eax
sete bl
mov dword [ebp - 0x2c], edi
call fcn.0054a45d
mov edx, dword [ebp - 0x10]
add esp, 8
dec dword [edx + 8]
test bl, bl
jne 0x53e62e
mov eax, dword [ebp - 0x20]
cmp edi, esi
jne 0x53e5f0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jne 0x53e6dd
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edi
jmp 0x53e6dd
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
jne 0x53e640
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x53e643
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
cmp edi, esi
je 0x53e6dd
mov edi, edi
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor ecx, eax
movzx eax, byte [edi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edx + 0x18]
and ecx, eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + ecx*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], eax
cmp edi, eax
mov eax, edi
mov edi, dword [edi]
push 0x10
push eax
sete bl
mov dword [ebp - 0x2c], edi
call fcn.0054a45d
mov eax, dword [ebp - 0x10]
add esp, 8
dec dword [eax + 8]
test bl, bl
jne 0x53e6c1
cmp edi, esi
je 0x53e6d8
mov eax, dword [ebp + 0xc]
jmp 0x53e697
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp edi, esi
je 0x53e6dd
mov edx, dword [ebp - 0x10]
jmp 0x53e650
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
mov dword [eax], edi
mov dword [edi + 4], eax
pop edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x53f670
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
push ebx
push esi
push edi
push str._noassert
call fcn.005396c0
add esp, 4
test al, al
jne 0x53f85b
push str._nocrashdialog
call fcn.005396c0
add esp, 4
test al, al
jne 0x53f85b
call fcn.0053aec0
test al, al
jne 0x53f6bb
call fcn.00534730
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str._debugbreak
call fcn.005396c0
add esp, 4
test al, al
je 0x53f6d5
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x7caff4], 0
je 0x53f85b
mov esi, dword [0x825550]
mov dword [ebp - 4], 0x825550
test esi, esi
je 0x53f789
jmp 0x53f700
mov edi, dword [esi + 0x20c]
lea ebx, [esi + 0x20c]
push esi
push dword [ebp + 8]
call fcn.00569295
add esp, 8
test eax, eax
jne 0x53f77c
mov ecx, dword [esi + 0x200]
mov al, 1
cmp ecx, 0xffffffff
jne 0x53f737
xor edx, edx
movzx eax, al
cmp dword [esi + 0x204], ecx
cmove eax, edx
mov edx, dword [ebp + 0xc]
cmp edx, ecx
jl 0x53f746
cmp edx, dword [esi + 0x204]
jle 0x53f74a
test al, al
jne 0x53f77c
mov eax, dword [esi + 0x208]
test eax, eax
jle 0x53f85b
add eax, 0xffffffff
mov dword [esi + 0x208], eax
jne 0x53f85b
mov eax, dword [ebp - 4]
push 0x210
push esi
mov dword [eax], edi
call fcn.0054a45d
add esp, 8
jmp 0x53f77f
mov dword [ebp - 4], ebx
mov esi, edi
test edi, edi
jne 0x53f700
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [0x825554], ebx
mov dword [0x825558], esi
mov dword [0x82555c], edi
mov byte [0x82554a], 0
mov dword [0x825560], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x53f630
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [0x825560]
test eax, eax
jne 0x53f839
push edi
push esi
push ebx
push str.File:__s_nLine:__d_n_Ts_n_nClick_Abort_to_break_in_the_debugger__Retry_to_continue_or_Ignore_to_disable_assert_dialogs_for_this_process.
lea eax, [ebp - 0x804]
push 0x800
push eax
call fcn.00450170
add esp, 0x18
mov byte [ebp - 5], 0
lea eax, [ebp - 0x804]
push 0x12002
push str.Assert_Dialog
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 3
jne 0x53f821
pop edi
pop esi
mov byte [0x82554a], 1
mov al, byte [0x82554a]
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne 0x53f84f
mov al, byte [0x82554a]
pop edi
pop esi
mov byte [0x7caff4], 0
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x53f2a0
push eax
push 0x65
push dword [0x82554c]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov al, byte [0x82554a]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x540a90
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x18], 0x20
jb 0x540aac
xor al, al
mov esp, ebp
pop ebp
ret
push str.GenuineIntel
call fcn.00540b60
add esp, 4
test eax, eax
jne 0x540ad6
push str.AuthenticAMD
call fcn.00540b60
add esp, 4
test eax, eax
jne 0x540ad6
xor cl, cl
mov al, cl
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
test eax, eax
setne cl
test eax, eax
je 0x540b56
mov eax, dword [ebp - 4]
push edi
cmp dword [ebp - 8], eax
je 0x540b21
mov edi, dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
push eax
push esi
call edi
test eax, eax
setne cl
test eax, eax
je 0x540b1e
push dword [ebp - 8]
push esi
call edi
test eax, eax
setne cl
mov eax, dword [ebp - 4]
test cl, cl
je 0x540b55
cmp eax, 1
jbe 0x540b55
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push dword [ebp - 8]
mov edi, dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
mov esi, eax
push esi
call edi
test eax, eax
je 0x540b53
push eax
push esi
call edi
test eax, eax
pop edi
setne cl
pop esi
mov al, cl
mov esp, ebp
pop ebp
ret
xor cl, cl
pop edi
pop esi
mov al, cl
mov esp, ebp
pop ebp
ret
Function at 0x5413e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
push ebx
push esi
mov esi, ecx
mov cl, byte [ebp + 0xc]
mov byte [esi], al
mov byte [esi + 1], cl
cmp cl, al
jbe 0x5413fb
mov byte [esi + 1], al
mov cl, al
xor edx, edx
movzx eax, al
movzx ecx, cl
div ecx
mov dl, 8
mov cl, 0x80
dec al
jmp 0x541410
test al, cl
jne 0x54141a
dec dl
shr cl, 1
jne 0x541410
mov bl, byte [esi + 1]
mov cl, 8
mov byte [esi + 2], dl
dec bl
mov al, 0x80
test bl, al
jne 0x541430
dec cl
shr al, 1
jne 0x541426
mov al, 8
mov byte [esi + 4], cl
sub al, cl
or bl, 0xff
sub al, dl
movzx ecx, cl
mov byte [esi + 6], al
movzx eax, dl
or dl, 0xff
add ecx, eax
shl dl, cl
mov ecx, eax
shl bl, cl
mov al, bl
mov byte [esi + 7], dl
not bl
xor al, dl
mov byte [esi + 3], bl
mov byte [esi + 5], al
pop esi
pop ebx
pop ebp
ret 8

Function at 0x545dc0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
sub esp, 8
mov ecx, dword [0x856320]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x8256a8]
cmp eax, dword [ecx + 0x480]
jg 0x545ea5
push ebx
mov ebx, dword [0x8256a4]
test ebx, ebx
je 0x545e9e
cmp byte [ebx + 0x1c], 0
jne 0x545e9e
lea eax, [ebp - 4]
push eax
call fcn.005399b0
mov edx, dword [ebp - 4]
add esp, 4
mov ecx, eax
test edx, edx
je 0x545e4f
test ecx, ecx
je 0x545e4f
cmp dword [ecx], 0
je 0x545e4f
mov eax, dword [ebx]
push ecx
push edx
mov ecx, ebx
mov eax, dword [eax]
cmp eax, fcn.005451b0
jne 0x545e33
call fcn.005451b0
jmp 0x545e35
call eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 8], eax
test eax, eax
jne 0x545e59
push 0x6e0a80
lea ecx, [ebx + 4]
call fcn.0049f6a0
mov eax, dword [0x8256a4]
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
push 4
push 0
push 0
push eax
call fcn.00546960
mov esi, eax
push esi
call fcn.0054a46b
push 0
mov edi, eax
push esi
push edi
push dword [ebp - 8]
call fcn.00546960
add esp, 0x24
lea ecx, [ebx + 4]
push edi
call fcn.0049f6a0
push edi
call fcn.0054a474
mov eax, dword [0x8256a4]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x8256a8
call fcn.0054a911
add esp, 4
cmp dword [0x8256a8], 0xffffffff
jne 0x545de6
push 0
push 0
push 4
mov ecx, 0x7cb008
call fcn.004997e0
push 0
push 0
push 0x10
mov ecx, 0x7cb020
mov dword [0x7cb018], 0
call fcn.004997e0
mov eax, dword [0x7cb024]
push 0x6df5e0
mov dword [0x7cb030], 0xffffffff
mov dword [0x7cb034], 0xffffffff
mov dword [0x7cb038], 0xffffffff
mov dword [0x7cb040], 0
mov dword [0x7cb03c], 0
mov dword [0x7cb044], eax
mov word [0x7cb01c], 0
mov dword [0x8256a4], 0x7cb000
call fcn.0054a6c3
push 0x8256a8
call fcn.0054a8c7
add esp, 8
jmp 0x545de6

Function at 0x56f825
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0056f69b

Function at 0x573cf9
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00573c7b

Function at 0x575825
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00575378
Function at 0x5790b0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 8
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
push esi
mov esi, dword [ebp + 8]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, esi
push eax
push edx
lea eax, [ebp - 8]
push eax
call fcn.00579340
mov eax, dword [eax + 4]
test eax, eax
je 0x579110
cmp eax, dword [esi + 4]
je 0x579110
mov eax, dword [eax + 0xc]
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x579690
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d7075
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x7cb124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.00579340
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x579723
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 ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 8], 0xfffffff
je 0x57987f
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
push 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.0054a42d
mov ecx, dword [ebx]
mov esi, eax
mov edx, dword [ebx + 4]
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov ecx, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
movss xmm3, dword [edi]
mov dword [ebp - 4], 1
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6e7d90]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x6e7d90]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x57981e
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
fstp qword [esp]
call fcn.00563d10
fstp qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x1c]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.0054af20
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x5797fd
cmp ebx, 0x200
jae 0x5797fb
shl ebx, 3
cmp ebx, ecx
jae 0x5797fd
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.0057b770
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00579340
mov ecx, dword [edi + 8]
mov edx, dword [eax]
jmp 0x579821
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
lea eax, [ecx + 1]
mov dword [edi + 8], eax
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x14]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x10]
jne 0x57984f
mov dword [ecx + eax*8], esi
jmp 0x57985e
cmp edi, edx
jne 0x579858
mov dword [ecx + eax*8], esi
jmp 0x579862
cmp dword [ecx + eax*8 + 4], ebx
jne 0x579862
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.005498f3
int3