joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7722803b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x77228094
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x7722803b
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x7722804a
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x7762dced
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x7722809b
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.7720ef11
cmp eax, dword [ebp + 0xc]
pop eax
je 0x7722813a
add edi, 4
add eax, 2
dec ecx
jne 0x77228080
call 0x772280e7
loope 0x772280dd
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x77228137
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x77228148
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x772280fb
cmp eax, ecx
ja 0x772280fb
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x77228185
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x7722817b
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.7720f3f0
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x7722804a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x77228094
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x7722803b
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x7722804a
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x7762dced
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x7722809b
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.7720ef11
cmp eax, dword [ebp + 0xc]
pop eax
je 0x7722813a
add edi, 4
add eax, 2
dec ecx
jne 0x77228080
call 0x772280e7
loope 0x772280dd
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x77228137
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x77228148
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x772280fb
cmp eax, ecx
ja 0x772280fb
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x77228185
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x7722817b
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.7720f3f0
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x7674537b
Capabilities:
Create thread

Disassembly:
mov edi, edi
push esi
push 0x7674a160
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor esi, esi
push esi
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, esi
mov dword [0x7674aa14], eax
je 0x767453c0
push 0x7674aa58
push esi
push esi
push 0x767444bb
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
mov dword [0x7674aa5c], eax
je 0x767453c0
xor eax, eax
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x767453bc

Function at 0x76745552
Capabilities:
Create thread

Disassembly:
mov edi, edi
push esi
xor esi, esi
push 0x7674aa3c
push esi
push esi
push 0x76745597
push esi
push esi
mov dword [0x7674aa3c], esi
mov dword [0x7674aa40], esi
mov dword [0x7674aa44], esi
mov dword [0x7674aa48], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
mov dword [0x7674aa40], eax
je 0x76746469
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x76746518
mov esi, eax
call fcn.76741201
mov dword [esp], 0x767464f4
call fcn.76741201
push esi
push 0x767464d8
call fcn.76741201
push 0x767464a4
call fcn.76741201
add esp, 0x10
jmp 0x76745590

Function at 0x76745687
Capabilities:
Listen for remote procedure calls

Disassembly:
mov edi, edi
push ebx
xor ebx, ebx
push esi
xor esi, esi
inc ebx
cmp dword [0x7674aa38], esi
je 0x76746664
test byte [0x7674aa38], bl
mov dword [0x7674aa54], esi
je 0x767456cc
push esi
push 0x76745704
push 0xa
push 0x767417b4
call dword [sym.imp.RPCRT4.dll_RpcServerUseProtseqEpW]
cmp eax, 0x6cc
je 0x7674666f
cmp eax, esi
jne 0x76745701
push 0x767417d4
push 0x4d2
push esi
push esi
push esi
push dword [0x7674aa34]
call dword [sym.imp.RPCRT4.dll_RpcServerRegisterIfEx]
cmp eax, esi
jne 0x76745701
push ebx
push 0xa
push ebx
call dword [sym.imp.RPCRT4.dll_RpcServerListen]
cmp eax, esi
jne 0x76746676
mov dword [0x7674aa4c], ebx
pop esi
pop ebx
ret
mov dword [0x7674aa38], ebx
jmp 0x7674569c
xor eax, eax
jmp 0x767456c8
cmp eax, 0x6b1
jne 0x76745701
xor eax, eax
jmp 0x767456fb

Function at 0x767475a2
Capabilities:
Terminate thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x767475dc
push 0x2710
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x767475d5
push esi
push 0x767475e4
call fcn.76741201
pop ecx
pop ecx
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
ret 4

Function at 0x76748633
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x308
mov eax, dword [0x7674a05c]
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x308]
push 0x300
push eax
call dword [sym.imp.msvcrt.dll__vsnprintf]
add esp, 0x10
lea eax, [ebp - 0x308]
push eax
mov byte [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
call fcn.76741230
leave
ret
Function at 0x402a1c
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x402a59
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x402a79
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404b0c
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x402be0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0040489c
test esi, esi
jne 0x402c16
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.0040498c
jmp 0x402c34
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402af4
mov edi, eax
test esi, esi
je 0x402c34
cmp dword [ebx], 0
je 0x402c34
dec esi
jmp 0x402c1d
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403244
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x403870
Capabilities:
Query or enumerate registry value

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

Function at 0x40469c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4bb04c], 0
je 0x4046fd
cmp word [0x4bb220], 0xd7b2
jne 0x4046c5
cmp dword [0x4bb228], 0
jbe 0x4046c5
mov eax, 0x4bb21c
call dword [0x4bb238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4b8074
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 0x404724
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4b8034], 0
jne 0x404719
push 0
push 0x4b806c
push 0x4b8074
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x404850
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402840
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4bb04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404818
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406c9c
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 0x406d02
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.00404b0c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004032cc
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406cec
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406d09
lea eax, [ebp - 0x10]
call fcn.0040489c
ret

Function at 0x40c918
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 0x40c951
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040498c
jmp 0x40c95a
mov eax, ebx
mov edx, esi
call fcn.004048f0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c964
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 0x40c985
mov al, byte [esp]
jmp 0x40c987
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40d00c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40ce84
mov eax, dword [0x4ba664]
cmp byte [eax], 0
je 0x40d088
mov eax, dword [0x4ba224]
call fcn.00403068
call fcn.004029a8
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.00409a34
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 0x40d0d0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d0be
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4ba178]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4bb668]
call fcn.00406194
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 0x40d990
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40da66
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404934
lea eax, [ebp - 8]
call fcn.00404dac
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404d5c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40da50
mov eax, ebx
call fcn.00402840
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40da49
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404d5c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40da33
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40da78
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40da33
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40da50
mov eax, dword [ebp - 0x10]
call fcn.00402860
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40da6d
lea eax, [ebp - 8]
call fcn.0040489c
ret

Function at 0x40df58
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40dfbc
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404b0c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040944c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dfc3
lea eax, [ebp - 0xc]
call fcn.0040489c
ret

Function at 0x424338
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00424190
dec esi
jne 0x42435a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x42549c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4bb88c
cmp dword [edi], 0
jne 0x425518
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4bb888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4b86d4
mov ecx, 2
call fcn.00402ab4
mov edx, 0x425474
lea eax, [esi + 5]
call fcn.00425494
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00425494
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 0x4254ed
mov dword [0x4bb888], 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 0x426734
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 0x42673a
ret

Function at 0x428e08
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 0x428e59
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x428e40
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x428e30
jmp 0x428e59
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 0x428e41
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4345c0
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.00404d5c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x434618
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4ba88c]
mov dl, 1
mov eax, dword [0x434178]
call fcn.0040d1f0
call fcn.00404238
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00434280
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 0x43af08
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 0x43ae54
call sub.user32.dll_EnumWindows
ret

Function at 0x43b028
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 0x43b0a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0043aa88
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x3e8
jbe 0x43b04d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0043a688
cmp dword [ebp - 4], 0
je 0x43b08f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404d5c
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 0x43b0ac
lea eax, [ebp - 4]
call fcn.0040489c
ret
Function at 0x43e08c
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 [0x4bbb5c], 0
je 0x43e1db
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4ba598]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x43e1db
mov eax, dword [0x4bbb60]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4bbb5c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43e1aa
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4bbb5c]
call fcn.0041d7ec
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43e1a2
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x43e1a2
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43e1a2
mov eax, dword [ebp - 0x14]
call fcn.00446d3c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43e1a2
push ebp
call fcn.0043e048
pop ecx
test al, al
jne 0x43e1a2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43e15e
mov eax, dword [ebp - 0x14]
call fcn.0044586c
dec eax
jle 0x43e1a2
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.00403bfc
cmp byte [ebp - 1], 0
je 0x43e1a2
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43e1a2
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4bbb60]
call fcn.0043d814
inc edi
dec ebx
jne 0x43e0f1
mov eax, dword [0x4bbb60]
cmp dword [eax + 8], 0
jle 0x43e1c2
mov eax, dword [0x4bbb60]
call fcn.0043d8a4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43e1db
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043deb0
pop ecx
test al, al
jne 0x43e1db
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 0x4417d4
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 0x441820
mov eax, esi
call fcn.00457030
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x441820
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x441820
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 0x44195f
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x441860
cmp eax, 0x108
ja 0x441860
mov eax, esi
call fcn.00457030
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x441956
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x44195f
jmp 0x441956
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x44193f
cmp eax, 0x20a
ja 0x44193f
test byte [esi + 0x50], 0x80
jne 0x441892
sub eax, 0x203
je 0x44188f
sub eax, 3
je 0x44188f
sub eax, 3
jne 0x441892
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x4418a6
dec eax
je 0x4418bb
dec eax
je 0x4418d8
dec eax
je 0x4418bb
jmp 0x4418df
mov ecx, ebx
mov eax, dword [0x4ba598]
mov eax, dword [eax]
mov edx, esi
call fcn.00460884
jmp 0x441956
cmp byte [esi + 0x5d], 1
jne 0x4418d1
mov eax, esi
mov si, 0xffed
call fcn.00403bfc
jmp 0x44195f
or word [esi + 0x54], 1
jmp 0x441956
and word [esi + 0x54], 0xfffe
jmp 0x441956
mov eax, dword [0x4bbb18]
cmp byte [eax + 0x20], 0
je 0x441956
mov eax, dword [0x4bbb18]
cmp dword [eax + 0x1c], 0
je 0x441956
mov eax, dword [ebx]
mov edx, dword [0x4bbb18]
cmp eax, dword [edx + 0x1c]
jne 0x441956
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.00456f74
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.00403bfc
jmp 0x44195f
cmp eax, 0xb00b
jne 0x441956
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.004400dc
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