joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d29a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, ecx
xor ecx, ecx
push edi
cmp eax, ecx
mov dword [0x4b62fc], ecx
je 0x44d3e6
test al, 7
jne 0x44d3e6
cmp dword [ebp + 0x14], 1
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ecx
jne 0x44d338
mov ecx, dword [esi + 0xc]
cmp eax, 8
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0xc], ecx
jb 0x44d3f0
shr eax, 3
mov dword [ebp + 0x14], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.0044d0b0
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 4]
pop ecx
lea eax, [ebp - 8]
pop ecx
push eax
mov ecx, esi
call fcn.0044cfbd
mov eax, dword [ebp - 0x10]
add dword [ebp + 0xc], 8
xor dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
xor dword [ebp - 4], eax
push dword [ebp + 0xc]
lea eax, [ebp - 8]
mov dword [ebp - 0x10], edi
push eax
mov dword [ebp - 0xc], ebx
call fcn.0044d10d
add dword [ebp + 8], 8
dec dword [ebp + 0x14]
pop ecx
pop ecx
jne 0x44d2e7
jmp 0x44d3f0
cmp dword [ebp + 0x14], 2
jne 0x44d3a8
mov ecx, dword [esi + 0xc]
cmp eax, 8
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0xc], ecx
jb 0x44d3f0
shr eax, 3
mov ebx, eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.0044d0b0
pop ecx
lea eax, [ebp - 0x10]
pop ecx
push eax
mov ecx, esi
call fcn.0044ceca
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
add dword [ebp + 0xc], 8
mov edx, eax
xor eax, dword [ebp - 0x10]
push dword [ebp + 0xc]
mov edi, ecx
xor ecx, dword [ebp - 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edi
call fcn.0044d10d
add dword [ebp + 8], 8
pop ecx
dec ebx
pop ecx
jne 0x44d358
jmp 0x44d3f0
cmp eax, 8
jb 0x44d3f0
shr eax, 3
mov edi, eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.0044d0b0
pop ecx
lea eax, [ebp - 8]
pop ecx
push eax
mov ecx, esi
call fcn.0044cfbd
add dword [ebp + 0xc], 8
lea eax, [ebp - 8]
push dword [ebp + 0xc]
push eax
call fcn.0044d10d
add dword [ebp + 8], 8
pop ecx
dec edi
pop ecx
jne 0x44d3b2
jmp 0x44d3f0
mov dword [0x4b62fc], 1
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x44d8df
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2c04
call fcn.00453c00
push ebx
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x10c]
push str..PhysicalDrive_d
push eax
call fcn.00453410
add esp, 0xc
xor esi, esi
lea eax, [ebp - 0x10c]
push esi
push esi
push 3
push esi
push 3
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44d9d2
push edi
push 0xc
lea eax, [ebp - 0xc]
push esi
push eax
mov dword [ebp + 8], esi
call fcn.00454ae0
mov edi, 0x2710
lea eax, [ebp - 0x2c04]
push edi
push esi
push eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call fcn.00454ae0
add esp, 0x18
lea eax, [ebp + 8]
push esi
push eax
lea eax, [ebp - 0x2c04]
push edi
push eax
lea eax, [ebp - 0xc]
push 0xc
push eax
push 0x2d1400
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
pop edi
je 0x44d9d9
lea eax, [ebp - 0x4f4]
push eax
push 1
push dword [ebp - 0x2bec]
lea eax, [ebp - 0x2c04]
push eax
call fcn.0044d784
movsx eax, byte [ebp - 0x4f4]
push eax
call fcn.0045475c
add esp, 0x14
test eax, eax
jne 0x44d9b8
movsx eax, byte [ebp - 0x4e1]
push eax
call fcn.0045475c
test eax, eax
pop ecx
je 0x44d9cb
lea eax, [ebp - 0x4f4]
push eax
push 0x4b6304
call fcn.004549f0
pop ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
pop esi
pop ebx
leave
ret
xor eax, eax
jmp 0x44d9d5
Function at 0x44f3d5
Capabilities:
Hash data using sha256

Disassembly:
push esi
push edi
mov eax, ecx
mov edx, 0x4624c0
push 8
sub edx, eax
pop esi
mov edi, dword [edx + ecx]
mov dword [ecx], edi
add ecx, 4
dec esi
jne 0x44f3e3
and dword [eax + 0x20], 0
and dword [eax + 0x24], 0
pop edi
pop esi
ret

Function at 0x44f5f7
Capabilities:
Hash data using sha256

Disassembly:
push esi
push edi
mov edx, 0x4624c0
push 8
mov eax, ecx
sub edx, ecx
pop esi
mov edi, dword [edx + eax]
mov dword [eax], edi
add eax, 4
dec esi
jne 0x44f605
xor eax, eax
pop edi
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
mov byte [ecx + 0x68], al
pop esi
ret
Function at 0x4510f2
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x45e4db
call fcn.00454be8
push ecx
mov eax, dword [0x4a3020]
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
mov dword [ecx], eax
and dword [ebp - 4], 0
push 0x4b62f8
mov dword [esi + 8], 0x13579bdf
mov dword [esi + 0xc], 0x2468ace0
mov dword [esi + 0x10], 0xfdb97531
mov dword [esi + 0x14], WSAAsyncSelect
mov dword [esi + 0x18], 0x40000020
mov dword [esi + 0x1c], 0x10000002
mov dword [esi + 0x20], connect
mov dword [esi + 0x24], 0x3fffffff
mov dword [esi + 0x28], 0xfffffff
mov dword [esi + 0x2c], connect
mov dword [esi + 0x30], 0xc0000000
mov dword [esi + 0x34], 0xf0000000
mov dword [esi], fcn.00451363
call fcn.0044b4b3
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x451535
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
cmp byte [ebp + 0x10], 1
mov eax, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 0xc]
jne 0x451556
mov edx, 0xfefefefe
and eax, edx
and ecx, edx
push ebx
mov ebx, dword [ebp + 0x14]
push esi
xor esi, esi
push edi
mov dword [ebp - 0xf4], ecx
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x58], esi
lea edi, [ebx + 2]
mov ecx, dword [ebp + esi - 0xf4]
lea eax, [ebp + esi - 0xf4]
mov dword [ebp + esi - 0x54], ecx
mov ecx, dword [ebp + esi - 0x190]
mov edx, dword [ebp + esi - 0x58]
mov dword [ebp + esi - 0xf0], ecx
xor edx, ecx
mov ecx, dword [ebp - 4]
push edx
push dword [eax]
call fcn.0045147e
lea ecx, [ebp + esi - 0x18c]
mov dword [ecx], eax
shr eax, 0x10
mov word [esi + ebx], ax
mov ax, word [ecx]
mov word [edi], ax
add esi, 4
add edi, 4
cmp esi, 0x4c
jle 0x451570
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x451687
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
mov esi, ecx
push edi
movzx eax, word [esi + 0x40]
movzx ecx, word [esi + 0x42]
shl eax, 0x10
movzx edx, word [esi + 0x46]
or eax, ecx
mov ecx, dword [ebp + 0xc]
xor eax, ecx
mov dword [ebp + 0xc], esi
movzx ecx, word [esi + 0x44]
shl ecx, 0x10
or ecx, edx
mov dword [ebp - 0x108], eax
xor ecx, dword [ebp + 8]
xor ecx, eax
xor edi, edi
mov dword [ebp - 0x84], ecx
mov eax, dword [ebp + 0xc]
lea ebx, [ebp + edi - 0x84]
mov ecx, esi
movzx eax, word [eax]
push eax
push dword [ebx]
call fcn.004515f5
xor eax, dword [ebp + edi - 0x108]
add dword [ebp + 0xc], 2
mov dword [ebp + edi - 0x80], eax
mov eax, dword [ebx]
mov dword [ebp + edi - 0x104], eax
add edi, 4
cmp edi, 0x7c
jle 0x4516ca
movzx eax, word [esi + 0x48]
movzx edi, word [esi + 0x4a]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x88]
shl eax, 0x10
xor ecx, edx
or eax, edi
xor eax, ecx
pop edi
xor edx, eax
movzx eax, word [esi + 0x4c]
movzx esi, word [esi + 0x4e]
shl eax, 0x10
or eax, esi
xor esi, esi
xor ecx, eax
xor eax, eax
or eax, ecx
or edx, esi
pop esi
pop ebx
leave
ret 8
Function at 0x4517f2
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
and edx, dword [esp + 0xc]
push edi
push 1
xor eax, eax
pop esi
lea ecx, [esi - 1]
mov edi, edx
shr edi, cl
and edi, 1
xor eax, edi
inc esi
cmp esi, 0x20
jle 0x451801
pop edi
pop esi
ret
Function at 0x402908
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x453008], 0x8088405
inc edx
mov dword [ebx + 0x453008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x402fe4
Capabilities:
Query or enumerate registry value

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

Function at 0x403d58
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x455048], 0
je 0x403db9
cmp word [0x45521c], 0xd7b2
jne 0x403d81
cmp dword [0x455224], 0
jbe 0x403d81
mov eax, 0x455218
call dword [0x455234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x453070
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403de0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x453034], 0
jne 0x403dd5
push 0
push 0x453068
push 0x453070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405164
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 0xf0019
push 0
push 0x405394
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4051e7
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405394
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4051e7
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4053b0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405270
xor eax, eax
push ebp
push 0x405269
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00404fa0
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 0x40524e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4053d0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40524e
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405270
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
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 0x40538a
cmp byte [ebp - 0xd], 0
jne 0x4052b7
cmp byte [ebp - 0x12], 0
je 0x40538a
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4052d0
dec ebx
cmp byte [ebx], 0x2e
je 0x4052df
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4052cf
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40538a
inc ebx
cmp byte [ebp - 0x12], 0
je 0x40531c
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40538a
cmp byte [ebp - 0xd], 0
je 0x40538a
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40538a
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
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 0x405a60
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 0x405ac6
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
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404148
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402bbc
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405ab0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405acd
lea eax, [ebp - 0x10]
call fcn.00403ed8
ret

Function at 0x40aa64
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 0x40aa9d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403fc8
jmp 0x40aaa6
mov eax, ebx
mov edx, esi
call fcn.00403f2c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40aab0
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 0x40aad2
movzx eax, byte [esp]
jmp 0x40aad4
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b164
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40afdc
mov eax, dword [0x4542d0]
cmp byte [eax], 0
je 0x40b1e0
mov eax, dword [0x454108]
call fcn.004029ac
call fcn.00402834
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004082e8
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
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 0x40b228
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b216
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4540b8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x455664]
call fcn.00404f48
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40ba74
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40bb4a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00403f70
lea eax, [ebp - 4]
call fcn.004043e8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404398
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bb34
mov eax, ebx
call fcn.004026cc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bb2d
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 - 4]
call fcn.00404398
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bb17
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bb5c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bb17
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bb34
mov eax, dword [ebp - 0x10]
call fcn.004026ec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bb51
lea eax, [ebp - 4]
call fcn.00403ed8
ret

Function at 0x41a4f4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x455888
cmp dword [edi], 0
jne 0x41a570
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x455884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4533ec
mov ecx, 2
call fcn.004028c8
mov edx, 0x41a4cc
lea eax, [esi + 5]
call fcn.0041a4ec
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a4ec
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 0x41a545
mov dword [0x455884], 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 0x41ad14
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.00404398
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x41ad6c
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4543e0]
mov dl, 1
mov eax, dword [0x41a838]
call fcn.0040b324
call fcn.00403920
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0041a940
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 0x41bd80
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 0x41bd86
ret
Function at 0x42cdc4
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 [0x455ae4], 0
je 0x42cf0d
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x454274]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x42cf0d
mov eax, dword [0x455ae8]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x455ae4]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42cedc
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x455ae4]
call fcn.00413690
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42ced4
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1ae], 0
je 0x42ced4
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42ced4
mov eax, dword [ebp - 0x14]
call fcn.00436210
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42ced4
push ebp
call fcn.0042cd80
pop ecx
test al, al
jne 0x42ced4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.00403368
test al, al
je 0x42ced4
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.00403368
cmp byte [ebp - 1], 0
je 0x42ced4
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42ced4
mov edx, dword [ebp - 0x14]
mov eax, dword [0x455ae8]
call fcn.0042c4dc
inc edi
dec ebx
jne 0x42ce29
mov eax, dword [0x455ae8]
cmp dword [eax + 8], 0
jle 0x42cef4
mov eax, dword [0x455ae8]
call fcn.0042c594
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42cf0d
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042cbe4
pop ecx
test al, al
jne 0x42cf0d
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 0x43068c
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 0x4306da
xor edx, edx
mov eax, esi
call fcn.00446f30
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4306da
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x268], 0
je 0x4306da
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x268]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x43081b
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x43071c
cmp eax, 0x109
ja 0x43071c
mov dl, 1
mov eax, esi
call fcn.00446f30
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x430812
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xfc]
test al, al
jne 0x43081b
jmp 0x430812
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x4307fb
cmp eax, 0x20a
ja 0x4307fb
test byte [esi + 0x50], 0x80
jne 0x43074e
sub eax, 0x203
je 0x43074b
sub eax, 3
je 0x43074b
sub eax, 3
jne 0x43074e
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x430762
dec eax
je 0x430777
dec eax
je 0x430794
dec eax
je 0x430777
jmp 0x43079b
mov ecx, ebx
mov eax, dword [0x454274]
mov eax, dword [eax]
mov edx, esi
call fcn.004516fc
jmp 0x430812
cmp byte [esi + 0x5d], 1
jne 0x43078d
mov eax, esi
mov si, 0xffed
call fcn.00403368
jmp 0x43081b
or word [esi + 0x54], 1
jmp 0x430812
and word [esi + 0x54], 0xfffe
jmp 0x430812
mov eax, dword [0x455aa0]
cmp byte [eax + 0x20], 0
je 0x430812
mov eax, dword [0x455aa0]
cmp dword [eax + 0x1c], 0
je 0x430812
mov eax, dword [ebx]
mov edx, dword [0x455aa0]
cmp eax, dword [edx + 0x1c]
jne 0x430812
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.00446e74
mov byte [ebp - 0xc], al
movzx eax, 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.00403368
jmp 0x43081b
cmp eax, 0xb00b
jne 0x430812
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042ef10
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
Function at 0x43371c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.00405d54
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.0042eeb4
test ebx, ebx
jne 0x43376f
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00433658
mov ebx, eax
test ebx, ebx
je 0x43385a
cmp esi, ebx
je 0x433798
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x4337ad
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x4337e5
add eax, 0xffffff5f
sub eax, 2
jb 0x4337fd
dec eax
sub eax, 2
jb 0x433811
dec eax
sub eax, 2
jb 0x433807
jmp 0x43381b
add eax, 0xfffffdff
sub eax, 2
jb 0x4337fd
dec eax
sub eax, 2
jb 0x433811
dec eax
sub eax, 2
jb 0x433807
jmp 0x43381b
mov byte [esp + 0x120], 0
jmp 0x433823
mov byte [esp + 0x120], 2
jmp 0x433823
mov byte [esp + 0x120], 1
jmp 0x433823
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00446e74
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.004305bc
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x43385c
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret