joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423b64
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
mov eax, ebx
call fcn.00404570
xor eax, eax
push ebp
push 0x423bc2
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.dnsapi.dll_DnsFlushResolverCache_2
mov eax, dword [ebx]
call fcn.00404a00
push eax
call sub.wsock32.dll_gethostbyname
mov esi, eax
test esi, esi
jne 0x423ba3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x423bcc
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
push dword [eax]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
mov eax, ebx
call fcn.00404768
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x423bcc
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x424148
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov eax, ebx
mov edx, dword [ebp + 0xc]
call fcn.004045c4
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
mov eax, edi
call fcn.00404a00
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4241eb
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00404a00
mov esi, eax
push esi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4241e2
cmp dword [ebp - 0xc], 1
jne 0x4241e2
mov eax, ebx
mov edx, dword [ebp - 0x10]
call fcn.00404c90
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx]
call fcn.00404a00
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push esi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov eax, dword [ebx]
call fcn.00404a00
mov edx, eax
mov eax, ebx
call fcn.00404768
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4241f4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov ebx, eax
mov eax, ebx
mov edx, 0x424260
call fcn.004045c4
xor eax, eax
push ebp
push 0x424246
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
call sub.kernel32.dll_GetComputerNameA
mov eax, ebx
lea edx, [ebp - 0x14]
mov ecx, 0x10
call fcn.004047e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x424250
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4242e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
push edi
mov ebx, eax
mov eax, ebx
mov edx, 0x424368
call fcn.004045c4
xor eax, eax
push ebp
push 0x42434e
push dword fs:[eax]
mov dword fs:[eax], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push pe_nt_image_headers32
lea eax, [ebp - 0x10c]
push eax
push 0x424370
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x424344
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00406eb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x424358
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x424374
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x424434
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, 0x42444c
call fcn.004045c4
xor eax, eax
push ebp
push 0x42440f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00406eb4
push dword [ebx]
push 0x42445c
lea edx, [ebp - 0x28]
movzx eax, word [ebp - 2]
call fcn.00406eb4
push dword [ebp - 0x28]
mov eax, ebx
mov edx, 3
call fcn.00404904
push dword [ebx]
push 0x42445c
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
call fcn.00406eb4
push dword [ebp - 0x2c]
mov eax, ebx
mov edx, 3
call fcn.00404904
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x424419
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42443b
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00404594
ret

Function at 0x424838
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xf003f
push 0
push 0x4248c0
push 0
mov eax, edi
call fcn.00404a00
push eax
push ebx
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x4248a6
mov ebx, esi
test ebx, ebx
je 0x424880
sub ebx, 4
mov ebx, dword [ebx]
push ebx
mov eax, esi
call fcn.00404a00
push eax
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.00404a00
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete al
jmp 0x4248a8
xor eax, eax
mov ebx, eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4248c8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0x42493c
push 0
mov eax, esi
call fcn.00404a00
push eax
push ebx
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x424920
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
mov eax, edi
call fcn.00404a00
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x424924
xor eax, eax
jmp 0x424926
mov al, 1
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x424d44
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x424e70
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x424e80
push 0x80000002
call sub.advapi32.dll_RegOpenKeyA
test eax, eax
jne 0x424e55
lea eax, [ebp - 8]
mov edx, esi
call fcn.00404768
lea eax, [ebp - 8]
mov edx, 0x424eac
call fcn.0040483c
mov eax, dword [ebp - 8]
call fcn.00404a00
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegDeleteKeyA
lea eax, [ebp - 0xc]
mov edx, esi
call fcn.00404768
lea eax, [ebp - 0xc]
mov edx, 0x424ebc
call fcn.0040483c
mov eax, dword [ebp - 0xc]
call fcn.00404a00
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegDeleteKeyA
lea eax, [ebp - 0x14]
mov edx, esi
call fcn.00404768
push dword [ebp - 0x14]
push 0x424ed0
lea eax, [ebp - 0x18]
mov edx, esi
call fcn.00404768
push dword [ebp - 0x18]
push 0x424ee4
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404904
mov eax, dword [ebp - 0x10]
call fcn.00404a00
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegDeleteKeyA
lea eax, [ebp - 0x1c]
mov edx, esi
call fcn.00404768
lea eax, [ebp - 0x1c]
mov edx, 0x424ef8
call fcn.0040483c
mov eax, dword [ebp - 0x1c]
call fcn.00404a00
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegDeleteKeyA
push esi
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424e77
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.00404594
ret
Function at 0x424f04
Capabilities:
Install driver

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
xor edx, edx
mov dword [ebp - 0x218], edx
mov dword [ebp - 0x21c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x424fa1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21c]
mov edx, ebx
call fcn.00404768
mov ecx, dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
mov edx, 0x424fb8
call fcn.00404888
mov eax, dword [ebp - 0x218]
lea edx, [ebp - 0x212]
mov ecx, 0x104
call fcn.004055fc
lea eax, [ebp - 0x212]
push eax
lea eax, [ebp - 8]
push eax
call sub.ntdll.dll_RtlInitUnicodeString
lea eax, [ebp - 8]
push eax
call sub.ntdll.dll_ZwLoadDriver
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424fa8
lea eax, [ebp - 0x21c]
mov edx, 2
call fcn.00404594
ret

