joyce8/EMBER2024-capa huggingface dataset:
Function at 0x499e2c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x499e64]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x499e42
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x499e51
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x499e60
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x49a76c
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
mov edx, dword [0x43bdb4]
call fcn.00403874
test al, al
je 0x49a7ae
mov eax, dword [0x4ff394]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x49a7ae
mov edx, dword [0x4ff394]
xor edx, edx
call fcn.004592f8
push 0
mov eax, dword [0x4ff394]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret

Function at 0x4a9edc
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 ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4aa02c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x330]
test eax, eax
je 0x4aa004
cmp dword [eax + 0x3e0], 0
je 0x4aa004
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x2cc]
cmp eax, 0xc8
jbe 0x4aa004
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x2cc], eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0043ff70
mov eax, dword [ebp - 0xc]
call fcn.00404790
dec eax
jne 0x4a9f84
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.0043ff70
mov eax, dword [ebp - 0x10]
call fcn.00404988
push eax
mov eax, ebx
call fcn.004aa6ac
push eax
push 0x18f
mov eax, dword [ebx + 0x330]
mov eax, dword [eax + 0x3e0]
call fcn.00446624
push eax
call sub.user32.dll_SendMessageA
mov esi, eax
jmp 0x4a9fb7
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.0043ff70
mov eax, dword [ebp - 0x14]
call fcn.00404988
push eax
push 0xffffffffffffffff
push 0x18f
mov eax, dword [ebx + 0x330]
mov eax, dword [eax + 0x3e0]
call fcn.00446624
push eax
call sub.user32.dll_SendMessageA
mov esi, eax
test esi, esi
jl 0x4aa004
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0043ff70
mov edx, esi
mov eax, ebx
call fcn.004aa6b8
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0043ff70
mov eax, dword [ebp - 4]
call fcn.00404790
mov edx, eax
mov eax, ebx
call fcn.004aa1bc
mov eax, dword [ebp - 8]
call fcn.00404790
push eax
mov eax, dword [ebp - 4]
call fcn.00404790
pop edx
sub edx, eax
mov eax, ebx
call fcn.004aa1d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa033
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004044fc
lea eax, [ebp - 8]
mov edx, 2
call fcn.004044fc
ret
Function at 0x4aa03c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404978
xor eax, eax
push ebp
push 0x4aa159
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x330]
test eax, eax
je 0x4aa143
cmp dword [eax + 0x3e0], 0
je 0x4aa143
cmp byte [ebx + 0x2d4], 0
je 0x4aa0c4
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x2cc]
cmp eax, 0x1f4
jb 0x4aa09d
lea eax, [ebx + 0x2d0]
call fcn.004044d8
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x2cc], eax
lea eax, [ebx + 0x2d0]
mov edx, dword [ebp - 4]
call fcn.00404798
lea eax, [ebp - 4]
mov edx, dword [ebx + 0x2d0]
call fcn.00404570
mov eax, dword [ebp - 4]
call fcn.00404790
test eax, eax
jle 0x4aa133
mov eax, dword [ebp - 4]
call fcn.00404790
dec eax
jne 0x4aa10a
mov eax, dword [ebp - 4]
call fcn.00404988
push eax
mov eax, ebx
call fcn.004aa6ac
push eax
push 0x18f
mov eax, dword [ebx + 0x330]
mov eax, dword [eax + 0x3e0]
call fcn.00446624
push eax
call sub.user32.dll_SendMessageA
jmp 0x4aa136
mov eax, dword [ebp - 4]
call fcn.00404988
push eax
push 0xffffffffffffffff
push 0x18f
mov eax, dword [ebx + 0x330]
mov eax, dword [eax + 0x3e0]
call fcn.00446624
push eax
call sub.user32.dll_SendMessageA
jmp 0x4aa136
or eax, 0xffffffff
test eax, eax
jl 0x4aa143
mov edx, eax
mov eax, ebx
call fcn.004aa6b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa160
lea eax, [ebp - 4]
call fcn.004044d8
ret
Function at 0x4af214
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
call fcn.00404978
xor eax, eax
push ebp
push 0x4af34d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x24]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0041543c
push 0x400
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp + 0x14]
call fcn.00404790
push eax
mov eax, dword [ebp + 0x14]
call fcn.00404988
push eax
mov eax, ebx
call fcn.00423874
push eax
call sub.user32.dll_DrawTextA
lea eax, [ebp - 0x24]
call fcn.0047b154
add eax, 2
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x24]
call fcn.0047b170
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
mov dword [ebp - 0xc], edx
sar edi, 1
jns 0x4af29f
adc edi, 0
mov edx, dword [ebp - 0x10]
add edx, eax
add edx, 2
sar edx, 1
jns 0x4af2ae
adc edx, 0
sub edi, edx
mov edx, dword [ebp - 4]
sar edx, 1
jns 0x4af2ba
adc edx, 0
mov ecx, dword [ebp - 0xc]
sar ecx, 1
jns 0x4af2c4
adc ecx, 0
sub edx, ecx
mov dword [ebp - 8], edx
lea eax, [eax + edi + 2]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
sar eax, 1
jns 0x4af2da
adc eax, 0
mov edx, dword [ebp - 0x14]
sar edx, 1
jns 0x4af2e4
adc edx, 0
sub eax, edx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
push 1
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp + 0x14]
call fcn.00404790
push eax
mov eax, dword [ebp + 0x14]
call fcn.00404988
push eax
mov eax, ebx
call fcn.00423874
push eax
call sub.user32.dll_DrawTextA
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov al, byte [ebp + 8]
push eax
mov ecx, edi
mov edx, ebx
mov eax, esi
call fcn.0044d3ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af354
lea eax, [ebp + 0x14]
call fcn.004044d8
ret
Function at 0x4e8fe8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404988
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4e9001
test al, 0x10
jne 0x4e9005
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x4ec348
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 0x4ec3b1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x4fee40]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x4ec39b
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.004ec338
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4ea978]
call fcn.004ed200
mov dword [0x4feea8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ec3b8
lea eax, [ebp - 8]
call fcn.00406338
ret

Function at 0x4ec450
Capabilities:
Get file system object information

Disassembly:
push esi
add esp, 0xfffffea0
mov esi, 0x4008
test cl, cl
je 0x4ec463
or esi, 2
test dl, dl
je 0x4ec46c
or esi, 0
jmp 0x4ec46f
or esi, 1
push esi
push 0x160
lea edx, [esp + 8]
push edx
push 0
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [esp + 4]
add esp, 0x160
pop esi
ret
Function at 0x4ed08c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00404978
xor eax, eax
push ebp
push 0x4ed1e4
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 1
mov edx, dword [ebx]
mov eax, dword [0x4ea754]
call fcn.00412e94
test eax, eax
jl 0x4ed0f3
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx]
call fcn.004ec434
and eax, 0x7f
mov eax, dword [eax*4 + 0x4fee40]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
mov esi, eax
jmp 0x4ed156
mov eax, dword [ebx]
call fcn.00404790
test eax, eax
jle 0x4ed156
mov eax, dword [ebx]
call fcn.00404790
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x3a
jne 0x4ed11a
mov eax, ebx
mov edx, 0x4ed1fc
call fcn.00404798
mov eax, dword [ebx]
call fcn.00404790
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
call fcn.00405424
mov esi, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push 0
push 0
lea eax, [ebp - 0x18]
call fcn.004ec338
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov esi, eax
test esi, esi
je 0x4ed1a1
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x1c]
mov eax, 0x4ec05c
call fcn.00406804
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebx]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x24]
xor ecx, ecx
pop eax
call fcn.00409d10
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040452c
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x407c84]
call fcn.0040c690
call fcn.00403eb4
mov eax, dword [ebp - 8]
call fcn.004ed004
mov ebx, eax
test edi, edi
je 0x4ed1b6
mov eax, edi
call fcn.004036e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ed1eb
lea eax, [ebp - 0x1c]
call fcn.004044d8
lea eax, [ebp - 0x18]
call fcn.00406338
lea eax, [ebp - 0x14]
call fcn.004044d8
lea eax, [ebp - 4]
call fcn.004044d8
ret
Function at 0x4ee8f4
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 0x4eea5e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4ff550]
mov eax, dword [eax]
mov ax, word [eax + 0x44]
mov word [ebp - 0x16], ax
mov eax, dword [0x4ff550]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.0045dc14
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
call fcn.0046e824
xor edx, edx
push ebp
push 0x4eea41
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x4ee9b1
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x10]
call fcn.00406338
push eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x36c]
call fcn.004eca4c
push eax
mov eax, dword [0x4ff394]
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 + 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
test eax, eax
je 0x4ee9a7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00403f60
jmp 0x4eea48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ee9ed
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.0046e404
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0xc]
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004ee78c
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 0x4ee9c9
push 0
mov edx, 0x4ee724
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.0046dfbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eea48
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
call fcn.0046e870
mov eax, dword [0x4ff550]
mov eax, dword [eax]
mov dx, word [ebp - 0x16]
call fcn.0045dc14
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eea65
lea eax, [ebp - 0x10]
call fcn.00406338
ret

Function at 0x4f2830
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 0x4f2899
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x4feeb4]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x4f2883
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.004f2820
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4f262c]
call fcn.004f28c0
mov dword [0x4fef18], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f28a0
lea eax, [ebp - 8]
call fcn.00406338
ret
Function at 0x4f2b04
Capabilities:
Encode data using base64
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov esi, eax
mov ebp, edx
xor ebx, ebx
xor edi, edi
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
test eax, eax
jle 0x4f2ba2
xor edx, edx
mov dl, byte [esi + ebx]
shr edx, 2
mov dl, byte [edx + 0x4fef1c]
mov byte [ebp + edi], dl
mov dl, byte [esi + ebx]
and dl, 3
and edx, 0xff
shl edx, 4
xor ecx, ecx
mov cl, byte [esi + ebx + 1]
shr ecx, 4
add edx, ecx
mov dl, byte [edx + 0x4fef1c]
push edx
pop edx
mov byte [ebp + edi + 1], dl
mov dl, byte [esi + ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
xor ecx, ecx
mov cl, byte [esi + ebx + 2]
shr ecx, 6
add edx, ecx
mov dl, byte [edx + 0x4fef1c]
push edx
pop edx
mov byte [ebp + edi + 2], dl
mov dl, byte [esi + ebx + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edx + 0x4fef1c]
mov byte [ebp + edi + 3], dl
add edi, 4
add ebx, 3
dec eax
jne 0x4f2b23
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
dec edx
je 0x4f2bb8
dec edx
je 0x4f2bed
jmp 0x4f2c3e
xor eax, eax
mov al, byte [esi + ebx]
shr eax, 2
mov al, byte [eax + 0x4fef1c]
mov byte [ebp + edi], al
mov al, byte [esi + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov al, byte [eax + 0x4fef1c]
mov byte [ebp + edi + 1], al
mov byte [ebp + edi + 2], 0x3d
mov byte [ebp + edi + 3], 0x3d
jmp 0x4f2c3e
xor eax, eax
mov al, byte [esi + ebx]
shr eax, 2
mov al, byte [eax + 0x4fef1c]
mov byte [ebp + edi], al
mov al, byte [esi + ebx]
and al, 3
and eax, 0xff
shl eax, 4
xor edx, edx
mov dl, byte [esi + ebx + 1]
shr edx, 4
add eax, edx
mov al, byte [eax + 0x4fef1c]
mov byte [ebp + edi + 1], al
mov al, byte [esi + ebx + 1]
and al, 0xf
and eax, 0xff
shl eax, 2
mov al, byte [eax + 0x4fef1c]
mov byte [ebp + edi + 2], al
mov byte [ebp + edi + 3], 0x3d
mov eax, dword [esp]
add eax, 2
mov ecx, 3
cdq
idiv ecx
shl eax, 2
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4f2ca0
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], ecx
mov edi, eax
mov dword [esp + 8], edx
xor esi, esi
xor ebp, ebp
xor eax, eax
mov edx, dword [esp]
test edx, edx
jns 0x4f2cbf
add edx, 3
sar edx, 2
test edx, edx
jle 0x4f2dcc
mov dword [esp + 0xc], edx
mov edx, 4
lea eax, [esp + 4]
xor ecx, ecx
mov cl, byte [edi + esi]
cmp ecx, 0x3d
jg 0x4f2cf5
je 0x4f2d35
sub ecx, 0x2b
je 0x4f2d2b
sub ecx, 4
je 0x4f2d30
dec ecx
sub ecx, 0xa
jb 0x4f2d1e
jmp 0x4f2d38
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x4f2d07
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x4f2d11
jmp 0x4f2d38
mov cl, byte [edi + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0x4f2d38
mov cl, byte [edi + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0x4f2d38
mov cl, byte [edi + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0x4f2d38
mov byte [eax], 0x3e
jmp 0x4f2d38
mov byte [eax], 0x3f
jmp 0x4f2d38
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0x4f2cd7
mov al, byte [esp + 4]
shl eax, 2
xor edx, edx
mov dl, byte [esp + 5]
shr edx, 4
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp], al
lea eax, [ebp + 1]
mov dl, byte [esp + 6]
cmp dl, 0xff
je 0x4f2d89
cmp byte [esp + 7], 0xff
jne 0x4f2d89
mov al, byte [esp + 5]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp + 1], al
lea eax, [ebp + 2]
inc ebp
jmp 0x4f2dc1
cmp dl, 0xff
je 0x4f2dc1
mov al, byte [esp + 5]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp + 1], al
mov eax, dword [esp + 8]
mov dl, byte [esp + 6]
shl edx, 6
or dl, byte [esp + 7]
mov byte [eax + ebp + 2], dl
lea eax, [ebp + 3]
add ebp, 2
inc ebp
dec dword [esp + 0xc]
jne 0x4f2cce
add esp, 0x10
pop ebp
pop edi
pop esi
ret

Function at 0x4f2ee4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4f2f6f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x104
call fcn.004097a8
mov ebx, eax
lea eax, [ebp - 4]
push eax
push esi
mov eax, dword [0x4ff394]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
push ebx
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x4f2f3c
mov eax, edi
mov edx, ebx
call fcn.004046c8
lea eax, [ebp - 8]
push eax
call sub.shell32.dll_SHGetMalloc
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
mov eax, ebx
call fcn.004097f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f2f76
lea eax, [ebp - 8]
call fcn.00406338
ret
Function at 0x4f31f4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebp, ecx
mov esi, edx
mov dword [esp], eax
mov eax, ebp
mov edx, dword [esp]
call fcn.0040452c
mov eax, dword [esp]
call fcn.00404790
mov edi, eax
test edi, edi
jle 0x4f3251
mov ebx, 1
mov eax, ebp
call fcn.004049e0
mov edx, dword [esp]
mov dl, byte [edx + ebx - 1]
movzx ecx, si
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
mov eax, dword [ebp]
movzx eax, byte [eax + ebx - 1]
add si, ax
imul ax, si, 0xce6d
add ax, 0x58bf
mov esi, eax
inc ebx
dec edi
jne 0x4f321d
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4f3258
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov esi, edx
mov edi, eax
mov eax, dword [esp]
mov edx, edi
call fcn.0040452c
mov eax, edi
call fcn.00404790
mov ebp, eax
test ebp, ebp
jle 0x4f32b0
mov ebx, 1
mov eax, dword [esp]
call fcn.004049e0
mov dl, byte [edi + ebx - 1]
movzx ecx, si
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
xor eax, eax
mov al, byte [edi + ebx - 1]
add si, ax
imul ax, si, 0xce6d
add ax, 0x58bf
mov esi, eax
inc ebx
dec ebp
jne 0x4f3280
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x416950
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49471b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004888e1
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4169d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004864cb
mov eax, dword [eax]
push 0x597224
push eax
call fcn.00466064
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00488b6c
test bl, bl
je 0x4169d2
push 0x597224
lea ecx, [esp + 0xc]
call fcn.00488efc
push 0x59ad9c
lea ecx, [esp + 0xc]
call fcn.00488efc
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x416a0e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00488b6c
jmp 0x416ad9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x416a92
lea edx, [esp + 0x7c]
push 0x59ad98
push edx
call fcn.00466064
add esp, 8
test eax, eax
je 0x416a92
lea eax, [esp + 0x7c]
push 0x59ad94
push eax
call fcn.00466064
add esp, 8
test eax, eax
je 0x416a92
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x416a22
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00488b6c
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4172d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x417332
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x417340
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49479b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5a197c]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x417478
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4173a6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00488b6c
xor eax, eax
jmp 0x4174ef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00488ca9
push esi
lea ecx, [esp + 0xc]
call fcn.00488f38
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4174cd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.004172d0
test eax, eax
jne 0x4174cd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocString
mov ecx, edi
call fcn.004172d0
test eax, eax
jne 0x4174cd
lea eax, [esp + 0x14]
push 0x59adb0
push eax
call fcn.00467180
mov esi, eax
add esp, 8
test esi, esi
jne 0x4174ac
lea ecx, [esp + 0x14]
push 0x59adac
push ecx
call fcn.00467100
mov esi, eax
add esp, 8
test esi, esi
jne 0x4174ac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4174af
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00488c59
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4173be
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00488b6c
xor eax, eax
jmp 0x4174ef
mov byte [esi], 0
push 0x59ada8
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00488b6c
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4