joyce8/EMBER2024-capa huggingface dataset:
Function at 0x465974
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4659ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 0x2c8], ecx
mov dword [esi + 0x2cc], edx
mov eax, dword [edx + 0x4c]
mov dword [esi + 0x2bc], eax
mov eax, dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x2c8]
mov eax, esi
call fcn.004659d8
mov eax, dword [esi + 0x2c8]
mov edx, dword [eax + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4659d5
ret

Function at 0x46b26c
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x46b2a2
jmp 0x46b348
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x46b2e6
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x168], 0
je 0x46b2e6
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x168]
mov eax, dword [eax + 0x14]
jmp 0x46b2f6
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x164]
test edx, edx
je 0x46b2f6
mov eax, dword [edx + 0x14]
test eax, eax
je 0x46b30f
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.00467c60
jmp 0x46b348
mov dl, 1
mov eax, dword [0x41bde4]
call fcn.0041dd28
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.0041e798
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xbc]
mov eax, dword [esi + 0x10]
call fcn.0041d8d8
mov edx, esp
mov eax, esi
call fcn.0041e42c
mov eax, esi
call fcn.0040310c
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x46d860
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.00443564
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x279], 0
xor edx, edx
mov eax, ebx
call fcn.0043cc9c
pop ebx
ret
Function at 0x472c44
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x472cfe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404568
mov eax, dword [0x48d21c]
cmp byte [eax], 0
je 0x472cb3
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.004048c8
mov eax, dword [ebx]
call fcn.004046f4
push eax
mov eax, dword [ebx]
call fcn.004046e4
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.004046f4
mov edx, eax
dec edx
mov eax, ebx
call fcn.004048c8
jmp 0x472ce5
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.004089f4
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.004046d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472d05
lea eax, [ebp - 0x3f0]
call fcn.00403e5c
ret

Function at 0x472ea0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov ebp, edx
mov esi, eax
mov edx, ebp
mov eax, dword [esi + 0x3c]
call dword [esi + 0x38]
cmp dword [ebp + 0xc], 0
jne 0x472f59
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00453d10
mov ebx, eax
mov dx, word [ebp + 4]
mov eax, esi
call fcn.00472b88
mov edi, eax
test edi, edi
je 0x472eff
mov al, byte [0x472f64]
cmp al, bl
jne 0x472eff
mov edx, edi
mov eax, esi
call fcn.00472ac0
mov dword [ebp + 0xc], 1
mov byte [esi + 0x31], 1
jmp 0x472f59
cmp byte [esi + 0x161], 2
jne 0x472f2a
mov eax, dword [ebp + 8]
push eax
movzx ecx, word [ebp + 4]
mov eax, dword [0x48d524]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov edx, 0xb006
call fcn.0043df30
test eax, eax
jne 0x472f59
jmp 0x472f54
mov eax, dword [0x48d448]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [esi + 0x128]
je 0x472f54
mov edx, dword [ebp + 8]
push edx
movzx ecx, word [ebp + 4]
mov edx, dword [0x48d448]
mov edx, 0xb006
call fcn.0043df30
xor eax, eax
mov dword [ebp + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x478ed4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x478f08
cmp eax, dword [esp]
pop edx
pop eax
jae 0x478f44
jmp 0x478f0c
pop edx
pop eax
jge 0x478f44
mov eax, dword [0x48d524]
mov eax, dword [eax]
mov dword [eax + 0x44], 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00473d50
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x478f69
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x478f69
cmp dword [ebx + 0x11c], 0
je 0x478f69
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.00429cc8
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x483640
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4837b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x9c], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x483796
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.004089f4
mov dl, 1
mov eax, dword [0x45ed94]
call fcn.0045edec
mov edx, dword [ebp - 4]
mov dword [edx + 0x94], eax
mov dl, 1
mov eax, dword [0x412980]
call fcn.004030dc
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x98]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.0045ee68
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x483793
mov dl, 1
mov eax, dword [0x45ff0c]
call fcn.0045ff74
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
mov edx, 0x4837c8
call fcn.0045f1b4
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404168
xor eax, eax
push ebp
push 0x48378c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00460274
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004837d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483793
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.0040310c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.0040310c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.0040310c
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4837b8
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00403e80
ret
Function at 0x486a18
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x486ad2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404568
mov eax, dword [0x48d21c]
cmp byte [eax], 0
je 0x486a87
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.004048c8
mov eax, dword [ebx]
call fcn.004046f4
push eax
mov eax, dword [ebx]
call fcn.004046e4
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.004046f4
mov edx, eax
dec edx
mov eax, ebx
call fcn.004048c8
jmp 0x486ab9
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.004089f4
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.004046d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486ad9
lea eax, [ebp - 0x3f0]
call fcn.00403e5c
ret

Function at 0x486ae0
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.004089f4
add esp, 0x3ec
pop ebx
ret

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x401370
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x448
push ebx
push ebp
push esi
push edi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x401505
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x40fcdc]
mov dword [0x40fcb4], eax
xor eax, eax
test ecx, ecx
mov dword [esp + 0x10], eax
jle 0x401471
mov ebx, dword [esp + 0x45c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, dword [0x40fce0]
mov esi, dword [ecx + eax*4]
mov al, byte [esi]
cmp al, 0x2d
je 0x4013cf
cmp al, 0x2f
jne 0x401452
inc esi
push str.RegServer
push esi
call fcn.00404a40
add esp, 8
test eax, eax
jne 0x401414
lea edx, [esp + 0x58]
push 0x400
push edx
push ebx
call ebp
push 0
push str.QQMainCreator_Component
lea eax, [esp + 0x60]
push str.QQ.QQMainCreator
push eax
push 0x40b1f0
call fcn.00404230
add esp, 0x14
mov edi, 1
jmp 0x401452
push str.UnregServer
push esi
call fcn.00404a40
add esp, 8
test eax, eax
jne 0x401440
push eax
push str.QQ.QQMainCreator
push 0x40b1f0
call fcn.00404360
add esp, 0xc
mov edi, 1
jmp 0x401452
push str.Embedding
push esi
call fcn.00404a40
add esp, 8
test eax, eax
je 0x401471
mov eax, dword [esp + 0x10]
mov ecx, dword [0x40fcdc]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4013b8
test edi, edi
jne 0x4014ff
mov ecx, 9
mov esi, str.423319D9_FF97_429a_B049_D5FD6168C647
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea ecx, [esp + 0x30]
push ecx
push 1
movsb byte es:[edi], byte [esi]
push 0
mov byte [esp + 0x63], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
je 0x401505
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x401505
call fcn.00401240
call fcn.00401300
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
lea edx, [esp + 0x1c]
push 0
push edx
call esi
test eax, eax
je 0x4014fa
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
cmp eax, 0xffffffff
je 0x4014fa
lea eax, [esp + 0x14]
push eax
call edi
lea ecx, [esp + 0x14]
push ecx
call ebx
push 0
push 0
lea edx, [esp + 0x1c]
push 0
push edx
call esi
test eax, eax
jne 0x4014d6
call fcn.004012e0
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x448
ret 0x10
Function at 0x404460
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x110
mov ecx, dword [esp + 0x114]
lea eax, [esp]
push ebp
mov ebp, dword [esp + 0x11c]
push esi
push edi
push eax
push 0xf003f
push 0
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404518
lea edx, [esp + 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push edx
mov edx, dword [esp + 0x10]
push eax
push eax
push eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x2c]
push eax
push ecx
push 0
push edx
mov dword [esp + 0x30], 0x100
call edi
test eax, eax
jne 0x4044fe
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x1c]
push eax
push ecx
call fcn.00404460
mov esi, eax
add esp, 8
test esi, esi
jne 0x404522
lea edx, [esp + 0x14]
lea ecx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x10]
push eax
push eax
push eax
lea eax, [esp + 0x20]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x30], 0x100
call edi
test eax, eax
je 0x4044c0
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x120]
push ebp
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop edi
pop esi
pop ebp
add esp, 0x110
ret
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x110
ret

Function at 0x404540
Capabilities:
Set registry value

Disassembly:
sub esp, 0x404
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x410]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [esp + 0x414]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
test edx, edx
rep movsb byte es:[edi], byte [esi]
je 0x4045d6
mov edi, 0x40d3f8
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
lea ebx, [esp + 0x14]
mov esi, edi
mov ebp, ecx
mov edi, ebx
or ecx, 0xffffffff
lea ebx, [esp + 0x14]
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
pop ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
pop ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 8]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
lea ecx, [esp + 0x24]
push 0
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x404609
pop edi
xor eax, eax
pop esi
add esp, 0x404
ret
mov edx, dword [esp + 0x418]
test edx, edx
je 0x404630
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [esp + 0x10]
push 1
push eax
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
add esp, 0x404
ret
Function at 0x414d80
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x476d1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0046b576
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x414e02
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004693ed
mov eax, dword [eax]
push 0x494210
push eax
call fcn.0045b4d4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046b801
test bl, bl
je 0x414e02
push 0x494210
lea ecx, [esp + 0xc]
call fcn.0046bb91
push 0x497d84
lea ecx, [esp + 0xc]
call fcn.0046bb91
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x414e3e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046b801
jmp 0x414f09
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x414ec2
lea edx, [esp + 0x7c]
push 0x497d80
push edx
call fcn.0045b4d4
add esp, 8
test eax, eax
je 0x414ec2
lea eax, [esp + 0x7c]
push 0x497d7c
push eax
call fcn.0045b4d4
add esp, 8
test eax, eax
je 0x414ec2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x414e52
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0046b801
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x415700
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x415762
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x415770
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x476d9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x49e6f8]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4158a8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4157d6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046b801
xor eax, eax
jmp 0x41591f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046b93e
push esi
lea ecx, [esp + 0xc]
call fcn.0046bbcd
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4158fd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00415700
test eax, eax
jne 0x4158fd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00415700
test eax, eax
jne 0x4158fd
lea eax, [esp + 0x14]
push 0x497d98
push eax
call fcn.0045c510
mov esi, eax
add esp, 8
test esi, esi
jne 0x4158dc
lea ecx, [esp + 0x14]
push 0x497d94
push ecx
call fcn.0045c490
mov esi, eax
add esp, 8
test esi, esi
jne 0x4158dc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4158df
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0046b8ee
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4157ee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046b801
xor eax, eax
jmp 0x41591f
mov byte [esi], 0
push 0x497d90
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0046b801
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x427930
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x42799e
cmp si, 0x69
ja 0x42799e
add esi, 0xffd0
cmp si, 0x11
je 0x42796e
push 0x11
call edi
test ax, ax
jge 0x42796e
or esi, 0x2000
cmp si, 0x10
je 0x427983
push 0x10
call edi
test ax, ax
jge 0x427983
or esi, 0x4000
cmp si, 0x12
je 0x427998
push 0x12
call edi
test ax, ax
jge 0x427998
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4279ab
mov esi, 0xbd
jmp 0x42795f
cmp si, 0x6e
jne 0x4279b8
mov esi, 0xbe
jmp 0x42795f
cmp si, 0x6f
jne 0x427959
mov esi, 0xbf
jmp 0x42795f

Function at 0x429160
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4aee40]
xor edx, edx
cmp eax, edx
jne 0x429186
xor eax, eax
mov byte [eax + 0x4aed40], al
inc eax
cmp eax, 0x100
jl 0x42916e
mov dword [0x4aee40], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4aed40
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x429217
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4291ea
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4291b8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x429290
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4292e3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4292ca
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret