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

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x5075aa
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.00505617
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.005055ef
jmp 0x5075b6
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x508d70
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 0x508db2
call fcn.0050efa2
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x508db2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x508da9
xor eax, eax
jmp 0x508dba
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00508dc0
pop edi
pop esi
pop ebx
ret 4

Function at 0x50f4d2
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 0x50f500
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x50f51e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0050f438
jmp 0x50f51e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x50f51e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0050f438
test edi, edi
mov eax, edi
jne 0x50f508
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401ac1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42f090]
jne 0x401acb
repz ret
jmp fcn.00402eb8

Function at 0x40c0a2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404d29
and dword [ebp - 4], 0
cmp dword [0x433b00], 0
mov ebx, eax
jne 0x40c153
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40c204
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40c204
push eax
call fcn.00404cb7
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x433b00], eax
call esi
push eax
call fcn.00404cb7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x433b04], eax
call esi
push eax
call fcn.00404cb7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x433b08], eax
call esi
push eax
call fcn.00404cb7
pop ecx
mov dword [0x433b10], eax
test eax, eax
je 0x40c153
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404cb7
pop ecx
mov dword [0x433b0c], eax
mov eax, dword [0x433b0c]
cmp eax, ebx
je 0x40c1ab
cmp dword [0x433b10], ebx
je 0x40c1ab
push eax
call fcn.00404d32
push dword [0x433b10]
mov esi, eax
call fcn.00404d32
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40c1ab
test edi, edi
je 0x40c1ab
call esi
test eax, eax
je 0x40c1a2
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40c1a2
test byte [ebp - 0xc], 1
jne 0x40c1ab
or dword [ebp + 0x10], 0x200000
jmp 0x40c1e4
mov eax, dword [0x433b04]
cmp eax, ebx
je 0x40c1e4
push eax
call fcn.00404d32
pop ecx
test eax, eax
je 0x40c1e4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40c1e4
mov eax, dword [0x433b08]
cmp eax, ebx
je 0x40c1e4
push eax
call fcn.00404d32
pop ecx
test eax, eax
je 0x40c1e4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x433b00]
call fcn.00404d32
pop ecx
test eax, eax
je 0x40c204
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40c206
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40da1b
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x42f090]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
cmp dword [0x1baa12c], 0x930
jne 0x40da50
push str.vacejazulufapesu
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
cmp dword [0x1baa12c], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x1ba9e48], eax
jne 0x40da87
push esi
lea eax, [ebp - 0x804]
push eax
push esi
call sub.KERNEL32.dll_VerLanguageNameW
lea eax, [ebp - 0x820]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00401ac1
leave
ret
Function at 0x40daa3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jle 0x40dae3
and dword [ebp - 4], 0
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
call fcn.0040da94
pop ecx
mov eax, dword [ebp - 8]
add eax, 0x46
mov dword [ebp - 4], eax
sub dword [ebp - 4], 0x28
sub dword [ebp - 4], 0x1e
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 4]
add eax, esi
xor byte [eax], cl
inc esi
cmp esi, dword [ebp + 0xc]
jl 0x40dab0
cmp dword [ebp + 0xc], 0x2d
pop esi
jne 0x40dafb
or dword [0x1baa13c], 0xffffffff
mov dword [0x1baa138], 0xa62e7790
leave
ret
Function at 0x3f309285
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x3f309294
pop dword [ebp - 0x3c]
mov eax, 0xac684480
add eax, 0x92c84e14
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x45890
push 0
mov eax, 0xde0f1941
add eax, 0x6100f81f
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0xd931a916
add ecx, 0x26cea31d
mov ebx, eax
mov esi, 0xdefcd260
sub esi, 0x9fbca260
add esi, dword [ebp - 0x3c]
mov edi, 0x926a3bdc
sub edi, 0x2fe4a77e
xor dword [ebp - 0x30], 0x226d5a3c
mov edx, dword [esi]
sub dword [ebp - 0x28], edi
sub edx, edi
mov dword [ebx], edx
sub dword [ebp - 0xc], eax
add ebx, 0x6561d149
sub ebx, 0x6561d145
add esi, 0x4a2733db
sub esi, 0x4a2733d7
loop 0x3f3092f3
add eax, 0x1239f
mov ebx, eax
add eax, 5
mov ecx, 0x25ab3e90
add ecx, 0x1964c170
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x3f3845bf
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x110
push esi
push edi
push dword [ebp + 0x7c]
xor esi, esi
push dword [ebp + 0x78]
mov dword [ebp + 0x64], ecx
mov dword [ebp + 0x68], esi
call fcn.3f309285
mov edi, eax
cmp edi, esi
je 0x3f384696
push 0x80
lea eax, [ebp - 0x20]
push eax
push 0xc
push dword [0x3f3a32c0]
call dword [sym.imp.user32.dll_LoadStringA]
test eax, eax
jle 0x3f38468f
mov ecx, dword [ebp + 0x64]
push ebx
push dword [ebp + 0x78]
call fcn.3f38958d
push esi
push esi
mov ebx, eax
push 0x81
lea eax, [ebp - 0xa4]
push eax
push ebx
call fcn.3f390cad
pop ecx
inc eax
push eax
push ebx
push esi
push esi
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
push eax
lea eax, [ebp - 0xa4]
push eax
push 1
push esi
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
pop ebx
jne 0x3f38468f
push 0x80
lea eax, [ebp - 0x20]
push eax
push 0xd
push dword [0x3f3a32c0]
call dword [sym.imp.user32.dll_LoadStringA]
test eax, eax
jle 0x3f38468f
mov ecx, dword [ebp + 0x64]
lea eax, [ebp - 0x20]
push eax
push edi
push dword [ebp + 0x78]
push dword [ebp + 0x74]
call fcn.3f309285
mov dword [ebp + 0x68], eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x68]
pop edi
pop esi
add ebp, 0x6c
leave
ret 0xc

Function at 0x3f38a12e
Capabilities:
Parse credit card information

Disassembly:
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
add edx, edx
add eax, edx
mov cx, word [eax]
inc eax
push ebx
mov ebx, dword [esp + 0x10]
inc eax
cmp cx, 0x3e
push esi
mov esi, dword [ebx]
je 0x3f38a153
cmp cx, 0x7d
jne 0x3f38a162
dec esi
jne 0x3f38a15d
xor eax, eax
jmp 0x3f38a1fd
mov cx, word [eax]
inc eax
inc eax
cmp cx, 0x3a
je 0x3f38a17a
cmp cx, 0x3b
je 0x3f38a17a
cmp cx, 0x38
je 0x3f38a17a
cmp cx, 0x25
jne 0x3f38a156
dec esi
je 0x3f38a156
mov cx, word [eax]
inc eax
inc eax
cmp cx, 0x2d
je 0x3f38a18e
cmp cx, 0x5e
jne 0x3f38a198
dec esi
test esi, esi
je 0x3f38a156
mov cx, word [eax]
inc eax
inc eax
cmp cx, 0x28
je 0x3f38a1f0
cmp cx, 0x3e
je 0x3f38a1f0
cmp cx, 0x44
je 0x3f38a1f0
cmp cx, 0x49
je 0x3f38a1f0
cmp cx, 0x4f
je 0x3f38a1f0
cmp cx, 0x6f
je 0x3f38a1f0
cmp cx, 0x5c
je 0x3f38a1f0
cmp cx, 0x2f
je 0x3f38a1f0
cmp cx, 0x7c
je 0x3f38a1f0
cmp cx, 0x30
jne 0x3f38a1db
cmp word [eax - 4], 0x38
jne 0x3f38a1f0
cmp cx, 0x29
jne 0x3f38a156
cmp word [eax - 4], 0x38
je 0x3f38a156
sub eax, edx
sub eax, dword [esp + 0xc]
sar eax, 1
mov dword [ebx], eax
xor eax, eax
inc eax
pop esi
pop ebx
ret 0xc
Function at 0x3f38cf7e
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0x200
push ebx
push esi
push edi
push 0x80
lea eax, [ebp - 0x9c]
push eax
push dword [ebp + 0x6c]
call dword [sym.imp.ole32.dll_StringFromGUID2]
xor ebx, ebx
push ebx
push ebx
push 0x40
lea eax, [ebp - 0x1c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x9c]
push eax
push ebx
push ebx
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov esi, 0x3f2ff05c
lea edi, [ebp + 0x24]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x1c]
movsb byte es:[edi], byte [esi]
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x3f38cfcd
lea edi, [ebp + 0x24]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x3f38cfda
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 0x74]
cmp edi, ebx
mov esi, 0x3f2ff054
je 0x3f38d015
push dword [ebp + 0x70]
mov eax, edi
push ebx
call fcn.3f309285
lea eax, [ebp - 0x1c]
push eax
push esi
mov eax, edi
call fcn.3f309285
mov eax, dword [ebp + 0x78]
cmp eax, ebx
je 0x3f38d040
push dword [ebp + 0x70]
push ebx
call fcn.3f309285
mov eax, dword [ebp + 0x78]
push edi
push 0x3f2ff04c
call fcn.3f309285
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 0x78]
push esi
call fcn.3f309285
push dword [ebp + 0x70]
lea eax, [ebp + 0x24]
push ebx
call fcn.3f309285
cmp edi, ebx
je 0x3f38d05e
push edi
push 0x3f2ff044
lea eax, [ebp + 0x24]
call fcn.3f309285
cmp dword [ebp + 0x78], ebx
je 0x3f38d073
push dword [ebp + 0x78]
lea eax, [ebp + 0x24]
push 0x3f2ff028
call fcn.3f309285
push ebx
push 0x3f2ff018
lea eax, [ebp + 0x24]
call fcn.3f309285
push dword [ebp + 0x7c]
mov esi, 0x3f2ff008
push esi
lea eax, [ebp + 0x24]
call fcn.3f309285
push esi
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp - 0x19c]
push 0x3f2ff000
push eax
call fcn.3f309285
add esp, 0x10
push ebx
lea eax, [ebp + 0x78]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
lea eax, [ebp - 0x19c]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x3f38d0ff
mov esi, 0x3f2feff4
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x3f38d0d9
sub eax, edx
inc eax
push eax
push esi
push 1
push ebx
push 0x3f2fefe4
push dword [ebp + 0x78]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
xor eax, eax
pop ebx
add ebp, 0x64
leave
ret 0x14
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x73da733a
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x46536ac5
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x1948a058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1948a1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1948a07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1948a06a
add dl, dl
jne 0x1948a089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1948a0dc
xor eax, eax
add dl, dl
jne 0x1948a096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1948a17d
add dl, dl
jne 0x1948a0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1948a0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1948a0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1948a0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1948a0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1948a075
mov eax, 1
add dl, dl
jne 0x1948a0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1948a0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1948a0e1
sub eax, ebx
mov ebx, 1
jne 0x1948a128
mov ecx, 1
add dl, dl
jne 0x1948a10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1948a119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1948a105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1948a075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1948a13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1948a14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1948a136
cmp eax, 0x7d00
jae 0x1948a16d
cmp eax, 0x500
jb 0x1948a168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1948a075
cmp eax, 0x7f
ja 0x1948a170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1948a075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1948a19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1948a075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x42a860
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4adbbb
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.004a0566
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42a8e2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049dde3
mov eax, dword [eax]
push 0x50cd10
push eax
call fcn.004904b4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a07f1
test bl, bl
je 0x42a8e2
push 0x50cd10
lea ecx, [esp + 0xc]
call fcn.004a0bcd
push 0x50cd1c
lea ecx, [esp + 0xc]
call fcn.004a0bcd
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 0x42a91e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a07f1
jmp 0x42a9e9
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 0x42a9a2
lea edx, [esp + 0x7c]
push 0x50cd18
push edx
call fcn.004904b4
add esp, 8
test eax, eax
je 0x42a9a2
lea eax, [esp + 0x7c]
push 0x50cd14
push eax
call fcn.004904b4
add esp, 8
test eax, eax
je 0x42a9a2
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 0x42a932
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.004a07f1
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 0x42bc50
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 0x42bcb2
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 0x42bcc0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4add1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x517530]
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 0x42bdf8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42bd26
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a07f1
xor eax, eax
jmp 0x42be6f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004a097a
push esi
lea ecx, [esp + 0xc]
call fcn.004a0c09
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x50cd60
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x42be4d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0042bc50
test eax, eax
jne 0x42be4d
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.0042bc50
test eax, eax
jne 0x42be4d
lea eax, [esp + 0x14]
push 0x50cd3c
push eax
call fcn.004916a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42be2c
lea ecx, [esp + 0x14]
push 0x50cd38
push ecx
call fcn.00491620
mov esi, eax
add esp, 8
test esi, esi
jne 0x42be2c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42be2f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004a092a
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42bd3e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a07f1
xor eax, eax
jmp 0x42be6f
mov byte [esi], 0
push 0x50cd34
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.004a07f1
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 0x43cb80
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 0x43cbee
cmp si, 0x69
ja 0x43cbee
add esi, 0xffd0
cmp si, 0x11
je 0x43cbbe
push 0x11
call edi
test ax, ax
jge 0x43cbbe
or esi, 0x2000
cmp si, 0x10
je 0x43cbd3
push 0x10
call edi
test ax, ax
jge 0x43cbd3
or esi, 0x4000
cmp si, 0x12
je 0x43cbe8
push 0x12
call edi
test ax, ax
jge 0x43cbe8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x43cbfb
mov esi, 0xbd
jmp 0x43cbaf
cmp si, 0x6e
jne 0x43cc08
mov esi, 0xbe
jmp 0x43cbaf
cmp si, 0x6f
jne 0x43cba9
mov esi, 0xbf
jmp 0x43cbaf

Function at 0x43e7e0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5284d0]
xor edx, edx
cmp eax, edx
jne 0x43e806
xor eax, eax
mov byte [eax + 0x5283d0], al
inc eax
cmp eax, 0x100
jl 0x43e7ee
mov dword [0x5284d0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5283d0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x43e897
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 0x43e86a
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 0x43e838
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x43e910
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 0x43e963
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 0x43e94a
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