joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b986
Capabilities:
Access pe header
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
push ebx
push ebx
push ebx
push 2
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push ebx
push ebx
push ebx
push 4
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x44ba25
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
lea edi, [esi + eax]
call dword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov ecx, eax
test ecx, ecx
je 0x44ba19
lea eax, [ecx + 0x18]
cmp eax, edi
jae 0x44ba19
movzx eax, word [ecx + 4]
mov edx, eax
mov dword [ebp - 4], 0x14c
cmp dx, word [ebp - 4]
je 0x44ba06
mov dword [ebp - 4], 0x200
cmp dx, word [ebp - 4]
je 0x44b9fd
mov edx, 0x8664
cmp ax, dx
jne 0x44ba19
push ecx
push dword [ecx + 0x88]
jmp 0x44ba0a
push ecx
push dword [ecx + 0x78]
push ecx
mov edx, edi
mov ecx, esi
call fcn.0044b88e
mov ebx, eax
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test ebx, ebx
setne bl
lea ecx, [ebp - 8]
call fcn.0043ab9a
pop edi
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x44ba34
Capabilities:
Access pe header
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
push ebx
push 0x2000000
push 3
push ebx
push 5
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x44ba63
mov esi, 0xffff
jmp 0x44bae1
push edi
push ebx
push ebx
push ebx
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push ebx
push ebx
push ebx
push 4
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
mov esi, 0xffff
test edi, edi
je 0x44bad8
push edi
mov ebx, esi
call dword [sym.imp.ntdll.dll_RtlImageNtHeader]
test eax, eax
je 0x44ba9c
movzx ebx, word [eax + 4]
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
movzx eax, bx
sub eax, 0x14c
je 0x44bad6
sub eax, 0x78
je 0x44bad2
sub eax, 0x3c
je 0x44bace
sub eax, 0x8464
je 0x44bac9
sub eax, 0x2400
jne 0x44bad8
push 0xc
jmp 0x44bacb
push 9
pop esi
jmp 0x44bad8
push 6
jmp 0x44bacb
push 5
jmp 0x44bacb
xor esi, esi
lea ecx, [ebp - 4]
call fcn.0043ab9a
pop edi
lea ecx, [ebp - 8]
call fcn.0043ab9a
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x44bd1c
Capabilities:
Get process heap force flags

Disassembly:
mov eax, dword fs:[0x18]
mov ecx, dword [eax + 0x30]
mov eax, dword [ecx + 0xa4]
shl eax, 0x10
or eax, dword [ecx + 0xa8]
ret
Function at 0x44be0e
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 0x10]
push ebx
push esi
push 0x204020
push 7
push eax
push ecx
push 0x100000
lea eax, [ebp - 8]
mov ebx, edx
push eax
call dword [sym.imp.ntdll.dll_NtOpenFile]
mov esi, eax
test esi, esi
jne 0x44be7c
test ebx, ebx
je 0x44be55
push 5
push 0x18
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov esi, eax
test esi, esi
jne 0x44be71
cmp dword [ebp + 8], 0
je 0x44be71
push 6
push 8
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
call dword [sym.imp.ntdll.dll_NtQueryInformationFile]
mov esi, eax
push dword [ebp - 8]
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, esi
pop esi
pop ebx
leave
ret 4

Function at 0x44be82
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
lea eax, [ebp - 0x14]
push ebx
push esi
push edi
push 0x4021
push 7
push eax
lea eax, [ebp + 8]
push eax
push 0x100001
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ntdll.dll_NtOpenFile]
mov ebx, eax
test ebx, ebx
jne 0x44bfc8
xor edi, edi
mov dword [ebp - 0xc], eax
push edi
push edi
push 0xff
push 2
push 0x248
lea ecx, [ebp - 0xc]
mov dword [ebp + 0x10], ecx
lea eax, [ebp - 0x21c]
lea ecx, [ebp - 0x260]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp + 0xc], eax
push ecx
push edi
push edi
push edi
push eax
jmp 0x44bfaf
mov eax, dword [ebp - 0x224]
mov edx, dword [ebp - 0x228]
mov word [ebp - 0xa], ax
mov word [ebp - 0xc], ax
test dl, 0x10
je 0x44bf55
test edx, 0x400
je 0x44bf21
test dword [ebp - 0x220], 0x20000000
jne 0x44bf55
jmp 0x44bf32
mov edx, eax
lea ecx, [ebp - 0x21c]
call fcn.0044bd57
test al, al
jne 0x44bf90
sub esp, 0x18
lea esi, [ebp + 8]
push 6
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0044be82
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x44bf8c
mov edx, dword [ebp - 0x228]
xor edi, edi
test dl, 1
je 0x44bf6b
xor edx, 1
lea ecx, [ebp + 8]
call fcn.0044c401
mov esi, eax
test esi, esi
jne 0x44bf8c
lea ecx, [ebp + 8]
call fcn.0044c28a
mov esi, eax
test esi, esi
je 0x44bf90
mov edx, dword [ebp - 0x228]
test dl, 1
je 0x44bf8c
lea ecx, [ebp + 8]
call fcn.0044c401
mov ebx, esi
xor edi, edi
push edi
push edi
push 0xff
push 2
push 0x248
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
push edi
push edi
push dword [ebp - 4]
call dword [sym.imp.ntdll.dll_ZwQueryDirectoryFile]
test eax, eax
je 0x44bef2
push dword [ebp - 4]
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44c05a
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 0x44c091
xor eax, eax
xor edx, edx
jmp 0x44c175
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 0x44c15a
test byte [ebp - 0x228], 0x10
je 0x44c17a
test dword [ebp - 0x228], 0x400
mov edi, dword [ebp - 0x224]
je 0x44c101
test dword [ebp - 0x220], 0x20000000
jmp 0x44c110
mov edx, edi
lea ecx, [ebp - 0x21c]
call fcn.0044bd57
test al, al
jne 0x44c139
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.0044c05a
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 0x44c0d6
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 0x44c13b

Function at 0x44c1fd
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 0x44c28a
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 0x44c3fc
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 0x44c2ed
xor eax, eax
jmp 0x44c3fc
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 0x44c401
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 0x44c457
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 0x44c45b
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 0x44c47d
or eax, 0xffffffff
jmp 0x44c504
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 0x44c4e7
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 0x44c4e7
mov esi, dword [ebp - 0x38]
jmp 0x44c4f8
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 0x44c507
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 0x44c52e
call dword [sym.imp.ntdll.dll_RtlGetLastNtStatus]
jmp 0x44c609
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 0x44c5fd
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 0x44c5fd
mov eax, dword [ebp - 0xc]
test al, 1
je 0x44c5b4
xor eax, 1
lea ecx, [ebp - 0x34]
mov edx, eax
call fcn.0044c401
mov esi, eax
test esi, esi
jne 0x44c5fd
mov eax, dword [ebp - 0xc]
bt eax, 0xa
jae 0x44c5c3
test dword [ebp - 8], 0x20000000
jne 0x44c5e2
test al, 0x10
je 0x44c5e2
sub esp, 0x18
lea esi, [ebp - 0x34]
push 6
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0044be82
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x44c5ec
lea ecx, [ebp - 0x34]
call fcn.0044c28a
mov esi, eax
mov edx, dword [ebp - 0xc]
bt edx, 0xa
jae 0x44c5fd
lea ecx, [ebp - 0x34]
call fcn.0044c401
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 0x44c908
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 0x44c92e
xor ecx, ecx
call fcn.0044bc68
jmp 0x44c966
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x44c925
and dword [ebp - 4], 0
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push 0x498824
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x44c925
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 0x44cb92
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 0x44cbc7
xor ecx, ecx
call fcn.0044bc68
mov esi, eax
jmp 0x44cc68
push 0x5c
push dword [ebp + 8]
call dword [sym.imp.msvcrt.dll_wcsrchr]
pop ecx
pop ecx
test eax, eax
je 0x44cbdf
mov edi, eax
sub edi, dword [ebp + 8]
sar edi, 1
lea eax, [edi + 1]
push eax
lea ecx, [ebp + 8]
call fcn.0043c894
test byte [ebp - 0x264], 0x10
je 0x44cc2f
lea ecx, [ebp - 0x238]
call fcn.0044bd7f
test al, al
jne 0x44cc54
push ecx
mov edi, esp
lea edx, [ebp + 8]
mov eax, ecx
lea ecx, [ebp - 8]
push 0x4933cc
push eax
call fcn.0043ab55
pop ecx
mov edx, eax
mov ecx, edi
call fcn.0043ab55
pop ecx
call fcn.0044cb92
pop ecx
mov ecx, dword [ebp - 8]
jmp 0x44cc4c
lea eax, [ebp - 0x238]
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0xc]
call fcn.0043ab55
pop ecx
mov ecx, dword [eax]
call fcn.0044ca9c
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.0043c924
lea eax, [ebp - 0x264]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44cbeb
xor esi, esi
lea ecx, [ebp - 0x10]
call fcn.0043899f
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.0043c924
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x44cd14
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 0x44cd79
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.0043c822
push eax
push 0
push 0x10000026
push esi
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x44cd79
mov eax, dword [ebp - 4]
shr eax, 1
je 0x44cd6e
dec eax
mov ecx, dword [ebp + 8]
push eax
call fcn.0043c894
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x44cda9
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 0x44cdf1
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 0x44ce32
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 0x44ce77
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 0x44d10d
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 0x44d28c
push ebx
call fcn.0043c5cd
push eax
lea ecx, [ebp - 0x28]
call fcn.0043ac50
push 0x4000
lea ecx, [ebp - 0x28]
call fcn.0043c822
mov ebx, eax
call fcn.0043c5cd
push eax
lea ecx, [ebp - 0x24]
call fcn.0043ac50
push dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
call fcn.0043aa22
mov edx, eax
mov dword [ebp - 0x10], edx
jmp 0x44d1cc
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 0x44d1c7
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 0x44d1c9
mov edi, eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
test ecx, ecx
jne 0x44d182
dec ecx
mov dword [ebp - 4], ecx
jmp 0x44d264
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 0x44d25f
and dword [ebp - 0x10], eax
and dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0x20019
push dword [0x4ab220]
push ebx
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x44d24b
xor ecx, ecx
lea eax, [ebp - 0xc]
push ecx
push eax
push ecx
push 0x2001f
push dword [0x4ab220]
push ecx
push ecx
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
jne 0x44d24b
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call fcn.0044d10d
mov esi, eax
lea ecx, [ebp - 0xc]
call fcn.0043a910
lea ecx, [ebp - 0x10]
call fcn.0043a910
test esi, esi
je 0x44d261
mov edi, esi
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
test eax, eax
jne 0x44d1dc
mov ecx, dword [ebp - 0x24]
dec eax
mov dword [ebp - 8], eax
lea ecx, [ecx - 0x10]
call fcn.0043c924
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.0043c924
mov eax, edi
pop ebx
pop edi
pop esi
leave
ret
Function at 0x44d2be
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 0x44d2da
push 0x64
pop esi
push ecx
jmp 0x44d2eb
mov ecx, esi
sub ecx, eax
cmp ecx, 2
ja 0x44d30a
push dword [ebp - 4]
add esi, esi
push esi
push esi
mov ecx, edi
call fcn.0043c822
push eax
push 0
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x44d2dd
pop edi
pop esi
pop ebx
leave
ret
push eax
mov ecx, edi
call fcn.0043c8bf
xor eax, eax
inc eax
jmp 0x44d305

Function at 0x44d34f
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.0043c822
mov eax, dword [edi]
mov esi, dword [eax - 8]
jmp 0x44d37c
mov ecx, esi
sub ecx, eax
cmp ecx, 2
jne 0x44d399
add esi, esi
push dword [ebp - 4]
mov ecx, edi
push esi
push esi
call fcn.0043c822
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
test eax, eax
jne 0x44d371
pop edi
pop esi
pop ebx
leave
ret
push eax
mov ecx, edi
call fcn.0043c8bf
xor eax, eax
inc eax
jmp 0x44d394
Function at 0x452f6f
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 0x452f9b
cmp eax, edi
jge 0x452f8f
call fcn.004529cf
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 0x452fbe
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 0x452fa4
mov dword [esi + 8], edx
jmp 0x452fd3
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x452fc9
xor dl, dl
jmp 0x452fce
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx - 4], dl
inc ecx
cmp ecx, 4
jl 0x452fbe
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 0x453038
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
ja 0x453038
mov edx, dword [esi + 0x10]
lea eax, [edx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x45301f
push edi
mov ecx, esi
call fcn.00452aa7
pop ecx
test eax, eax
je 0x453038
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 0x45303a
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x4552bd
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 0x4552d3
push 8
pop esi
push 2
call edi
test ax, ax
jns 0x4552df
or esi, 2
push 1
call edi
test ax, ax
jns 0x4552eb
or esi, 1
push 0x10
call edi
test ax, ax
jns 0x4552f7
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x455303
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret