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

Disassembly:
push 0xffffffffffffffff
push 0x548236
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x849260]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0xb0], ebx
call fcn.0053459e
mov edx, dword [0x849260]
mov dword [esp + 0x3c], edx
cmp esi, ebx
mov byte [esp + 0xac], 1
jne 0x51189a
mov dword [esp + 0x1c], ebx
jmp 0x5118a1
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x1c], eax
push edi
mov ecx, esi
call fcn.005366e3
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
mov edi, 1
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edx
call fcn.00532241
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x1c], ecx
jne 0x5118f2
mov dword [esp + 0x14], ebx
jmp 0x5118f9
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x14], edx
cmp dword [esi + 0x44], 0xd
jne 0x511914
mov eax, dword [eax + 0x3c4]
cmp eax, edi
je 0x51190e
cmp eax, 2
jne 0x511914
mov dword [esp + 0x18], edi
jmp 0x511918
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x511926
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00533bd3
mov edi, eax
cmp edi, ebx
jne 0x511936
xor eax, eax
jmp 0x511939
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x511961
mov ecx, esi
call fcn.005366e3
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x4e
push edx
call ebp
mov eax, dword [esp + 0x1c]
push eax
call ebx
test eax, eax
pop edi
je 0x51197d
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x51199c
mov esi, dword [esp + 0x10]
push esi
call ebx
test eax, eax
je 0x51199c
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0xac], 0
call fcn.00532154
lea ecx, [esp + 0xc]
mov dword [esp + 0xac], 0xffffffff
call fcn.00532154
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret
Function at 0x51ac60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x548d93
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
call fcn.0053843a
xor eax, eax
mov dword [esi + 0x10], 0x821104
mov dword [esp + 0x10], eax
mov dword [esi + 0x14], eax
mov ecx, 1
mov dword [esi], method.CDC.virtual_0
mov byte [esp + 0x10], cl
mov dword [esi + 0x30], ecx
lea ecx, [esi + 0x20]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [ecx], eax
mov edx, dword [esp + 0x24]
mov dword [ecx + 4], eax
push edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
push edx
mov ecx, esi
call fcn.0051ad60
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10

Function at 0x51acf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x548dbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], method.CDC.virtual_0
mov eax, dword [esi + 0x30]
mov dword [esp + 0x14], 1
push eax
call fcn.0051b9a0
lea ecx, [esi + 0x10]
mov dword [esp + 8], ecx
mov dword [ecx], method.CGdiObject.virtual_0
mov byte [esp + 0x14], 2
call fcn.005390d4
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.0053856f
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x53459e
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x5345d6
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.005325af
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00532587
jmp 0x5345e2
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x535e12
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x535e54
call fcn.0053c7a1
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x535e54
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x535e4b
xor eax, eax
jmp 0x535e5c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00535e62
pop edi
pop esi
pop ebx
ret 4
Function at 0x53ccd1
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x53ccff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x53cd1d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0053cc37
jmp 0x53cd1d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x53cd1d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0053cc37
test edi, edi
mov eax, edi
jne 0x53cd07
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x53f580
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x53f5a8
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x53f5b9
push 2
call edi
test ax, ax
jge 0x53f5b9
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.00533bd3
cmp dword [esi + 0x30], ebx
jne 0x53f693
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.00533bd3
cmp eax, dword [esp + 0x34]
jne 0x53f693
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x53f62f
push 1
push pe_nt_image_headers32
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x53f674
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x53f693
cmp eax, 0x205
je 0x53f693
cmp eax, 0x201
je 0x53f693
cmp eax, 0x204
je 0x53f693
cmp eax, ebx
jne 0x53f65a
cmp dword [esp + 0x1c], 0x1b
je 0x53f693
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x8984fc]
jbe 0x53f689
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x53f5ec
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x6ba807
Capabilities:
Packed with generic packer

Disassembly:
cmp word [eax + ecx], dx
jmp 0x6ba3b1
jl 0x6ba076
jge 0x6ba076
pop ecx
and eax, 0xffff0000
jmp 0x6ba3f5
pop edi
jmp 0x6bac94
jb 0x6ba248
jmp 0x6ba8ee
cmp dword [0x6bead1], 0
jmp 0x6babae
sub esp, 0x20
jmp 0x6ba096
mov dl, byte [esi]
jmp 0x6ba939
je 0x6ba30c
jmp 0x6babcd
mov edx, dword [eax + edx*4]
jmp 0x6ba63b
cmp word [eax], cx
jmp 0x6ba314
mov dword [0x6bead5], ecx
jmp 0x6baa5c
pop ebx
jmp 0x6ba9a9
call 0x6ba1c9
mov ebx, 0x243c87d1
lea edi, [edi + 0x999]
xchg dword [esp], edi
jmp 0x6bab00
jne 0x6ba8f3
jmp 0x6ba0da
ret 4
test bl, bl
jmp 0x6ba0f7
mov ebx, dword [ebp + 0xc]
jmp 0x6ba6cc
mov edx, dword [ebp - 4]
jmp 0x6ba61d
inc dword [ebp - 4]
jmp 0x6ba26e
leave
jmp 0x6bac8e
push edi
jmp 0x6ba81b
mov dword [0x6bead1], 1
jmp 0x6ba590
xor edx, edx
jmp 0x6ba95c
jne 0x6baa09
jmp 0x6ba547
push esi
jp 0x6ba2b3
jnp 0x6ba2b3
fst qword [ebx + ebx]
shr cl, cl
cmp dword [eax], ecx
add byte [eax], al
popal
xlatb
sub dword [edi + edi*8], eax
jne 0x6ba328
sbb edx, edx
jmp 0x6bab66
jmp 0x6ba4c8
jne 0x6baa09
jmp 0x6ba8e8
inc edx
jmp 0x6bac1e
mov ecx, 0x5a4d
jmp 0x6ba17d
mov dword [ebp - 8], ebx
jmp 0x6bac28
jne 0x6bac28
jmp 0x6ba30c
mov ecx, dword [ecx + 0x1c]
jmp 0x6bab72
add ecx, eax
jmp 0x6ba57c
mov ecx, dword [eax + 0x3c]
jmp 0x6ba951
call dword [0x6bead5]
jmp 0x6ba7ae
push dword [ebp - 0x10]
jmp 0x6ba1a3
call ecx
jmp 0x6ba9cc
jmp 0x6ba7ae
pop ebx
jmp 0x6ba294
jne 0x6ba326
jmp 0x6ba659
mov bl, byte [ebx]
jmp 0x6bab7e
cmp edx, dword [ecx + 0x18]
jmp 0x6ba08b
add edx, esi
jmp 0x6ba43f
add dword [ebp - 8], 2
jmp 0x6ba3d2
mov edx, dword [ebp - 4]
jmp 0x6ba4a6
pushal
jmp 0x6ba895
jne 0x6ba326
jmp 0x6ba22d
mov edx, dword [ebp - 4]
jmp 0x6ba12f
call 0x6ba6de
rol byte [edi - 0x7672dbf4], cl
in al, 0xfd
invalid
movzx eax, word [eax + esi]
jmp 0x6ba856
add byte [eax], al
and al, byte [ecx + 0x34e9ec8b]
stc
invalid
mov ebp, esp
jmp 0x6ba0ce
push ebx
jmp 0x6ba31f
call 0x6ba807
jecxz 0x6ba78f
sbb al, 0x24
lea ebx, [ebx - 0x17b]
xchg dword [esp], ebx
jmp 0x6ba68b
call 0x6ba822
les ecx, [esi - 0x79]
cmp al, 0x24
lea edi, [edi - 0x459]
xchg dword [esp], edi
jmp 0x6ba6d8
add ecx, eax
jmp 0x6ba587
lea eax, [ecx + eax*4]
jmp 0x6bab0a
je 0x6bacb0
jmp 0x6ba281
mov byte [ebp + 0xb], bl
jmp 0x6bab9b
push esp
jmp 0x6ba1c2
pop esi
jmp 0x6ba1af
test bl, bl
jmp 0x6ba472
mov bl, byte [ebx + 1]
je 0x6ba881
jne 0x6ba881
dec esp
add ecx, ebx
add dl, dl
jmp 0x6ba1fc
ret
jmp 0x6baa96
ret
inc esi
jmp 0x6bab1e
mov edx, 0x4550
jmp 0x6ba042
jmp 0x6bac31
leave
jmp 0x6ba225
pop edi
jmp 0x6ba8a9
add edi, esi
jmp 0x6baa96
dec eax
jmp 0x6ba069
mov ecx, dword [esi + 0x52]
jmp 0x6baaf6
mov eax, edi
jmp 0x6ba064
push dword [ebp + 8]
jmp 0x6ba559
push edi
jmp 0x6ba842
push ebp
jmp 0x6ba793
mov edi, dword [eax + esi]
jmp 0x6ba9ff
adc dl, dl
jmp 0x6ba8f3
sbb edx, 0xffffffff
jmp 0x6bac31
lea eax, [eax + edx*2]
jmp 0x6ba71e
cmp bl, byte [edx]
jmp 0x6ba6b9
cmp bl, byte [edx + 1]
jmp 0x6ba5b8
jne 0x6baacf
jmp 0x6ba2c1
mov ebx, dword [ebp - 8]
jmp 0x6ba8c9
inc edx
jmp 0x6ba8c0
mov ebx, dword [ebp - 8]
jmp 0x6ba602
test edx, edx
jmp 0x6ba86a
ret
pop esi
jmp 0x6ba5a2
mov eax, dword [ecx + 0x24]
jmp 0x6ba664
Function at 0x4033e3
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x403409
cmp al, 0x22
je 0x403419
inc esi
mov al, byte [esi]
test al, al
jne 0x4033f8
cmp al, 0x22
jne 0x40341a
jmp 0x403419
cmp al, 0x20
jle 0x40341a
inc esi
cmp byte [esi], 0x20
jg 0x40340d
jmp 0x40341a
cmp al, 0x20
jg 0x403420
inc esi
mov al, byte [esi]
test al, al
jne 0x403415
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.0040348e
push 0x406004
push section..data
call fcn.00403474
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x403450
movzx eax, word [ebp - 0x14]
jmp 0x403453
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.004034a6
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x40367a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x406010]
jne 0x403684
repz ret
jmp fcn.00403858

Function at 0x796208
Capabilities:
Encode data using xor

Disassembly:
jmp 0x796212
pushal
call 0x796218
pop ebp
sub ebp, 0x10
sub ebp, 0x396208
jmp 0x79622e
mov eax, 0x396208
add eax, ebp
add eax, 0x4c
mov ecx, 0x5d1
mov edx, 0x68971466
xor byte [eax], dl
inc eax
dec ecx
jne 0x796245
jmp 0x796258
in eax, dx
stosd dword es:[edi], eax
in eax, dx
out dx, eax
pop edx
out 0xa7, ax
sahf
stosw word es:[edi], ax
fisub word [edx + 0x66]
fmul qword [esi + 0x66]
xchg cx, ax
test byte [ebp - 0x52], ah
in eax, dx
out 0x6a, eax
mov word gs:[0xc60e3636], ax
leave
push 0xd4000e66
dec esp
dec dx
inc edx
push cs
push ebp
invalid
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
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 0x408948
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x4085d8
call fcn.00408963
xor dword [eax], esi
inc eax
and edx, ebx
cmp eax, ecx
jne fcn.00408948
sub edx, edx
ret
Function at 0x40b0f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x468d2b
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.0045d79e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40b172
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045b51d
mov eax, dword [eax]
push 0x55a1c0
push eax
call fcn.0044e384
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045da29
test bl, bl
je 0x40b172
push 0x55a1c0
lea ecx, [esp + 0xc]
call fcn.0045ddb9
push 0x55dd34
lea ecx, [esp + 0xc]
call fcn.0045ddb9
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 0x40b1ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045da29
jmp 0x40b279
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 0x40b232
lea edx, [esp + 0x7c]
push 0x55dd30
push edx
call fcn.0044e384
add esp, 8
test eax, eax
je 0x40b232
lea eax, [esp + 0x7c]
push 0x55dd2c
push eax
call fcn.0044e384
add esp, 8
test eax, eax
je 0x40b232
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 0x40b1c2
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.0045da29
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 0x40ba70
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 0x40bad2
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 0x40bae0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x468dab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x564208]
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 0x40bc18
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40bb46
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045da29
xor eax, eax
jmp 0x40bc8f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045db66
push esi
lea ecx, [esp + 0xc]
call fcn.0045ddf5
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 0x40bc6d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040ba70
test eax, eax
jne 0x40bc6d
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 accept
mov ecx, edi
call fcn.0040ba70
test eax, eax
jne 0x40bc6d
lea eax, [esp + 0x14]
push 0x55dd48
push eax
call fcn.0044f3c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40bc4c
lea ecx, [esp + 0x14]
push 0x55dd44
push ecx
call fcn.0044f340
mov esi, eax
add esp, 8
test esi, esi
jne 0x40bc4c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40bc4f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045db16
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40bb5e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045da29
xor eax, eax
jmp 0x40bc8f
mov byte [esi], 0
push 0x55dd40
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.0045da29
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 0x41c1e0
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 0x41c24e
cmp si, 0x69
ja 0x41c24e
add esi, 0xffd0
cmp si, 0x11
je 0x41c21e
push 0x11
call edi
test ax, ax
jge 0x41c21e
or esi, 0x2000
cmp si, 0x10
je 0x41c233
push 0x10
call edi
test ax, ax
jge 0x41c233
or esi, 0x4000
cmp si, 0x12
je 0x41c248
push 0x12
call edi
test ax, ax
jge 0x41c248
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41c25b
mov esi, 0xbd
jmp 0x41c20f
cmp si, 0x6e
jne 0x41c268
mov esi, 0xbe
jmp 0x41c20f
cmp si, 0x6f
jne 0x41c209
mov esi, 0xbf
jmp 0x41c20f

Function at 0x41d900
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x574860]
xor edx, edx
cmp eax, edx
jne 0x41d926
xor eax, eax
mov byte [eax + 0x574760], al
inc eax
cmp eax, 0x100
jl 0x41d90e
mov dword [0x574860], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x574760
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41d9b7
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 0x41d98a
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 0x41d958
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41da30
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 0x41da83
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 0x41da6a
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