joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440079
Capabilities:
Check mutex on windows

Disassembly:
push 0x64
mov eax, 0x44e180
call fcn.0041bc41
mov eax, dword [0x48dcd0]
shr eax, 0xe
test al, 1
je 0x44011c
push 0x48dbd8
lea ecx, [ebp - 0x28]
call fcn.0040554d
and dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 0x45da18
call fcn.00401a89
push 0x45d9e8
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00401a89
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x28]
call fcn.00409ea9
pop ecx
lea ecx, [ebp - 0x58]
call fcn.004024f1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.004024f1
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x48df2c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x440122
lea ecx, [ebp - 0x28]
call fcn.004024f1
call fcn.0041bbf0
ret
push 0x2e
push 0x29
lea eax, [ebp - 0x70]
push eax
call fcn.0043f4f9
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.004450cf
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x38]
call fcn.00405477
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x50]
call fcn.00404a28
push 0x4634ac
lea eax, [ebp - 0x50]
push eax
call fcn.0041ecde
int3

Function at 0x440595
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x467034]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x48dc00], 0
push esi
mov esi, 0x48dbf0
jne 0x4406b0
push ebx
lea eax, [ebp - 0x804]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x804]
mov ecx, esi
push eax
call fcn.0040221a
cmp dword [0x48dc04], 8
mov eax, esi
cmovae eax, dword [0x48dbf0]
xor ebx, ebx
push ebx
push eax
call fcn.004269c8
pop ecx
pop ecx
test eax, eax
je 0x44060e
push 0x456ef0
mov ecx, esi
call fcn.0040221a
mov ecx, esi
call fcn.00408545
cmp dword [0x48dc00], ebx
je 0x440633
cmp dword [0x48dc04], 8
mov eax, esi
push ebx
cmovae eax, dword [0x48dbf0]
push eax
call fcn.004269c8
pop ecx
pop ecx
test eax, eax
je 0x440646
push str.TEMP
call fcn.00427363
pop ecx
push eax
mov ecx, esi
call fcn.0040221a
cmp dword [0x48dc00], ebx
je 0x44066b
cmp dword [0x48dc04], 8
mov eax, esi
push ebx
cmovae eax, dword [0x48dbf0]
push eax
call fcn.004269c8
pop ecx
pop ecx
test eax, eax
je 0x44067e
push 0x45da10
call fcn.00427363
pop ecx
push eax
mov ecx, esi
call fcn.0040221a
cmp dword [0x48dc00], ebx
je 0x4406a3
cmp dword [0x48dc04], 8
mov eax, esi
push ebx
cmovae eax, dword [0x48dbf0]
push eax
call fcn.004269c8
pop ecx
pop ecx
test eax, eax
je 0x4406af
push 0x48dbc0
mov ecx, esi
call fcn.00405583
pop ebx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041b30a
leave
ret
Function at 0x4443da
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x467034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
cmp dword [esi + 0xc], 0x201
jne 0x4444cb
push edi
push 0x208
xor edi, edi
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0041d050
mov eax, dword [esi + 0x18]
add esp, 0xc
mov dword [ebp - 0x218], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x218]
push eax
push edi
push 0x44b
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x250], edi
mov dword [ebp - 0x244], eax
xor eax, eax
push 7
mov dword [ebp - 0x24c], edi
mov dword [ebp - 0x248], edi
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x23c], edi
lea edi, [ebp - 0x234]
pop ecx
mov dword [ebp - 0x254], 0x3c
mov dword [ebp - 0x238], 5
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_HideCaret]
mov eax, dword [ebx + 0xb8]
pop edi
cmp eax, dword [ebx + 0xbc]
je 0x4444ce
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x4444ce
and dword [eax], 0
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b30a
leave
ret 0xc
Function at 0x449e30
Capabilities:
Check if file exists
Get file attributes
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], edx
xor bl, bl
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x449e4d
mov eax, dword [esi]
test eax, eax
je 0x449f71
cmp word [eax], 0
je 0x449f71
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x449f71
test al, 0x10
jne 0x449f71
cmp dword [esi + 0x14], 8
jb 0x449e7f
mov esi, dword [esi]
push 0x45da38
push esi
call fcn.004216e3
mov esi, eax
add esp, 8
test esi, esi
je 0x449f71
lea eax, [esp + 0x18]
xorps xmm0, xmm0
push eax
push esi
movlpd qword [esp + 0x18], xmm0
call fcn.00428d5b
push 2
push 0
push esi
call fcn.004283dc
lea eax, [esp + 0x24]
push eax
push esi
call fcn.00428d5b
lea eax, [esp + 0x34]
push eax
push esi
call fcn.00429292
add esp, 0x24
cmp dword [esp + 0x10], 0x28
jbe 0x449f68
xor eax, eax
mov dword [esp + 0x20], 0x48535844
push esi
push 1
mov word [esp + 0x40], ax
xorps xmm0, xmm0
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x28]
push 0x28
push eax
mov dword [esp + 0x34], 0x28
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
movsd qword [esp + 0x40], xmm0
call fcn.004279c5
add esp, 0x10
test eax, eax
je 0x449f68
mov eax, dword [esp + 0x2c]
not eax
ror eax, 3
cmp eax, dword [esp + 0xc]
jne 0x449f68
cmp dword [esp + 0x20], 0x48535844
jne 0x449f68
cmp dword [esp + 0x24], 0x28
jne 0x449f68
movzx ecx, word [esp + 0x38]
add ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
add ecx, dword [esp + 0x40]
add eax, 0x28
add eax, ecx
cmp eax, dword [esp + 0x10]
sete bl
push esi
call fcn.00421b21
add esp, 4
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40101f
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.004531c6
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.004531c6
add esp, 4
mov dword [ebp - 0x14], 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 - 0x18], 0
push 0x10
call fcn.004531c6
add esp, 4
mov dword [ebp - 0x1c], 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 - 0x20], esp
mov eax, 0
call fcn.004531d2
cmp dword [ebp - 0x20], esp
je 0x4010dc
push 6
call fcn.004531cc
add esp, 4
mov dword [ebp - 4], eax
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4010f5
push ebx
call fcn.004531ba
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0xc]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 1
call fcn.004531d2
cmp dword [ebp - 0x20], esp
je 0x401124
push 6
call fcn.004531cc
add esp, 4
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0x5297dd
mov eax, 2
call fcn.004531d2
cmp dword [ebp - 0x20], esp
je 0x40114e
push 6
call fcn.004531cc
add esp, 4
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 2
mov dword [ebp - 0x20], esp
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
push 0x1c
push dword [ebp - 0x14]
push 0
push dword [ebp - 0xc]
mov eax, 3
call fcn.004531d2
cmp dword [ebp - 0x20], esp
je 0x4011e2
push 6
call fcn.004531cc
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
mov eax, 4
call fcn.004531d2
cmp dword [ebp - 0x20], esp
je 0x401207
push 6
call fcn.004531cc
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x40120f
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x401220
push ebx
call fcn.004531ba
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.004531ba
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.004531ba
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.004531ba
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x433359
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.004531c6
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.004531c6
add esp, 4
mov dword [ebp - 0x14], 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 - 0x18], 0
push 0x10
call fcn.004531c6
add esp, 4
mov dword [ebp - 0x1c], 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 - 0x20], esp
mov eax, 0x3a
call fcn.004531d2
cmp dword [ebp - 0x20], esp
je 0x433416
push 6
call fcn.004531cc
add esp, 4
mov dword [ebp - 4], eax
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x43342f
push ebx
call fcn.004531ba
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0xc]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 0x3b
call fcn.004531d2
cmp dword [ebp - 0x20], esp
je 0x43345e
push 6
call fcn.004531cc
add esp, 4
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0x5297dd
mov eax, 0x3c
call fcn.004531d2
cmp dword [ebp - 0x20], esp
je 0x433488
push 6
call fcn.004531cc
add esp, 4
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 2
mov dword [ebp - 0x20], esp
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
push 0x1c
push dword [ebp - 0x14]
push 0
push dword [ebp - 0xc]
mov eax, 0x3d
call fcn.004531d2
cmp dword [ebp - 0x20], esp
je 0x43351c
push 6
call fcn.004531cc
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
mov eax, 0x3e
call fcn.004531d2
cmp dword [ebp - 0x20], esp
je 0x433541
push 6
call fcn.004531cc
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x433549
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x43355a
push ebx
call fcn.004531ba
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.004531ba
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.004531ba
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.004531ba
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x43724f
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.004373ff
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x43734d
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x4372f0
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x437333
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x437307
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x437322
test al, 0x40
je 0x437319
mov ecx, dword [edi + 0x20]
jmp 0x437320
test al, 0x80
je 0x437333
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x437333
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x4372bf
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x464380
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x51c7bb
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.0050e272
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x464402
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0050b98d
mov eax, dword [eax]
push 0xa312a8
push eax
call fcn.004eb4b4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0050e4fd
test bl, bl
je 0x464402
push 0xa312a8
lea ecx, [esp + 0xc]
call fcn.0050e8d9
push 0xa34e2c
lea ecx, [esp + 0xc]
call fcn.0050e8d9
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 0x46443e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0050e4fd
jmp 0x464509
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 0x4644c2
lea edx, [esp + 0x7c]
push 0xa34e28
push edx
call fcn.004eb4b4
add esp, 8
test eax, eax
je 0x4644c2
lea eax, [esp + 0x7c]
push 0xa34e24
push eax
call fcn.004eb4b4
add esp, 8
test eax, eax
je 0x4644c2
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 0x464452
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.0050e4fd
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 0x464d20
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 0x464d82
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 0x464d90
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x51c83b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xa46ce4]
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 0x464ec8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x464df6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0050e4fd
xor eax, eax
jmp 0x464f3f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0050e686
push esi
lea ecx, [esp + 0xc]
call fcn.0050e915
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0xa34e64
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x464f1d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0xa34e5c
push closesocket
call fcn.00464d20
test eax, eax
jne 0x464f1d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0xa34e48
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00464d20
test eax, eax
jne 0x464f1d
lea eax, [esp + 0x14]
push 0xa34e40
push eax
call fcn.004ec6a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x464efc
lea ecx, [esp + 0x14]
push 0xa34e3c
push ecx
call fcn.004ec620
mov esi, eax
add esp, 8
test esi, esi
jne 0x464efc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x464eff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0050e636
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x464e0e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0050e4fd
xor eax, eax
jmp 0x464f3f
mov byte [esi], 0
push 0xa34e38
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.0050e4fd
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 0x471f56
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x3ac]
test eax, eax
jne 0x471f7e
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x3ac], eax
pop esi
add esp, 0x190
ret
Function at 0x47c280
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 0x47c2ee
cmp si, 0x69
ja 0x47c2ee
add esi, 0xffd0
cmp si, 0x11
je 0x47c2be
push 0x11
call edi
test ax, ax
jge 0x47c2be
or esi, 0x2000
cmp si, 0x10
je 0x47c2d3
push 0x10
call edi
test ax, ax
jge 0x47c2d3
or esi, 0x4000
cmp si, 0x12
je 0x47c2e8
push 0x12
call edi
test ax, ax
jge 0x47c2e8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x47c2fb
mov esi, 0xbd
jmp 0x47c2af
cmp si, 0x6e
jne 0x47c308
mov esi, 0xbe
jmp 0x47c2af
cmp si, 0x6f
jne 0x47c2a9
mov esi, 0xbf
jmp 0x47c2af

Function at 0x47da70
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xa58b90]
xor edx, edx
cmp eax, edx
jne 0x47da96
xor eax, eax
mov byte [eax + 0xa58a90], al
inc eax
cmp eax, 0x100
jl 0x47da7e
mov dword [0xa58b90], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xa58a90
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x47db27
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 0x47dafa
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 0x47dac8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x47dba0
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 0x47dbf3
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 0x47dbda
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