joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47cbb4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47cd5f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x47cd40
mov dl, 1
mov eax, dword [0x41a040]
call fcn.00404560
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004054d4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x47cd2f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0046e0a4
test al, al
je 0x47cd22
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x47cd70
lea eax, [ebp - 0x254]
call fcn.0040bdd4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x47cd22
xor eax, eax
push ebp
push 0x47cd1b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x47cda8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x47cd04
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405744
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x47cd04
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405744
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47cd22
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x47cc25
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041f548
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47cd66
lea eax, [ebp - 0x260]
call fcn.004054d4
ret

Function at 0x47d720
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x5ee5bc]
cmp byte [eax + 0xad], 0
jne 0x47d791
cmp dword [0x5ee5d4], 0
jne 0x47d752
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, 0x47d6dc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x5ee5d4], eax
cmp dword [0x5ee5d0], 0
jne 0x47d76d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x5ee5d0], eax
cmp dword [0x5ee5d8], 0
jne 0x47d791
push esp
push 0
push 0
push 0x47d680
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x5ee5d8], eax
pop edx
ret
Function at 0x47d994
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x47d9ab
add esp, 0xfffffff0
call fcn.004048f4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004263c4
mov eax, dword [0x5ea90c]
cmp word [eax + 2], 0
jne 0x47d9d3
mov eax, dword [0x5ea90c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0047f4ec
mov eax, dword [0x5eab4c]
cmp word [eax + 2], 0
jne 0x47d9ed
mov eax, dword [0x5eab4c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0047f6f8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4199d4]
call fcn.00404560
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4199d4]
call fcn.00404560
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x4199d4]
call fcn.00404560
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x42d258]
call fcn.00435f68
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x47dba4
mov eax, dword [0x5ea6a8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0043633c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x47fdc8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5ea6a8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040fd50
test eax, eax
je 0x47daf4
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040b388
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040fd84
test eax, eax
je 0x47db08
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00405744
mov byte [ebx + 0xd4], 0
push ebx
push 0x47f034
call fcn.00427540
mov dword [ebx + 0xc8], eax
mov eax, dword [0x5ea2cc]
cmp byte [eax], 0
jne 0x47db59
mov eax, ebx
call fcn.0047dce8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0047ffa4
mov eax, ebx
call fcn.00480b04
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47db99
call fcn.0040494c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47df68
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x5ee5bc]
cmp dword [eax + 0x30], 0
je 0x47e012
cmp dword [ebx + 0x94], 0
jne 0x47e00c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x47def8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x47e00c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x47dfd2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x47e00c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041c440
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x47dfe1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x47ed2c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x47ed61
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004055c4
jmp 0x47ed6e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405528
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x480188
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4801f6
mov eax, esi
call fcn.00468c7c
test al, al
je 0x4801f6
mov eax, dword [ebx + 0x84]
call fcn.004688dc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4801f6
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x4801ea
push 0
mov eax, dword [ebx + 0x84]
call fcn.004688dc
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00460a80
jmp 0x4801f6
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0047ffc4
pop esi
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405998
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
setne al
pop ebx
ret

Function at 0x4aede0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x4aee31
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4aee18
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4aee08
jmp 0x4aee31
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4aee19
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bc324
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
call fcn.0041cb10
mov esi, eax
xor eax, eax
push ebp
push 0x4bc39e
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [esi + 8]
dec ebx
cmp ebx, 0
jl 0x4bc382
mov edx, ebx
mov eax, esi
call fcn.0041c440
test byte [eax + 0x58], 1
je 0x4bc37c
push 0
mov edx, ebx
mov eax, esi
call fcn.0041c440
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov edx, ebx
mov eax, esi
call fcn.0041c32c
dec ebx
cmp ebx, 0xffffffff
jne 0x4bc350
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bc3a5
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
call fcn.0041cb74
ret

Function at 0x4bc820
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebp, ecx
mov esi, edx
mov dword [esp], eax
mov eax, dword [esp]
call fcn.00405794
mov edx, eax
mov eax, ebp
call fcn.00405c20
mov eax, dword [esp]
call fcn.00405794
mov edi, eax
test edi, edi
jle 0x4bc885
mov ebx, 1
mov eax, ebp
call fcn.004059f0
mov edx, dword [esp]
movzx edx, byte [edx + ebx - 1]
mov ecx, esi
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
mov eax, dword [ebp]
movzx eax, byte [eax + ebx - 1]
add esi, eax
imul eax, esi, 0xce6d
add eax, 0x58bf
mov esi, eax
inc ebx
dec edi
jne 0x4bc850
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4bc88c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov esi, edx
mov edi, eax
mov eax, edi
call fcn.00405794
mov edx, eax
mov eax, dword [esp]
call fcn.00405c20
mov eax, edi
call fcn.00405794
mov ebp, eax
test ebp, ebp
jle 0x4bc8eb
mov ebx, 1
mov eax, dword [esp]
call fcn.004059f0
movzx edx, byte [edi + ebx - 1]
mov ecx, esi
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
movzx eax, byte [edi + ebx - 1]
add esi, eax
imul eax, esi, 0xce6d
add eax, 0x58bf
mov esi, eax
inc ebx
dec ebp
jne 0x4bc8bb
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4c85c4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x408a68]
call fcn.00405fc8
xor eax, eax
push ebp
push 0x4c8765
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5e50c0], 0
jne 0x4c861f
mov ecx, dword [0x5ea31c]
mov dl, 1
mov eax, dword [0x409124]
call fcn.0040ee84
call fcn.00404e44
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.004039d8
mov eax, ebx
call fcn.00405e78
mov dword [ebp - 0x24], eax
mov esi, 0x4c8774
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00407250
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405e88
test eax, eax
jle 0x4c8708
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4c86f4
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405744
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x4c869a
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.0040575c
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x4c86b0
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.0040575c
mov eax, dword [ebp - 0x54]
call fcn.00405998
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405744
mov eax, dword [ebp - 0x58]
call fcn.00405998
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA
sub eax, 2
test eax, eax
sete al
jmp 0x4c86f6
xor eax, eax
test al, al
je 0x4c8701
mov ebx, 0x15
jmp 0x4c870d
mov ebx, 0x10
jmp 0x4c870d
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x5e50c0]
call fcn.004c8448
mov eax, dword [ebp - 4]
call fcn.004c8448
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00407268
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c876c
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.004054f8
lea eax, [ebp - 0xc]
mov edx, dword [0x408a68]
call fcn.00406098
ret
Function at 0x4d4074
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4d40a2
mov eax, ebx
call fcn.004d4b28
cmp dword [ebx + 0x40], 0
je 0x4d409b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4d4113
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4d4105
cmp dword [ebx + 8], 0
je 0x4d40c4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4d40d6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4d4105
cmp dword [ebx + 8], 0
je 0x4d40b7
cmp eax, 3
je 0x4d40e9
dec eax
jne 0x4d40b7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4d40b7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4d40b7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4d4131
cmp dword [ebx + 0x14], 0xcc
je 0x4d4131
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004d413c
pop ebx
ret

Function at 0x4eacc8
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
mov ecx, eax
mov eax, ecx
mov ebx, 0xfa
cdq
idiv ebx
mov esi, edx
add esi, 6
test esi, esi
jge 0x4eace6
add esi, 0x100
mov eax, ecx
mov ecx, 0xfa
cdq
idiv ecx
mov edi, eax
test edi, edi
jge 0x4eacfc
add edi, 0x100
xor ecx, ecx
mov eax, 0x5ee6f0
mov byte [eax], cl
inc ecx
inc eax
cmp ecx, 0x100
jne 0x4ead03
xor ecx, ecx
mov eax, 0x5ee7f0
mov byte [eax], cl
inc ecx
inc eax
cmp ecx, 0x100
jne 0x4ead16
mov ecx, 1
mov eax, ecx
imul esi
add eax, edi
mov ebx, 0xfe
cdq
idiv ebx
mov eax, edx
inc eax
movzx edx, byte [eax + 0x5ee6f0]
movzx ebx, byte [eax + 0x5ee6f1]
mov byte [eax + 0x5ee6f0], bl
mov byte [eax + 0x5ee6f1], dl
inc ecx
cmp ecx, 0x2711
jne 0x4ead27
mov ecx, 1
mov eax, 0x5ee6f1
movzx edx, byte [eax]
mov byte [edx + 0x5ee7f0], cl
inc ecx
inc eax
cmp ecx, 0x100
jne 0x4ead65
pop edi
pop esi
pop ebx
ret
Function at 0x4eb274
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4eb3a6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebx + 4]
call fcn.004054d4
xor eax, eax
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0xc]
call fcn.00404590
mov dl, 1
mov eax, dword [0x42d110]
call fcn.00434230
mov esi, eax
mov dword [ebx + 0xc], esi
mov edx, 0x20
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, 0x20
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov dl, 1
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
xor eax, eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 0xffffffff
mov byte [ebx + 0x18], 0
mov byte [ebx + 0x19], 0
mov byte [ebx + 0x1a], 0
lea eax, [ebx + 0x1c]
call fcn.004054d4
lea eax, [ebx + 0x20]
call fcn.004054d4
lea eax, [ebx + 0x24]
call fcn.004054d4
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
mov byte [ebx + 0x30], 0
mov byte [ebx + 0x31], 1
mov byte [ebx + 0x32], 1
xor eax, eax
mov dword [ebx + 0x34], eax
xor esi, esi
push 0x4eb3bc
lea edx, [ebp - 4]
lea eax, [esi + 1]
call fcn.0040a7e8
push dword [ebp - 4]
push 0x4eb3d0
lea eax, [ebx + esi*4 + 0x38]
mov edx, 3
call fcn.00405858
xor eax, eax
mov dword [ebx + esi*4 + 0x58], eax
lea eax, [ebx + esi*4 + 0x78]
mov edx, 0x4eb3dc
call fcn.00405528
lea eax, [ebx + esi*4 + 0x98]
mov edx, 0x4eb3e8
call fcn.00405528
inc esi
cmp esi, 8
jne 0x4eb321
xor eax, eax
mov dword [ebx + 0xb8], eax
lea eax, [ebx + 0xbc]
call fcn.004054d4
lea eax, [ebx + 0xc0]
call fcn.004054d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eb3ad
lea eax, [ebp - 4]
call fcn.004054d4
ret

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

Disassembly:
push ebx
push esi
push edi
mov edi, eax
or ebx, 0xffffffff
mov esi, dword [edi + 4]
mov eax, edi
mov edx, dword [eax]
call dword [edx]
dec eax
test eax, eax
jl 0x4f2632
inc eax
movzx edx, byte [esi]
mov ecx, ebx
and ecx, 0xff
xor edx, ecx
mov edx, dword [edx*4 + 0x5e7c50]
shr ebx, 8
xor edx, ebx
mov ebx, edx
inc esi
dec eax
jne 0x4f2613
not ebx
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4faf24
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x4faf52
mov eax, ebx
call fcn.004fb9c8
cmp dword [ebx + 0x3c], 0
je 0x4faf4b
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x4fafc3
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x4fafb5
cmp dword [ebx + 8], 0
je 0x4faf74
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x4faf86
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4fafb5
cmp dword [ebx + 8], 0
je 0x4faf67
cmp eax, 3
je 0x4faf99
dec eax
jne 0x4faf67
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4faf67
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x4faf67
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x4fafe1
cmp dword [ebx + 0x10], 0xcc
je 0x4fafe1
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004fafec
pop ebx
ret

Function at 0x5053c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, ecx
mov esi, edx
mov ebx, eax
mov ebp, 0x5eea80
test esi, esi
jne 0x5053da
xor eax, eax
jmp 0x5054cb
cmp dword [ebp], 0
jne 0x5053e5
call fcn.00505350
xor ebx, 0xffffffff
cmp edi, 8
jb 0x5054a5
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
sub edi, 8
cmp edi, 8
jae 0x5053f1
test edi, edi
jbe 0x5054c6
movzx eax, byte [esi]
xor eax, ebx
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
dec edi
test edi, edi
ja 0x5054a9
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x521d84
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
xor ebx, ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405988
mov eax, dword [ebp - 8]
call fcn.00405988
mov eax, dword [ebp - 0xc]
call fcn.00405988
xor eax, eax
push ebp
push 0x521e93
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x64]
xor ecx, ecx
mov edx, 0x44
call fcn.00408800
mov dword [ebp - 0x64], 0x44
mov dword [ebp - 0x38], 1
mov word [ebp - 0x34], 5
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405998
push eax
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 4]
push 0x521eac
push dword [ebp - 8]
lea eax, [ebp - 0x68]
mov edx, 3
call fcn.00405858
mov eax, dword [ebp - 0x68]
call fcn.00405998
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x521e2d
xor ebx, ebx
jmp 0x521e70
cmp byte [ebp + 8], 0
je 0x521e5c
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [0x5eaad4]
mov eax, dword [eax]
call fcn.0047f1e4
push 0x64
call sub.kernel32.dll_Sleep
cmp dword [ebp - 0x10], 0x103
je 0x521e33
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_CloseHandle
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x521e9a
lea eax, [ebp - 0x68]
call fcn.004054d4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004054f8
ret