joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4db1c4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
test dl, dl
je 0x4db1dd
add esp, 0xfffffff0
call fcn.00404208
mov dword [ebp - 4], ecx
mov byte [ebp - 9], dl
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405d54
xor eax, eax
push ebp
push 0x4db329
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebx + 0x1c], eax
mov byte [ebx + 0x19], 0
mov byte [ebx + 0x18], 0
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.00435e0c
mov eax, dword [ebx + 8]
mov dword [ebx + 0x14], eax
lea eax, [ebx + 0x10]
mov edx, dword [ebp - 4]
call fcn.00405d6c
cmp dword [ebx + 0x10], 0
je 0x4db305
mov edx, dword [ebx + 0x10]
mov eax, ebx
call fcn.004daf64
mov eax, dword [ebx + 0x14]
mov dword [eax + 0x34], ebx
mov dword [eax + 0x30], 0x4db1bc
mov eax, dword [ebx + 0x10]
call fcn.0040d648
test al, al
jne 0x4db2fb
lea edx, [ebp - 4]
mov eax, dword [ebx + 0x10]
call fcn.0040dba0
mov eax, dword [ebp - 4]
test eax, eax
je 0x4db27d
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4db27d
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.0040550c
test eax, eax
je 0x4db286
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x4db292
mov eax, dword [ebp - 4]
call fcn.004db098
push 0
push 0x80
push 4
push 0
push 1
push 0xc0000000
mov eax, dword [ebx + 0x10]
call fcn.00405df8
push eax
call sub.kernel32.dll_CreateFileW
mov esi, eax
cmp esi, 0xffffffff
je 0x4db2fb
cmp dword [ebp + 8], 0
je 0x4db2f5
mov eax, dword [ebp + 8]
mov dword [ebx + 0xc], eax
lea edx, [ebp - 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 8]
call fcn.0040745c
test eax, eax
jle 0x4db2f5
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.0040745c
push eax
mov eax, dword [ebp - 8]
push eax
push esi
call sub.kernel32.dll_WriteFile_1
push esi
call sub.kernel32.dll_CloseHandle_1
cmp dword [ebx + 0x1c], 0
je 0x4db305
mov byte [ebx + 0x19], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4db330
lea eax, [ebp - 8]
mov edx, dword [0x40a994]
call fcn.00407630
lea eax, [ebp - 4]
call fcn.00405d5c
ret

Function at 0x4dbbf4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, dword [ebp + 8]
mov eax, ebx
xor edx, edx
call fcn.00405d6c
push 0
push edi
lea eax, [ebp - 0x20a]
push eax
push esi
call sub.shell32.dll_SHGetSpecialFolderPathW
mov eax, ebx
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00405f7c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4dbc3c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, edx
push 0xff
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00405f7c
add esp, 0x200
pop ebx
ret
Function at 0x4dbc6c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, edx
push esp
push 0xff
call sub.kernel32.dll_GetTempPathW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00405f7c
add esp, 0x200
pop ebx
ret

Function at 0x4dbc98
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, edx
push 0xff
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00405f7c
add esp, 0x200
pop ebx
ret

Function at 0x4dbcc8
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
mov ebx, eax
mov eax, ebx
xor edx, edx
call fcn.00405d6c
mov dword [ebp - 4], 0x104
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20c]
push eax
call sub.advapi32.dll_GetUserNameW
test eax, eax
je 0x4dbd05
mov eax, ebx
lea edx, [ebp - 0x20c]
call fcn.00405f28
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4dbd0c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
xor edx, edx
mov dword [ebp - 0x20c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4dbd88
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
test eax, eax
jbe 0x4dbd6f
push ebx
lea eax, [ebp - 0x20c]
lea edx, [ebp - 0x208]
mov ecx, 0x104
call fcn.00405f7c
mov eax, dword [ebp - 0x20c]
mov ecx, 2
mov edx, 1
call fcn.00406528
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dbd8f
lea eax, [ebp - 0x20c]
call fcn.00405d5c
ret
Function at 0x4dc808
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffddc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x220], edx
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x218], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4dc96b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4dc886
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x23
lea eax, [ebp - 0x212]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetSpecialFolderPathW
mov eax, dword [ebp - 4]
add eax, 8
lea edx, [ebp - 0x212]
mov ecx, 0x105
call fcn.00405f7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4dc8b1
xor eax, eax
push ebp
push 0x4dc8f3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x1a
lea eax, [ebp - 0x212]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetSpecialFolderPathW
mov eax, dword [ebp - 4]
add eax, 4
lea edx, [ebp - 0x212]
mov ecx, 0x105
call fcn.00405f7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4dc91e
lea edx, [ebp - 0x224]
xor eax, eax
call fcn.004033b4
mov eax, dword [ebp - 0x224]
lea edx, [ebp - 0x220]
call fcn.0040db64
mov edx, dword [ebp - 0x220]
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.00405d6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dc972
lea eax, [ebp - 0x224]
mov edx, 4
call fcn.00405d64
ret

Function at 0x4df77c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, eax
push esp
push 0xff
call sub.kernel32.dll_GetTempPathW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00405f7c
add esp, 0x200
pop ebx
ret
Function at 0x4e0fc0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e103c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xff
mov edx, dword [ebp - 8]
inc edx
lea eax, [ebp - 4]
call fcn.00405cb8
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00405b54
push eax
call sub.advapi32.dll_GetUserNameW
test eax, eax
je 0x4e101d
mov edx, dword [ebp - 8]
dec edx
lea eax, [ebp - 4]
call fcn.00405cb8
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00405fe4
jmp 0x4e1026
mov eax, ebx
xor edx, edx
call fcn.00405d6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e1043
lea eax, [ebp - 4]
call fcn.00405978
ret
Function at 0x4e2ea8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, eax
push 0xff
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00405f7c
add esp, 0x200
pop ebx
ret
Function at 0x4e65bc
Capabilities:
Get common file path
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x49
push 0
push 0
dec ecx
jne 0x4e65c4
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405d54
xor eax, eax
push ebp
push 0x4e681a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x4e6838
call fcn.00406840
test eax, eax
jle 0x4e65fe
xor ebx, ebx
jmp 0x4e67ef
lea edx, [ebp - 0x220]
mov eax, dword [ebp - 4]
call fcn.00414a04
mov eax, dword [ebp - 0x220]
lea edx, [ebp - 0x1c]
call fcn.0040c0d8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4e6637
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4e6637
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
call fcn.0040550c
test eax, eax
je 0x4e6640
sub eax, 4
mov eax, dword [eax]
cmp eax, 3
jg 0x4e664c
xor ebx, ebx
jmp 0x4e67ef
mov dl, 1
mov eax, dword [0x4368f4]
call fcn.00436a30
mov ebx, eax
mov edx, 0x80000001
mov eax, ebx
call fcn.00436ad0
call fcn.004e34ec
test al, al
je 0x4e6676
or dword [ebx + 0x18], 0x100
xor ecx, ecx
mov edx, 0x4e6848
mov eax, ebx
call fcn.00436b34
test al, al
je 0x4e66ef
lea ecx, [ebp - 0x224]
mov edx, 0x4e68d8
mov eax, ebx
call fcn.00436fd8
mov eax, dword [ebp - 0x224]
lea edx, [ebp - 8]
call fcn.00414a04
lea ecx, [ebp - 0x228]
mov edx, 0x4e68f4
mov eax, ebx
call fcn.00436fd8
mov eax, dword [ebp - 0x228]
lea edx, [ebp - 0xc]
call fcn.00414a04
lea ecx, [ebp - 0x22c]
mov edx, 0x4e6918
mov eax, ebx
call fcn.00436fd8
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x10]
call fcn.00414a04
mov eax, ebx
call fcn.00436aa0
mov eax, ebx
call fcn.00403d24
lea eax, [ebp - 0x230]
call fcn.004e2ea8
mov eax, dword [ebp - 0x230]
lea edx, [ebp - 0x14]
call fcn.00414a04
push 0xff
lea eax, [ebp - 0x21c]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
lea edx, [ebp - 0x234]
lea eax, [ebp - 0x21c]
call fcn.0040e3c8
mov eax, dword [ebp - 0x234]
lea edx, [ebp - 0x18]
call fcn.00414a04
mov dl, 1
mov eax, dword [0x421d88]
call fcn.00427934
mov esi, eax
lea edx, [ebp - 0x238]
mov eax, dword [ebp - 8]
call fcn.0040c0d8
mov edx, dword [ebp - 0x238]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 0xc]
call fcn.0040c0d8
mov edx, dword [ebp - 0x23c]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x240]
mov eax, dword [ebp - 0x10]
call fcn.0040c0d8
mov edx, dword [ebp - 0x240]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x244]
mov eax, dword [ebp - 0x14]
call fcn.0040c0d8
mov edx, dword [ebp - 0x244]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x248]
mov eax, dword [ebp - 0x18]
call fcn.0040c0d8
mov edx, dword [ebp - 0x248]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0x1c]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
test eax, eax
jl 0x4e67e6
xor ebx, ebx
jmp 0x4e67e8
mov bl, 1
mov eax, esi
call fcn.00403d24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e6821
lea eax, [ebp - 0x248]
mov edx, 0xb
call fcn.00405d64
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00405d64
ret
Function at 0x4e7a7c
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.004035e4
ret

Function at 0x4e9854
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
cmp byte [0x5650a2], 0
jne 0x4e9860
xor eax, eax
ret
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [0x55cb20]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x7d0
jle 0x4e9896
push 0x91
call sub.user32.dll_GetKeyState
cmp ax, 1
sete byte [0x55cb24]
call sub.kernel32.dll_GetTickCount_1
mov dword [0x55cb20], eax
movzx eax, byte [0x55cb24]
ret

Function at 0x4eb7b4
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
xor esi, esi
mov edi, 0x5a50ac
mov ebp, 0x5a54ac
mov ecx, esi
mov eax, esi
cdq
mov dword [esp], eax
mov dword [esp + 4], edx
mov ebx, 8
mov eax, ecx
and eax, 1
test al, al
je 0x4eb7eb
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x4eb7ed
shr ecx, 1
mov eax, dword [esp]
mov edx, dword [esp + 4]
and eax, 1
xor edx, edx
cmp edx, 0
jne 0x4eb804
cmp eax, 0
je 0x4eb828
mov eax, dword [esp]
mov edx, dword [esp + 4]
shrd eax, edx, 1
shr edx, 1
xor eax, 0xd7870f42
xor edx, 0xc96c5795
mov dword [esp], eax
mov dword [esp + 4], edx
jmp 0x4eb83c
mov eax, dword [esp]
mov edx, dword [esp + 4]
shrd eax, edx, 1
shr edx, 1
mov dword [esp], eax
mov dword [esp + 4], edx
dec ebx
jne 0x4eb7d8
mov dword [edi], ecx
mov eax, dword [esp]
mov dword [ebp], eax
mov eax, dword [esp + 4]
mov dword [ebp + 4], eax
inc esi
add ebp, 8
add edi, 4
cmp esi, 0x100
jne 0x4eb7c7
mov byte [0x5a5cac], 1
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4eb870
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
dec ecx
test ecx, ecx
jl 0x4eb8df
inc ecx
xor ebx, ebx
mov eax, dword [ebp - 0x10]
and eax, 0xff
movzx edx, byte [esi + ebx]
xor eax, edx
mov edx, dword [eax*8 + 0x5a54b0]
mov eax, dword [eax*8 + 0x5a54ac]
push edx
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
shrd eax, edx, 8
shr edx, 8
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
inc ebx
dec ecx
jne 0x4eb894
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4eb8f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
dec ecx
test ecx, ecx
jl 0x4eb918
inc ecx
xor ebx, ebx
movzx esi, byte [edx + ebx]
xor esi, eax
and esi, 0xff
mov esi, dword [esi*4 + 0x5a50ac]
shr eax, 8
xor esi, eax
mov eax, esi
inc ebx
dec ecx
jne 0x4eb8fa
pop esi
pop ebx
ret
Function at 0x4ef3d4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x4ef405
dec al
je 0x4ef440
dec al
je 0x4ef485
dec al
je 0x4ef4ee
jmp 0x4ef578
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4ef578
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4ef415
jmp 0x4ef578
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4ef578
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4ef450
jmp 0x4ef578
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4ef578
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x4ef4b4
xor ebp, ebp
jmp 0x4ef4c4
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x4ef4cd
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4ef495
jmp 0x4ef578
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4ef578
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x4ef547
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.004eb91c
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4ef502
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4f7f3c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4f8085
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [esi + 5], eax
mov byte [esi], 0
mov edx, 6
mov eax, ebx
call fcn.004f7ac4
test al, al
je 0x4f7fa6
mov eax, dword [0x55e4cc]
cmp byte [eax], 0
je 0x4f7f97
mov ecx, 0x2cb2
mov edx, 0x4f80a0
mov eax, 0x4f80f8
call fcn.0040524c
push 0x4f813c
call sub.kernel32.dll_OutputDebugStringW
jmp 0x4f806a
mov eax, ebx
call fcn.004f78fc
mov ebx, eax
lea eax, [ebp - 4]
push eax
push 5
push esi
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x4f806a
mov byte [ebp - 0xd], 0xe9
sub edi, ebx
sub edi, 5
mov dword [ebp - 0xc], edi
movzx eax, byte [esi]
cmp al, byte [ebp - 0xd]
jne 0x4f8033
push 0x4f8164
call sub.kernel32.dll_OutputDebugStringW
movzx eax, byte [esi]
mov byte [ebp - 0xd], al
mov byte [esi], 0
lea eax, [ebp - 0x1c]
push eax
movzx eax, byte [ebp - 0xd]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x4f81a0
call fcn.0040e5a0
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov edx, 0x4f81b4
call fcn.00406250
mov eax, dword [ebp - 0x18]
mov ecx, 0x2ccb
mov edx, 0x4f80a0
call fcn.0040524c
jmp 0x4f806a
mov dword [esi + 5], ebx
lea eax, [ebp - 0x14]
push eax
push 8
push 5
push ebx
call sub.kernel32.dll_VirtualProtect
lea eax, [ebp - 4]
push eax
push 5
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_WriteProcessMemory
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 5
push ebx
call sub.kernel32.dll_VirtualProtect
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f808c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00405d64
ret

Function at 0x4f81f0
Capabilities:
Print debug messages

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov esi, edx
mov ebx, eax
cmp byte [esi], 0
je 0x4f827d
test ebx, ebx
je 0x4f827d
mov edx, 6
mov eax, ebx
call fcn.004f7ac4
test al, al
je 0x4f823c
mov eax, dword [0x55e4cc]
cmp byte [eax], 0
je 0x4f8230
mov ecx, 0x2ce5
mov edx, 0x4f8290
mov eax, 0x4f82e8
call fcn.0040524c
push 0x4f832c
call sub.kernel32.dll_OutputDebugStringW
jmp 0x4f827d
mov eax, ebx
call fcn.004f78fc
mov ebx, eax
test ebx, ebx
je 0x4f827d
lea eax, [esp + 4]
push eax
push 8
push 5
push ebx
call sub.kernel32.dll_VirtualProtect
push esp
push 5
push esi
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_WriteProcessMemory
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 8]
push eax
push 5
push ebx
call sub.kernel32.dll_VirtualProtect
mov byte [esi], 0
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x4fbe9c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4fbf4e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
and eax, 0xff000000
sub eax, 0xff000000
jne 0x4fbf38
mov eax, ebx
and eax, 0xffffff
cmp eax, 0xff
jg 0x4fbee4
and ebx, 0xff
push ebx
call sub.user32.dll_GetSysColor
mov ebx, eax
jmp 0x4fbf38
lea eax, [ebp - 4]
push eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [0x56509c]
call fcn.004fb4b4
test al, al
je 0x4fbf02
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 8]
jmp 0x4fbf38
cmp byte [0x5650a2], 0
je 0x4fbf33
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, 0x4fbf68
call fcn.0040e5a0
mov eax, dword [ebp - 8]
call fcn.00405df8
push eax
call sub.kernel32.dll_OutputDebugStringW
mov ebx, 0xe6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fbf55
lea eax, [ebp - 8]
call fcn.00405d5c
ret
Function at 0x52f868
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [eax + 4]
mov ecx, dword [ecx]
mov dword [edx + 4], ecx
lea ecx, [eax + 8]
mov ecx, dword [ecx]
mov dword [edx + 8], ecx
lea ecx, [eax + 0xc]
mov ecx, dword [ecx]
mov dword [edx + 0xc], ecx
lea ecx, [eax + 0x10]
mov ecx, dword [ecx]
mov dword [edx + 0x10], ecx
add eax, 0x14
mov eax, dword [eax]
mov dword [edx + 0x14], eax
xor eax, eax
mov dword [esp], 1
mov ecx, dword [edx + eax*4 + 0x14]
mov ebx, ecx
shl ebx, 0x18
shr ecx, 8
or ebx, ecx
mov ecx, ebx
movzx ebx, cl
mov ebx, dword [ebx*4 + str.cwko0]
mov dword [esp + 4], ebx
mov ebx, ecx
shr ebx, 8
movzx ebx, bl
mov esi, dword [ebx*4 + str.cwko0]
mov ebx, ecx
shr ebx, 0x10
movzx ebx, bl
mov ebx, dword [ebx*4 + str.cwko0]
mov dword [esp + 8], ebx
shr ecx, 0x18
movzx ecx, cl
mov ecx, dword [ecx*4 + str.cwko0]
mov ebx, esi
shl ebx, 8
shr esi, 0x18
or ebx, esi
xor ebx, dword [esp + 4]
mov esi, dword [esp + 8]
shl esi, 0x10
mov edi, dword [esp + 8]
shr edi, 0x10
or esi, edi
xor ebx, esi
mov esi, ecx
shl esi, 0x18
shr ecx, 8
or esi, ecx
xor ebx, esi
xor ebx, dword [edx + eax*4]
mov ecx, dword [esp]
xor ebx, dword [ecx*4 + 0x55d2c8]
mov dword [edx + eax*4 + 0x18], ebx
inc dword [esp]
mov ecx, dword [edx + eax*4 + 4]
xor ecx, dword [edx + eax*4 + 0x18]
mov dword [edx + eax*4 + 0x1c], ecx
mov ebx, dword [edx + eax*4 + 8]
xor ebx, ecx
mov dword [edx + eax*4 + 0x20], ebx
mov ecx, dword [edx + eax*4 + 0xc]
xor ecx, ebx
mov dword [edx + eax*4 + 0x24], ecx
mov ebx, dword [edx + eax*4 + 0x10]
xor ebx, ecx
mov dword [edx + eax*4 + 0x28], ebx
mov ecx, dword [edx + eax*4 + 0x14]
xor ecx, ebx
mov dword [edx + eax*4 + 0x2c], ecx
add eax, 6
cmp eax, 0x2e
jl 0x52f8a3
add esp, 0xc
pop edi
pop esi
pop ebx
ret