joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b591
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
lea eax, [ebp - 0xc8]
push esi
push 0xc8
push 0
push eax
mov esi, ecx
call fcn.00421460
add esp, 0xc
lea eax, [ebp - 0xc8]
push 0x64
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
call fcn.0041191b
mov edx, eax
lea ecx, [ebp - 0xc8]
call fcn.0041c454
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41b986
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
or dword [ebp - 8], 0xffffffff
push ebx
push esi
push edi
mov esi, ecx
call fcn.0041192d
xor edx, edx
cmp eax, 0x10
push 0
setge dl
mov dword [ebp - 4], edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x10], eax
call fcn.0041192d
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0x10
push 0x79
pop ecx
push 0x7e
pop edx
lea eax, [ebp - 8]
mov ebx, 0x413
push eax
push 0xf
push ebx
push dword [esi + 4]
cmovge ecx, edx
mov dword [ebp - 0xc], ecx
call edi
lea eax, [ebp - 0x10]
push eax
push 4
push ebx
push dword [esi + 4]
call edi
push 0x466520
push 0x15
push 0x444
push dword [esi + 4]
call edi
cmp byte [ebp + 8], 0
jne 0x41ba1c
push 0
push 0x9c4b
push 0x419
push dword [esi + 4]
call edi
push 0
push eax
push 0x416
push dword [esi + 4]
call edi
push 0
push 0
push 0x421
push dword [esi + 4]
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41c875
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0x10
xor ebx, ebx
mov esi, ecx
push ebx
push esi
call fcn.00421460
add esp, 0xc
mov dword [ebp - 4], ebx
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jne 0x41c8ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
jmp 0x41c906
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [esi], eax
test eax, eax
jne 0x41c8cc
mov dword [esi + 4], 0xe
jmp 0x41c906
push eax
push edi
push dword [ebp - 4]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
lea edi, [esi + 0xc]
push edi
push str.VarFileInfoTranslation
push dword [esi]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41c906
mov eax, dword [ebp - 8]
cmp eax, 4
jb 0x41c906
cmp dword [edi], ebx
je 0x41c906
shr eax, 2
mov dword [esi + 8], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41ca6a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi], eax
mov dword [esi + 4], edi
mov dword [esi + 8], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push dword [ebp + 8]
mov ecx, esi
mov dword [esi + 0xc], eax
call fcn.0041cbb0
test eax, eax
mov dword [esi + 0x10], eax
setne cl
mov byte [esi + 0x14], cl
test eax, eax
jne 0x41caaf
push 0x7f02
push edi
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esi + 0x10], eax
cmp dword [esi], edi
jle 0x41cada
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 8], eax
lea eax, [ebp + 0xc]
push eax
push edi
push esi
push 0x41ccf5
push edi
push edi
mov dword [ebp + 0xc], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
cmp dword [esi + 4], edi
jne 0x41cae8
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x41cbb0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x45fd20
call fcn.0041f258
sub esp, 0x430
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x41cc87
push str.Cursors_
lea ecx, [ebp - 0x24]
call fcn.004014c8
xor edi, edi
mov dword [ebp - 4], edi
push esi
call fcn.0042a10c
pop ecx
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.004030e4
mov ebx, 0x20a
lea eax, [ebp - 0x230]
push ebx
push edi
push eax
call fcn.00421460
add esp, 0xc
lea eax, [ebp - 0x230]
mov esi, 0x105
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jle 0x41cc7b
cmp eax, esi
jae 0x41cc7b
push ebx
lea eax, [ebp - 0x43c]
push edi
push eax
call fcn.00421460
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
push edi
cmovae eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x230]
push eax
push edi
lea eax, [ebp - 0x43c]
push esi
push eax
call fcn.0042c6ab
add esp, 0x24
lea eax, [ebp - 0x43c]
push 0x50
push edi
push edi
push 2
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageW]
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004017c6
mov eax, esi
jmp 0x41cc89
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004017c6
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x41cca6
Capabilities:
Log keystrokes

Disassembly:
push ebx
mov ebx, ecx
push dword [ebx]
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41ccf3
push 1
push dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_SetCursor]
push 0
push dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0xffffffffffffffff
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop ebx
ret
Function at 0x41d188
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x45fd55
call fcn.0041f258
push ecx
push ecx
and dword [ebp - 0x10], 0
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x41d1a6
mov eax, dword [esi + 4]
jmp 0x41d1a8
xor eax, eax
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor ecx, ecx
push 2
pop edx
lea ebx, [eax + 1]
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041f2a2
mov edi, eax
pop ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 1
test esi, esi
je 0x41d1de
mov eax, dword [esi + 4]
jmp 0x41d1e0
xor eax, eax
push ebx
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 8]
push edi
call fcn.004014c8
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 0
push edi
call fcn.0041f2ab
mov eax, dword [ebp + 8]
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x41e3c2
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
xor ebx, ebx
push 0x10
mov esi, edx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x41e3f2
xor eax, eax
jmp 0x41e48f
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 4]
sub eax, dword [esi + 4]
sub eax, dword [0x47f048]
mov edi, dword [sym.imp.USER32.dll_OffsetRect]
push eax
mov eax, dword [ebp - 8]
sub eax, dword [esi]
sub eax, dword [0x47f044]
push eax
push esi
call edi
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edx, dword [ebp - 0x18]
mov ecx, dword [esi]
call fcn.0041e327
test eax, eax
je 0x41e441
mov eax, dword [ebp - 0x18]
sub eax, dword [esi]
jmp 0x41e456
mov edx, dword [esi + 8]
mov ecx, dword [ebp - 0x10]
call fcn.0041e327
test eax, eax
je 0x41e45b
mov eax, dword [ebp - 0x10]
sub eax, dword [esi + 8]
push ebx
push eax
push esi
call edi
mov edx, dword [ebp - 0x14]
mov ecx, dword [esi + 4]
call fcn.0041e327
test eax, eax
je 0x41e472
mov eax, dword [ebp - 0x14]
sub eax, dword [esi + 4]
jmp 0x41e487
mov edx, dword [esi + 0xc]
mov ecx, dword [ebp - 0xc]
call fcn.0041e327
test eax, eax
je 0x41e48c
mov eax, dword [ebp - 0xc]
sub eax, dword [esi + 0xc]
push eax
push ebx
push esi
call edi
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41fb32
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x478ce0
call fcn.0041ffa0
push 1
call fcn.0041f47b
pop ecx
test al, al
jne 0x41f994
push 7
call fcn.0041fdaf
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0041f37e
mov byte [ebp - 0x24], al
mov eax, dword [0x47f04c]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x41f98d
test eax, eax
jne 0x41f9fe
mov dword [0x47f04c], ecx
push 0x4635f8
push 0x4635e0
call fcn.0042ee9e
pop ecx
pop ecx
test eax, eax
je 0x41f9e1
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x41fad7
push 0x4635dc
push 0x463590
call fcn.0042ee42
pop ecx
pop ecx
mov dword [0x47f04c], 2
jmp 0x41fa03
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0041f5e8
pop ecx
call fcn.00420122
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x41fa33
push esi
call fcn.0041f55e
pop ecx
test al, al
je 0x41fa33
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.0041ff9a
call esi
call fcn.00420128
mov esi, eax
cmp dword [esi], edi
je 0x41fa51
push esi
call fcn.0041f55e
pop ecx
test al, al
je 0x41fa51
push dword [esi]
call fcn.0042d225
pop ecx
call fcn.0041fecb
movzx eax, ax
push eax
call fcn.0042edfc
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.0041ff01
test al, al
jne 0x41fa7c
push esi
call fcn.0042d25d
test bl, bl
jne 0x41fa85
call fcn.0042d1fa
push edi
push 1
call fcn.0041f605
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x41fad7
call fcn.0041ffe6
ret
call fcn.0042004a
jmp 0x41f975

Function at 0x423a4b
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsAlloc
push 0x46a180
push str.FlsAlloc
push 0
call fcn.004238f9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x423a7d
push dword [ebp + 8]
mov ecx, esi
call fcn.0041ff9a
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x423abf
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsGetValue
push 0x46a1a4
push str.FlsGetValue
push 2
call fcn.004238f9
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x423af0
mov ecx, esi
call fcn.0041ff9a
call esi
jmp 0x423af6
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret

Function at 0x423af9
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsSetValue
push 0x46a1b8
push str.FlsSetValue
push 3
call fcn.004238f9
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x423b2d
mov ecx, esi
call fcn.0041ff9a
call esi
jmp 0x423b33
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret
Function at 0x4480f6
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004478d0

Function at 0x448101
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00447b0b

Function at 0x449129
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00448eb0

Function at 0x48188a
Capabilities:
Persist via run registry key

Disassembly:
mov eax, 0x481d14
call fcn.0041f258
sub esp, 0x18
lea ecx, [ebp - 0x24]
call fcn.0041bf22
and dword [ebp - 4], 0
lea eax, [ebp - 0x24]
cmp dword [ebp - 0x10], 8
cmovae eax, dword [ebp - 0x24]
push eax
push str._1__boot
push str.TextEdit_Restart
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push 0x80000001
call fcn.0041733e
add esp, 0x14
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004017c6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x495f90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5f000]
push edi
jmp 0x495faa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x495fb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x495fa0
mov eax, 1
add ebx, ebx
jne 0x495fc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x495fd4
jne 0x495ff3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x495ff3
dec eax
add ebx, ebx
jne 0x495fe0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x495fb8
add ebx, ebx
jne 0x495fef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x496045
xor ecx, ecx
sub eax, 3
jb 0x49600b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x49607a
sar eax, 1
mov ebp, eax
jmp 0x496016
add ebx, ebx
jne 0x496016
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x495fe4
inc ecx
add ebx, ebx
jne 0x496024
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x495fe4
add ebx, ebx
jne 0x496031
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x496026
jne 0x496042
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x496026
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x496064
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x496056
jmp 0x495fa6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x496064
add edi, ecx
jmp 0x495fa6
pop esi
mov edi, esi
mov ecx, 0x3021
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x496082
cmp byte [edi], 0x19
jne 0x496082
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x496087
lea edi, [esi + 0x92000]
mov eax, dword [edi]
or eax, eax
je 0x4960ff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9a8b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9a9c8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4960b4
mov ecx, edi
jns 0x4960e3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x9a9cc]
or eax, eax
je 0x4960f9
mov dword [ebx], eax
add ebx, 4
jmp 0x4960d1
call dword [esi + 0x9a9dc]
mov ebp, dword [esi + 0x9a9d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x496133
sub esp, 0xffffff80
jmp 0x45282d
Function at 0x409470
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x469d5b
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.0045e5c0
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4094f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045c36d
mov eax, dword [eax]
push 0x4801d0
push eax
call fcn.0044e7f4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045e84b
test bl, bl
je 0x4094f2
push 0x4801d0
lea ecx, [esp + 0xc]
call fcn.0045ebdb
push 0x483d4c
lea ecx, [esp + 0xc]
call fcn.0045ebdb
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 0x40952e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045e84b
jmp 0x4095f9
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 0x4095b2
lea edx, [esp + 0x7c]
push 0x483d48
push edx
call fcn.0044e7f4
add esp, 8
test eax, eax
je 0x4095b2
lea eax, [esp + 0x7c]
push 0x483d44
push eax
call fcn.0044e7f4
add esp, 8
test eax, eax
je 0x4095b2
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 0x409542
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.0045e84b
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 0x409df0
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 0x409e52
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 0x409e60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x469ddb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x48a6d0]
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 0x409f98
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x409ec6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045e84b
xor eax, eax
jmp 0x40a00f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045e988
push esi
lea ecx, [esp + 0xc]
call fcn.0045ec17
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 0x409fed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00409df0
test eax, eax
jne 0x409fed
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.00409df0
test eax, eax
jne 0x409fed
lea eax, [esp + 0x14]
push 0x483d60
push eax
call fcn.0044f830
mov esi, eax
add esp, 8
test esi, esi
jne 0x409fcc
lea ecx, [esp + 0x14]
push 0x483d5c
push ecx
call fcn.0044f7b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x409fcc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x409fcf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045e938
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x409ede
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045e84b
xor eax, eax
jmp 0x40a00f
mov byte [esi], 0
push 0x483d58
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.0045e84b
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 0x41b380
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 0x41b3ee
cmp si, 0x69
ja 0x41b3ee
add esi, 0xffd0
cmp si, 0x11
je 0x41b3be
push 0x11
call edi
test ax, ax
jge 0x41b3be
or esi, 0x2000
cmp si, 0x10
je 0x41b3d3
push 0x10
call edi
test ax, ax
jge 0x41b3d3
or esi, 0x4000
cmp si, 0x12
je 0x41b3e8
push 0x12
call edi
test ax, ax
jge 0x41b3e8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41b3fb
mov esi, 0xbd
jmp 0x41b3af
cmp si, 0x6e
jne 0x41b408
mov esi, 0xbe
jmp 0x41b3af
cmp si, 0x6f
jne 0x41b3a9
mov esi, 0xbf
jmp 0x41b3af

Function at 0x41caa0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x49adc8]
xor edx, edx
cmp eax, edx
jne 0x41cac6
xor eax, eax
mov byte [eax + 0x49acc8], al
inc eax
cmp eax, 0x100
jl 0x41caae
mov dword [0x49adc8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x49acc8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41cb57
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 0x41cb2a
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 0x41caf8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41cbd0
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 0x41cc23
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 0x41cc0a
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