joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418c90
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00414800
xor eax, eax
push ebp
push 0x418d52
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.KERNEL32.DLL_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00415444
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004155f4
mov eax, dword [ebx]
call fcn.00418b38
test al, al
jne 0x418d2d
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00415444
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004155f4
mov eax, dword [ebx]
call fcn.00418b38
test al, al
jne 0x418d2d
mov eax, ebx
call fcn.0041470c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x418d59
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0041476c
lea eax, [ebp - 4]
call fcn.0041470c
pop eax
jmp eax

Function at 0x41a8ec
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.KERNEL32.DLL_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x41b43c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push ebp
push 0x41b51f
push dword fs:[eax]
mov dword fs:[eax], esp
sub dword [0x6d7394], 1
jae 0x41b50f
call fcn.004125e0
call fcn.004121bc
call fcn.004115e4
call fcn.00410f84
push 0x400
call sub.KERNEL32.DLL_SetThreadLocale
call fcn.00417e70
mov byte [0x6c6e38], 2
mov dword [0x6d6a14], 0x6c473a
mov dword [0x6d6a18], 0x6c475e
mov byte [0x6d6a5a], 2
call fcn.0041a8ec
mov dword [0x6d6a60], eax
mov dword [0x6d6a00], 0x416e84
call fcn.0041261c
call fcn.00412638
mov word [0x6d6a68], 0xd7b0
mov word [0x6d6d44], 0xd7b0
mov word [0x6d7020], 0xd7b0
call sub.KERNEL32.DLL_GetCommandLineW
mov dword [0x6d6a4c], eax
call fcn.0040f604
mov dword [0x6d6a48], eax
call sub.KERNEL32.DLL_GetACP
mov dword [0x6d737c], eax
mov dword [0x6d7380], 0x4b0
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x6d6a40], eax
call fcn.0041a900
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41b526
pop eax
jmp eax
Function at 0x42dce0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x42dd39
test eax, edx
je 0x42dd3c
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x42dcf7
movzx eax, word [eax]
sub eax, ecx
jmp 0x42dd1e
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [eax + ecx]
xor ebx, dword [edx + ecx]
jne 0x42dd1f
add ecx, 4
js 0x42dd0f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x42dd1c
movzx eax, word [eax + ecx]
movzx edx, word [edx + ecx]
sub eax, edx
pop ebx
pop ebx
jmp 0x42dd1e
xor eax, eax
ret
test eax, eax
je 0x42dd48
test edx, edx
jne 0x42dce8
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x42f1c4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.00415390
mov edi, eax
push edi
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
je 0x42f22e
test ah, 4
je 0x42f227
test bl, bl
jne 0x42f1ec
mov al, 1
jmp 0x42f255
test al, 0x10
je 0x42f1f4
xor eax, eax
jmp 0x42f255
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.KERNEL32.DLL_CreateFileW
cmp eax, 0xffffffff
je 0x42f218
push eax
call sub.KERNEL32.DLL_CloseHandle
mov al, 1
jmp 0x42f255
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x42f255
test al, 0x10
sete al
jmp 0x42f255
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x42f24f
cmp ebx, 3
je 0x42f24f
cmp ebx, 0x7b
je 0x42f24f
mov eax, esi
call fcn.0042f184
test al, al
jne 0x42f253
xor eax, eax
jmp 0x42f255
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x42f25c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov byte [esp], dl
mov edi, eax
xor ebx, ebx
mov eax, edi
call fcn.00415390
mov ebp, eax
push ebp
call sub.KERNEL32.DLL_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x42f2fa
test esi, 0x400
jne 0x42f291
test esi, 0x10
setne bl
jmp 0x42f2fa
cmp byte [esp], 0
je 0x42f2c5
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.KERNEL32.DLL_CreateFileW
cmp eax, 0xffffffff
je 0x42f2fa
push eax
call sub.KERNEL32.DLL_CloseHandle
test esi, 0x10
setne bl
jmp 0x42f2fa
test esi, 0x10
je 0x42f2d1
mov bl, 1
jmp 0x42f2fa
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.KERNEL32.DLL_CreateFileW
cmp eax, 0xffffffff
je 0x42f2f8
push eax
call sub.KERNEL32.DLL_CloseHandle
xor ebx, ebx
jmp 0x42f2fa
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x433f30
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
test eax, eax
jle 0x433f69
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.004148a4
jmp 0x433f72
mov eax, ebx
mov edx, esi
call fcn.00414afc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x433f7c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov edi, ecx
mov esi, edx
mov ebx, eax
push 3
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
test eax, eax
jle 0x433fa0
movzx eax, word [esp]
jmp 0x433fa2
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4356c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x4357e7
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.004354c8
mov esi, eax
mov eax, dword [0x6d5d60]
cmp byte [eax], 0
je 0x43578d
mov eax, dword [0x6d5d78]
call fcn.00412158
call fcn.004113d0
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.KERNEL32.DLL_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x435690]
call fcn.00417634
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.KERNEL32.DLL_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x435800
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x4357c9
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x6d5ea4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x6d6964]
call fcn.00417c10
push eax
call fcn.006c4f02
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call fcn.006c4f26
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4357ee
lea eax, [ebp - 4]
mov edx, dword [0x435690]
call fcn.00417758
pop eax
jmp eax
Function at 0x436c90
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
mov dword [ebp - 0x11c], 0x114
lea eax, [ebp - 0x11c]
push eax
call sub.KERNEL32.DLL_GetVersionExW
test eax, eax
je 0x436cd3
mov eax, dword [ebp - 0x10c]
mov dword [0x6da350], eax
mov eax, 0x6da354
lea edx, [ebp - 0x108]
mov ecx, 0x80
call fcn.00415444
mov eax, 0x6da358
call fcn.0041470c
xor eax, eax
mov dword [0x6da35c], eax
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [0x6da214], 0xa
jl 0x436e29
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x436e34
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
jne 0x436e29
xor eax, eax
push ebp
push 0x436e22
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x436e90
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
test eax, eax
jne 0x436d82
cmp dword [ebp - 8], 2
jle 0x436d82
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x436d55
adc edx, 0
mov eax, 0x6da358
call fcn.0041551c
lea eax, [ebp - 8]
push eax
mov eax, dword [0x6da358]
call fcn.00415390
push eax
push 0
push 0
push 0x436e90
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
jmp 0x436ddc
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x436eb0
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
test eax, eax
jne 0x436ddc
cmp dword [ebp - 8], 2
jle 0x436ddc
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x436db1
adc edx, 0
mov eax, 0x6da358
call fcn.0041551c
lea eax, [ebp - 8]
push eax
mov eax, dword [0x6da358]
call fcn.00415390
push eax
push 0
push 0
push 0x436eb0
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
push 0x6da35c
push 0
push 0
push 0x436ec4
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
test eax, eax
je 0x436e09
xor eax, eax
mov dword [0x6da35c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436e29
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
pop eax
jmp eax
mov byte [0x6c94b4], 1
mov esp, ebp
pop ebp
ret
Function at 0x436f6c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x437046
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00414b44
lea eax, [ebp - 4]
call fcn.00414cbc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00415390
push eax
call sub.VERSION.DLL_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x43702e
mov eax, ebx
call fcn.004111cc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x437027
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00415390
push eax
call sub.VERSION.DLL_GetFileVersionInfoW
test eax, eax
je 0x43700f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x437058
mov eax, dword [ebp - 0x10]
push eax
call sub.VERSION.DLL_VerQueryValueW
test eax, eax
je 0x43700f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43702e
mov eax, dword [ebp - 0x10]
call fcn.004111e8
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43704d
lea eax, [ebp - 4]
call fcn.0041470c
pop eax
jmp eax

Function at 0x438094
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00414bfc
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0041a8cc
mov edi, eax
cmp edi, 0x104
jbe 0x43803f
mov eax, edi
add eax, eax
call fcn.004111cc
mov esi, eax
jmp 0x438041
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0041a8cc
push esi
call fcn.006c4c2c
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x43807a
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x438064
mov eax, esp
cmp esi, eax
je 0x438087
mov eax, esi
call fcn.004111e8
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x4380c0
cmp bl, 0
je 0x4380bc
cmp bl, 0x41
jl 0x4380b7
cmp bl, 0x5a
jg 0x4380b7
or bl, 0x20
xor al, bl
inc esi
jmp 0x43809b
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x438000

Function at 0x4389d0
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.00415444
add esp, 0x800
pop ebx
ret
Function at 0x43b374
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x43b394
sub eax, 4
mov eax, dword [eax]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x43b3ae
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x43b3a9
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x43b3b3
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x43b421
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x43b46a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x43b3df
inc dword [ebp - 0xc]
jmp 0x43b3f7
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x43b3f7
cmp dword [ebp - 0xc], 0
jle 0x43b3f7
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x43b419
xor eax, eax
jmp 0x43b415
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x43b414
mov eax, esi
jmp 0x43b46d
inc eax
cmp eax, ecx
jle 0x43b401
inc esi
cmp esi, dword [ebp - 8]
jl 0x43b3cb
jmp 0x43b46a
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x43b46a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x43b442
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x43b464
xor eax, eax
jmp 0x43b460
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x43b45f
mov eax, esi
jmp 0x43b46d
inc eax
cmp eax, ecx
jle 0x43b44c
inc esi
cmp esi, dword [ebp - 8]
jl 0x43b42a
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43b6d4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x43b6f3
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x43b703
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x43b825
test ebx, ebx
jl 0x43b825
test esi, esi
jle 0x43b825
mov eax, dword [ebp - 8]
call fcn.00415390
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00415390
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, eax
add ecx, eax
movzx eax, word [ebp - 0xa]
cmp ax, word [ebp + 0xc]
je 0x43b7c2
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x43b825
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x43b7a7
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x43b776
inc dword [ebp - 0x14]
jmp 0x43b786
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x43b786
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x43b791
or eax, 0xffffffff
jmp 0x43b7a7
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x43b7a4
inc eax
jmp 0x43b7a7
or eax, 0xffffffff
test eax, eax
jl 0x43b7af
cmp esi, eax
jg 0x43b764
cmp esi, eax
jg 0x43b7ba
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x43b828
inc edx
dec dword [ebp - 0x1c]
jne 0x43b760
jmp 0x43b825
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x43b825
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x43b80c
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x43b7eb
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x43b7f6
or eax, 0xffffffff
jmp 0x43b80c
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x43b809
inc eax
jmp 0x43b80c
or eax, 0xffffffff
test eax, eax
jl 0x43b814
cmp esi, eax
jg 0x43b7d4
cmp esi, eax
jg 0x43b81f
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x43b828
inc edx
dec dword [ebp - 0x1c]
jne 0x43b7d0
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x44bdec
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x44bdf4
mov eax, edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
add edx, eax
cmp edx, eax
jbe 0x44ea57
movzx ebx, byte [eax]
xor ecx, ebx
imul ecx, ecx, 0x1000193
inc eax
cmp edx, eax
ja 0x44ea47
mov eax, ecx
pop ebx
ret
Function at 0x4602d0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
test dl, dl
je 0x4602e4
add esp, 0xfffffff0
call fcn.00413024
mov ebx, edx
mov esi, eax
mov dl, 1
mov eax, dword [0x45a36c]
call fcn.0047e1c8
mov dword [esi + 4], eax
mov dl, 1
mov eax, dword [0x45f30c]
call fcn.00480f98
mov dword [esi + 8], eax
mov dl, 1
mov eax, dword [0x45f30c]
call fcn.00480f98
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x24]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x10], eax
mov eax, esi
test bl, bl
je 0x460339
call fcn.0041307c
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4cf19c
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x4cf1df
cmp byte [ebx + 0x11], 0
jne 0x4cf1df
cmp byte [ebx + 0x24], 0
jne 0x4cf1df
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.KERNEL32.DLL_ResumeThread
cmp eax, 1
je 0x4cf1f6
mov ecx, dword [0x6d602c]
mov dl, 1
mov eax, dword [0x49bc30]
call fcn.0043594c
call fcn.00413ed8
pop ebx
ret
mov ecx, dword [0x6d602c]
mov dl, 1
mov eax, dword [0x49bc30]
call fcn.0043594c
call fcn.00413ed8
pop ebx
ret

Function at 0x4cfbb4
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4cfc02
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.KERNEL32.DLL_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004cf048
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cfc1b
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4cfc24
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.KERNEL32.DLL_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004cf048
dec esi
jne 0x4cfc46
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret
Function at 0x4d29a4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x6dd350
cmp dword [edi], 0
jne 0x4d2a20
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x6dd34c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x6ca834
mov ecx, 2
call fcn.00411650
mov edx, 0x4d297c
lea eax, [esi + 5]
call fcn.004d299c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004d299c
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4d29f5
mov dword [0x6dd34c], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x525a28
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, eax
and eax, 0xff
shr ecx, 8
inc edx
xor ecx, dword [eax*4 + 0x6cd1c0]
cmp edx, 4
mov eax, ecx
jl 0x525a30
pop ebp
ret

Function at 0x525a4c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, eax
inc edx
shr eax, 0x18
and eax, 0xff
shl ecx, 8
xor ecx, dword [eax*4 + 0x6cd5c0]
cmp edx, 4
mov eax, ecx
jl 0x525a54
pop ebp
ret
Function at 0x53d024
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x53d1e3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00414b44
mov eax, dword [ebp - 4]
call fcn.0053c900
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x53d076
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.004157ac
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.0053dc78
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x53d157
xor eax, eax
push ebp
push 0x53d150
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0053cc10
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.0053d218
test al, al
je 0x53d12c
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.004148a4
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x53d12c
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00415390
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0053cb70
test al, al
je 0x53d126
mov eax, dword [ebp - 8]
call fcn.00415390
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004153f0
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.0053d024
dec ebx
cmp ebx, 0xffffffff
jne 0x53d0d5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53d157
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0053cc10
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
pop eax
jmp eax
cmp byte [0x6dd6e8], 0
je 0x53d197
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.00415390
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.0053cbfc
push eax
call sub.ADVAPI32.DLL_RegDeleteKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0053cb70
mov ebx, eax
jmp 0x53d1be
mov eax, dword [ebp - 4]
call fcn.00415390
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.0053cbfc
push eax
call sub.ADVAPI32.DLL_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0053cb70
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53d1ea
lea eax, [ebp - 0x3c]
call fcn.0041470c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0041476c
pop eax
jmp eax