joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d099
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
lea eax, [ebp - 0x18]
push ebx
push esi
push edi
push 0x4021
push 7
push eax
lea eax, [ebp + 8]
push eax
push 0x100001
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ntdll.dll_NtOpenFile]
test eax, eax
je 0x44d0d0
xor eax, eax
xor edx, edx
jmp 0x44d1b4
xor edi, edi
lea ecx, [ebp - 0x10]
push edi
push edi
push 0xff
push 2
push 0x248
mov dword [ebp + 0x10], ecx
xor eax, eax
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x10], eax
push ecx
lea ecx, [ebp - 0x18]
mov esi, edi
push ecx
push edi
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], esi
push edi
mov dword [ebp - 0xc], eax
mov ebx, edi
mov eax, dword [ebp - 8]
push edi
mov dword [ebp + 0xc], eax
push eax
jmp 0x44d199
test byte [ebp - 0x228], 0x10
je 0x44d1b9
test dword [ebp - 0x228], 0x400
mov edi, dword [ebp - 0x224]
je 0x44d140
test dword [ebp - 0x220], 0x20000000
jmp 0x44d14f
mov edx, edi
lea ecx, [ebp - 0x21c]
call fcn.0044cd96
test al, al
jne 0x44d178
sub esp, 0x18
mov word [ebp - 0xe], di
mov word [ebp - 0x10], di
lea esi, [ebp + 8]
push 6
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0044d099
mov esi, dword [ebp - 4]
add esp, 0x18
add ebx, eax
adc esi, edx
mov dword [ebp - 4], esi
xor edi, edi
push edi
push edi
push 0xff
push 2
push 0x248
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push edi
push edi
push dword [ebp - 8]
call dword [sym.imp.ntdll.dll_ZwQueryDirectoryFile]
test eax, eax
je 0x44d115
push dword [ebp - 8]
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, ebx
mov edx, esi
pop edi
pop esi
pop ebx
leave
ret
add ebx, dword [ebp - 0x230]
adc esi, dword [ebp - 0x22c]
mov dword [ebp - 4], esi
jmp 0x44d17a

Function at 0x44d23c
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
xor eax, eax
push esi
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov eax, dword [ebp - 8]
mul dword [ebp - 0xc]
mov ecx, eax
mov eax, edx
mul dword [ebp - 4]
mov esi, eax
mov eax, ecx
mul dword [ebp - 4]
add edx, esi
pop esi
leave
ret

