joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b9adc
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x14], ecx
mov edi, eax
mov ebx, dword [ebp + 0xc]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x28], eax
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x20]
mov esi, eax
cmp esi, dword [ebp - 4]
jge 0x4b9b11
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x14]
call fcn.004b9934
mov dword [ebp - 0x18], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x15], al
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x1c]
mov eax, edi
call fcn.00560d2c
test al, al
je 0x4b9c01
mov edx, dword [ebp - 0xc]
xor eax, eax
call fcn.0043a32c
push eax
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0043a268
dec eax
pop edx
sub eax, edx
jl 0x4b9c01
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x24]
imul dword [ebp - 0x30]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x10]
xor eax, eax
call fcn.0043a32c
push eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x28]
call fcn.0043a268
mov edi, eax
dec edi
pop eax
sub edi, eax
jl 0x4b9bf5
inc edi
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
lea ecx, [eax + edx*4]
xor eax, eax
mov al, byte [ecx + 2]
xor edx, edx
mov dl, byte [ebp - 0x16]
sub eax, edx
mov esi, ebx
and esi, 0xff
imul esi
push ecx
mov ecx, 0x64
cdq
idiv ecx
pop ecx
sub byte [ecx + 2], al
xor eax, eax
mov al, byte [ecx + 1]
xor edx, edx
mov dl, byte [ebp - 0x17]
sub eax, edx
imul esi
push ecx
mov ecx, 0x64
cdq
idiv ecx
pop ecx
sub byte [ecx + 1], al
xor eax, eax
mov al, byte [ecx]
xor edx, edx
mov dl, byte [ebp - 0x18]
sub eax, edx
imul esi
mov esi, 0x64
cdq
idiv esi
sub byte [ecx], al
mov al, byte [ebp + 8]
mov byte [ecx + 3], al
inc dword [ebp - 0x2c]
dec edi
jne 0x4b9b8b
inc dword [ebp - 0x30]
dec dword [ebp - 0x34]
jne 0x4b9b5d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4d8614
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, 0x643398
test esi, esi
jne 0x4d862e
xor eax, eax
jmp 0x4d8730
cmp dword [ebp], 0
jne 0x4d8639
call fcn.004d85a4
xor ebx, 0xffffffff
cmp edi, 8
jb 0x4d8709
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
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]
and eax, 0xff
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]
and eax, 0xff
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]
and eax, 0xff
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]
and eax, 0xff
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]
and eax, 0xff
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]
and eax, 0xff
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]
and eax, 0xff
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 0x4d8645
test edi, edi
jbe 0x4d872b
xor eax, eax
mov al, 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 0x4d870d
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4faca4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4fad15
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x62e488]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x4facff
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.004fac94
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4f9144]
call fcn.004fbdb0
mov dword [0x62e4f0], eax
mov eax, dword [ebp - 4]
call fcn.004faad8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fad1c
lea eax, [ebp - 8]
call fcn.00407924
ret

Function at 0x4fbc10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov ebx, ecx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4fbd73
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 1
mov edx, dword [ebx]
mov eax, dword [0x4f8ebc]
call fcn.0041f140
test eax, eax
jl 0x4fbc75
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebx]
call fcn.004fad98
and eax, 0x7f
mov eax, dword [eax*4 + 0x62e488]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
mov esi, eax
jmp 0x4fbcfb
mov eax, dword [ebx]
call fcn.00405c40
test eax, eax
jle 0x4fbcfb
lea edx, [ebp - 0x1c]
mov eax, dword [ebx]
call fcn.0057b26c
mov edx, dword [ebp - 0x1c]
mov eax, ebx
call fcn.004059b8
mov eax, dword [ebx]
call fcn.00405c40
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x3a
jne 0x4fbcb0
mov eax, ebx
mov edx, 0x4fbd8c
call fcn.00405c48
mov eax, dword [ebx]
call fcn.00405c40
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x20]
mov eax, dword [ebx]
call fcn.0040d050
mov eax, dword [ebp - 0x20]
call fcn.00406c30
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x24]
call fcn.004fac94
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov esi, eax
test esi, esi
je 0x4fbd38
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebx]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, 0x4fbd98
call fcn.0040d988
mov eax, ebx
mov edx, edi
call fcn.004059b8
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x40aebc]
call fcn.00410a14
call fcn.004052d0
mov eax, dword [ebp - 0xc]
call fcn.004fbb88
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4fbd50
lea eax, [ebp - 4]
call fcn.0041252c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fbd7a
lea eax, [ebp - 0x24]
call fcn.00407924
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00405988
ret
Function at 0x4fd644
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4fd7c2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x4fd7ac
mov eax, dword [0x63d3ec]
mov eax, dword [eax]
mov ax, word [eax + 0x44]
mov word [ebp - 0x16], ax
mov eax, dword [0x63d3ec]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.0047b570
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2b4]
call fcn.0048ae28
xor edx, edx
push ebp
push 0x4fd7a5
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x4fd70b
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x10]
call fcn.00407924
push eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x3c9]
call fcn.004fb5d0
push eax
mov eax, dword [0x63d0a4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
test eax, eax
je 0x4fd701
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.0040537c
jmp 0x4fd7ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fd751
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2b4]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.0048a9f4
mov ebx, eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004fd4d8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x4fd72b
push 0
mov edx, 0x4fd470
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.0048a3ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fd7ac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2b4]
call fcn.0048ae74
mov eax, dword [0x63d3ec]
mov eax, dword [eax]
mov dx, word [ebp - 0x16]
call fcn.0047b570
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fd7c9
lea eax, [ebp - 0x10]
call fcn.00407924
ret
Function at 0x502358
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x50248c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [eax + 0x370]
mov dl, 1
mov eax, dword [0x5518f8]
call fcn.00552b78
mov esi, eax
mov dl, 2
mov eax, esi
call fcn.00482800
mov edx, 0xa
mov eax, esi
call fcn.00482820
mov dl, 1
mov eax, esi
call fcn.004827cc
lea eax, [ebp - 4]
push eax
mov edi, ebx
and edi, 0x7f
mov eax, dword [0x63d17c]
mov eax, dword [eax + edi*4]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
push 2
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
call fcn.004fac94
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.004fb418
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.004567f0
mov eax, dword [ebp - 4]
call fcn.004fbb88
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
xor ecx, ecx
xor edx, edx
call fcn.004fadb4
mov ecx, eax
mov edx, 1
mov eax, esi
call fcn.005569e4
lea eax, [ebp - 8]
call fcn.0041252c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x374]
mov eax, esi
call fcn.00554748
mov dword [esi + 0xc], edi
mov dl, 1
mov eax, esi
call fcn.00455b4c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dword [esi + 0x114], eax
mov dword [esi + 0x110], 0x502590
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x370]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov eax, esi
call fcn.00502164
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x502493
lea eax, [ebp - 0x10]
call fcn.00407924
lea eax, [ebp - 0xc]
call fcn.00405964
ret

Function at 0x50249c
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x370]
mov edx, 0xff00000c
call fcn.00456960
cmp dword [0x62e600], 0
je 0x5024d3
mov eax, dword [0x62e600]
push eax
call sub.comctl32.dll_ImageList_GetImageCount
test eax, eax
jne 0x5024f8
push 0x4000
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0x20000
push 0x50258c
call sub.shell32.dll_SHGetFileInfoA
mov dword [0x62e600], eax
cmp dword [0x62e600], 0
je 0x502562
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x374]
call fcn.004c8ca4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x374]
mov edx, dword [0x62e600]
call fcn.00466388
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x374]
mov byte [eax + 0xac], 1
mov byte [eax + 0x93], 0
mov edx, 0x1fffffff
call fcn.004c8808
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x374]
call fcn.004c9304
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x374]
mov dl, 1
call fcn.004c8cac
push ebp
xor eax, eax
call fcn.00502358
pop ecx
push ebp
mov al, 1
call fcn.00502358
pop ecx
push ebp
mov al, 0xe
call fcn.00502358
pop ecx
push ebp
mov al, 2
call fcn.00502358
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x522da4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], 0xffffffff
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.005202f0
mov ebx, eax
lea eax, [ebp - 0x28]
xor edx, edx
call fcn.0057a698
mov esi, eax
mov eax, ebx
add eax, eax
mov edx, esi
sub edx, eax
mov dword [ebp - 0x10], edx
cmp edi, dword [ebp - 0x24]
jl 0x522ee4
cmp edi, dword [ebp - 0x1c]
jge 0x522ee4
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00520900
mov eax, ebx
add eax, eax
cmp esi, eax
jg 0x522e20
mov ebx, esi
sar ebx, 1
jns 0x522e20
adc ebx, 0
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 8]
jg 0x522e39
add eax, ebx
cmp eax, dword [ebp - 8]
jle 0x522e39
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x522ee4
mov eax, dword [ebp - 0x20]
mov edx, eax
sub edx, ebx
cmp edx, dword [ebp - 8]
jg 0x522e56
cmp eax, dword [ebp - 8]
jle 0x522e56
mov dword [ebp - 0xc], 1
jmp 0x522ee4
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
jl 0x522e67
mov dword [ebp - 0xc], 0xffffffff
jmp 0x522ee4
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jl 0x522e83
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 8]
jle 0x522e83
mov dword [ebp - 0xc], 5
jmp 0x522ee4
mov eax, dword [ebp - 0x28]
add eax, ebx
cmp eax, dword [ebp - 8]
jg 0x522eb3
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jge 0x522eb3
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x522eaa
mov dword [ebp - 0xc], 4
jmp 0x522ee4
mov dword [ebp - 0xc], 2
jmp 0x522ee4
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 8]
jg 0x522ee4
mov eax, dword [ebp - 0x20]
sub eax, ebx
cmp eax, dword [ebp - 8]
jle 0x522ee4
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x522edd
mov dword [ebp - 0xc], 4
jmp 0x522ee4
mov dword [ebp - 0xc], 3
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x522ef0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, ecx
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.005202f0
mov ebx, eax
lea eax, [ebp - 0x24]
xor edx, edx
call fcn.0057a6ac
mov esi, eax
mov eax, ebx
add eax, eax
mov edx, esi
sub edx, eax
mov dword [ebp - 0xc], edx
cmp edi, dword [ebp - 0x24]
jl 0x52302c
cmp edi, dword [ebp - 0x1c]
jge 0x52302c
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.00520900
mov eax, ebx
add eax, eax
cmp esi, eax
jg 0x522f68
mov ebx, esi
sar ebx, 1
jns 0x522f68
adc ebx, 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 8]
jg 0x522f81
add eax, ebx
cmp eax, dword [ebp + 8]
jle 0x522f81
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x52302c
mov eax, dword [ebp - 0x18]
mov edx, eax
sub edx, ebx
cmp edx, dword [ebp + 8]
jg 0x522f9e
cmp eax, dword [ebp + 8]
jle 0x522f9e
mov dword [ebp - 8], 1
jmp 0x52302c
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jl 0x522faf
mov dword [ebp - 8], 0xffffffff
jmp 0x52302c
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x14]
jl 0x522fcb
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jle 0x522fcb
mov dword [ebp - 8], 5
jmp 0x52302c
mov eax, dword [ebp - 0x20]
add eax, ebx
cmp eax, dword [ebp + 8]
jg 0x522ffb
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x14]
jge 0x522ffb
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x522ff2
mov dword [ebp - 8], 4
jmp 0x52302c
mov dword [ebp - 8], 2
jmp 0x52302c
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jg 0x52302c
mov eax, dword [ebp - 0x18]
sub eax, ebx
cmp eax, dword [ebp + 8]
jle 0x52302c
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x523025
mov dword [ebp - 8], 4
jmp 0x52302c
mov dword [ebp - 8], 3
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x55d268
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x55d30c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 1
lea eax, [ebp - 8]
lea edx, [esi + esi*2]
mov ecx, dword [ebx + 0x1e4]
mov edx, dword [ecx + edx*8 + 0x14]
call fcn.004059fc
cmp word [ebx + 0x1f2], 0
je 0x55d2bf
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 8]
mov edx, ebx
mov eax, dword [ebx + 0x1f4]
call dword [ebx + 0x1f0]
cmp dword [ebp - 8], 0
setne al
and al, byte [ebp - 1]
je 0x55d2f6
xor eax, eax
mov al, byte [ebx + 0x1e8]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00405e40
push eax
push 0x55d31c
mov eax, dword [0x63d0a4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55d313
lea eax, [ebp - 8]
call fcn.00405964
ret
Function at 0x577cb0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x577d6a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040608c
mov eax, dword [0x63d428]
cmp dword [eax], 2
jne 0x577d1f
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00406630
mov eax, dword [ebx]
call fcn.004062c8
push eax
mov eax, dword [ebx]
call fcn.004062b8
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.004062c8
mov edx, eax
dec edx
mov eax, ebx
call fcn.00406630
jmp 0x577d51
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.0040d470
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.0040623c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x577d71
lea eax, [ebp - 0x3f0]
call fcn.00405964
ret

Function at 0x57b630
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405e40
push eax
call sub.KERNEL32.DLL_RemoveDirectoryA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret

Function at 0x57b6b8
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00405e40
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
test eax, eax
jne 0x57b6e7
call sub.KERNEL32.DLL_GetLastError
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x5a4334
Capabilities:
Find taskbar

Disassembly:
push 0
push 0x5a4344
call sub.user32.dll_FindWindowA
ret
Function at 0x5c7580
Capabilities:
Allocate or change rwx memory
Find taskbar
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa0
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x10
call fcn.00404144
lea eax, [esp + 0x28]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
call sub.user32.dll_GetDesktopWindow
test eax, eax
je 0x5c7789
push 0
push 0x5c7794
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x5c7789
push 0
push 0x5c77a4
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x5c7789
push 0
push 0x5c77b4
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x5c7789
push 0
push 0x5c77c4
push 0
push eax
call sub.user32.dll_FindWindowExA
mov esi, eax
test esi, esi
je 0x5c7789
push 0
push 0
push 0x418
push esi
call sub.user32.dll_SendMessageA
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
jle 0x5c7789
xor eax, eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push esi
call sub.user32.dll_GetWindowThreadProcessId
cmp dword [esp + 8], 0
je 0x5c7789
mov eax, dword [esp + 8]
push eax
push 0
push 0x1f0fff
call sub.KERNEL32.DLL_OpenProcess
mov ebp, eax
test ebp, ebp
je 0x5c7789
push 0x40
push 0x1000
push 0x1000
push 0
push ebp
call sub.KERNEL32.DLL_VirtualAllocEx
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
je 0x5c7789
or edi, 0xffffffff
cmp edi, dword [esp + 4]
jge 0x5c7771
inc edi
mov eax, dword [esp + 0xc]
push eax
push edi
push 0x417
push esi
call sub.user32.dll_SendMessageA
test eax, eax
je 0x5c7767
lea eax, [esp + 0x14]
push eax
push 0x18
lea eax, [esp + 0x54]
push eax
mov eax, dword [esp + 0x18]
push eax
push ebp
call sub.KERNEL32.DLL_ReadProcessMemory
test eax, eax
je 0x5c7767
test byte [esp + 0x55], 0xd
jne 0x5c7767
mov al, byte [esp + 0x54]
and al, 8
cmp al, 8
je 0x5c7767
lea eax, [esp + 0x14]
push eax
push 4
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0x64]
push eax
push ebp
call sub.KERNEL32.DLL_ReadProcessMemory
test eax, eax
je 0x5c7767
cmp dword [esp + 0x14], 0
je 0x5c7767
mov eax, dword [0x63d0a4]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esp]
cmp eax, dword [esp + 0x10]
jne 0x5c7767
mov eax, dword [esp + 0xc]
push eax
push edi
push 0x41d
push esi
call sub.user32.dll_SendMessageA
test eax, eax
je 0x5c7744
lea eax, [esp + 0x14]
push eax
push 0x10
push ebx
mov eax, dword [esp + 0x18]
push eax
push ebp
call sub.KERNEL32.DLL_ReadProcessMemory
cmp dword [esp + 0x14], 0
je 0x5c7771
lea eax, [esp + 0x18]
push eax
push esi
call sub.user32.dll_GetWindowRect
mov eax, ebx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
call fcn.00408244
jmp 0x5c7771
cmp edi, dword [esp + 4]
jl 0x5c7691
push 0x8000
push 0
mov eax, dword [esp + 0x14]
push eax
push ebp
call sub.KERNEL32.DLL_VirtualFreeEx
push ebp
call sub.KERNEL32.DLL_CloseHandle
add esp, 0x60
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5e52ec
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff8c
mov ebp, ecx
mov edi, edx
mov ebx, eax
lea esi, [esp + 4]
lea eax, [esp + 0x20]
xor ecx, ecx
mov edx, 0x44
call fcn.00404144
mov dword [esp + 0x20], 0x44
mov dword [esp + 0x4c], 0x41
mov word [esp + 0x50], di
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x24]
push eax
push ebp
push 0
push 0x20
push 0
push 0
push 0
push ebx
push 0
call sub.KERNEL32.DLL_CreateProcessA
test eax, eax
je 0x5e53b9
call sub.KERNEL32.DLL_GetCurrentThreadId
mov edx, dword [0x63d438]
cmp eax, dword [edx]
setne bl
test bl, bl
jne 0x5e5385
jmp 0x5e5373
cmp dword [esi + 4], 0x12
jne 0x5e5367
mov eax, dword [esi + 8]
call fcn.0040589c
push esi
call sub.user32.dll_TranslateMessage
push esi
call sub.user32.dll_DispatchMessageA
push 1
push 0
push 0
push 0
push esi
call sub.user32.dll_PeekMessageA
test eax, eax
jne 0x5e5359
push 1
call sub.KERNEL32.DLL_Sleep
push esp
mov eax, dword [esp + 0x68]
push eax
call sub.KERNEL32.DLL_GetExitCodeProcess
cmp dword [esp], 0x103
je 0x5e5353
mov eax, dword [esp + 0x68]
push eax
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [esp + 0x64]
push eax
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [esp]
jmp 0x5e53be
call sub.KERNEL32.DLL_GetLastError
add esp, 0x74
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5e5980
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
cmp dword [ebx], 0
jne 0x5e5996
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebx], eax
mov dl, 1
jmp 0x5e59bc
call sub.KERNEL32.DLL_GetTickCount
cmp eax, dword [ebx]
jae 0x5e59ad
or edx, 0xffffffff
sub edx, dword [ebx]
add edx, eax
cmp esi, edx
setb dl
jmp 0x5e59b6
mov edx, eax
sub edx, dword [ebx]
cmp esi, edx
setb dl
test dl, dl
je 0x5e59bc
mov dword [ebx], eax
mov eax, edx
pop esi
pop ebx
ret