joyce8/EMBER2024-capa huggingface dataset:
Function at 0x480950
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x410bc4]
call fcn.00406438
xor eax, eax
push ebp
push 0x480af1
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4fa994], 0
jne 0x4809ab
mov ecx, dword [0x4ff154]
mov dl, 1
mov eax, dword [0x40902c]
call fcn.0040e9a8
call fcn.00405158
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403bd0
mov eax, ebx
call fcn.00406180
mov dword [ebp - 0x24], eax
mov esi, 0x480b00
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.004076c8
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00406190
test eax, eax
jle 0x480a94
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x480a80
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405a70
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x480a26
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00405a88
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x480a3c
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00405a88
mov eax, dword [ebp - 0x54]
call fcn.00405c90
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405a70
mov eax, dword [ebp - 0x58]
call fcn.00405c90
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x480a82
xor eax, eax
test al, al
je 0x480a8d
mov ebx, 0x15
jmp 0x480a99
mov ebx, 0x10
jmp 0x480a99
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x4fa994]
call fcn.004807d0
mov eax, dword [ebp - 4]
call fcn.004807d0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.004076e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480af8
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00405824
lea eax, [ebp - 0xc]
mov edx, dword [0x410bc4]
call fcn.00406508
ret

Function at 0x494cdc
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
movzx ebx, bl
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
movzx edx, dl
movzx eax, al
add eax, eax
add eax, eax
add eax, eax
lea eax, [eax*8 + 0x4fb2f8]
movzx eax, byte [eax + edx]
and al, 0xf
pop ebx
ret
Function at 0x494d14
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 0x494d2c
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x494d25
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.00403bd0
xor edx, edx
mov eax, 0x4fb4f8
movzx ebx, byte [eax]
mov ecx, ebx
and cl, 7
movzx ecx, cl
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
movzx ecx, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x494d93
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 0x494d4a
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x494fd4
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x494fed
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x494fe6
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x494fff
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x494ff8
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.00494bcc
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
movzx ecx, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x495019
movzx eax, byte [ebp - 0xa]
movzx edx, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
movzx edx, byte [ebp - 9]
movzx ecx, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
add edx, edx
add edx, edx
movzx eax, byte [ebp - 8]
movzx ecx, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
movzx eax, byte [ebp - 7]
movzx edx, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
movzx edx, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
movzx eax, byte [ebp - 6]
and al, 0xf
add eax, eax
add eax, eax
movzx edx, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
movzx eax, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
movzx edx, byte [esi]
call fcn.00494cdc
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x4950a1
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
movzx ecx, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x4950bf
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.00494c5c
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4950e9
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x495100
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 0x495119
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x495112
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]
movzx edx, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x49512d
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00494acc
test bl, bl
jne 0x495207
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x505fc8
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x495165
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
movzx ecx, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x49517a
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.00494fd4
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
movzx ebx, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x4951ad
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x49515a
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
movzx ebx, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4951d1
mov eax, 4
mov edx, dword [ebp + 0xc]
movzx ecx, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x4951e3
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
movzx ebx, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4951f8
jmp 0x4952c8
cmp bl, 1
jne 0x4952c8
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x506022
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x495227
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
movzx ecx, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x49523c
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.00494fd4
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
movzx ecx, 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 0x49526f
sub ebx, 6
inc dword [ebp - 8]
jne 0x49521c
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x495297
mov eax, 4
mov ebx, dword [ebp + 0xc]
movzx edx, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x4952a9
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x4952be
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00494b4c
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x496a74
Capabilities:
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x496a8a
add esp, 0xfffffff0
call fcn.00404c08
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x496be1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [edi + 4]
mov edx, esi
call fcn.00405854
lea edx, [ebp - 4]
mov eax, esi
call fcn.0040add8
mov edx, dword [ebp - 4]
lea eax, [edi + 8]
mov ecx, 0x496c10
call fcn.00405b18
mov dl, 1
mov eax, dword [0x419f38]
call fcn.00404874
mov dword [edi + 0x10], eax
mov dl, 1
mov eax, dword [0x419f38]
call fcn.00404874
mov dword [edi + 0x14], eax
mov dl, 1
mov eax, dword [0x419f38]
call fcn.00404874
mov dword [edi + 0x18], eax
mov dl, 1
mov eax, dword [0x419f38]
call fcn.00404874
mov dword [edi + 0x1c], eax
mov dl, 1
mov eax, dword [0x419f38]
call fcn.00404874
mov dword [edi + 0x24], eax
mov dl, 1
mov eax, dword [0x419f38]
call fcn.00404874
mov dword [edi + 0x20], eax
mov byte [edi + 0x4c], 0
mov byte [edi + 0x4d], 0
mov byte [edi + 0x4e], 0
mov eax, dword [0x4ff204]
mov eax, dword [eax]
call fcn.00405c90
push eax
push 0
push 0x496c1c
push 0x496c24
call sub.kernel32.dll_GetPrivateProfileIntA
mov esi, eax
mov eax, esi
cdq
push edx
push eax
call fcn.0040caac
call fcn.004034a8
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
test edx, edx
jge 0x496b6b
neg eax
adc edx, 0
neg edx
cmp edx, 0
jne 0x496b77
cmp eax, 0xf
jb 0x496bc0
jmp 0x496b79
jl 0x496bc0
mov eax, dword [edi + 8]
call fcn.00405c90
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [0x4ff204]
mov eax, dword [eax]
call fcn.00405c90
push eax
call fcn.0040caac
call fcn.004034a8
push edx
push eax
lea eax, [ebp - 8]
call fcn.0040a70c
mov eax, dword [ebp - 8]
call fcn.00405c90
push eax
push 0x496c1c
push 0x496c24
call sub.kernel32.dll_WritePrivateProfileStringA
mov eax, edi
mov edx, dword [eax]
call dword [edx]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x496be8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405824
ret
Function at 0x497f60
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 0x497fb5
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 0x497fa0
and byte [ebp - 0x72], 0xfe
jmp 0x497fa4
or byte [ebp - 0x72], 1
lea eax, [ebp - 0x102]
push eax
call sub.user32.dll_SetKeyboardState
jmp 0x49803c
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyA
and al, 0xff
mov byte [ebp - 2], al
test si, si
jbe 0x49803c
mov eax, ebx
movzx eax, al
bt dword [0x4fdec0], eax
jae 0x49800a
mov eax, dword [ebp + 8]
push eax
mov ecx, 1
movzx edx, byte [ebp - 2]
mov eax, ebx
call fcn.00497f14
pop ecx
cmp byte [ebp - 1], 0
je 0x498037
mov eax, dword [ebp + 8]
push eax
mov ecx, 3
movzx edx, byte [ebp - 2]
mov eax, ebx
call fcn.00497f14
pop ecx
jmp 0x498037
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
movzx edx, byte [ebp - 2]
mov eax, ebx
call fcn.00497f14
pop ecx
cmp byte [ebp - 1], 0
je 0x498037
mov eax, dword [ebp + 8]
push eax
mov ecx, 2
movzx edx, byte [ebp - 2]
mov eax, ebx
call fcn.00497f14
pop ecx
dec si
jne 0x497fca
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x498044
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyA
and al, 0xff
mov edx, ebx
movzx edx, dl
bt dword [0x4fdec0], edx
jae 0x498078
mov edx, dword [ebp + 8]
push edx
xor ecx, ecx
mov edx, eax
mov eax, ebx
call fcn.00497f14
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.00497f14
pop ecx
pop ebx
pop ebp
ret
Function at 0x498ebc
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.00403bd0
ret

Function at 0x49dca0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49dd37
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x104
call fcn.00405f20
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00405c90
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00405ac0
test eax, eax
jns 0x49dce7
call fcn.0040476c
push eax
call sub.kernel32.dll_GetTempPathA
test eax, eax
jns 0x49dcf6
call fcn.0040476c
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00405f20
lea ecx, [ebp - 0xc]
mov edx, dword [ebp - 4]
mov edx, dword [edx]
mov eax, dword [0x46926c]
call fcn.00468388
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00405854
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49dd3e
lea eax, [ebp - 0xc]
call fcn.00405800
ret

Function at 0x4a1b40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a1bb1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004a1b1c
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.0049f10c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
call fcn.0049eb68
mov eax, dword [ebp - 8]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1bb8
lea eax, [ebp - 0x14]
call fcn.00405800
ret
Function at 0x4c02b8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
movzx ebx, byte [0x4c02f4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4c02cf
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4c02de
or bl, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4c02ed
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x4d1144
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x4d11a8
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00405a70
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP_1
mov edx, eax
pop eax
call fcn.0040a798
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d11af
lea eax, [ebp - 0xc]
call fcn.00405800
ret
Function at 0x4ebf54
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405c90
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4ebf6d
test al, 0x10
jne 0x4ebf71
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x4ebf78
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe78
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x20]
call fcn.00405c80
xor eax, eax
push ebp
push 0x4ec165
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 0x20]
call fcn.00403f94
mov edi, eax
lea eax, [ebp - 0x178]
xor ecx, ecx
mov edx, 0x160
call fcn.00403bd0
cmp dword [ebp + 0x20], 0
je 0x4ec033
cmp dword [ebp - 0x10], 0
je 0x4ec033
mov eax, dword [ebp + 0x20]
call fcn.0040ab60
test al, al
jne 0x4ebfe9
mov eax, dword [ebp + 0x20]
call fcn.004ebf54
test al, al
je 0x4ec00c
push 0x4000
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0
mov eax, dword [ebp + 0x20]
call fcn.00405c90
push eax
call sub.shell32.dll_SHGetFileInfoA
jmp 0x4ec02d
push 0x4010
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0
mov eax, dword [ebp + 0x20]
call fcn.00405c90
push eax
call sub.shell32.dll_SHGetFileInfoA
mov edi, dword [ebp - 0x174]
cmp byte [ebp + 0x1c], 0
je 0x4ec05a
push 0x4000
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0
push 0x4ec178
call sub.shell32.dll_SHGetFileInfoA
mov esi, eax
jmp 0x4ec079
push 0x4001
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0
push 0x4ec178
call sub.shell32.dll_SHGetFileInfoA
mov esi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
call sub.comctl32.dll_ImageList_GetIconSize
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.0041abc8
test bl, bl
je 0x4ec0b9
cmp byte [ebp + 0x14], 0
jne 0x4ec0b9
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0042cc48
push eax
push edi
push esi
call sub.comctl32.dll_ImageList_Draw
test byte [ebp + 0x14], bl
je 0x4ec14f
mov dl, 1
mov eax, dword [0x42aabc]
call fcn.0043145c
mov ebx, eax
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, dword [ebp - 0x18]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x34]
push 0
push 0
push 0
mov eax, ebx
call fcn.00431a30
call fcn.0042cc48
push eax
push edi
push esi
call sub.comctl32.dll_ImageList_Draw
mov eax, dword [ebp - 8]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x184], eax
fild dword [ebp - 0x14]
fmul qword [ebp + 0xc]
call fcn.0040349c
add eax, dword [ebp - 8]
mov dword [ebp - 0x180], eax
fild dword [ebp - 0x18]
fmul qword [ebp + 0xc]
call fcn.0040349c
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x17c], eax
mov ecx, ebx
lea edx, [ebp - 0x188]
mov eax, dword [ebp - 4]
call fcn.004ebe78
mov eax, ebx
call fcn.004048a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ec16c
lea eax, [ebp + 0x20]
call fcn.00405800
ret
Function at 0x4f3500
Capabilities:
Terminate process

Disassembly:
push 0
call sub.kernel32.dll_GetCurrentProcessId
push eax
push 0xffffffffffffffff
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
ret

Function at 0x4f3630
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, eax
push edx
push 0
push 0xc
push ebx
call sub.user32.dll_SendMessageA
push 0
push 0xd
push pe_nt_image_headers32
push ebx
call sub.user32.dll_PostMessageA
cmp eax, 1
sbb eax, eax
inc eax
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
xor eax, eax
push ebp
push 0x4f3845
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x506df4], 0
je 0x4f381a
call sub.user32.dll_GetForegroundWindow
mov esi, eax
mov eax, dword [0x506dc8]
call fcn.0044e5dc
push eax
call sub.user32.dll_SetForegroundWindow
lea eax, [ebp - 4]
call fcn.004076c8
push eax
lea ecx, [ebp - 8]
mov eax, dword [0x506dc8]
mov eax, dword [eax + 0x368]
mov edx, 0xcb
call fcn.00484724
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x1b0]
call fcn.004077d8
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xec]
call fcn.004077d8
push 0x4f385c
lea edx, [ebp - 0x10]
mov eax, dword [0x506dc8]
mov eax, dword [eax + 0x38c]
mov eax, dword [eax + 0x44]
call fcn.0040a620
push dword [ebp - 0x10]
push 0x4f386c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405b94
mov eax, dword [ebp - 0xc]
call fcn.00405c90
xor edx, edx
call fcn.004982b8
mov dl, 1
mov eax, dword [0x437d18]
call fcn.00404874
mov ebx, eax
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00437f9c
mov edx, dword [ebp - 0x14]
mov eax, 0x506e0c
call fcn.00405854
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x10]
mov edx, dword [0x506df4]
mov eax, ebx
call fcn.0043801c
mov eax, 0x4f3870
xor edx, edx
call fcn.004982b8
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, ebx
call fcn.004048a4
push 0x4f385c
lea edx, [ebp - 0x1c]
mov eax, dword [0x506dc8]
mov eax, dword [eax + 0x38c]
mov eax, dword [eax + 0x48]
call fcn.0040a620
push dword [ebp - 0x1c]
push 0x4f386c
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00405b94
mov eax, dword [ebp - 0x18]
call fcn.00405c90
xor edx, edx
call fcn.004982b8
mov al, 0x20
call fcn.004f3658
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
push edx
push eax
mov eax, ebx
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
cmp edx, 0
jne 0x4f3804
cmp eax, 0x3e8
jbe 0x4f3806
jmp 0x4f3814
jg 0x4f3814
mov eax, dword [0x4ff5b4]
mov eax, dword [eax]
call fcn.00465084
jmp 0x4f37e1
push esi
call sub.user32.dll_SetForegroundWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f384c
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.00405824
lea eax, [ebp - 8]
call fcn.004076c8
lea eax, [ebp - 4]
call fcn.004076c8
ret
Function at 0x4f5464
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe2c
push ebx
xor edx, edx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x4f5616
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4ff45c]
mov eax, dword [eax]
call fcn.0040ab60
test al, al
je 0x4f54b6
mov ebx, dword [0x4ff45c]
mov ebx, dword [ebx]
mov dword [ebp - 0x1d4], ebx
mov eax, dword [ebp - 0x1d4]
call fcn.00405c90
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov edx, dword [0x4ff45c]
mov edx, dword [edx]
lea eax, [ebp - 0x1d0]
call fcn.004037bc
lea eax, [ebp - 0x1d0]
call fcn.0040354c
call fcn.004030d8
push 0x4f562c
mov eax, dword [0x4ff3f0]
push dword [eax]
push 0x4f5674
push 0x4f5684
push 0x4f5690
push 0x4f569c
push 0x4f5684
push 0x4f5690
push 0x4f56b8
push 0x4f5684
push 0x4f5690
push 0x4f56d0
push 0x4f5684
push 0x4f5690
push 0x4f56f0
push 0x4f5684
push 0x4f5690
push 0x4f570c
push 0x4f5684
push 0x4f5690
push 0x4f572c
push 0x4f5684
push 0x4f5690
push 0x4f5748
push 0x4f5684
push 0x4f5690
push 0x4f5768
push 0x4f5684
push 0x4f5690
push 0x4f5788
push 0x4f5684
push 0x4f5690
push 0x4f57a8
push 0x4f5684
push 0x4f5690
push 0x4f57cc
push 0x4f5684
push 0x4f5690
push 0x4f57e8
push 0x4f5684
push 0x4f5690
push 0x4f5808
push 0x4f5684
push 0x4f5690
push 0x4f581c
push 0x4f5684
push 0x4f5690
push 0x4f5870
lea eax, [ebp - 4]
mov edx, 0x30
call fcn.00405b94
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.00405fb0
call fcn.0040417c
call fcn.004030d8
lea eax, [ebp - 0x1d0]
call fcn.0040393c
call fcn.004030d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f561d
lea eax, [ebp - 4]
call fcn.00405800
ret