Function at 0x44d281
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
xor eax, eax
push esi
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0xc]
mul dword [ebp - 0x10]
mov ecx, eax
mov eax, edx
mul dword [ebp - 4]
mov esi, eax
mov eax, ecx
mul dword [ebp - 4]
add edx, esi
pop esi
leave
ret
Function at 0x44d2c9
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
push 0x204000
push 5
lea eax, [ebp - 0x20]
mov esi, ecx
push eax
push esi
push 0x110000
lea eax, [ebp - 8]
mov dword [ebp - 0xc], esi
push eax
call dword [sym.imp.ntdll.dll_NtOpenFile]
test eax, eax
jne 0x44d43b
push 0xd
push 1
lea eax, [ebp - 1]
mov byte [ebp - 1], 1
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 8]
call dword [sym.imp.ntdll.dll_NtSetInformationFile]
push dword [ebp - 8]
mov ebx, eax
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
jne 0x44d32c
xor eax, eax
jmp 0x44d43b
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.msvcrt.dll_void____cdecl_operator_new___unsigned_int_]
movzx ecx, word [eax]
add ecx, 4
movzx eax, cx
push ecx
mov word [ebp - 0x18], ax
mov word [ebp - 0x16], ax
call edi
mov edx, dword [esi + 8]
mov dword [ebp - 0x14], eax
movzx ecx, word [edx]
push ecx
push dword [edx + 4]
push eax
call dword [sym.imp.msvcrt.dll_memcpy]
mov eax, dword [esi + 8]
add esp, 0x10
movzx ecx, word [eax]
mov eax, dword [ebp - 0x14]
push 0x7e
pop edx
push 0x24
mov word [ecx + eax], dx
mov eax, dword [esi + 8]
pop edx
movzx ecx, word [eax]
mov eax, dword [ebp - 0x14]
mov word [ecx + eax + 2], dx
mov eax, dword [esi + 4]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x30], eax
xor eax, eax
push eax
push eax
push 0x5000
push 2
push eax
push 0x80
push eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x18
push eax
push 0x110000
lea eax, [ebp - 8]
mov dword [ebp - 0x2c], 0x40
push eax
call dword [sym.imp.ntdll.dll_NtCreateFile]
push dword [ebp - 0x14]
mov ebx, dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
call ebx
mov eax, dword [esi + 8]
movzx esi, word [eax]
add esi, 0x10
push esi
call edi
mov edx, dword [ebp - 0xc]
mov edi, eax
mov edx, dword [edx + 8]
movzx ecx, word [edx]
push ecx
push dword [edx + 4]
lea ecx, [edi + 0xc]
push ecx
call dword [sym.imp.msvcrt.dll_memcpy]
mov ecx, dword [ebp - 0xc]
add esp, 0x14
mov byte [edi], 1
mov eax, dword [ecx + 4]
mov dword [edi + 4], eax
mov eax, dword [ecx + 8]
push 0xa
push esi
push edi
movzx eax, word [eax]
mov dword [edi + 8], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 8]
call dword [sym.imp.ntdll.dll_NtSetInformationFile]
push edi
mov esi, eax
call ebx
pop ecx
push dword [ebp - 8]
call dword [sym.imp.ntdll.dll_NtClose]
neg esi
sbb esi, esi
and esi, dword [ebp - 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44d440
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
lea eax, [ebp - 0xc]
push esi
push edi
push 0x204020
push 7
push eax
push ecx
push 0x100100
lea eax, [ebp - 4]
mov esi, edx
push eax
call dword [sym.imp.ntdll.dll_NtOpenFile]
test eax, eax
jne 0x44d496
push 8
pop ecx
push 4
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
push 0x28
lea eax, [ebp - 0x38]
mov dword [ebp - 0x18], esi
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
call dword [sym.imp.ntdll.dll_NtSetInformationFile]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x44d49a
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
lea eax, [ebp - 0xc]
push esi
xor esi, esi
push esi
push esi
push eax
push ecx
call dword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U]
test al, al
jne 0x44d4bc
or eax, 0xffffffff
jmp 0x44d543
push 0x204020
lea eax, [ebp - 0xc]
mov dword [ebp - 0x2c], 0x18
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x14]
push 7
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], esi
push eax
push 0x100080
lea eax, [ebp - 4]
mov dword [ebp - 0x20], 0x40
push eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.ntdll.dll_NtOpenFile]
mov esi, eax
test esi, esi
jne 0x44d526
push 4
push 0x28
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ntdll.dll_NtClose]
test esi, esi
jne 0x44d526
mov esi, dword [ebp - 0x38]
jmp 0x44d537
push esi
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
or esi, 0xffffffff
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
mov eax, esi
pop esi
leave
ret
Function at 0x44d546
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
lea eax, [ebp - 0x14]
push ebx
push esi
push edi
xor esi, esi
push esi
push esi
push eax
push ecx
call dword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U]
test al, al
jne 0x44d56d
call dword [sym.imp.ntdll.dll_RtlGetLastNtStatus]
jmp 0x44d648
push 0x204020
lea eax, [ebp - 0x14]
mov dword [ebp - 0x34], 0x18
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x1c]
push 5
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x30], esi
push eax
push 0x100080
lea eax, [ebp - 4]
mov dword [ebp - 0x28], 0x40
push eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
call dword [sym.imp.ntdll.dll_NtOpenFile]
mov esi, eax
test esi, esi
jne 0x44d63c
push 0x23
push 8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 4]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ntdll.dll_NtClose]
test esi, esi
jne 0x44d63c
mov eax, dword [ebp - 0xc]
test al, 1
je 0x44d5f3
xor eax, 1
lea ecx, [ebp - 0x34]
mov edx, eax
call fcn.0044d440
mov esi, eax
test esi, esi
jne 0x44d63c
mov eax, dword [ebp - 0xc]
bt eax, 0xa
jae 0x44d602
test dword [ebp - 8], 0x20000000
jne 0x44d621
test al, 0x10
je 0x44d621
sub esp, 0x18
lea esi, [ebp - 0x34]
push 6
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0044cec1
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x44d62b
lea ecx, [ebp - 0x34]
call fcn.0044d2c9
mov esi, eax
mov edx, dword [ebp - 0xc]
bt edx, 0xa
jae 0x44d63c
lea ecx, [ebp - 0x34]
call fcn.0044d440
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44d947
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
mov edi, edx
push 1
push 0x10
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
jne 0x44d96d
xor ecx, ecx
call fcn.0044cca7
jmp 0x44d9a5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x44d964
and dword [ebp - 4], 0
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push 0x49a9c0
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x44d964
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0xc]
mov dword [edi], eax
mov eax, dword [ecx + 8]
mov dword [edi + 4], eax
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x44dbd1
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
push esi
push edi
lea eax, [ebp - 0x264]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
or edi, 0xffffffff
mov dword [ebp - 0x10], esi
cmp esi, edi
jne 0x44dc06
xor ecx, ecx
call fcn.0044cca7
mov esi, eax
jmp 0x44dca7
push 0x5c
push dword [ebp + 8]
call dword [sym.imp.msvcrt.dll_wcsrchr]
pop ecx
pop ecx
test eax, eax
je 0x44dc1e
mov edi, eax
sub edi, dword [ebp + 8]
sar edi, 1
lea eax, [edi + 1]
push eax
lea ecx, [ebp + 8]
call fcn.0043d882
test byte [ebp - 0x264], 0x10
je 0x44dc6e
lea ecx, [ebp - 0x238]
call fcn.0044cdbe
test al, al
jne 0x44dc93
push ecx
mov edi, esp
lea edx, [ebp + 8]
mov eax, ecx
lea ecx, [ebp - 8]
push 0x49550c
push eax
call fcn.0043baed
pop ecx
mov edx, eax
mov ecx, edi
call fcn.0043baed
pop ecx
call fcn.0044dbd1
pop ecx
mov ecx, dword [ebp - 8]
jmp 0x44dc8b
lea eax, [ebp - 0x238]
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0xc]
call fcn.0043baed
pop ecx
mov ecx, dword [eax]
call fcn.0044dadb
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.0043d912
lea eax, [ebp - 0x264]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44dc2a
xor esi, esi
lea ecx, [ebp - 0x10]
call fcn.00439a21
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.0043d912
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x44dd53
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
lea eax, [ebp - 4]
push eax
xor ecx, ecx
mov esi, edx
push ecx
push ecx
push 0x10000026
push esi
push ecx
push edi
mov dword [ebp - 4], ecx
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x44ddb8
mov eax, dword [ebp - 4]
lea ecx, [ebp - 4]
add eax, 2
push ecx
mov ecx, dword [ebp + 8]
shr eax, 1
push eax
call fcn.0043d810
push eax
push 0
push 0x10000026
push esi
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x44ddb8
mov eax, dword [ebp - 4]
shr eax, 1
je 0x44ddad
dec eax
mov ecx, dword [ebp + 8]
push eax
call fcn.0043d882
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x44dde8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x20019
push 4
push str.SYSTEMSetup
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44de30
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push eax
push str.WorkGUID
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x44de71
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
lea eax, [ebp - 4]
push esi
push eax
push esi
push 0x20006
push 4
push esi
push esi
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x44deb6
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
Function at 0x44e14c
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x1c], edx
xor ecx, ecx
mov dword [ebp - 0x20], esi
push ecx
push ecx
lea eax, [ebp - 0x14]
push eax
push ecx
lea eax, [ebp - 4]
push eax
push ecx
push ecx
lea eax, [ebp - 8]
push eax
push ecx
push ecx
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, eax
test edi, edi
jne 0x44e2cb
push ebx
call fcn.0043d5bb
push eax
lea ecx, [ebp - 0x28]
call fcn.0043bbe8
push 0x4000
lea ecx, [ebp - 0x28]
call fcn.0043d810
mov ebx, eax
call fcn.0043d5bb
push eax
lea ecx, [ebp - 0x24]
call fcn.0043bbe8
push dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
call fcn.0043b9dd
mov edx, eax
mov dword [ebp - 0x10], edx
jmp 0x44e20b
mov eax, dword [ebp - 0x14]
dec ecx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push edx
lea eax, [ebp - 0x30]
mov dword [ebp - 4], ecx
push eax
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x4000
push eax
push ebx
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x44e206
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push dword [ebp - 0x30]
push eax
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x44e208
mov edi, eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
test ecx, ecx
jne 0x44e1c1
dec ecx
mov dword [ebp - 4], ecx
jmp 0x44e2a3
push 0x4000
dec eax
push ebx
push eax
push esi
mov dword [ebp - 8], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov esi, eax
test esi, esi
jne 0x44e29e
and dword [ebp - 0x10], eax
and dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0x20019
push dword [0x4ad198]
push ebx
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x44e28a
xor ecx, ecx
lea eax, [ebp - 0xc]
push ecx
push eax
push ecx
push 0x2001f
push dword [0x4ad198]
push ecx
push ecx
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
jne 0x44e28a
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call fcn.0044e14c
mov esi, eax
lea ecx, [ebp - 0xc]
call fcn.0043b8cb
lea ecx, [ebp - 0x10]
call fcn.0043b8cb
test esi, esi
je 0x44e2a0
mov edi, esi
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
test eax, eax
jne 0x44e21b
mov ecx, dword [ebp - 0x24]
dec eax
mov dword [ebp - 8], eax
lea ecx, [ecx - 0x10]
call fcn.0043d912
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.0043d912
mov eax, edi
pop ebx
pop edi
pop esi
leave
ret
Function at 0x44e2fd
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, edx
mov dword [ebp - 4], ecx
mov eax, dword [edi]
mov esi, dword [eax - 8]
cmp esi, 0x64
jg 0x44e319
push 0x64
pop esi
push ecx
jmp 0x44e32a
mov ecx, esi
sub ecx, eax
cmp ecx, 2
ja 0x44e349
push dword [ebp - 4]
add esi, esi
push esi
push esi
mov ecx, edi
call fcn.0043d810
push eax
push 0
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x44e31c
pop edi
pop esi
pop ebx
leave
ret
push eax
mov ecx, edi
call fcn.0043d8ad
xor eax, eax
inc eax
jmp 0x44e344

Function at 0x44e38e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 4], ecx
mov ecx, edi
push 0x400
call fcn.0043d810
mov eax, dword [edi]
mov esi, dword [eax - 8]
jmp 0x44e3bb
mov ecx, esi
sub ecx, eax
cmp ecx, 2
jne 0x44e3d8
add esi, esi
push dword [ebp - 4]
mov ecx, edi
push esi
push esi
call fcn.0043d810
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
test eax, eax
jne 0x44e3b0
pop edi
pop esi
pop ebx
leave
ret
push eax
mov ecx, edi
call fcn.0043d8ad
xor eax, eax
inc eax
jmp 0x44e3d3

Function at 0x453fc9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 8]
mov edi, eax
mov edx, eax
and edi, 7
je 0x453ff5
cmp eax, edi
jge 0x453fe9
call fcn.00453a29
mov eax, dword [esi + 8]
mov ecx, edi
shr dword [esi + 0xc], cl
sub eax, edi
mov dword [esi + 8], eax
mov edx, eax
xor ecx, ecx
test eax, eax
jle 0x454018
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx - 4], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x453ffe
mov dword [esi + 8], edx
jmp 0x45402d
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x454023
xor dl, dl
jmp 0x454028
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx - 4], dl
inc ecx
cmp ecx, 4
jl 0x454018
mov eax, dword [ebp - 4]
movzx ecx, byte [ebp - 1]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp - 2]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
jne 0x454092
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
ja 0x454092
mov edx, dword [esi + 0x10]
lea eax, [edx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x454079
push edi
mov ecx, esi
call fcn.00453b01
pop ecx
test eax, eax
je 0x454092
push edi
push dword [esi]
push dword [esi + 0x10]
call dword [sym.imp.msvcrt.dll_memcpy]
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
jmp 0x454094
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x4562fb
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
test ax, ax
jns 0x456311
push 8
pop esi
push 2
call edi
test ax, ax
jns 0x45631d
or esi, 2
push 1
call edi
test ax, ax
jns 0x456329
or esi, 1
push 0x10
call edi
test ax, ax
jns 0x456335
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x456341
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret

Function at 0x456a00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
xor eax, eax
push ebx
push esi
mov esi, ecx
mov ebx, eax
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 0xdc], eax
jle 0x456a47
mov byte [ebp + 0xb], al
lea edx, [ebp + 0xb]
mov eax, dword [esi + 0xd8]
push edx
push dword [ebp + 0x10]
mov ecx, dword [eax + ebx*4]
push dword [ebp + 0xc]
push edi
mov eax, dword [ecx]
call dword [eax]
cmp byte [ebp + 0xb], 0
jne 0x456aa3
inc ebx
push 0
pop eax
cmp ebx, dword [esi + 0xdc]
jl 0x456a1a
sub edi, 0x100
je 0x456af9
sub edi, 4
je 0x456aa7
dec edi
sub edi, 1
jne 0x456af0
push dword [ebp + 0xc]
mov dword [ebp + 8], eax
call dword [sym.imp.msvcrt.dll_toupper]
pop ecx
mov ecx, dword [esi + 0x58]
lea edx, [ebp + 8]
push 0x80000012
mov word [ebp + 8], ax
push edx
mov eax, dword [ecx]
push 0x45a658
call dword [eax + 0xfc]
mov esi, eax
test esi, esi
je 0x456af0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xf0]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
jmp 0x456af2
cmp dword [esi + 0x5c], eax
je 0x456af0
mov ecx, dword [esi + 0x70]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [esi + 0x6c]
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
call fcn.004562fb
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x5c]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x456af0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x456b45
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x456b45
mov edx, dword [esi + 0x5c]
mov ecx, edx
call fcn.0045b9b9
test al, al
je 0x456b45
mov eax, dword [edx]
mov ecx, edx
push str.RichEditUI
call dword [eax + 0xc]
push eax
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
je 0x456b45
mov eax, dword [esi + 0x5c]
cmp byte [eax + 0x229], 0
jne 0x456af0
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.00458575
jmp 0x456aa3
Function at 0x4581f8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, dword [ebp + 8]
cmp eax, dword [edi + 4]
je 0x458225
cmp esi, dword [edi + 0x5c]
je 0x4582ff
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
cmp esi, dword [edi + 0x5c]
je 0x4582ff
xor eax, eax
cmp dword [edi + 0x5c], eax
je 0x458284
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 8], 0x14
mov dword [esp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x5c]
lea edx, [esp + 8]
mov dword [esp + 0x10], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
push ecx
push 0
push 0
push 8
push dword [edi + 0x5c]
mov ecx, edi
call fcn.00458686
and dword [edi + 0x5c], 0
test esi, esi
je 0x4582ff
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, edi
jne 0x4582ff
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc8]
test al, al
je 0x4582ff
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd4]
test al, al
je 0x4582ff
xor eax, eax
mov dword [edi + 0x5c], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 8], 0x15
mov dword [esp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x5c]
lea edx, [esp + 8]
mov dword [esp + 0x10], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
push ecx
push 0
push 0
push 7
push dword [edi + 0x5c]
mov ecx, edi
call fcn.00458686
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4