joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b5d8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 6
push 0
push 0
dec ecx
jne 0x43b5e1
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43b7fb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404c88
mov eax, esi
call fcn.00404c88
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
mov eax, ebx
call fcn.00405164
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x43b7e0
mov eax, dword [ebp - 4]
call fcn.00402b10
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x43b7d9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
mov eax, ebx
call fcn.00405164
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x43b7c0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x43b80c
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x43b70a
push 0x43b830
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
mov edx, 4
call fcn.00409798
push dword [ebp - 0x20]
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 2]
mov edx, 4
call fcn.00409798
push dword [ebp - 0x24]
push 0x43b84c
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00405024
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00405164
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x43b70a
cmp dword [ebp - 0xc], 1
jbe 0x43b70a
mov eax, dword [ebp - 0x18]
call fcn.0040a2f8
mov ecx, eax
mov eax, edi
mov edx, dword [ebp - 0x18]
call fcn.00404d78
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x43b860
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x43b7c0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
call fcn.0040802c
mov ebx, eax
mov eax, dword [ebp - 0x18]
mov di, word [eax + 8]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
call fcn.0040802c
mov word [ebp - 0xe], ax
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 0xc]
mov word [ebp - 0x10], ax
lea edx, [ebp - 0x28]
movzx eax, bx
call fcn.00409684
push dword [ebp - 0x28]
push 0x43b86c
lea edx, [ebp - 0x2c]
movzx eax, di
call fcn.00409684
push dword [ebp - 0x2c]
push 0x43b86c
lea edx, [ebp - 0x30]
movzx eax, word [ebp - 0xe]
call fcn.00409684
push dword [ebp - 0x30]
push 0x43b86c
lea edx, [ebp - 0x34]
movzx eax, word [ebp - 0x10]
call fcn.00409684
push dword [ebp - 0x34]
mov eax, esi
mov edx, 7
call fcn.00405024
mov eax, dword [esi]
mov edx, 0x43b878
call fcn.004050b0
jne 0x43b7c0
mov eax, esi
call fcn.00404c88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b7e0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.00402b40
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b802
lea eax, [ebp - 0x34]
mov edx, 7
call fcn.00404cac
ret
Function at 0x43bc64
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, eax
mov eax, pe_nt_image_headers32
push eax
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00404ef8
add esp, 0x100
pop ebx
ret

Function at 0x43bc94
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7f0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x810], ebx
mov dword [ebp - 0x80c], ebx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00405154
xor eax, eax
push ebp
push 0x43bd90
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, ebx
call fcn.00404cdc
lea edx, [ebp - 0x80c]
mov eax, dword [ebp - 4]
call fcn.00409dfc
cmp dword [ebp - 0x80c], 0
jne 0x43bd18
lea eax, [ebp - 0x810]
call fcn.0043bc64
push dword [ebp - 0x810]
push 0x43bda8
push dword [ebp - 4]
lea eax, [ebp - 4]
mov edx, 3
call fcn.00405024
lea eax, [ebp - 4]
xor ecx, ecx
xor edx, edx
call fcn.00425004
test al, al
je 0x43bd6a
mov eax, dword [ebp - 4]
call fcn.00405164
push eax
push 0x800
lea eax, [ebp - 0x808]
push eax
mov eax, ebx
call fcn.00405164
push eax
mov eax, dword [ebp - 8]
call fcn.00405164
push eax
mov eax, edi
call fcn.00405164
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
mov ecx, eax
lea edx, [ebp - 0x808]
mov eax, esi
call fcn.00404d78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43bd97
lea eax, [ebp - 0x810]
mov edx, 2
call fcn.00404cac
lea eax, [ebp - 4]
call fcn.00404c88
ret
Function at 0x43d01c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x43d19b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 6], 0
lea edx, [ebp - 5]
mov ecx, 1
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
cmp word [esi + 0x19], 0x1f6
jb 0x43d07b
cmp byte [ebp - 5], 0x80
jb 0x43d07b
and byte [ebp - 5], 0x7f
mov byte [ebp - 6], 1
xor edx, edx
mov dl, byte [ebp - 5]
mov eax, ebx
call fcn.004030c0
xor ecx, ecx
mov cl, byte [ebp - 5]
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
cmp word [esi + 0x19], 0x1f4
jb 0x43d16e
cmp byte [esi + 0x37], 0
je 0x43d0de
mov eax, dword [0x4d58f8]
mov edx, dword [esi + 0x33]
call fcn.004050b0
je 0x43d0cd
mov eax, dword [esi + 0x33]
call fcn.0042ffe8
mov eax, 0x4d58f8
mov edx, dword [esi + 0x33]
call fcn.00404cdc
xor ecx, ecx
mov cl, byte [ebx]
lea edx, [ebx + 1]
lea eax, [ebx + 1]
call fcn.00430088
jmp 0x43d117
cmp byte [ebx], 0
je 0x43d117
lea eax, [ebp - 0x14]
mov edx, ebx
call fcn.00404eec
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.004302c4
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 0x43d1b4
call fcn.00404fb0
mov edx, dword [ebp - 0xc]
mov eax, ebx
mov ecx, 0xff
call fcn.00404f40
cmp byte [ebp - 6], 0
je 0x43d180
lea eax, [ebp - 0x1c]
mov edx, ebx
call fcn.00404eec
push dword [ebp - 0x1c]
push 0x43d1c0
lea ecx, [ebp - 0x120]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0043d01c
lea edx, [ebp - 0x120]
lea eax, [ebp - 0x20]
call fcn.00404eec
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00405024
mov edx, dword [ebp - 0x18]
mov eax, ebx
mov ecx, 0xff
call fcn.00404f40
jmp 0x43d180
xor edx, edx
mov dl, byte [ebx]
test edx, edx
jle 0x43d180
lea eax, [ebx + 1]
xor byte [eax], 0x62
inc eax
dec edx
jne 0x43d179
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d1a2
lea eax, [ebp - 0x20]
mov edx, 6
call fcn.00404cac
ret

Function at 0x440fd8
Capabilities:
Hide graphical window

Disassembly:
push ebx
call sub.kernel32.dll_GetCurrentProcessId
call fcn.0043aefc
mov ebx, eax
test ebx, ebx
je 0x44102c
push ebx
call sub.user32.dll_IsIconic
test eax, eax
je 0x441015
push 0
push 0xf120
push 0x112
push ebx
call sub.user32.dll_SendMessageA
push 5
push ebx
call sub.user32.dll_ShowWindow
push ebx
call sub.user32.dll_SetForegroundWindow
jmp 0x44102c
push ebx
call sub.user32.dll_GetLastActivePopup
mov ebx, eax
call sub.user32.dll_GetForegroundWindow
cmp ebx, eax
je 0x44102c
push ebx
call sub.user32.dll_SetForegroundWindow
pop ebx
ret
Function at 0x446f0c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, eax
cmp byte [0x4cfa1c], 0
jne 0x446f59
xor esi, esi
mov edx, 0x4d5bb0
mov eax, esi
mov ebx, 8
test al, 1
je 0x446f3f
shr eax, 1
xor eax, 0xedb88320
jmp 0x446f41
shr eax, 1
dec ebx
jne 0x446f32
mov dword [edx], eax
inc esi
add edx, 4
cmp esi, 0x100
jne 0x446f2b
mov byte [0x4cfa1c], 1
mov eax, dword [esp + 4]
dec eax
test eax, eax
jl 0x446f86
inc eax
xor esi, esi
mov edx, dword [esp]
movzx edx, byte [edx + esi]
xor edx, edi
and edx, 0xff
mov edx, dword [edx*4 + 0x4d5bb0]
shr edi, 8
xor edx, edi
mov edi, edx
inc esi
dec eax
jne 0x446f65
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x448070
Capabilities:
Query environment variable

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, eax
push 0x800
lea eax, [esp + 4]
push eax
mov eax, dword [ebx]
call fcn.00405164
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
mov edx, esp
mov ecx, ebx
xchg ecx, eax
call fcn.00404d78
add esp, 0x800
pop ebx
ret
Function at 0x449de4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405154
mov eax, dword [ebp - 8]
call fcn.00405154
mov eax, dword [ebp - 0xc]
call fcn.00405154
xor eax, eax
push ebp
push 0x449fde
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov edx, 0x449ff8
mov eax, 0x80000000
call fcn.00424818
lea eax, [ebp - 0x14]
call fcn.00448070
lea eax, [ebp - 0x64]
xor ecx, ecx
mov edx, 0x44
call fcn.00403620
lea eax, [ebp - 0x74]
xor ecx, ecx
mov edx, 0x10
call fcn.00403620
mov dword [ebp - 0x64], 0x44
mov dword [ebp - 0x38], 1
mov word [ebp - 0x34], 3
lea eax, [ebp - 0x1c]
mov ecx, dword [0x4d5700]
mov edx, 0x44a01c
call fcn.00404fb0
push 0x44a02c
push dword [ebp - 4]
push 0x44a03c
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 8]
call fcn.00449d00
push dword [ebp - 0x78]
push 0x44a050
lea eax, [ebp - 0x80]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.00404fb0
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x7c]
call fcn.00449d00
push dword [ebp - 0x7c]
lea eax, [ebp - 0x10]
mov edx, 6
call fcn.00405024
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x44a060
mov eax, dword [ebp - 0x14]
call fcn.004245d4
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 0x4000020
push 0
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.00405164
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x449f96
xor ebx, ebx
mov eax, dword [ebp - 0x74]
mov esi, eax
push 0x2710
push eax
call sub.user32.dll_WaitForInputIdle
push 0x7d0
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 0x6c]
call fcn.0043aefc
test eax, eax
je 0x449f65
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
call sub.user32.dll_SetWindowPos
push 0xffffffffffffffff
push esi
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0xffffffff
je 0x449f82
lea eax, [ebp - 0x20]
push eax
push esi
call sub.kernel32.dll_GetExitCodeProcess
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x74]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x449fb3
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x84]
call fcn.0040d018
mov edx, dword [ebp - 0x84]
mov al, 4
call fcn.0043abfc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449fe5
lea eax, [ebp - 0x84]
mov edx, 4
call fcn.00404cac
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00404cac
ret
Function at 0x44b0c8
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.advapi32.dll_GetUserNameA
mov eax, ebx
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00404ef8
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44ba04
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44ba78
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
fild qword [ebp - 0x2c]
fdiv dword [0x44ba84]
call fcn.00403144
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.00409770
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov ecx, 0x44ba90
call fcn.00404fb0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ba7f
lea eax, [ebp - 0x24]
call fcn.00404c88
ret

Function at 0x44ba94
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44bb08
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
fild qword [ebp - 0x2c]
fdiv dword [0x44bb14]
call fcn.00403144
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.00409770
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov ecx, 0x44bb20
call fcn.00404fb0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44bb0f
lea eax, [ebp - 0x24]
call fcn.00404c88
ret
Function at 0x450684
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x450780
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, pe_nt_image_headers32
push ebx
lea eax, [ebp - 0x104]
push eax
call sub.user32.dll_GetFocus
push eax
call sub.user32.dll_GetWindowTextA
test eax, eax
jle 0x450753
mov eax, esi
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00404ef8
lea eax, [ebp - 0x10c]
call fcn.0045062c
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.00409340
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 4]
call fcn.00409584
mov edx, dword [ebp - 4]
mov eax, 0x450798
call fcn.004052a8
test eax, eax
jle 0x45075a
push 0xfffffffffffffff0
call sub.user32.dll_GetFocus
push eax
call sub.user32.dll_GetWindowLongA
test al, 0x20
je 0x45075a
mov eax, dword [esi]
call fcn.00404f64
mov edi, eax
test edi, edi
jbe 0x45075a
mov ebx, 1
mov eax, esi
call fcn.004051bc
mov byte [eax + ebx - 1], 0x2a
inc ebx
dec edi
jne 0x450741
jmp 0x45075a
mov eax, esi
call fcn.00404c88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450787
lea eax, [ebp - 0x10c]
mov edx, 2
call fcn.00404cac
lea eax, [ebp - 4]
call fcn.00404c88
ret

Function at 0x4534a8
Capabilities:
Terminate thread

