joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408a40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push str._pid
push dword [ebp + 0x10]
xor esi, esi
call fcn.0040b430
add esp, 8
test eax, eax
je 0x408a69
add eax, 5
push eax
call fcn.00410ef8
add esp, 4
mov esi, eax
push 0x4c
call fcn.004069d0
add esp, 4
test eax, eax
je 0x408a83
push esi
mov ecx, eax
call fcn.00407530
mov ebx, eax
jmp 0x408a85
xor ebx, ebx
test esi, esi
jne 0x408a90
mov eax, str.SteamErrorReporter_Running
jmp 0x408aaf
push esi
push str.SteamErrorReporter_Running
push str._s__d
push 0x40
push 0x439de0
call fcn.00408b80
add esp, 0x14
mov eax, 0x439de0
push eax
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push str.SteamErrorReporter_process_started_n
mov esi, eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, ebx
call fcn.00408290
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.SteamErrorReporter_process_shutting_down_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, ebx
call fcn.00407e80
mov esi, dword [ebx + 0xc]
test esi, esi
je 0x408b05
mov ecx, esi
call fcn.0040137a
push 0xd8
push esi
call fcn.00406a00
add esp, 8
mov esi, dword [ebx + 0x10]
mov dword [ebx + 0xc], 0
test esi, esi
je 0x408b66
mov ecx, dword [esi + 0x14]
cmp ecx, 7
jbe 0x408b48
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x408b3e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408b75
mov eax, edx
push ecx
push eax
call fcn.00406a00
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
push 0x24
push esi
mov dword [esi + 0x14], 7
mov word [esi], ax
call fcn.00406a00
add esp, 8
pop esi
mov dword [ebx + 0x10], 0
xor eax, eax
pop ebx
pop ebp
ret 0x10
call fcn.0040d19e
int3

Function at 0x408d30
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [sym.imp.tier0_s.dll_g_VProfProfilesRunningCount]
sub esp, 0x10
cmp dword [eax], 0
push ebx
jne 0x408d45
xor eax, eax
jmp 0x408d59
lea eax, [ebp - 4]
push eax
push 3
push str.BCreateDirectory
call dword [sym.imp.tier0_s.dll_VProfInternalEnterScopeCurrentThread]
add esp, 0xc
push 0
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0x42e60c
mov dword [ebp - 8], 0
call fcn.00409240
push 0
lea ecx, [ebp - 0x10]
call fcn.00409070
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x408d9d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x408d9d
xor bl, bl
jmp 0x408d9f
mov bl, 1
mov eax, dword [ebp - 8]
test eax, eax
je 0x408daf
push eax
call fcn.00406a00
add esp, 4
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x408dbf
push eax
call fcn.00406a00
add esp, 4
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x408dd0
push ecx
call dword [sym.imp.tier0_s.dll_CVProfile_ExitScope]
add esp, 4
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408e30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push 0
push dword [ebp + 8]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0x42e60c
mov dword [ebp - 4], 0
call fcn.00409240
lea ecx, [ebp - 0xc]
call fcn.00409070
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov eax, dword [ebp - 4]
setne bl
test eax, eax
je 0x408e77
push eax
call fcn.00406a00
add esp, 4
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x408e87
push ecx
call fcn.00406a00
add esp, 4
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push 0
push dword [ebp + 8]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0x42e60c
mov dword [ebp - 4], 0
call fcn.00409240
lea ecx, [ebp - 0xc]
call fcn.00409070
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x408ece
test al, 0x10
je 0x408ece
mov bl, 1
jmp 0x408ed0
xor bl, bl
mov eax, dword [ebp - 4]
test eax, eax
je 0x408ee0
push eax
call fcn.00406a00
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x408ef0
push eax
call fcn.00406a00
add esp, 4
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x409450
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push 0
push dword [ebp + 8]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0x42e60c
mov dword [ebp - 4], 0
call fcn.00409240
lea ecx, [ebp - 0xc]
call fcn.00409070
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4094a1
test al, 3
je 0x40949d
and eax, 0xfffffffc
lea ecx, [ebp - 0xc]
push eax
call fcn.00409070
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov bl, 1
jmp 0x4094a3
xor bl, bl
mov eax, dword [ebp - 4]
test eax, eax
je 0x4094b3
push eax
call fcn.00406a00
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x4094c3
push eax
call fcn.00406a00
add esp, 4
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4094d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push 0
push dword [ebp + 8]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0x42e60c
mov dword [ebp - 4], 0
call fcn.00409240
lea ecx, [ebp - 0xc]
call fcn.00409070
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
mov eax, dword [ebp - 4]
setne bl
test eax, eax
je 0x409516
push eax
call fcn.00406a00
add esp, 4
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x409526
push ecx
call fcn.00406a00
add esp, 4
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40a2d7
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40a316
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40a316
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40a316
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40a316
cmp dword [ecx + 0x74], 0xe
jbe 0x40a316
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x41f178
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041efee

Function at 0x42b360
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42b38d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42b38d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x402cf8
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x402d35
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.KERNEL32.DLL_GetCurrentDirectoryA
push esp
call sub.KERNEL32.DLL_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.KERNEL32.DLL_GetCurrentDirectoryA
test bl, bl
je 0x402d55
lea eax, [esp + 0x109]
push eax
call sub.KERNEL32.DLL_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404700
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x4034ec
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4a9020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403584
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403564
xor eax, eax
push ebp
push 0x40355d
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 0x4035a0
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 0x403564
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4a9020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4a9020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4042e4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4ad04c], 0
je 0x404345
cmp word [0x4ad220], 0xd7b2
jne 0x40430d
cmp dword [0x4ad228], 0
jbe 0x40430d
mov eax, 0x4ad21c
call dword [0x4ad238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4a906c
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle_1
push eax
call sub.KERNEL32.DLL_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40436c
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle_1
push eax
call sub.KERNEL32.DLL_WriteFile_1
pop edx
ret
cmp byte [0x4a9030], 0
jne 0x404361
push 0
push 0x4a9064
push 0x4a906c
push 0
call sub.user32.dll_MessageBoxA_1
pop edx
ret
Function at 0x406824
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x40688a
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA_1
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404700
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403058
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406874
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406891
lea eax, [ebp - 0x10]
call fcn.00404490
ret

Function at 0x40c9ec
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
test eax, eax
jle 0x40ca25
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404580
jmp 0x40ca2e
mov eax, ebx
mov edx, esi
call fcn.004044e4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40ca38
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
test eax, eax
jle 0x40ca59
mov al, byte [esp]
jmp 0x40ca5b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40da58
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40db2e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404528
lea eax, [ebp - 8]
call fcn.004049a0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404950
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40db18
mov eax, ebx
call fcn.00402af8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40db11
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404950
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40dafb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40db40
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40dafb
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40db18
mov eax, dword [ebp - 0x10]
call fcn.00402b28
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40db35
lea eax, [ebp - 8]
call fcn.00404490
ret
Function at 0x40e10c
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 0x40e170
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404700
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.00409634
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e177
lea eax, [ebp - 0xc]
call fcn.00404490
ret

Function at 0x425f80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4ad888
cmp dword [edi], 0
jne 0x425ffc
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x4ad884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4a95b0
mov ecx, 2
call fcn.00402d90
mov edx, 0x425f58
lea eax, [esi + 5]
call fcn.00425f78
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00425f78
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 0x425fd1
mov dword [0x4ad884], 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 0x4275b0
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 0x4275b6
ret

Function at 0x429b6c
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 0x429bbd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x429ba4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x429b94
jmp 0x429bbd
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 0x429ba5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x438838
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4389a1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404528
mov eax, dword [ebp - 0x10]
call fcn.004385a0
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x43888a
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.004049f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00438c10
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x43895f
xor eax, eax
push ebp
push 0x438958
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00438710
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.004389b0
test al, al
je 0x438936
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00404580
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x438936
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404950
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x438930
mov eax, dword [ebp - 0x14]
call fcn.00404950
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00404688
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00438838
dec ebx
cmp ebx, 0xffffffff
jne 0x4388e9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43895f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00438710
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404950
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.004386fc
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4389a8
lea eax, [ebp - 0x3c]
call fcn.00404490
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004044b4
ret

Function at 0x4389b0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00403038
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x4ac114]
cmp byte [edx + 0xc], 0
je 0x438a14
mov edx, dword [0x4ac104]
cmp dword [edx], 2
jne 0x438a14
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x438b34
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.004385b4
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404950
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x438b92
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4abdac]
mov dl, 1
mov eax, dword [0x4384ac]
call fcn.0040d2b0
call fcn.00403e60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x438b9c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404950
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x438bf4
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4ac120]
mov dl, 1
mov eax, dword [0x4384ac]
call fcn.0040d2b0
call fcn.00403e60
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004385e4
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x44ffd8
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x44ff24
call sub.user32.dll_EnumWindows
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x450175
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0044fb58
call sub.KERNEL32.DLL_GetTickCount
mov ebx, eax
push 0
call sub.KERNEL32.DLL_Sleep_1
call sub.KERNEL32.DLL_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x45011d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0044f758
cmp dword [ebp - 4], 0
je 0x45015f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404950
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45017c
lea eax, [ebp - 4]
call fcn.00404490
ret
Function at 0x4537b8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x4adb68], 0
je 0x453907
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4abe84]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x453907
mov eax, dword [0x4adb6c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4adb68]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4538d6
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4adb68]
call fcn.0041ca5c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4538ce
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4538ce
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4538ce
mov eax, dword [ebp - 0x14]
call fcn.0045c450
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4538ce
push ebp
call fcn.00453774
pop ecx
test al, al
jne 0x4538ce
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x45388a
mov eax, dword [ebp - 0x14]
call fcn.0045af80
dec eax
jle 0x4538ce
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403888
cmp byte [ebp - 1], 0
je 0x4538ce
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4538ce
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4adb6c]
call fcn.00452f40
inc edi
dec ebx
jne 0x45381d
mov eax, dword [0x4adb6c]
cmp dword [eax + 8], 0
jle 0x4538ee
mov eax, dword [0x4adb6c]
call fcn.00452fd0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x453907
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004535dc
pop ecx
test al, al
jne 0x453907
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x456ee8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x456f34
mov eax, esi
call fcn.0046d374
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x456f34
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x456f34
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x457073
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x456f74
cmp eax, 0x108
ja 0x456f74
mov eax, esi
call fcn.0046d374
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x45706a
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x457073
jmp 0x45706a
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x457053
cmp eax, 0x20a
ja 0x457053
test byte [esi + 0x50], 0x80
jne 0x456fa6
sub eax, 0x203
je 0x456fa3
sub eax, 3
je 0x456fa3
sub eax, 3
jne 0x456fa6
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x456fba
dec eax
je 0x456fcf
dec eax
je 0x456fec
dec eax
je 0x456fcf
jmp 0x456ff3
mov ecx, ebx
mov eax, dword [0x4abe84]
mov eax, dword [eax]
mov edx, esi
call fcn.00476d80
jmp 0x45706a
cmp byte [esi + 0x5d], 1
jne 0x456fe5
mov eax, esi
mov si, 0xffed
call fcn.00403888
jmp 0x457073
or word [esi + 0x54], 1
jmp 0x45706a
and word [esi + 0x54], 0xfffe
jmp 0x45706a
mov eax, dword [0x4adb24]
cmp byte [eax + 0x20], 0
je 0x45706a
mov eax, dword [0x4adb24]
cmp dword [eax + 0x1c], 0
je 0x45706a
mov eax, dword [ebx]
mov edx, dword [0x4adb24]
cmp eax, dword [edx + 0x1c]
jne 0x45706a
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0046d2b8
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403888
jmp 0x457073
cmp eax, 0xb00b
jne 0x45706a
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00455808
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret