joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428700
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x428806
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x59297c
call sub.KERNEL32.DLL_EnterCriticalSection
cmp bx, word [0x592994]
jne 0x42874c
mov eax, esi
mov edx, 0x592996
mov ecx, 0x55
call fcn.00425be4
push 0x59297c
call sub.KERNEL32.DLL_LeaveCriticalSection
jmp 0x4287ee
push 0x59297c
call sub.KERNEL32.DLL_LeaveCriticalSection
mov eax, esi
call fcn.00424ee4
push 2
movzx eax, bx
push eax
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x4287bb
cmp byte [0x592978], 0
je 0x428780
mov edx, esi
mov eax, ebx
call fcn.004285e4
jmp 0x4287bb
mov edx, esi
mov eax, ebx
call fcn.004283e4
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
cmp bx, ax
je 0x4287bb
cmp dword [esi], 0
je 0x4287a4
mov eax, esi
mov edx, 0x428820
call fcn.00425d3c
call sub.KERNEL32.DLL_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.004283e4
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00425d3c
push 0x59297c
call sub.KERNEL32.DLL_EnterCriticalSection
mov word [0x592994], bx
mov eax, dword [esi]
call fcn.00425b44
mov ecx, eax
mov eax, 0x592996
mov edx, 0xaa
call fcn.00428260
push 0x59297c
call sub.KERNEL32.DLL_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42880d
lea eax, [ebp - 4]
call fcn.00424ee4
pop eax
jmp eax
Function at 0x428a38
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00424fc8
xor eax, eax
push ebp
push 0x428c61
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x428a78
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameW
jmp 0x428a92
mov eax, dword [ebp - 4]
call fcn.00425b44
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00428260
cmp word [ebp - 0x21a], 0
je 0x428c49
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x428c70
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x428b61
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x428c70
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x428b61
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x428cac
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x428b61
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x428cac
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x428b61
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x428ce0
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
je 0x428b61
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x428d14
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
jne 0x428c49
xor eax, eax
push ebp
push 0x428c42
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00428848
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
test eax, eax
jne 0x428bd0
mov eax, dword [ebp - 0x10]
call fcn.0042206c
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00425ba8
jmp 0x428c1b
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x428d54
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
test eax, eax
jne 0x428c1b
mov eax, dword [ebp - 0x10]
call fcn.0042206c
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x428d54
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00425ba8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428c49
cmp dword [ebp - 8], 0
je 0x428c36
mov eax, dword [ebp - 8]
call fcn.00422088
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428c68
lea eax, [ebp - 4]
call fcn.00424ee4
pop eax
jmp eax
Function at 0x428f74
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.00424fc8
xor eax, eax
push ebp
push 0x429036
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.00425be4
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00425d94
mov eax, dword [ebx]
call fcn.00428e1c
test al, al
jne 0x429011
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00425be4
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00425d94
mov eax, dword [ebx]
call fcn.00428e1c
test al, al
jne 0x429011
mov eax, ebx
call fcn.00424ee4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42903d
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00424f44
lea eax, [ebp - 4]
call fcn.00424ee4
pop eax
jmp eax

Function at 0x42aba0
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 0x43a2dc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x43a335
test eax, edx
je 0x43a338
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x43a2f3
movzx eax, word [eax]
sub eax, ecx
jmp 0x43a31a
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 [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x43a31b
add ecx, 4
js 0x43a30b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x43a318
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x43a31a
xor eax, eax
ret
test eax, eax
je 0x43a344
test edx, edx
jne 0x43a2e4
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x43b600
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
Function at 0x43b6c0
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.00425b44
mov ebp, eax
push ebp
call sub.KERNEL32.DLL_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x43b75e
test esi, 0x400
jne 0x43b6f5
test esi, 0x10
setne bl
jmp 0x43b75e
cmp byte [esp], 0
je 0x43b729
push 0
push 0x2000000
push 3
push 0
push 1
push SysReAllocStringLen
push ebp
call sub.KERNEL32.DLL_CreateFileW
cmp eax, 0xffffffff
je 0x43b75e
push eax
call sub.KERNEL32.DLL_CloseHandle
test esi, 0x10
setne bl
jmp 0x43b75e
test esi, 0x10
je 0x43b735
mov bl, 1
jmp 0x43b75e
push 0
push 0x2000000
push 3
push 0
push 1
push SysReAllocStringLen
push ebp
call sub.KERNEL32.DLL_CreateFileW
cmp eax, 0xffffffff
je 0x43b75c
push eax
call sub.KERNEL32.DLL_CloseHandle
xor ebx, ebx
jmp 0x43b75e
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x43f4fc
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 0x43f535
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0042506c
jmp 0x43f53e
mov eax, ebx
mov edx, esi
call fcn.004252c4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x43f548
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
test eax, eax
jle 0x43f56a
movzx eax, word [esp]
jmp 0x43f56c
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x44086c
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 0x440993
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00440674
mov esi, eax
mov eax, dword [0x58f6f4]
cmp byte [eax], 0
je 0x440939
mov eax, dword [0x58f6f8]
call fcn.004229e0
call fcn.004221e0
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 [0x44083c]
call fcn.00427afc
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 0x4409ac
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x440975
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x58f74c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x58fd38]
call fcn.00427f04
push eax
call sub.USER32.DLL_LoadStringW
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.USER32.DLL_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44099a
lea eax, [ebp - 4]
mov edx, dword [0x44083c]
call fcn.00427c20
pop eax
jmp eax
Function at 0x441ba8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x441cac
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0042530c
lea eax, [ebp - 4]
call fcn.0042546c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00425b44
push eax
call sub.VERSION.DLL_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x441c94
mov eax, ebx
call fcn.0042206c
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x441c8d
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00425b44
push eax
call sub.VERSION.DLL_GetFileVersionInfoW
test eax, eax
je 0x441c75
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x441cc0
mov eax, dword [ebp - 0x10]
push eax
call sub.VERSION.DLL_VerQueryValueW
test eax, eax
je 0x441c75
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
shr eax, 0x10
movzx eax, ax
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
shr eax, 0x10
movzx eax, ax
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441c94
mov eax, dword [ebp - 0x10]
call fcn.00422088
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441cb3
lea eax, [ebp - 4]
call fcn.00424ee4
pop eax
jmp eax

Function at 0x442cc4
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.004253b4
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0042ab80
mov edi, eax
cmp edi, 0x104
jbe 0x442c6f
mov eax, edi
add eax, eax
call fcn.0042206c
mov esi, eax
jmp 0x442c71
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0042ab80
push esi
call sub.USER32.DLL_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x442caa
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 0x442c94
mov eax, esp
cmp esi, eax
je 0x442cb7
mov eax, esi
call fcn.00422088
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 0x442cf0
cmp bl, 0
je 0x442cec
cmp bl, 0x41
jl 0x442ce7
cmp bl, 0x5a
jg 0x442ce7
or bl, 0x20
xor al, bl
inc esi
jmp 0x442ccb
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x442c30

Function at 0x4435e0
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.00425be4
add esp, 0x800
pop ebx
ret
Function at 0x4a2aec
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 0x4a2af4
mov eax, edx
pop esi
pop ebx
ret

Function at 0x4e10e4
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x4e1127
cmp byte [ebx + 0x11], 0
jne 0x4e1127
cmp byte [ebx + 0x24], 0
jne 0x4e1127
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 0x4e113e
mov ecx, dword [0x58f9b8]
mov dl, 1
mov eax, dword [0x4b43f0]
call fcn.00440af8
call fcn.004246b0
pop ebx
ret
mov ecx, dword [0x58f9b8]
mov dl, 1
mov eax, dword [0x4b43f0]
call fcn.00440af8
call fcn.004246b0
pop ebx
ret

Function at 0x4e19a8
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 0x4e19f6
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.004e0f90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e1a0f
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4e1a18
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.004e0f90
dec esi
jne 0x4e1a3a
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret
Function at 0x52b81c
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], 0x811c9dc5
mov dword [ebp - 0xc], 0x1000193
mov dword [ebp - 0x10], 0x811c9dc5
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
jae 0x52b877
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
movzx eax, byte [eax + ecx]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
imul eax, dword [ebp - 0x10], 0x1000193
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x52b84a
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add esp, 0x1c
pop ebp
ret
Function at 0x5507f0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, dword [esp + 0x20]
sub esp, 4
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push esi
call fcn.005504e0
add esp, 0x10
test eax, eax
jle 0x5509ec
lea ecx, [eax*4]
mov edx, 4
nop word cs:[eax + eax]
mov edi, dword [esi + edx*4 - 0x10]
mov ebx, dword [esi + ecx*4]
mov dword [esi + edx*4 - 0x10], ebx
mov dword [esi + ecx*4], edi
mov edi, dword [esi + edx*4 - 0xc]
mov ebx, dword [esi + ecx*4 + 4]
mov dword [esi + edx*4 - 0xc], ebx
mov dword [esi + ecx*4 + 4], edi
mov edi, dword [esi + edx*4 - 8]
mov ebx, dword [esi + ecx*4 + 8]
mov dword [esi + edx*4 - 8], ebx
mov dword [esi + ecx*4 + 8], edi
mov edi, dword [esi + edx*4 - 4]
mov ebx, dword [esi + ecx*4 + 0xc]
mov dword [esi + edx*4 - 4], ebx
mov dword [esi + ecx*4 + 0xc], edi
add ecx, 0xfffffffc
cmp edx, ecx
lea edx, [edx + 4]
jl 0x550830
cmp eax, 2
jl 0x5509ec
add esi, 0x1c
mov ecx, eax
dec ecx
nop word [eax + eax]
mov edx, dword [esi - 0xc]
mov edi, edx
movzx ebx, dh
movzx ebp, dl
shr edx, 0x18
movzx edx, byte [edx*4 + str.ccccwwww]
shr edi, 0xe
and edi, 0x3fc
movzx edi, byte [edi + str.ccccwwww]
mov edi, dword [edi*4 + 0x587c50]
xor edi, dword [edx*4 + 0x587850]
mov edx, dword [esi - 8]
movzx ebx, byte [ebx*4 + str.ccccwwww]
xor edi, dword [ebx*4 + 0x588050]
movzx ebx, byte [ebp*4 + str.ccccwwww]
xor edi, dword [ebx*4 + 0x588450]
mov dword [esi - 0xc], edi
mov edi, edx
movzx ebx, dh
movzx ebp, dl
shr edx, 0x18
movzx edx, byte [edx*4 + str.ccccwwww]
shr edi, 0xe
and edi, 0x3fc
movzx edi, byte [edi + str.ccccwwww]
mov edi, dword [edi*4 + 0x587c50]
xor edi, dword [edx*4 + 0x587850]
movzx edx, byte [ebx*4 + str.ccccwwww]
xor edi, dword [edx*4 + 0x588050]
movzx edx, byte [ebp*4 + str.ccccwwww]
xor edi, dword [edx*4 + 0x588450]
mov dword [esi - 8], edi
mov edx, dword [esi - 4]
mov edi, edx
movzx ebx, dh
movzx ebp, dl
shr edx, 0x18
movzx edx, byte [edx*4 + str.ccccwwww]
shr edi, 0xe
and edi, 0x3fc
movzx edi, byte [edi + str.ccccwwww]
mov edi, dword [edi*4 + 0x587c50]
xor edi, dword [edx*4 + 0x587850]
movzx edx, byte [ebx*4 + str.ccccwwww]
xor edi, dword [edx*4 + 0x588050]
movzx edx, byte [ebp*4 + str.ccccwwww]
xor edi, dword [edx*4 + 0x588450]
mov dword [esi - 4], edi
mov edx, dword [esi]
mov edi, edx
movzx ebx, dh
movzx ebp, dl
shr edx, 0x18
movzx edx, byte [edx*4 + str.ccccwwww]
shr edi, 0xe
and edi, 0x3fc
movzx edi, byte [edi + str.ccccwwww]
mov edi, dword [edi*4 + 0x587c50]
xor edi, dword [edx*4 + 0x587850]
movzx edx, byte [ebx*4 + str.ccccwwww]
xor edi, dword [edx*4 + 0x588050]
movzx edx, byte [ebp*4 + str.ccccwwww]
xor edi, dword [edx*4 + 0x588450]
mov dword [esi], edi
add esi, 0x10
dec ecx
jne 0x550890
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x5517c8
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov ebx, dword [esp + 0x30]
test ebx, ebx
mov eax, 0xfffffffb
je 0x5519aa
mov edi, dword [esp + 0x34]
test edi, edi
je 0x5519aa
mov eax, 0xfffffffb
cmp byte [edi], 1
je 0x5519aa
mov ebp, dword [esp + 0x38]
xor eax, eax
test ebp, ebp
je 0x5519aa
mov edx, dword [esp + 0x3c]
test edx, edx
jle 0x5519aa
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov esi, edx
shr esi, 4
mov cl, byte [ebx]
cmp cl, 2
je 0x55187a
mov eax, 0xfffffffb
cmp cl, 1
jne 0x5519aa
mov ebx, edi
lea edx, [edi + 0x50]
test esi, esi
mov dword [esp + 8], edx
je 0x55194d
inc esi
mov edi, dword [esp + 0x40]
nop word cs:[eax + eax]
push edi
push ebp
push dword [ebx + 0x4c]
push dword [esp + 0x14]
call fcn.00550a00
add esp, 0x10
add ebp, 0x10
add edi, 0x10
dec esi
cmp esi, 1
jg 0x551858
jmp 0x551951
inc ebx
test esi, esi
je 0x5518e0
lea edi, [edi + 0x50]
inc esi
mov ecx, dword [esp + 0x40]
nop
mov eax, dword [ebx]
xor eax, dword [ebp]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 4]
xor eax, dword [ebp + 4]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 8]
xor eax, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0xc]
xor eax, dword [ebp + 0xc]
mov dword [esp + 0x18], eax
push ecx
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x3c]
push dword [eax + 0x4c]
push edi
mov ebx, ecx
call fcn.00550a00
mov ecx, ebx
add esp, 0x10
add ebp, 0x10
dec esi
cmp esi, 1
lea ecx, [ecx + 0x10]
jg 0x551888
mov dword [esp + 4], ecx
lea ebx, [ecx - 0x10]
mov edx, dword [esp + 0x3c]
mov eax, edx
and eax, 0xf
mov dword [esp + 8], eax
and edx, 0xf
je 0x551906
lea edi, [esp + 0xc]
mov esi, edx
mov ecx, ebx
nop
movzx eax, byte [ecx]
xor al, byte [ebp]
mov byte [edi], al
inc ebp
inc ecx
inc edi
dec esi
jne 0x5518f8
mov ecx, 0x10
sub ecx, dword [esp + 8]
dec edx
nop dword [eax + eax]
movzx eax, byte [ebx + edx + 1]
xor eax, ecx
mov byte [esp + edx + 0xd], al
inc edx
cmp edx, 0xf
jb 0x551918
mov eax, dword [esp + 0x34]
mov edx, eax
lea eax, [edx + 0x50]
lea ecx, [esp + 0xc]
push dword [esp + 4]
push ecx
push dword [edx + 0x4c]
push eax
call fcn.00550a00
add esp, 0x10
mov esi, dword [esp + 0x3c]
jmp 0x5519a2
mov edi, dword [esp + 0x40]
mov dword [esp + 4], edi
mov esi, dword [esp + 0x3c]
mov eax, esi
and eax, 0xf
mov edi, 0x10
sub edi, eax
sub esp, 4
lea edx, [esp + 0x10]
push eax
push ebp
mov ebp, edx
push ebp
call fcn.00566cac
add esp, 0x10
mov eax, ebp
sub eax, edi
add eax, 0x10
sub esp, 4
push edi
push edi
push eax
call fcn.00566e77
add esp, 0x10
push dword [esp + 4]
push ebp
push dword [ebx + 0x4c]
push dword [esp + 0x14]
call fcn.00550a00
add esp, 0x10
add esi, 0x10
and esi, 0xfffffff0
mov eax, esi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x552094
Capabilities:
Contain obfuscated stackstrings
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xcc
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x64], 0x5792b4
mov dword [ebp - 0x60], 0x589c54
mov dword [ebp - 0x5c], ebp
mov dword [ebp - 0x54], esp
mov dword [ebp - 0x5c], 0x552287
lea eax, [ebp - 0x80]
call fcn.00579e71
mov eax, 0xffffffe6
nop dword [eax]
lea ecx, [eax + 0x5b]
mov byte [ebp + eax - 0xaa], cl
lea ecx, [eax + 0x7b]
mov byte [ebp + eax - 0x90], cl
inc eax
jne 0x5520e4
mov dword [ebp - 0x90], 0x33323130
mov dword [ebp - 0x8c], 0x37363534
mov dword [ebp - 0x88], 0x2f2b3938
test edi, edi
je 0x55222d
xor ebx, ebx
nop
mov byte [ebp - 0x12], 0
mov word [ebp - 0x14], 0
mov byte [ebp - 0xd], 0
cmp ebx, edi
jae 0x552225
xor eax, eax
nop dword [eax + eax]
mov ecx, eax
movzx eax, byte [esi + ecx]
mov byte [ebp + ecx - 0x14], al
lea eax, [ebx + ecx + 1]
cmp eax, edi
lea eax, [ecx + 1]
jae 0x55215e
cmp ecx, 2
jb 0x552144
add esi, eax
add ebx, eax
mov edx, eax
dec edx
js 0x552225
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], esi
movzx edx, byte [ebp - 0x14]
mov esi, edx
shl dl, 4
and dl, 0x30
movzx edi, dl
movzx edx, byte [ebp - 0x13]
mov ebx, edx
shr ebx, 4
or ebx, edi
shl dl, 2
and dl, 0x3c
movzx edx, dl
mov dword [ebp - 0x20], edx
movzx edx, byte [ebp - 0x12]
mov edi, edx
shr edi, 6
add edi, dword [ebp - 0x20]
shr esi, 2
and edx, 0x3f
cmp ecx, 1
mov cl, byte [ebp + esi - 0xc4]
mov ch, byte [ebp + ebx - 0xc4]
mov byte [ebp - 0x11], cl
mov byte [ebp - 0x10], ch
mov ch, byte [ebp + edi - 0xc4]
mov byte [ebp - 0xf], ch
mov dl, byte [ebp + edx - 0xc4]
mov byte [ebp - 0xe], dl
ja 0x5521e3
mov byte [ebp - 0xe], 0x3d
cmp eax, 2
je 0x5521e3
mov byte [ebp - 0xf], 0x3d
test cl, cl
lea eax, [ebp - 0x11]
je 0x5521fd
lea eax, [ebp - 0x11]
nop dword [eax]
cmp byte [eax + 1], 0
lea eax, [eax + 1]
jne 0x5521f4
lea ecx, [ebp - 0x11]
sub eax, ecx
mov dword [ebp - 0x78], 1
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.00540d18
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp - 0x24]
cmp ebx, edi
jb 0x552124
mov eax, dword [0x585f30]
mov dword [ebp - 0x78], 2
lea ecx, [ebp - 0x48]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0053e024
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x55226e
mov eax, dword [ebp - 0x44]
inc ecx
cmp ecx, 0x1000
jb 0x552266
mov eax, dword [eax - 4]
mov dword [esp], eax
call fcn.0055a7a8
lea eax, [ebp - 0x80]
mov dword [esp], eax
call fcn.00579e92
mov eax, dword [ebp + 8]
add esp, 0xcc
pop esi
pop edi
pop ebx
pop ebp
ret