Disassembly:
call fcn.0042496c
test al, al
jne 0x453505
cmp dword [0x4d56d4], 0
je 0x453505
mov eax, dword [0x4d56d4]
call fcn.00421730
mov eax, dword [0x4d4668]
call fcn.0043b274
test al, al
jne 0x4534e4
push 0xffffffffffffffff
mov eax, dword [0x4d56d4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_WaitForSingleObject
jmp 0x4534f4
push 1
mov eax, dword [0x4d56d4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, dword [0x4d56d4]
call fcn.00403d94
xor eax, eax
mov dword [0x4d56d4], eax
ret
Function at 0x4537b4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
lea esi, [ebp - 4]
call fcn.0043bc40
mov dword [esi], eax
mov eax, dword [esi]
mov ebx, dword [eax]
dec ebx
jmp 0x4537ce
dec ebx
test ebx, ebx
jl 0x4537dd
mov eax, dword [esi]
mov eax, dword [eax + 4]
cmp dword [eax + ebx*8], 0
je 0x4537cd
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov eax, dword [eax + ebx*8]
test eax, eax
je 0x453828
mov dword [0x4d5660], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov eax, dword [esi]
mov eax, dword [eax + 4]
lea eax, [eax + ebx*8]
call fcn.00453664
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
mov eax, dword [eax + 4]
lea eax, [eax + ebx*8]
call fcn.00453664
mov dword [0x4d56a8], eax
mov eax, 0x453788
mov edx, dword [0x4d56a8]
mov dword [edx], eax
mov eax, dword [esi]
mov ebx, dword [eax]
dec ebx
jmp 0x453830
dec ebx
test ebx, ebx
jl 0x453840
mov eax, dword [esi]
mov eax, dword [eax + 4]
cmp dword [eax + ebx*8 + 4], 0
je 0x45382f
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov eax, dword [eax + ebx*8 + 4]
test eax, eax
je 0x45387c
mov dword [0x4d5664], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov eax, dword [esi]
mov eax, dword [eax + 4]
lea eax, [eax + ebx*8 + 4]
call fcn.00453664
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, 0x4537a4
mov edx, dword [esi]
mov edx, dword [edx + 4]
mov dword [edx + ebx*8 + 4], eax
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x455cb4
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 0x455cba
ret

Function at 0x458540
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 0x458591
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x458578
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x458568
jmp 0x458591
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 0x458579
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46571c
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.00405164
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x465774
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4d37e0]
mov dl, 1
mov eax, dword [0x4652d4]
call fcn.0040d958
call fcn.004045f8
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004653dc
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 0x469afc
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 0x469a48
call sub.user32.dll_EnumWindows
ret

Function at 0x469c1c
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 0x469c99
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0046967c
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x469c41
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0046927c
cmp dword [ebp - 4], 0
je 0x469c83
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00405164
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 0x469ca0
lea eax, [ebp - 4]
call fcn.00404c88
ret
Function at 0x46cb50
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 [0x4d62a0], 0
je 0x46cc9f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4d361c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x46cc9f
mov eax, dword [0x4d62a4]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4d62a0]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x46cc6e
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4d62a0]
call fcn.0041b704
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x46cc66
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x46cc66
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x46cc66
mov eax, dword [ebp - 0x14]
call fcn.00475870
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46cc66
push ebp
call fcn.0046cb0c
pop ecx
test al, al
jne 0x46cc66
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x46cc22
mov eax, dword [ebp - 0x14]
call fcn.00474368
dec eax
jle 0x46cc66
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.00403f9c
cmp byte [ebp - 1], 0
je 0x46cc66
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x46cc66
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4d62a4]
call fcn.0046c2d8
inc edi
dec ebx
jne 0x46cbb5
mov eax, dword [0x4d62a4]
cmp dword [eax + 8], 0
jle 0x46cc86
mov eax, dword [0x4d62a4]
call fcn.0046c368
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x46cc9f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0046c974
pop ecx
test al, al
jne 0x46cc9f
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 0x4702d0
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 0x47031c
mov eax, esi
call fcn.00485ba0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x47031c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x47031c
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 0x47045b
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x47035c
cmp eax, 0x108
ja 0x47035c
mov eax, esi
call fcn.00485ba0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x470452
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x47045b
jmp 0x470452
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x47043b
cmp eax, 0x20a
ja 0x47043b
test byte [esi + 0x50], 0x80
jne 0x47038e
sub eax, 0x203
je 0x47038b
sub eax, 3
je 0x47038b
sub eax, 3
jne 0x47038e
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x4703a2
dec eax
je 0x4703b7
dec eax
je 0x4703d4
dec eax
je 0x4703b7
jmp 0x4703db
mov ecx, ebx
mov eax, dword [0x4d361c]
mov eax, dword [eax]
mov edx, esi
call fcn.0048f478
jmp 0x470452
cmp byte [esi + 0x5d], 1
jne 0x4703cd
mov eax, esi
mov si, 0xffed
call fcn.00403f9c
jmp 0x47045b
or word [esi + 0x54], 1
jmp 0x470452
and word [esi + 0x54], 0xfffe
jmp 0x470452
mov eax, dword [0x4d625c]
cmp byte [eax + 0x20], 0
je 0x470452
mov eax, dword [0x4d625c]
cmp dword [eax + 0x1c], 0
je 0x470452
mov eax, dword [ebx]
mov edx, dword [0x4d625c]
cmp eax, dword [edx + 0x1c]
jne 0x470452
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.00485ae4
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.00403f9c
jmp 0x47045b
cmp eax, 0xb00b
jne 0x470452
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0046eba0
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