joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52783c
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404344
lea esi, [ebp - 0x44]
xor eax, eax
push ebp
push 0x5279c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x5279e0
call fcn.0040447c
test eax, eax
jne 0x527887
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x5279ec
call fcn.004041dc
mov eax, esi
mov edx, 0x3c
call fcn.00526124
mov dword [esi + 8], 0x21
mov dword [esi + 0x14], 0x101
mov dword [esi + 0x20], 0x81
mov dword [esi + 0x28], 0x81
mov dword [esi + 0x30], 0x801
mov dword [esi + 0x38], 0x801
mov eax, 0x21
call fcn.00402758
mov dword [esi + 4], eax
mov eax, 0x101
call fcn.00402758
mov dword [esi + 0x10], eax
mov eax, 0x81
call fcn.00402758
mov dword [esi + 0x1c], eax
mov eax, 0x81
call fcn.00402758
mov dword [esi + 0x24], eax
mov eax, 0x801
call fcn.00402758
mov dword [esi + 0x2c], eax
mov eax, 0x801
call fcn.00402758
mov dword [esi + 0x34], eax
push esi
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00404190
push eax
mov eax, dword [ebp - 4]
call fcn.00404354
push eax
call sub.wininet.dll_InternetCrackUrlA
neg eax
sbb ebx, ebx
neg ebx
test bl, bl
je 0x52797d
mov eax, edi
mov edx, dword [esi + 4]
call fcn.004040c8
mov eax, dword [ebp - 8]
mov edx, dword [esi + 0x10]
call fcn.004040c8
mov eax, dword [ebp + 0x18]
mov edx, dword [esi + 0x2c]
call fcn.004040c8
mov eax, dword [ebp + 0x14]
mov edx, dword [esi + 0x1c]
call fcn.004040c8
mov eax, dword [ebp + 0x10]
mov edx, dword [esi + 0x24]
call fcn.004040c8
mov eax, dword [ebp + 0xc]
mov edx, dword [esi + 0x34]
call fcn.004040c8
mov eax, dword [ebp + 8]
mov dx, word [esi + 0x18]
mov word [eax], dx
mov eax, dword [esi + 0x34]
call fcn.00402770
mov eax, dword [esi + 0x2c]
call fcn.00402770
mov eax, dword [esi + 0x24]
call fcn.00402770
mov eax, dword [esi + 0x1c]
call fcn.00402770
mov eax, dword [esi + 0x10]
call fcn.00402770
mov eax, dword [esi + 4]
call fcn.00402770
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5279ca
lea eax, [ebp - 4]
call fcn.00403f10
ret

Function at 0x527ae8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
mov ebx, eax
push esi
push edi
mov esi, ecx
mov eax, esi
test eax, eax
je 0x527b01
mov eax, dword [esi - 4]
push eax
push esi
mov esi, edx
mov ecx, esi
test ecx, ecx
je 0x527b0e
mov ecx, dword [esi - 4]
add al, cl
inc eax
lea edi, [ebp - 0x100]
mov edx, eax
stosb byte es:[edi], al
mov al, cl
stosb byte es:[edi], al
rep movsb byte es:[edi], byte [esi]
pop esi
pop ecx
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
std
dec edi
mov esi, edi
xor dl, 0xeb
lodsb al, byte [esi]
xor al, dl
stosb byte es:[edi], al
loop 0x527b2c
cld
pop edi
pop esi
xor ecx, ecx
mov cl, byte [ebp - 0x100]
inc ecx
lea edx, [ebp - 0x100]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 8]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x527b50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe7c
push ebx
push esi
push edi
mov dword [ebp - 0x184], ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0x80]
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 4]
xor ecx, ecx
mov cl, byte [ebp - 0x80]
lea edx, [ebp - 0x7f]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 4]
push esi
push edi
xor eax, eax
lea esi, [ebp - 0x80]
lodsb al, byte [esi]
push esi
push eax
mov ecx, eax
mov edx, eax
mov edi, esi
xor dl, 0xeb
lodsb al, byte [esi]
xor al, dl
stosb byte es:[edi], al
loop 0x527b97
pop eax
pop esi
lea edi, [ebp - 0x100]
mov cl, byte [esi]
inc ecx
sub eax, ecx
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x180]
stosb byte es:[edi], al
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, esi
lea edx, [ebp - 0x100]
call fcn.00404134
mov eax, dword [ebp - 0x184]
lea edx, [ebp - 0x180]
call fcn.00404134
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x52820c
Capabilities:
Read data from internet
Read file on windows
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp byte [eax - 0x1009], 0
je 0x52825d
push 0
mov eax, dword [ebp + 8]
add eax, 0xffffeff8
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1010]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1004]
mov eax, dword [eax + 0x128]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1004]
mov eax, dword [eax + 0x160]
push eax
call sub.kernel32.dll_ReadFile_1
neg eax
sbb eax, eax
neg eax
pop ebp
ret
mov eax, dword [ebp + 8]
add eax, 0xffffeff8
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1010]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1004]
mov eax, dword [eax + 0x128]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1004]
mov eax, dword [eax + 0x15c]
push eax
call sub.wininet.dll_InternetReadFile
neg eax
sbb eax, eax
neg eax
pop ebp
ret
Function at 0x52cf74
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x52d0c9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push pe_nt_image_headers32
push 2
push 0
push 3
push 0x40000000
mov eax, dword [0x648530]
call fcn.00404354
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x52d03c
mov dl, 1
mov eax, dword [0x411490]
call fcn.00403140
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x52d02c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
mov ecx, 0x52d0d8
mov edx, 0x52d0d8
mov eax, dword [0x6464dc]
call fcn.0052606c
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00414d68
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_WriteFile
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52d033
mov eax, dword [ebp - 0x10]
call fcn.00403170
ret
push 1
push dword [0x648530]
push 0x52d0e8
lea edx, [ebp - 0x1c]
mov eax, dword [0x6454e4]
mov eax, dword [eax]
call fcn.00454428
push dword [ebp - 0x1c]
push 0x52d0f4
push dword [ebp - 8]
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00404250
mov eax, dword [ebp - 0x18]
call fcn.00404354
push eax
call sub.kernel32.dll_WinExec
mov eax, dword [ebp - 4]
mov byte [eax + 0x234], 1
mov eax, dword [ebp - 4]
cmp word [eax + 0x1ca], 0
je 0x52d0a9
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x1cc]
call dword [ebx + 0x1c8]
jmp 0x52d0ae
call fcn.005260fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52d0d0
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00403f34
ret

Function at 0x52d190
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
xor edx, edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x14c], edx
xor eax, eax
push ebp
push 0x52d27b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x140]
push eax
lea edx, [ebp - 0x14c]
mov eax, dword [0x6454e4]
mov eax, dword [eax]
call fcn.00454428
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x148]
call fcn.00409adc
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x144]
call fcn.0040d784
lea eax, [ebp - 0x144]
mov edx, 0x52d290
call fcn.00404198
mov eax, dword [ebp - 0x144]
call fcn.00404354
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x52d25d
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x114]
mov ecx, 0x104
call fcn.00404140
mov eax, dword [ebp - 0x150]
call fcn.0040998c
lea eax, [ebp - 0x140]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x52d225
push ebx
call sub.kernel32.dll_FindClose
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52d282
lea eax, [ebp - 0x150]
mov edx, 4
call fcn.00403f34
ret
Function at 0x535dc8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404344
xor eax, eax
push ebp
push 0x535e2d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x535e10
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0053ba48
mov eax, dword [ebp - 8]
call fcn.0053b9fc
push eax
call sub.kernel32.dll_GetDriveTypeA
mov ebx, eax
jmp 0x535e12
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x535e34
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403f34
ret

Function at 0x535e3c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404344
xor eax, eax
push ebp
push 0x535f08
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x535ee3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebx + 0x60]
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x535ec8
push pe_nt_image_headers32
lea eax, [ebx + 0x10d]
push eax
lea eax, [ebx + 8]
push eax
lea eax, [ebx + 4]
push eax
push ebx
push pe_nt_image_headers32
lea eax, [ebx + 0xc]
push eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0053ba48
mov eax, dword [ebp - 0x10]
call fcn.0053b9fc
push eax
call sub.kernel32.dll_GetVolumeInformationA
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 5], al
jmp 0x535ecc
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x535eea
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x536268
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
mov edx, 0x64966c
and eax, 0xff
mov ecx, dword [edx]
xor eax, ecx
and eax, 0xff
mov ebx, dword [0x6453c8]
mov ebx, dword [ebx + eax*4]
shr ecx, 8
and ecx, 0xffffff
xor ebx, ecx
mov dword [edx], ebx
and ebx, 0xff
add dword [edx + 4], ebx
imul eax, dword [edx + 4], 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
mov ecx, dword [edx + 8]
xor eax, ecx
and eax, 0xff
mov ebx, dword [0x6453c8]
mov eax, dword [ebx + eax*4]
shr ecx, 8
and ecx, 0xffffff
xor eax, ecx
mov dword [edx + 8], eax
pop ebx
ret

Function at 0x536388
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
lea esi, [ebp - 4]
mov ebx, edx
test ebx, ebx
jle 0x5363b1
call fcn.00536368
mov edx, dword [esi]
xor byte [edx], al
mov eax, dword [esi]
mov al, byte [eax]
call fcn.00536268
inc dword [esi]
dec ebx
jne 0x53639a
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5363b8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
lea edi, [ebp - 4]
mov ebx, edx
test ebx, ebx
jle 0x5363ec
call fcn.00536368
mov esi, eax
and esi, 0xff
mov eax, dword [edi]
mov al, byte [eax]
call fcn.00536268
mov eax, esi
mov edx, dword [edi]
xor byte [edx], al
inc dword [edi]
dec ebx
jne 0x5363cb
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x536414
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov eax, dword [ebp + 8]
call fcn.00404344
xor eax, eax
push ebp
push 0x5364c3
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
cmp dword [ebp + 8], 0
je 0x5364ad
mov eax, dword [ebp + 8]
call fcn.005362cc
test eax, eax
jne 0x5364ad
xor ebx, ebx
call fcn.00536368
xor edx, edx
mov dl, bl
xor al, byte [esi + edx + 0xc]
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
call fcn.00536268
xor eax, eax
mov al, bl
mov dl, byte [ebp - 5]
mov byte [esi + eax], dl
inc ebx
cmp bl, 0xc
jne 0x536450
mov bl, byte [esi + 0xb]
and di, 8
cmp di, 8
je 0x53649b
mov eax, dword [ebp - 4]
call fcn.00407db4
call fcn.00407db8
cmp bl, al
sete al
mov ebx, eax
jmp 0x5364ad
xor eax, eax
mov al, bl
movzx edx, word [ebp + 0xc]
shr edx, 8
cmp eax, edx
sete al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5364ca
lea eax, [ebp + 8]
call fcn.00403f10
ret
Function at 0x539c60
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00404344
xor eax, eax
push ebp
push 0x539d4c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005378cc
test al, al
je 0x539d20
xor edx, edx
push ebp
push 0x539cca
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00537ee4
mov edx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
call fcn.00409804
test eax, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x539cd4
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00537de4
test al, al
jne 0x539cfa
push 0x539d64
push 0x6232
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x6c]
mov eax, dword [ebp - 4]
cmp byte [eax + 0xb90], 0
je 0x539d36
cmp dword [ebp + 8], 0x20
je 0x539d36
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404354
push eax
call sub.kernel32.dll_SetFileAttributesA
jmp 0x539d36
mov eax, dword [ebp - 4]
add eax, 0xa38
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xb98]
call fcn.00403f64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x539d53
lea eax, [ebp - 0xc]
call fcn.00403f10
ret

Function at 0x53a490
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
test edx, edx
jle 0x53a4bc
mov ebx, dword [ecx]
movzx esi, byte [eax]
xor ebx, esi
and ebx, 0xff
mov esi, dword [0x645444]
movzx ebx, word [esi + ebx*2]
mov esi, dword [ecx]
shr esi, 8
xor ebx, esi
mov dword [ecx], ebx
inc eax
dec edx
test edx, edx
jg 0x53a496
pop esi
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404344
xor eax, eax
push ebp
push 0x53bbad
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404354
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x53bb91
test al, 0x10
jne 0x53bb95
xor ebx, ebx
jmp 0x53bb97
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53bbb4
lea eax, [ebp - 4]
call fcn.00403f10
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404354
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x53c071
test al, 0x10
jne 0x53c075
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x53c490
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ecx, dword [0x643e2c]
mov dword [ebp - 4], ecx
mov esi, eax
xor ecx, ecx
push ebp
push 0x53c4ee
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, edx
dec eax
test al, al
jb 0x53c4e4
inc eax
xor edx, edx
mov dl, byte [esi]
xor edx, dword [ebp - 4]
and edx, 0xff
mov ecx, dword [0x6453c8]
mov edx, dword [ecx + edx*4]
mov ecx, dword [ebp - 4]
shr ecx, 8
and ecx, 0xffffff
xor edx, ecx
mov dword [ebp - 4], edx
inc esi
dec al
jne 0x53c4b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53c4f8
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x54e5e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x108], edx
mov esi, eax
xor eax, eax
push ebp
push 0x54e7b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
cmp dword [esi + 0x2c], 0
jne 0x54e79c
mov eax, dword [esi + 0x24]
call fcn.00404190
test eax, eax
jne 0x54e635
mov eax, dword [esi + 0x28]
call fcn.00404190
test eax, eax
jne 0x54e635
mov eax, esi
call fcn.0054e854
jmp 0x54e79c
cmp dword [esi + 0x94], 0
jne 0x54e66c
lea eax, [ebp - 0x101]
mov edx, dword [esi + 0x24]
call fcn.00409ff8
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x659b44]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [esi + 0x94], eax
cmp dword [esi + 0x98], 0
jne 0x54e6a3
lea eax, [ebp - 0x101]
mov edx, dword [esi + 0x28]
call fcn.00409ff8
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x659b44]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [esi + 0x98], eax
mov ecx, dword [esi + 0x98]
mov edx, dword [esi + 0x94]
mov eax, esi
call fcn.0054e894
mov ebx, eax
test bl, bl
jne 0x54e751
mov eax, dword [esi + 0x24]
call fcn.00404190
test eax, eax
jne 0x54e6db
mov eax, dword [esi + 0xb0]
call fcn.00404190
test eax, eax
je 0x54e751
mov eax, dword [esi + 0xb0]
call fcn.00404190
test eax, eax
je 0x54e6fd
lea eax, [ebp - 0x101]
mov edx, dword [esi + 0xb0]
call fcn.00409ff8
jmp 0x54e729
push dword [esi + 0x24]
push 0x54e7d0
push dword [esi + 0x28]
lea eax, [ebp - 0x108]
mov edx, 3
call fcn.00404250
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x101]
call fcn.00409ff8
push 7
lea eax, [ebp - 0x101]
push eax
call sub.kernel32.dll_WinExec
cmp eax, 0x20
jb 0x54e751
mov ecx, dword [esi + 0x98]
mov edx, dword [esi + 0x94]
mov eax, esi
call fcn.0054e894
mov ebx, eax
test bl, bl
jne 0x54e75e
mov eax, esi
call fcn.0054e854
jmp 0x54e79c
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x54e76d
mov dword [esi + 0x9c], eax
jmp 0x54e777
mov dword [esi + 0x9c], 1
mov eax, esi
call fcn.0054e90c
test al, al
je 0x54e79c
mov eax, esi
mov bx, 0xffef
call fcn.0040334c
xor ecx, ecx
xor edx, edx
mov eax, esi
call fcn.0054e9b8
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54e7bc
lea eax, [ebp - 0x108]
call fcn.00403f10
ret
Function at 0x55244c
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
push ebx
push esi
mov ebx, eax
xor eax, eax
mov dword [0x659d54], eax
xor eax, eax
mov dword [0x659d58], eax
push pe_nt_image_headers32
push 0x659b54
mov eax, dword [0x6454e4]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
push pe_nt_image_headers32
push 0x659c54
mov eax, dword [0x6454e4]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_GetClassNameA
push 0
push 0x5523c4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 8]
cmp word [eax + 0x1ea], 0
je 0x5524c1
mov esi, eax
mov ecx, dword [0x659d54]
mov edx, ebx
mov eax, dword [esi + 0x1ec]
call dword [esi + 0x1e8]
xor eax, eax
mov al, byte [ebx + 4]
cmp eax, dword [0x659d54]
jge 0x552560
mov eax, dword [ebx + 8]
cmp word [eax + 0xd2], 0
je 0x5524f5
mov esi, eax
mov ecx, dword [0x659d54]
mov edx, ebx
mov eax, dword [esi + 0xd4]
call dword [esi + 0xd0]
mov al, byte [ebx + 5]
cmp al, 1
je 0x552500
test al, al
jne 0x552544
mov eax, dword [0x659d58]
push eax
call sub.user32.dll_GetLastActivePopup
mov dword [0x659d5c], eax
mov eax, dword [0x659d58]
push eax
call sub.user32.dll_BringWindowToTop
mov eax, dword [0x659d5c]
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x552539
push 9
mov eax, dword [0x659d5c]
push eax
call main
jmp 0x552544
mov eax, dword [0x659d5c]
push eax
call sub.user32.dll_SetForegroundWindow
cmp byte [ebx + 5], 2
je 0x552559
cmp byte [ebx + 5], 0
jne 0x552560
cmp dword [0x659d5c], 0
je 0x552560
xor eax, eax
call fcn.00403e58
pop esi
pop ebx
ret

