joyce8/EMBER2024-capa huggingface dataset:
Function at 0x520999
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
jmp 0x520a7e
mov edi, edi
push ebp
mov ebp, esp
jmp 0x52097a
mov eax, edx
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x520a83
xor edx, edx
mov ecx, 0x10b
cmp word [eax + 0x18], cx
sete dl
jmp 0x520a15
cmp word [ecx], ax
je 0x520a47
xor eax, eax
pop ebp
ret

Function at 0x520a1f
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
jmp 0x520aa0
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [eax + ecx + 0x18]
jmp 0x520aff
test esi, esi
jbe 0x520b73
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x520b31
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x520b53
jmp 0x520b31
inc edx
add eax, 0x28
cmp edx, esi
jb 0x520b06
jmp 0x520b73
pop edi
pop esi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x520b53

Function at 0x5462a6
Capabilities:
Encode data using xor

Disassembly:
call 0x544b70
jmp 0x5462b3
push 0x30012d73
pushfd
add dword [esp + 4], 0x6cb138e9
pushal
jmp 0x544b6b
call 0x5462a6
push ebp
push ebx
inc ebp
push edx
xor esi, dword [edx]
insb byte es:[edi], dx
insb byte es:[edi], dx
add cl, ch
out dx, eax
add byte [eax], al
add byte [esi + 0x3ec3a436], ch
xchg edi, eax
adc byte [edx + 0x34e88158], dh
inc edi
pushfd
fsubr st(3)
fiadd dword [eax - 0x21]
dec edi
sub bl, cl
pop eax
mov ebp, 0x23d0b121
mov byte [ecx], ah
mov esi, 0x71c64b2c
xchg edx, eax
retf
pop eax
sub eax, 0xd89c4734
jmp 0x546296

Function at 0x579eb7
Capabilities:
Encode data using xor

Disassembly:
call 0x5789fe
jmp 0x579dc0
call 0x578a4b
jmp 0x579d17
pop eax
sub eax, 0xdf5c554a
call dword [eax - 0x20ad27e1]
jmp 0x579d7f
call 0x579d35
inc edi
je 0x579d7f
popal
jb 0x579d97
outsb dx, byte [esi]
je 0x579d35
jmp 0x579d9b
push 0
jmp 0x578a46
dec byte [edi]
adc eax, 0x967b1c8e
and byte [esp + ebp*4], dh
and al, byte [ebp - 0x4c]
sbb eax, 0x4c25b52e
mov edi, 0xe8524602
or eax, dword [eax]
add byte [eax], al
inc esi
push edx
call 0x579d79
push ebp
push ebx
inc ebp
push edx
xor esi, dword [edx]
insb byte es:[edi], dx
insb byte es:[edi], dx
add bh, bh
nop
mov al, 0xfd
mov bh, 0xa7
test eax, eax
je 0x579d48
jne 0x579d26
jle 0x579d67
jbe 0x579d9a
loopne 0x579dd4
fimul dword [ebx - 0x25]
mov esi, 0xc65afc4d
push esp
xor ecx, esi
jl 0x579d53
jl 0x579d53
jl 0x579dce
xor edx, dword [eax - 0x18]
and byte [esi + 0x3ee8fff7], ah
test eax, 0x43ebfff7
fmul dword [ebx - 0x25]
mov esi, 0x51f1fc4d
shl dword [eax + 0x12b1d653], 0x80
out 0x12, eax
xchg ebp, eax
sub eax, 0xa4783075
ret
push eax
call fcn.004f43c1
call fcn.004f46e4
jmp 0x579deb
pop eax
sub eax, 0xa7c17a8e
jmp 0x579d69
call 0x579dde
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ebx + 0x260cb21d], cl
dec edx
mov ebx, dword [0x4a260cb2]
sbb eax, 0x4a260cb2
lea esp, [esp - 4]
ret
push eax
jmp 0x579dca
push 0x1f386518
pushfd
add dword [esp + 4], 0x65c25e14
pushal
jmp 0x5789f9
Function at 0x58498a
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
push 0x1825f2
call fcn.00580178
movsb byte es:[edi], byte [esi]
add dword [ebp + 0xca7540d], ebx
sbb dl, byte [ecx + eax*8]
sahf
push 0xe5e20bbf
jmp 0x582949
inc dword [eax + 0x4eac6d]
jmp 0x582836
call 0x582863
jmp 0x5829ec
push eax
jmp 0x58285e
add dword [esp], 0x1a6c0161
push 0
push 0
push 0xde99cb6d
add dword [esp], 0x21b42f87
call fcn.004f820a
jmp 0x58486d
pop eax
sub eax, 0x582863
cmp dword [eax + 0x4eac6d], 0
je 0x582854
lea esp, [esp + 8]
popal
jmp 0x582821
call 0x584872
jmp 0x58488e
add dword [esp], 0xe29
call fcn.004f5fc0
jmp 0x5848f0
call 0x5848a8
jmp 0x5848ff
call 0x4f75db
popal
jmp 0x582821
pop eax
xor ax, ax
cmp word [eax], 0x5a4d
je 0x584937
jne 0x5849cc
test eax, 0xeab5839
rcr dword [ecx - 0x37], 0xa8
pop ebx
test al, 0xdf
inc esp
fidivr dword [ebp - 0x50c905b4]
xchg esi, eax
arpl word [edi + 0x6d], bp
insb byte es:[edi], dx
xor esi, dword [bp + si]
insb byte es:[edi], dx
insb byte es:[edi], dx
add ah, bl
dec esp
mov al, byte [0xb70fab6b]
pop eax
cmp al, 3
fsub dword [esi - 0x7f]
cmp edx, dword [eax + 0x45]
movzx ebx, word [eax + 0x3c]
add ebx, eax
cmp word [ebx], 0x4550
je 0x582871
jmp 0x5849cc
call 0x58498a
push ebx
popal
outsb dx, byte gs:[esi]
imul ebp, dword [bp + 0x65], 0x63694c20
outsb dx, byte gs:[esi]
jae 0x5849e9
jb 0x58499c
inc esp
insd dword es:[edi], dx
outsd dx, dword [esi]
and byte [esi + 0x31], dh
cmp byte cs:[esi], ch
xor byte [esi], ch
xor byte [eax], al
lea esp, [esp + 4]
pushal
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
jmp 0x5848a3
sub eax, 0x10000
jmp 0x584903
fstp dword [edi - 0x31]
stosb byte es:[edi], al
pop ecx
xchg byte [edx + 0x23d0b121], ah
ret
Function at 0x1000102e
Capabilities:
Delete file
Move file

Disassembly:
cmp dword [esp + 8], 0
jne 0x1000104f
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp eax, 1
jne 0x10001047
xor eax, eax
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10001052
push 5
pop eax
cmp eax, 5
je 0x10001060
cmp eax, 0x20
je 0x10001060
push 1
jmp 0x10001079
call fcn.10001000
test eax, eax
je 0x1000107b
push 4
push 0
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 2
pop eax
ret
push 0
push dword [esp + 8]
call fcn.10001093
pop ecx
pop ecx
xor ecx, ecx
test eax, eax
setne cl
inc ecx
mov eax, ecx
ret

Function at 0x10001264
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
mov esi, 0x103
lea eax, [ebp - 0x104]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x100012e1
cmp eax, esi
ja 0x100012e1
lea eax, [ebp - 0x104]
push eax
call sub.MSVCRT.dll_strlen
cmp byte [ebp + eax - 0x105], 0x5c
pop ecx
je 0x100012b3
lea eax, [ebp - 0x104]
push 0x10003068
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x104]
push str.wininit.ini
push eax
push str._s_s
push esi
push edi
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
and byte [edi + esi - 1], 0
push 1
pop eax
pop edi
jmp 0x100012e3
xor eax, eax
pop esi
leave
ret

Function at 0x100012e6
Capabilities:
Delete registry key
Print debug messages
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov al, byte [0x10003188]
push esi
push edi
push 0x40
mov byte [ebp - 0x10c], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x10b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x100030ec
push str.TfrmAntiTrojanMain
stosb byte es:[edi], al
mov dword [ebp - 4], 1
mov dword [ebp - 8], 0x104
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x100030d4
mov edi, eax
call esi
test edi, edi
je 0x10001350
push 0
push 0x378
push 0x78f
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x100030d0
call esi
push dword [section..data]
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 4]
push eax
push 0x10003188
push str.CLSID7CA83CF1_3AEA_42D0_A4E3_1594FC6E48B2InprocServer32
push 0x80000000
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100013d8
push 0x10003090
call esi
push str.Action
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100013c8
push 0
push str.TrojanAssist
push 2
call eax
push 0x10003074
jmp 0x100013cd
push 0x10003070
call esi
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x100013df
push 0x1000306c
call esi
pop edi
pop esi
leave
ret
Function at 0x100013e3
Capabilities:
Delete registry key
Print debug messages
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 4]
mov dword [0x1000319c], eax
mov eax, dword [esp + 8]
mov dword [0x1000318c], eax
mov eax, dword [esp + 0x10]
mov dword [0x10003190], eax
mov eax, dword [esp + 0xc]
mov dword [0x10003194], eax
jmp fcn.100012e6

Function at 0x1000141b
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x51c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
push edi
mov esi, 0x104
push 0x10003184
mov dword [ebp - 4], 1
mov dword [ebp - 8], esi
call ebx
lea eax, [ebp - 8]
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
push eax
lea eax, [ebp - 0x51c]
push eax
lea eax, [ebp - 4]
push eax
push str.fsk.dll
push dword [section..data]
push 0x80000002
call edi
lea eax, [ebp - 8]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 4]
push eax
push str.path
push dword [section..data]
mov dword [ebp - 8], esi
push 0x80000002
call edi
mov edi, dword [sym.imp.MSVCRT.dll_strncpy]
lea eax, [ebp - 0x10c]
push esi
push eax
lea eax, [ebp - 0x210]
push eax
call edi
lea eax, [ebp - 0x10c]
push esi
push eax
lea eax, [ebp - 0x418]
push eax
call edi
lea eax, [ebp - 0x10c]
push esi
push eax
lea eax, [ebp - 0x314]
push eax
call edi
mov edi, dword [sym.imp.MSVCRT.dll_strncat]
push esi
lea eax, [ebp - 0x210]
push str.uninstall.dll
push eax
call edi
push esi
lea eax, [ebp - 0x10c]
push str.TrojanAssistant.exe
push eax
call edi
push esi
lea eax, [ebp - 0x418]
push str.contmenu.dll
push eax
call edi
add esp, 0x48
lea eax, [ebp - 0x314]
push esi
push str.fsk.dll
push eax
call edi
lea eax, [ebp - 0x51c]
push str.2.1.1.41
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 0x14
test eax, eax
jne 0x100015df
push 0x10003130
call ebx
mov esi, dword [sym.imp.MSVCRT.dll__access]
lea eax, [ebp - 0x10c]
push 0
push eax
call esi
pop ecx
cmp eax, 0xffffffff
pop ecx
jne 0x1000156c
push 0x1000312c
call ebx
call fcn.100012e6
push 0x10003128
call ebx
push 1
lea eax, [ebp - 0x210]
jmp 0x100015ce
push str.3_1_n
call ebx
lea eax, [ebp - 0x418]
push 0
push eax
call esi
pop ecx
cmp eax, 0xffffffff
pop ecx
jne 0x100015d8
push str.3_2_n
call ebx
call fcn.100012e6
push str.3_3_n
call ebx
lea eax, [ebp - 0x210]
push 1
push eax
call fcn.1000102e
pop ecx
pop ecx
push str.3_4_n
call ebx
lea eax, [ebp - 0x314]
push 1
push eax
call fcn.1000102e
pop ecx
pop ecx
push str.3_5_n
call ebx
push 1
lea eax, [ebp - 0x10c]
push eax
call fcn.1000102e
pop ecx
pop ecx
jmp 0x100015e6
push 0x100030fc
jmp 0x100015e4
push 0x10003090
call ebx
push 0x100030f8
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x541e70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe3000]
push edi
or ebp, 0xffffffff
jmp 0x541e92
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x541e99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x541e88
mov eax, 1
add ebx, ebx
jne 0x541eab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x541ebc
jne 0x541edb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x541edb
dec eax
add ebx, ebx
jne 0x541ec8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x541ea0
add ebx, ebx
jne 0x541ed7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x541f2d
xor ecx, ecx
sub eax, 3
jb 0x541ef3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x541f62
sar eax, 1
mov ebp, eax
jmp 0x541efe
add ebx, ebx
jne 0x541efe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x541ecc
inc ecx
add ebx, ebx
jne 0x541f0c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x541ecc
add ebx, ebx
jne 0x541f19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x541f0e
jne 0x541f2a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x541f0e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x541f4c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x541f3e
jmp 0x541e8e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x541f4c
add edi, ecx
jmp 0x541e8e
pop esi
mov edi, esi
mov ecx, 0x51fa
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x541f6a
cmp byte [edi], 0x28
jne 0x541f6a
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 0x541f6f
lea edi, [esi + 0x13e000]
mov eax, dword [edi]
or eax, eax
je 0x541fe7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1455d4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1456ec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x541f9c
mov ecx, edi
jns 0x541fcb
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 + 0x1456f0]
or eax, eax
je 0x541fe1
mov dword [ebx], eax
add ebx, 4
jmp 0x541fb9
call dword [esi + 0x145700]
mov ebp, dword [esi + 0x1456f4]
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 0x54201b
sub esp, 0xffffff80
jmp 0x48a196
Function at 0x405f80
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4620ab
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.00456f78
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x406002
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00454ec7
mov eax, dword [eax]
push 0x57d1c0
push eax
call fcn.00447dc4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00457203
test bl, bl
je 0x406002
push 0x57d1c0
lea ecx, [esp + 0xc]
call fcn.00457593
push 0x580d10
lea ecx, [esp + 0xc]
call fcn.00457593
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 0x40603e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00457203
jmp 0x406109
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 0x4060c2
lea edx, [esp + 0x7c]
push 0x580d0c
push edx
call fcn.00447dc4
add esp, 8
test eax, eax
je 0x4060c2
lea eax, [esp + 0x7c]
push 0x580d08
push eax
call fcn.00447dc4
add esp, 8
test eax, eax
je 0x4060c2
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 0x406052
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.00457203
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 0x406900
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 0x406962
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 0x406970
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46212b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5871a8]
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 0x406aa8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4069d6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00457203
xor eax, eax
jmp 0x406b1f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00457340
push esi
lea ecx, [esp + 0xc]
call fcn.004575cf
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 0x406afd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00406900
test eax, eax
jne 0x406afd
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.00406900
test eax, eax
jne 0x406afd
lea eax, [esp + 0x14]
push 0x580d24
push eax
call fcn.00448e00
mov esi, eax
add esp, 8
test esi, esi
jne 0x406adc
lea ecx, [esp + 0x14]
push 0x580d20
push ecx
call fcn.00448d80
mov esi, eax
add esp, 8
test esi, esi
jne 0x406adc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x406adf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004572f0
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4069ee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00457203
xor eax, eax
jmp 0x406b1f
mov byte [esi], 0
push 0x580d1c
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.00457203
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 0x417f30
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 0x417f9e
cmp si, 0x69
ja 0x417f9e
add esi, 0xffd0
cmp si, 0x11
je 0x417f6e
push 0x11
call edi
test ax, ax
jge 0x417f6e
or esi, 0x2000
cmp si, 0x10
je 0x417f83
push 0x10
call edi
test ax, ax
jge 0x417f83
or esi, 0x4000
cmp si, 0x12
je 0x417f98
push 0x12
call edi
test ax, ax
jge 0x417f98
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x417fab
mov esi, 0xbd
jmp 0x417f5f
cmp si, 0x6e
jne 0x417fb8
mov esi, 0xbe
jmp 0x417f5f
cmp si, 0x6f
jne 0x417f59
mov esi, 0xbf
jmp 0x417f5f

Function at 0x419610
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5977d8]
xor edx, edx
cmp eax, edx
jne 0x419636
xor eax, eax
mov byte [eax + 0x5976d8], al
inc eax
cmp eax, 0x100
jl 0x41961e
mov dword [0x5977d8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5976d8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4196c7
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 0x41969a
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 0x419668
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x419740
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 0x419793
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 0x41977a
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
Function at 0x4205f0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x420788
cmp ebp, ebx
jle 0x420788
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x42064e
dec eax
or eax, 0xfffffff8
inc eax
je 0x420655
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x420664
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x42066b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00456f44
add esp, 4
cmp eax, ebx
je 0x42068c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.00456f44
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x42077e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x420765
mov al, byte [edx]
cmp al, 0xc0
jbe 0x420751
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x420746
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x420754
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x420754
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x4206f0
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x4206e1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret