joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48dc04
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x53cbf4]
cmp dword [eax + 0x30], 0
je 0x48dcae
cmp dword [ebx + 0x94], 0
jne 0x48dca8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x48db94
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x48dca8
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 0x48dc6e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x48dca8
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.0041ae58
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x48dc7d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x48e810
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x48e845
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.0040435c
jmp 0x48e852
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004042c0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x48f95c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x48f99d
mov eax, esi
call fcn.00475500
test al, al
je 0x48f99d
mov eax, dword [ebx + 0x84]
call fcn.004751fc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x48f99d
push 0
mov eax, dword [ebx + 0x84]
call fcn.004751fc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x491f98
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x114], ecx
mov esi, edx
mov ebx, eax
lea edi, [ebp - 4]
xor eax, eax
push ebp
push 0x492093
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x491fec
push 0x105
lea eax, [ebp - 0x10d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA_2
mov ecx, eax
lea edx, [ebp - 0x10d]
mov eax, esi
call fcn.0040435c
jmp 0x49207a
call sub.kernel32.dll_GetCommandLineA_1
mov dword [edi], eax
mov eax, dword [edi]
call fcn.00491f20
mov dword [edi], eax
mov eax, dword [edi]
mov dword [ebp - 8], eax
mov eax, dword [edi]
call fcn.00491f48
mov dword [edi], eax
test ebx, ebx
je 0x49201a
dec ebx
test ebx, ebx
jl 0x49201a
mov eax, dword [edi]
cmp eax, dword [ebp - 8]
jne 0x491ff3
push esi
lea eax, [ebp - 0x114]
mov edx, dword [ebp - 8]
call fcn.00404464
mov eax, dword [ebp - 0x114]
mov ecx, dword [edi]
sub ecx, dword [ebp - 8]
mov edx, 1
call fcn.004047a8
mov eax, dword [esi]
call fcn.00404548
cmp eax, 2
jl 0x49207a
mov eax, dword [esi]
cmp byte [eax], 0x22
jne 0x49207a
mov eax, dword [esi]
call fcn.00404548
mov edx, dword [esi]
cmp byte [edx + eax - 1], 0x22
jne 0x49207a
push esi
mov eax, dword [esi]
call fcn.00404548
mov ecx, eax
sub ecx, 2
mov eax, dword [esi]
mov edx, 2
call fcn.004047a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49209a
lea eax, [ebp - 0x114]
call fcn.0040426c
ret

Function at 0x492258
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebp, edx
mov edi, eax
mov eax, dword [edi]
call fcn.00404548
mov esi, eax
test esi, esi
jle 0x49228a
mov ebx, 1
mov eax, edi
call fcn.004047a0
mov edx, dword [edi]
movzx edx, byte [edx + ebx - 1]
xor edx, ebp
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x492272
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x492434
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
mov byte [ebp - 1], cl
mov esi, edx
mov ebx, eax
cmp bl, 0x90
jne 0x492489
push 0x90
call sub.user32.dll_GetKeyState
and ax, 1
cmp al, 1
sbb ebx, ebx
inc ebx
lea eax, [ebp - 0x102]
push eax
call sub.user32.dll_GetKeyboardState
test bl, bl
je 0x492474
and byte [ebp - 0x72], 0xfe
jmp 0x492478
or byte [ebp - 0x72], 1
lea eax, [ebp - 0x102]
push eax
call sub.user32.dll_SetKeyboardState
jmp 0x49250f
push 0
xor eax, eax
mov al, bl
push eax
call sub.user32.dll_MapVirtualKeyA_1
and al, 0xff
mov byte [ebp - 2], al
test si, si
jbe 0x49250f
mov eax, ebx
and eax, 0xff
bt dword [0x538f20], eax
jae 0x4924df
mov eax, dword [ebp + 8]
push eax
mov ecx, 1
mov dl, byte [ebp - 2]
mov eax, ebx
call fcn.004923e8
pop ecx
cmp byte [ebp - 1], 0
je 0x49250a
mov eax, dword [ebp + 8]
push eax
mov ecx, 3
mov dl, byte [ebp - 2]
mov eax, ebx
call fcn.004923e8
pop ecx
jmp 0x49250a
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov dl, byte [ebp - 2]
mov eax, ebx
call fcn.004923e8
pop ecx
cmp byte [ebp - 1], 0
je 0x49250a
mov eax, dword [ebp + 8]
push eax
mov ecx, 2
mov dl, byte [ebp - 2]
mov eax, ebx
call fcn.004923e8
pop ecx
dec si
jne 0x49249f
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x492518
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
push 0
xor eax, eax
mov al, bl
push eax
call sub.user32.dll_MapVirtualKeyA_1
and al, 0xff
mov edx, ebx
and edx, 0xff
bt dword [0x538f20], edx
jae 0x492550
mov edx, dword [ebp + 8]
push edx
xor ecx, ecx
mov edx, eax
mov eax, ebx
call fcn.004923e8
pop ecx
pop ebx
pop ebp
ret
mov edx, dword [ebp + 8]
push edx
mov ecx, 2
mov edx, eax
mov eax, ebx
call fcn.004923e8
pop ecx
pop ebx
pop ebp
ret
Function at 0x49595c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x49598a
mov eax, ebx
call fcn.00496410
cmp dword [ebx + 0x40], 0
je 0x495983
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4959fb
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4959ed
cmp dword [ebx + 8], 0
je 0x4959ac
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 0x4959be
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4959ed
cmp dword [ebx + 8], 0
je 0x49599f
cmp eax, 3
je 0x4959d1
dec eax
jne 0x49599f
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 0x49599f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x49599f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x495a19
cmp dword [ebx + 0x14], 0xcc
je 0x495a19
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.00495a24
pop ebx
ret
Function at 0x4afe7c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4afe84
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4b0076
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4b008c
mov eax, esi
call fcn.004adc0c
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004042c0
lea ecx, [ebp - 0x10]
mov edx, 0x4b00a0
mov eax, esi
call fcn.004adc0c
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004042c0
lea ecx, [ebp - 0x14]
mov edx, 0x4b00b8
mov eax, esi
call fcn.004adc0c
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004042c0
lea ecx, [ebp - 0x18]
mov edx, 0x4b00d4
mov eax, esi
call fcn.004adc0c
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004042c0
lea ecx, [ebp - 0x1c]
mov edx, 0x4b00f0
mov eax, esi
call fcn.004adc0c
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004042c0
lea ecx, [ebp - 0x24]
mov edx, 0x4b0108
mov eax, esi
call fcn.004adc0c
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00409194
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.004098a0
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4b0120
mov eax, esi
call fcn.004adc0c
mov eax, dword [ebp - 0x28]
call fcn.004acd24
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4b0130
mov eax, esi
call fcn.004adc0c
mov eax, dword [ebp - 0x2c]
call fcn.004acd24
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4b0148
mov eax, esi
call fcn.004adc0c
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.004098a0
inc eax
je 0x4b0019
lea ecx, [ebp - 0x34]
mov edx, 0x4b0148
mov eax, esi
call fcn.004adc0c
mov eax, dword [ebp - 0x34]
call fcn.00409864
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040b614
fstp qword [ebp - 0x3c]
wait
call fcn.0040ba5c
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4b0034
lea ecx, [ebp - 0x40]
mov edx, 0x4b0148
mov eax, esi
call fcn.004adc0c
mov eax, dword [ebp - 0x40]
call fcn.004acd24
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4b0158
mov eax, esi
call fcn.004adc0c
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004042c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b007d
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404290
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404290
ret
Function at 0x4c9868
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x417ccc]
call fcn.00404fb0
xor eax, eax
push ebp
push 0x4c99ac
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x53a6d4], 0
jne 0x4c98bb
mov ecx, dword [0x53b1ac]
mov dl, 1
mov eax, dword [0x408000]
call fcn.0040d9e4
call fcn.00403be8
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402db0
mov eax, ebx
call fcn.00404bd8
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4c99bc
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406170
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404be8
test eax, eax
jle 0x4c9953
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4c994c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404510
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004044dc
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408f84
test eax, eax
jne 0x4c994c
mov ebx, 0x15
jmp 0x4c9958
mov ebx, 0x10
jmp 0x4c9958
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x53a6d4]
call fcn.004c97c0
mov eax, dword [ebp - 8]
call fcn.004c97c0
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406188
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c99b3
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404290
lea eax, [ebp - 0x10]
mov edx, dword [0x417ccc]
call fcn.00405080
ret

Function at 0x4cbb74
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 0x4cbbc5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4cbbac
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4cbb9c
jmp 0x4cbbc5
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 0x4cbbad
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4da080
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
mov edx, 0x40
call fcn.00407934
ret
Function at 0x4da1a8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebp, ecx
mov ebx, edx
mov dword [esp], eax
mov eax, ebp
mov edx, dword [esp]
call fcn.004042c0
mov eax, dword [esp]
call fcn.00404548
mov edi, eax
test edi, edi
jle 0x4da206
mov esi, 1
mov eax, ebp
call fcn.004047a0
mov edx, dword [esp]
mov dl, byte [edx + esi - 1]
movzx ecx, bx
shr ecx, 8
xor dl, cl
mov byte [eax + esi - 1], dl
mov eax, dword [ebp]
movzx eax, byte [eax + esi - 1]
add ax, bx
imul bx
mov edx, ebx
add edx, edx
add ax, dx
mov ebx, eax
inc esi
dec edi
jne 0x4da1d1
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4da448
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404738
xor eax, eax
push ebp
push 0x4da596
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x6c]
call fcn.004da080
push 0
push 0x8000080
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00404748
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4da575
xor eax, eax
push ebp
push 0x4da56e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4da557
xor eax, eax
push ebp
push 0x4da550
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4da539
xor eax, eax
push ebp
push 0x4da532
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetFileSize
mov ecx, eax
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0x14]
call fcn.004da0b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4da539
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4da557
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4da575
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
ret
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x6c]
call fcn.004da134
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4da59d
lea eax, [ebp - 4]
call fcn.0040426c
ret

Function at 0x4da848
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
and ebx, 0xff
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
and edx, 0xff
and eax, 0xff
shl eax, 3
lea eax, [eax*8 + 0x53a968]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret
Function at 0x4da884
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x4da89c
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4da895
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.00402db0
xor edx, edx
mov eax, 0x53ab68
mov bl, byte [eax]
mov ecx, ebx
and cl, 7
and ecx, 0xff
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x4da906
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x4da8ba
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x4dab44
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x4dab5d
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x4dab56
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x4dab6f
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4dab68
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.004da738
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4dab89
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.004da848
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x4dac0e
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x4dac2b
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.004da7c8
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4dac54
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4dac6c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x4dac85
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x4dac7e
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x4dac99
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004da630
test bl, bl
jne 0x4dad6c
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x53e920
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4dacd0
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4dace4
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004dab44
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x4dad16
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x4dacc5
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4dad39
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x4dad4a
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4dad5e
jmp 0x4dae27
cmp bl, 1
jne 0x4dae27
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x53e97a
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4dad8c
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4dada0
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004dab44
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x4dadd2
sub ebx, 6
inc dword [ebp - 8]
jne 0x4dad81
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x4dadf9
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x4dae0a
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x4dae1e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004da6b4
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x4db430
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 6
push 0
push 0
dec ecx
jne 0x4db439
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404738
xor eax, eax
push ebp
push 0x4db61f
push dword fs:[eax]
mov dword fs:[eax], esp
dec esi
cmp dword [ebp - 4], 0
jne 0x4db482
lea eax, [ebp - 0xc]
call fcn.0049233c
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
mov ecx, 0x4db638
call fcn.00404594
mov edx, 0x20
mov eax, dword [ebp - 4]
call fcn.00409ae0
mov edi, eax
mov ecx, ebx
mov edx, esi
mov eax, edi
call fcn.004922b0
mov eax, edi
call fcn.00409c00
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00402a5c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 8]
call fcn.004da5a4
lea ecx, [ebp - 0x14]
lea edx, [esi + 0x1e]
mov eax, dword [ebx]
call fcn.00492290
mov edx, dword [ebp - 0x14]
mov eax, ebx
call fcn.004042c0
push 3
call sub.kernel32.dll_Sleep
push 0
push 0
push 0
push 0
call sub.user32.dll_SendMessageA
push 0
push 0
push 0
call sub.user32.dll_SetWindowLongA
lea edx, [ebp - 0x18]
mov eax, dword [ebx]
call fcn.0043ac50
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.004042c0
push 0
push 0
push 0
push 0
call sub.user32.dll_SendMessageA
push 5
call sub.kernel32.dll_Sleep
push 0
push 0
push 0
call sub.user32.dll_SetWindowLongA
lea edx, [ebp - 0x24]
mov eax, esi
call fcn.00492328
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 8]
call fcn.00404594
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
mov eax, dword [ebx]
call fcn.004db028
mov edx, dword [ebp - 0x1c]
mov eax, ebx
call fcn.004042c0
push 0
push 0
push 0
push 0
call sub.user32.dll_SendMessageA
push 0
push 0
push 0
call sub.user32.dll_SetWindowLongA
push 2
call sub.kernel32.dll_Sleep
lea edx, [ebp - 0x28]
mov eax, dword [ebx]
call fcn.0043ac50
mov edx, dword [ebp - 0x28]
mov eax, ebx
call fcn.004042c0
push 0
push 0
push 0
call sub.user32.dll_SetWindowLongA
push 4
call sub.kernel32.dll_Sleep
push 0
push 0
push 0
push 0
call sub.user32.dll_SendMessageA
push 1
call sub.kernel32.dll_Sleep
push 0
push 0
push 0
call sub.user32.dll_SetWindowLongA
push 0
push 0
push 0
push 0
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x30]
mov eax, esi
call fcn.00492328
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
call fcn.00404550
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
mov eax, dword [ebx]
call fcn.004db36c
mov edx, dword [ebp - 0x2c]
mov eax, ebx
call fcn.004042c0
lea ecx, [ebp - 0x34]
lea edx, [esi + 0x14]
mov eax, dword [ebx]
call fcn.00492290
mov edx, dword [ebp - 0x34]
mov eax, ebx
call fcn.004042c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4db626
lea eax, [ebp - 0x34]
mov edx, 0xd
call fcn.00404290
ret