Function at 0x552d2c
Capabilities:
Hide graphical window

Disassembly:
cmp byte [eax + 0x118], 0
jne 0x552d3b
test byte [eax + 0x20], 0x10
je 0x552d78
push 5
mov eax, dword [0x6454e4]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call main
push 0xffffffffffffffec
mov eax, dword [0x6454e4]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x40000
push eax
push 0xffffffffffffffec
mov eax, dword [0x6454e4]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_SetWindowLongA
ret
push 0
mov eax, dword [0x6454e4]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call main
push 0xffffffffffffffec
mov eax, dword [0x6454e4]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x6454e4]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_SetWindowLongA
ret

Function at 0x5561c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x5561f8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5561d6
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5561e5
or bl, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5561f4
or bl, 2
mov eax, ebx
pop ebx
ret
Function at 0x5595b0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x5595de
mov eax, ebx
call fcn.0055a054
cmp dword [ebx + 0x3c], 0
je 0x5595d7
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x55964f
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x559641
cmp dword [ebx + 8], 0
je 0x559600
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 0x559612
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x559641
cmp dword [ebx + 8], 0
je 0x5595f3
cmp eax, 3
je 0x559625
dec eax
jne 0x5595f3
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 0x5595f3
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x5595f3
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x55966d
cmp dword [ebx + 0x10], 0xcc
je 0x55966d
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.00559678
pop ebx
ret
Function at 0x5717cc
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, edx
push esp
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDList
mov edx, ebx
lea eax, [esp + 4]
call fcn.0040a168
mov eax, dword [ebx]
call fcn.00404190
test eax, eax
jle 0x57181f
mov eax, dword [ebx]
call fcn.00404190
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x57181f
mov eax, ebx
mov edx, 0x571830
call fcn.00404198
add esp, 0x104
pop ebx
ret