joyce8/EMBER2024-capa huggingface dataset:
Function at 0x456920
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x456abd
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00402a54
cmp word [ebx + 0xa2], 0
je 0x456969
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
mov eax, dword [ebx + 0x90]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x45697d
lea esi, [ebp - 8]
jmp 0x45697f
xor esi, esi
cmp dword [ebx + 0x80], 0
jne 0x45698c
xor edi, edi
jmp 0x456999
mov eax, dword [ebx + 0x80]
call fcn.00404570
mov edi, eax
mov eax, dword [ebx + 0x7c]
call fcn.00404570
push eax
push edi
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00456058
mov eax, dword [ebp - 0x14]
call fcn.00404570
push eax
push esi
mov eax, dword [ebx + 0x74]
call fcn.00404570
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404570
push eax
mov eax, ebx
call fcn.0045618c
push eax
mov eax, ebx
call fcn.00456160
push eax
mov eax, ebx
call fcn.00456114
push eax
push 0xf01ff
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00455f24
mov eax, dword [ebp - 0x18]
call fcn.00404570
push eax
mov eax, dword [ebx + 8]
call fcn.00404570
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x90], eax
cmp dword [ebp - 0xc], 0
jne 0x456a22
call fcn.0040cf94
xor edx, edx
push ebp
push 0x456a9b
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x456a60
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [ebx + 0xaa], 0
je 0x456a56
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x456a84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456aa2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret

Function at 0x456acc
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xb2], 0
je 0x456af8
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xb4]
call dword [esi + 0xb0]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00404570
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x456b1d
call fcn.0040cf94
xor eax, eax
push ebp
push 0x456b54
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x456b3d
call fcn.0040cf94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456b5b
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x45771c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x2b
push 0
push 0
dec ecx
jne 0x457724
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404560
lea edi, [ebp - 0x12d]
xor eax, eax
push ebp
push 0x4578e1
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.00457594
mov ebx, eax
mov dword [edi], 0x128
call sub.kernel32.dll_GetCurrentProcessId
mov esi, eax
mov edx, edi
mov eax, ebx
call fcn.004575b4
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x457844
lea eax, [ebp - 0x13c]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404320
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x138]
call fcn.00408574
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00407cf0
mov eax, dword [ebp - 0x134]
push eax
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 4]
call fcn.00407cf0
mov edx, dword [ebp - 0x140]
pop eax
call fcn.004044bc
je 0x45781c
lea eax, [ebp - 0x148]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404320
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x144]
call fcn.00407cf0
mov eax, dword [ebp - 0x144]
push eax
lea edx, [ebp - 0x14c]
mov eax, dword [ebp - 4]
call fcn.00407cf0
mov edx, dword [ebp - 0x14c]
pop eax
call fcn.004044bc
jne 0x457835
mov eax, dword [edi + 8]
cmp esi, eax
je 0x457835
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push 0
push eax
call sub.kernel32.dll_TerminateProcess
mov edx, edi
mov eax, ebx
call fcn.004575d4
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x45777d
push ebx
call sub.kernel32.dll_CloseHandle
lea edx, [ebp - 0x150]
mov eax, dword [ebp - 4]
call fcn.00407cf0
mov eax, dword [ebp - 0x150]
push eax
lea edx, [ebp - 0x15c]
mov eax, dword [0x45a160]
mov eax, dword [eax]
call fcn.00453f24
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x158]
call fcn.00408574
mov eax, dword [ebp - 0x158]
lea edx, [ebp - 0x154]
call fcn.00407cf0
mov edx, dword [ebp - 0x154]
pop eax
call fcn.004044bc
jne 0x4578bb
push esi
push 0
push 1
call sub.kernel32.dll_OpenProcess
push 0
push eax
call sub.kernel32.dll_TerminateProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4578e8
lea eax, [ebp - 0x15c]
mov edx, 0xb
call fcn.004040d4
lea eax, [ebp - 4]
call fcn.004040b0
ret
Function at 0x457f74
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov eax, 0x457d7c
call fcn.00405ed0
xor eax, eax
push ebp
push 0x4580bb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x45a154]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x34]
push 0x4580c8
push 0
push 0
call fcn.004060e8
mov ebx, eax
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
jne 0x457fd4
push ebx
call sub.kernel32.dll_ReleaseMutex
jmp 0x458098
mov ecx, dword [0x459f34]
mov eax, dword [0x45a154]
mov eax, dword [eax]
mov edx, dword [0x45762c]
mov ebx, dword [eax]
call dword [ebx + 0x30]
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x30]
xor eax, eax
call fcn.00402a54
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.00408540
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.0040c550
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, 0x4580e0
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea edx, [ebp - 0x24]
mov ecx, 1
mov eax, 0x4580f0
call fcn.00408d98
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x42aa98]
call fcn.0042ab48
mov edx, dword [0x459fe0]
mov dword [edx], eax
push 0
push 0x4580f8
call sub.user32.dll_FindWindowA
mov ebx, eax
test ebx, ebx
jne 0x45806d
push 1
push 0x45810c
call sub.kernel32.dll_WinExec
push 0x1388
call sub.kernel32.dll_Sleep_1
call fcn.00457b50
test al, al
je 0x45804f
mov eax, 0x458120
call fcn.0045771c
jmp 0x45804f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4580c2
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.004040d4
lea eax, [ebp - 0x14]
call fcn.004040b0
ret
Function at 0x1016d734
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.1016d7b3
jae 0x1016d740
xor ecx, ecx
call fcn.1016d7b3
jae 0x1016d76a
xor eax, eax
call fcn.1016d7b3
jae 0x1016d77b
mov al, 0x10
call fcn.1016d7b3
adc al, al
jae 0x1016d75c
jne 0x1016d7a8
stosb byte es:[edi], al
jmp 0x1016d741
call fcn.1016d7bf
dec ecx
loop 0x1016d787
mov eax, ebp
call fcn.1016d7bd
jmp 0x1016d7a9
lodsb al, byte [esi]
shr eax, 1
je 0x1016d7cf
adc ecx, 2
mov ebp, eax
jmp 0x1016d7a9
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.1016d7bd
cmp eax, 0x7d00
jae 0x1016d7a7
cmp eax, 0x500
jae 0x1016d7a8
cmp eax, 0x7f
ja 0x1016d7a9
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1016d741
pop ebp
ret 8
Function at 0x5db610
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x5e14cc]
cmp dword [eax + 0x28], 0
jne 0x5db628
xor eax, eax
jmp 0x5db757
mov ecx, dword [0x5e143c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
add edx, 0xe
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [0x5e1430], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [0x5e142c], eax
push 0
call dword [0x5df138]
mov dword [ebp - 0x10], eax
push 1
call dword [0x5df138]
mov dword [ebp - 0x18], eax
mov ecx, dword [0x5e1430]
mov dword [ebp - 0x40], ecx
mov edx, dword [0x5e142c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x40]
shr eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 8]
shr ecx, 1
mov dword [ebp - 0x1c], ecx
push 0
mov edx, dword [0x5e14b8]
push edx
push 0
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x14]
push eax
push accept
push 0x5df680
push 0x5df6d0
push 0x88
call dword [0x5df134]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [0x5e1428], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [0x5df10c]
push eax
call fcn.005db550
push 5
mov eax, dword [ebp - 0xc]
push eax
call dword [0x5df148]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [0x5df12c]
push 0x5db5e0
mov edx, dword [0x5e14cc]
mov eax, dword [edx + 0x34]
imul eax, eax, 0x3e8
push eax
push 0
push 0
call dword [0x5df13c]
mov dword [0x5e1434], eax
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
push ecx
call dword [0x5df130]
test eax, eax
je 0x5db757
cmp dword [ebp - 0x38], 0x12
jne 0x5db74b
mov dword [0x5e1444], 0
call fcn.005db760
xor eax, eax
jmp 0x5db757
lea edx, [ebp - 0x3c]
push edx
call dword [0x5df140]
jmp 0x5db71c
mov esp, ebp
pop ebp
ret 4

Function at 0x5dcb30
Capabilities:
Read .ini file
Read and send data from client to server
Send data
Send data on socket
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebp
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
pop ebp
mov eax, dword [ebp + 8]
push eax
call dword [fcn.005df0dc]
call dword [fcn.005df124]
call dword [fcn.005df128]
call dword [fcn.005df094]
call dword [0x5df0fc]
call dword [fcn.005df0f4]
call dword [fcn.005df150]
call dword [fcn.005df00c]
call dword [fcn.005df000]
call dword [fcn.005df160]
call fcn.005de674
mov eax, 1
pop ebp
ret 4
Function at 0x5dd6cc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0x5df168
sub eax, eax
test esi, esi
je 0x5dd7a4
sub eax, 1
test ecx, ecx
je 0x5dd7a2
test esi, 3
je 0x5dd70a
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x5dd6ef
mov edx, ecx
and edx, 7
shr ecx, 3
je 0x5dd789
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x5dd714
mov ecx, edx
test ecx, ecx
je 0x5dd7a2
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x5dd78f
not eax
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x5dd7ac
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.005dd82f
jae 0x5dd7ba
xor ecx, ecx
call fcn.005dd82f
jae 0x5dd7e9
xor eax, eax
call fcn.005dd82f
jae 0x5dd7f9
mov bl, 2
inc ecx
mov al, 0x10
call fcn.005dd82f
adc al, al
jae 0x5dd7db
jne 0x5dd825
stosb byte es:[edi], al
jmp 0x5dd7bd
call fcn.005dd83b
sub ecx, ebx
jne 0x5dd802
call fcn.005dd839
jmp 0x5dd821
lodsb al, byte [esi]
shr eax, 1
je 0x5dd84b
adc ecx, ecx
jmp 0x5dd81e
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.005dd839
cmp eax, 0x7d00
jae 0x5dd81e
cmp ah, 5
jae 0x5dd81f
cmp eax, 0x7f
ja 0x5dd820
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x5dd7bd
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret

Function at 0x5de17c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5e1000]
jne 0x5de186
repz ret
jmp fcn.005de42d
Function at 0x40276b
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.0040569d
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0040569d
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
push 0x10
call fcn.0040569d
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0
mov ebx, 0x4065d0
call fcn.004056b5
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
je 0x40282b
mov eax, 0
jmp 0x402997
cmp dword [ebp + 0xc], 0
jne 0x402857
mov dword [ebp - 0x1c], esp
mov eax, 6
call fcn.004056af
cmp dword [ebp - 0x1c], esp
je 0x402854
push 6
call fcn.004056a9
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
jne 0x40287f
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x402879
push ebx
call fcn.004056a3
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 8]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 7
call fcn.004056af
cmp dword [ebp - 0x1c], esp
je 0x4028aa
push 6
call fcn.004056a9
add esp, 4
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0x474417
mov eax, 8
call fcn.004056af
cmp dword [ebp - 0x1c], esp
je 0x4028d6
push 6
call fcn.004056a9
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 2
mov dword [ebp - 0x1c], esp
mov eax, 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x18]
push 0x1c
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 9
call fcn.004056af
cmp dword [ebp - 0x1c], esp
je 0x40296a
push 6
call fcn.004056a9
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 8]
mov eax, 2
call fcn.004056af
cmp dword [ebp - 0x1c], esp
je 0x40298f
push 6
call fcn.004056a9
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x402997
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.004056a3
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.004056a3
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.004056a3
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40e1e0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46e09b
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.00462b73
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40e262
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046061d
mov eax, dword [eax]
push 0x5b41c8
push eax
call fcn.00453484
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00462dfe
test bl, bl
je 0x40e262
push 0x5b41c8
lea ecx, [esp + 0xc]
call fcn.0046318e
push 0x5b7d44
lea ecx, [esp + 0xc]
call fcn.0046318e
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 0x40e29e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00462dfe
jmp 0x40e369
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 0x40e322
lea edx, [esp + 0x7c]
push 0x5b7d40
push edx
call fcn.00453484
add esp, 8
test eax, eax
je 0x40e322
lea eax, [esp + 0x7c]
push 0x5b7d3c
push eax
call fcn.00453484
add esp, 8
test eax, eax
je 0x40e322
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 0x40e2b2
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.00462dfe
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 0x40f5c0
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 0x40f622
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 0x40f630
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46e1fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5be254]
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 0x40f768
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40f696
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00462dfe
xor eax, eax
jmp 0x40f7df
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00462f3b
push esi
lea ecx, [esp + 0xc]
call fcn.004631ca
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 0x40f7bd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040f5c0
test eax, eax
jne 0x40f7bd
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.0040f5c0
test eax, eax
jne 0x40f7bd
lea eax, [esp + 0x14]
push 0x5b7d58
push eax
call fcn.004544c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40f79c
lea ecx, [esp + 0x14]
push 0x5b7d54
push ecx
call fcn.00454440
mov esi, eax
add esp, 8
test esi, esi
jne 0x40f79c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40f79f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00462eeb
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40f6ae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00462dfe
xor eax, eax
jmp 0x40f7df
mov byte [esi], 0
push 0x5b7d50
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.00462dfe
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 0x41fdb0
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 0x41fe1e
cmp si, 0x69
ja 0x41fe1e
add esi, 0xffd0
cmp si, 0x11
je 0x41fdee
push 0x11
call edi
test ax, ax
jge 0x41fdee
or esi, 0x2000
cmp si, 0x10
je 0x41fe03
push 0x10
call edi
test ax, ax
jge 0x41fe03
or esi, 0x4000
cmp si, 0x12
je 0x41fe18
push 0x12
call edi
test ax, ax
jge 0x41fe18
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41fe2b
mov esi, 0xbd
jmp 0x41fddf
cmp si, 0x6e
jne 0x41fe38
mov esi, 0xbe
jmp 0x41fddf
cmp si, 0x6f
jne 0x41fdd9
mov esi, 0xbf
jmp 0x41fddf

Function at 0x421560
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5ce990]
xor edx, edx
cmp eax, edx
jne 0x421586
xor eax, eax
mov byte [eax + 0x5ce890], al
inc eax
cmp eax, 0x100
jl 0x42156e
mov dword [0x5ce990], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5ce890
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x421617
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 0x4215ea
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 0x4215b8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x421690
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 0x4216e3
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 0x4216ca
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