Function at 0x424ff0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004049f0
xor eax, eax
push ebp
push 0x425072
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
mov eax, dword [ebp - 4]
call fcn.00404a00
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
test ebx, ebx
je 0x42505c
push 0
push 0
push 0
push ebx
call sub.kernel32.dll_SetFilePointer
push 0
lea eax, [ebp - 8]
push eax
push edi
push esi
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x425079
lea eax, [ebp - 4]
call fcn.00404570
ret

Function at 0x42511c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
mov eax, dword [ebp + 0xc]
call fcn.004049f0
xor eax, eax
push ebp
push 0x42517e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x104]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00404a00
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x104]
mov ecx, 0x104
call fcn.004047e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x425185
lea eax, [ebp + 0xc]
call fcn.00404570
ret

Function at 0x426444
Capabilities:
Create thread

Disassembly:
call fcn.0042357c
test al, al
je 0x4264bf
push 0x4264c8
call fcn.00422988
test al, al
jne 0x426469
push 0x4264e0
call fcn.00422988
test al, al
je 0x4264bf
mov eax, dword [0x442194]
mov eax, dword [eax]
mov edx, dword [0x442228]
mov edx, dword [edx]
cmp eax, dword [edx + 4]
jg 0x4264a5
mov eax, dword [0x442194]
mov eax, dword [eax]
mov edx, dword [0x442228]
mov edx, dword [edx]
cmp eax, dword [edx + 4]
jne 0x4264bf
mov eax, dword [0x442360]
mov eax, dword [eax]
mov edx, dword [0x442228]
mov edx, dword [edx]
cmp eax, dword [edx + 8]
jle 0x4264bf
push 0x449158
push 0
push 0x415d34
push 0x426264
push 0
push 0
call sub.kernel32.dll_CreateThread
ret
Function at 0x10023d40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100dfb60
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.100d4423
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.10027790
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x10023d94
jmp dword [ecx*4 + 0x10023efc]
mov al, byte [esi]
test al, al
je 0x10023dc2
cmp al, 0x20
je 0x10023dae
cmp al, 0xa1
jne 0x10023dc2
cmp byte [esi + 1], al
jne 0x10023dc2
test al, 0x80
je 0x10023dba
mov al, byte [esi + 1]
inc esi
test al, al
je 0x10023dc2
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10023da1
test ecx, ecx
je case.default.0x10023d94
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x10023d94
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x10023e08
cmp dl, 0xa1
jne 0x10023dfc
cmp byte [eax + 1], 0xa1
jne 0x10023dfc
test ecx, ecx
jne 0x10023df4
mov edi, eax
mov ecx, 1
inc eax
jmp 0x10023e1c
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x10023e36
jmp 0x10023e1c
cmp dl, 0x20
jne 0x10023e1a
test ecx, ecx
jne 0x10023e13
mov edi, eax
mov ecx, 1
jmp 0x10023e1c
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x10023ddc
cmp ecx, 1
jne case.default.0x10023d94
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10023d94
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10023d94
mov al, byte [esi]
test al, al
je 0x10023e8e
test al, 0x80
mov byte [esp + 0x3c], al
je 0x10023e74
mov cl, byte [esi + 1]
test cl, cl
je 0x10023e8e
cmp al, 0xa1
jne 0x10023e64
cmp cl, al
je 0x10023e71
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.10027a60
inc esi
jmp 0x10023e86
cmp al, 0x20
je 0x10023e86
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.10027aa0
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10023e4d
push 0
lea ecx, [esp + 0x14]
call fcn.10027aa0
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10034790
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x10023ec1
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x10225ff0
call fcn.10027990
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.100d43b5
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x1002f170
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x100e03fb
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.100d412a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x1002f1f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.100d17e4
mov eax, dword [eax]
push 0x10243ce4
push eax
call fcn.100c3634
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.100d43b5
test bl, bl
je 0x1002f1f2
push 0x10243ce4
lea ecx, [esp + 0xc]
call fcn.100d4745
push 0x10243cf0
lea ecx, [esp + 0xc]
call fcn.100d4745
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 0x1002f22e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.100d43b5
jmp 0x1002f2f9
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 0x1002f2b2
lea edx, [esp + 0x7c]
push 0x10243cec
push edx
call fcn.100c3634
add esp, 8
test eax, eax
je 0x1002f2b2
lea eax, [esp + 0x7c]
push 0x10243ce8
push eax
call fcn.100c3634
add esp, 8
test eax, eax
je 0x1002f2b2
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 0x1002f242
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.100d43b5
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 0x1002fb00
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 0x1002fb62
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 0x1002fb70
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x100e047b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x1025a1d0]
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 0x1002fca8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x1002fbd6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.100d43b5
xor eax, eax
jmp 0x1002fd1f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.100d44f2
push esi
lea ecx, [esp + 0xc]
call fcn.100d4781
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 0x1002fcfd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.1002fb00
test eax, eax
jne 0x1002fcfd
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 SysReAllocString
mov ecx, edi
call fcn.1002fb00
test eax, eax
jne 0x1002fcfd
lea eax, [esp + 0x14]
push 0x10243d00
push eax
call fcn.100c4780
mov esi, eax
add esp, 8
test esi, esi
jne 0x1002fcdc
lea ecx, [esp + 0x14]
push 0x10243cfc
push ecx
call fcn.100c4700
mov esi, eax
add esp, 8
test esi, esi
jne 0x1002fcdc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x1002fcdf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.100d44a2
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x1002fbee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.100d43b5
xor eax, eax
jmp 0x1002fd1f
mov byte [esi], 0
push 0x10243cf8
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.100d43b5
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 0x100406a0
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 0x1004070e
cmp si, 0x69
ja 0x1004070e
add esi, 0xffd0
cmp si, 0x11
je 0x100406de
push 0x11
call edi
test ax, ax
jge 0x100406de
or esi, 0x2000
cmp si, 0x10
je 0x100406f3
push 0x10
call edi
test ax, ax
jge 0x100406f3
or esi, 0x4000
cmp si, 0x12
je 0x10040708
push 0x12
call edi
test ax, ax
jge 0x10040708
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x1004071b
mov esi, 0xbd
jmp 0x100406cf
cmp si, 0x6e
jne 0x10040728
mov esi, 0xbe
jmp 0x100406cf
cmp si, 0x6f
jne 0x100406c9
mov esi, 0xbf
jmp 0x100406cf

Function at 0x10041c90
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x100e1311
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
push ebp
mov ebp, dword [esp + 0x160]
push esi
push edi
push 0xffffffffffffffff
push 0
mov ecx, ebp
call fcn.100d34d7
mov esi, dword [esp + 0x16c]
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.100d3272
mov eax, dword [esp + 0x170]
lea ecx, [esp + 0xc]
push eax
call fcn.100d4423
lea ecx, [esp + 0xc]
push str..
lea edx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x16c], 0
call fcn.100d45fe
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.100d43b5
test edi, edi
je 0x10041dde
mov edx, dword [0x1025a1d0]
mov dword [esp + 0x10], edx
cmp edi, 0xffffffff
mov byte [esp + 0x160], 1
je 0x10041dcd
cmp byte [esp + 0x44], 0x2e
je 0x10041db2
lea eax, [esp + 0xc]
push 0x102447bc
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.100d45fe
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x164], 2
call fcn.100d44a2
lea ecx, [esp + 0x14]
mov byte [esp + 0x160], 1
call fcn.100d43b5
lea edx, [esp + 0x44]
lea ecx, [esp + 0x10]
push edx
call fcn.100d4745
test byte [esp + 0x18], 0x10
mov eax, dword [esi + 8]
je 0x10041d98
push 1
jmp 0x10041d9a
push 0
push eax
mov ecx, esi
call fcn.100d338b
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x10]
push ecx
push eax
mov ecx, ebp
call fcn.100d364c
lea edx, [esp + 0x18]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10041d3e
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x10]
mov byte [esp + 0x160], 0
call fcn.100d43b5
lea ecx, [esp + 0xc]
mov dword [esp + 0x160], 0xffffffff
call fcn.100d43b5
mov ecx, dword [esp + 0x158]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x158
ret
Function at 0x10041e10
Capabilities:
Delete directory
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x100e1330
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
lea ecx, [esp + 8]
call fcn.100d3444
xor esi, esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], esi
call fcn.100d373d
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0xc]
push ecx
push edx
mov byte [esp + 0x44], 1
call fcn.10041c90
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp eax, esi
mov ebx, eax
jle 0x10041ead
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov eax, dword [esp + 0x28]
cmp dword [eax + esi*4], 0
je 0x10041e9c
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + esi*4]
push eax
call fcn.10041e10
mov edx, dword [esp + 0x18]
add esp, 4
mov eax, dword [edx + esi*4]
push eax
call edi
jmp 0x10041ea6
mov eax, dword [esp + 0x14]
mov eax, dword [eax + esi*4]
push eax
call ebp
inc esi
cmp esi, ebx
jl 0x10041e76
pop edi
pop ebp
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 0
call fcn.100d3770
lea ecx, [esp + 8]
mov dword [esp + 0x38], 0xffffffff
call fcn.100d3477
mov ecx, dword [esp + 0x30]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret

Function at 0x10041ee0
Capabilities:
Delete directory

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp byte [esi], 0x20
jne 0x10041ef2
mov al, byte [esi + 1]
inc esi
cmp al, 0x20
je 0x10041eea
cmp byte [esi], 0
je 0x10041f21
cmp byte [esi + 1], 0x3a
jne 0x10041f0f
mov al, byte [esi + 2]
test al, al
je 0x10041f21
cmp al, 0x5c
jne 0x10041f0f
mov al, byte [esi + 3]
test al, al
je 0x10041f21
push esi
call fcn.10041e10
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x10042330
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x1026aac0]
xor edx, edx
cmp eax, edx
jne 0x10042356
xor eax, eax
mov byte [eax + 0x1026a9c0], al
inc eax
cmp eax, 0x100
jl 0x1004233e
mov dword [0x1026aac0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x1026a9c0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x100423e7
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 0x100423ba
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 0x10042388
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret