joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b3d0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x537550
mov eax, dword fs:[0]
push eax
sub esp, 0x318
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov edi, 1
mov dword [ebp - 0x324], edi
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x118]
push ecx
call fcn.004bf2e0
add esp, 4
lea eax, [ebp - 0x118]
dec eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43b440
mov edx, dword [str.msnetsrv]
mov dword [eax], edx
mov ecx, dword [0x560e70]
mov dword [eax + 4], ecx
mov dl, byte [0x560e74]
mov byte [eax + 8], dl
lea eax, [ebp - 0x118]
push eax
call fcn.004bf2e0
add esp, 4
lea ecx, [ebp - 0x320]
push ecx
mov ecx, esi
call fcn.0043b1f0
lea edx, [ebp - 0x320]
push edx
lea eax, [ebp - 0x118]
push eax
push str._swin_s.drv
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [ebp - 0x21c]
push edx
call fcn.004c4aa0
add esp, 0x14
test eax, eax
je 0x43b4c5
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x324], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x324]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret

Function at 0x43b500
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x537580
mov eax, dword fs:[0]
push eax
sub esp, 0x318
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x324], ebx
mov dword [ebp - 4], ebx
push 0x104
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x118]
push ecx
call fcn.004bf2e0
add esp, 4
lea eax, [ebp - 0x118]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x43b566
mov edx, dword [str.msnetsrv]
mov dword [eax], edx
mov ecx, dword [0x560e70]
mov dword [eax + 4], ecx
mov dl, byte [0x560e74]
mov byte [eax + 8], dl
lea eax, [ebp - 0x118]
push eax
call fcn.004bf2e0
add esp, 4
lea ecx, [ebp - 0x320]
push ecx
mov ecx, esi
call fcn.0043b1f0
lea edx, [ebp - 0x320]
push edx
lea eax, [ebp - 0x118]
push eax
push str._s_s.sys
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [ebp - 0x21c]
push edx
call fcn.004c4aa0
add esp, 0x14
test eax, eax
je 0x43b5ef
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x324], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x324]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret
Function at 0x43b630
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5375b0
mov eax, dword fs:[0]
push eax
sub esp, 0x520
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x52c], ebx
mov dword [ebp - 4], ebx
push 0x104
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x118]
push ecx
call fcn.004bf2e0
add esp, 4
lea eax, [ebp - 0x118]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x43b696
mov edx, dword [str.msnetsrv]
mov dword [eax], edx
mov ecx, dword [0x560e70]
mov dword [eax + 4], ecx
mov dl, byte [0x560e74]
mov byte [eax + 8], dl
lea ecx, [ebp - 0x118]
lea edx, [ebp - 0x528]
mov edi, 1
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
add ecx, edi
add edx, edi
cmp al, bl
jne 0x43b6d0
lea eax, [ebp - 0x528]
push eax
call fcn.004c86a0
add esp, 4
test eax, eax
jne 0x43b7d2
lea ecx, [ebp - 0x118]
push ecx
call fcn.004bf2e0
add esp, 4
lea edx, [ebp - 0x320]
push edx
mov ecx, esi
call fcn.0043b1f0
lea eax, [ebp - 0x320]
push eax
lea ecx, [ebp - 0x118]
push ecx
push str._s_s.dll
lea edx, [ebp - 0x21c]
push edx
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
call esi
lea eax, [ebp - 0x320]
push eax
lea ecx, [ebp - 0x118]
push ecx
push str._s_s.ocx
lea edx, [ebp - 0x424]
push edx
call esi
lea eax, [ebp - 0x21c]
push eax
call fcn.004c4aa0
add esp, 0x24
test eax, eax
je 0x43b788
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x43b782
push ebx
lea edx, [ebp - 0x21c]
push edx
call fcn.004cabd0
add esp, 8
mov dword [ebp - 0x52c], edi
lea eax, [ebp - 0x424]
push eax
call fcn.004c4aa0
add esp, 4
test eax, eax
je 0x43b7c2
lea ecx, [ebp - 0x424]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x43b7bc
push ebx
lea edx, [ebp - 0x21c]
push edx
call fcn.004cabd0
add esp, 8
mov dword [ebp - 0x52c], edi
push ebx
lea eax, [ebp - 0x528]
push eax
call fcn.004cabd0
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x52c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret
Function at 0x43b810
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5375e0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5bc684]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
cmp ebx, eax
je 0x43b8d2
mov edi, dword [ebp + 0x14]
cmp edi, eax
je 0x43b8d2
mov esi, dword [ebp + 0x18]
cmp esi, eax
je 0x43b8d2
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push eax
push str.SOFTWAREClassesCLSID6314E760_E667_11d2_BA98_0080C8E9491AOLEShellCommands
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43b8b6
push esi
push edi
lea edx, [ebp + 0xc]
push edx
push eax
push ebx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43b8ac
mov esi, dword [esi]
test esi, esi
je 0x43b8ac
cmp dword [ebp + 0x10], eax
je 0x43b8a5
push esi
push edi
call fcn.0043afb0
add esp, 8
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43b920
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x704
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
mov cl, byte [0x56100c]
push edi
mov byte [ebp - 8], cl
mov edx, dword [str.mswebhlp]
mov eax, dword [0x561008]
mov ecx, 0x11
mov esi, 0x560fc0
lea edi, [ebp - 0x5c]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x11
mov esi, 0x560f78
lea edi, [ebp - 0xa4]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x11
mov esi, 0x560f30
lea edi, [ebp - 0xec]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
mov edx, dword [str.urlmkpl]
push 0x200
lea ecx, [ebp - 0x6ec]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0xc], eax
mov eax, dword [0x560f2c]
push ecx
lea edx, [ebp - 0x6fc]
push edx
mov dword [ebp - 0x6fc], 0xdeca39c1
mov dword [ebp - 0x6f8], 0x11d2f713
mov dword [ebp - 0x6f4], 0x800099ba
mov dword [ebp - 0x6f0], 0x1a49e9c8
mov dword [ebp - 0x14], eax
movsw word es:[edi], word [esi]
call fcn.004be730
push eax
lea eax, [ebp - 0x2ec]
push str.CLSID_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push 0
lea ecx, [ebp - 0x2ec]
push ecx
push SysReAllocString
call fcn.004c7ba0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
add esp, 0x24
lea edx, [ebp - 0x704]
push edx
lea eax, [ebp - 0x700]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [ebp - 0xa4]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x43ba6d
push 0x200
lea edx, [ebp - 0x4ec]
push edx
lea eax, [ebp - 0x6fc]
push eax
call fcn.004be730
mov ecx, dword [ebp - 0x700]
add esp, 0xc
push eax
push ecx
call edi
mov edx, dword [ebp - 0x700]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x704]
push eax
lea ecx, [ebp - 0x700]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
lea edx, [ebp - 0x5c]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x43bac9
push 0x200
lea eax, [ebp - 0x4ec]
push eax
lea ecx, [ebp - 0x6fc]
push ecx
call fcn.004be730
mov edx, dword [ebp - 0x700]
add esp, 0xc
push eax
push edx
call edi
mov eax, dword [ebp - 0x700]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
mov ecx, ebx
call fcn.0043b050
lea ecx, [ebp - 0x704]
push ecx
lea edx, [ebp - 0x700]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0xec]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x43bb26
mov edx, dword [ebp - 0x700]
lea ecx, [ebp - 0x10]
push ecx
push edx
call edi
mov ecx, dword [ebp - 0x700]
lea eax, [ebp - 0x18]
push eax
push ecx
call edi
mov edx, dword [ebp - 0x700]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret
Function at 0x43bb40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x537600
mov eax, dword fs:[0]
push eax
sub esp, 0x324
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x324], edi
mov dword [ebp - 4], edi
mov eax, dword [str.inetsys.exe]
mov dword [ebp - 0x330], eax
mov ecx, dword [0x560e44]
mov dword [ebp - 0x32c], ecx
mov edx, dword [0x560e48]
mov dword [ebp - 0x328], edx
mov ecx, esi
call fcn.0043ae10
mov ecx, esi
call fcn.0043b920
push edi
push str.SOFTWAREClassesCLSID6314E760_E667_11d2_BA98_0080C8E9491A
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004c7ba0
push edi
push str.SOFTWAREClassesCLSID6314E760_E667_11d2_BA98_0080C8E9491A
push SysReAllocString
call fcn.004c7ba0
add esp, 0x18
mov ecx, esi
call fcn.0043b3d0
mov ecx, esi
call fcn.0043b500
mov ecx, esi
call fcn.0043b630
push 0x104
lea eax, [ebp - 0x320]
push eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
call ebx
lea ecx, [ebp - 0x320]
push ecx
call fcn.004bf2e0
add esp, 4
lea ecx, [ebp - 0x320]
lea edx, [ebp - 0x21c]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x43bc16
lea eax, [ebp - 0x330]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43bc28
sub eax, esi
lea edi, [ebp - 0x21c]
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x43bc38
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
lea edx, [ebp - 0x21c]
push edx
call fcn.004cabd0
add esp, 8
push 0x104
lea eax, [ebp - 0x118]
push eax
call ebx
lea ecx, [ebp - 0x118]
push ecx
call fcn.004bf2e0
add esp, 4
lea eax, [ebp - 0x118]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43bc83
mov edx, dword [str.mswebhlp.dll]
mov dword [eax], edx
mov ecx, dword [0x560de8]
mov dword [eax + 4], ecx
mov edx, dword [0x560dec]
mov dword [eax + 8], edx
mov cl, byte [0x560df0]
mov byte [eax + 0xc], cl
push 0
lea edx, [ebp - 0x118]
push edx
call fcn.004cabd0
add esp, 8
push 0x104
lea eax, [ebp - 0x118]
push eax
call ebx
lea ecx, [ebp - 0x118]
push ecx
call fcn.004bf2e0
add esp, 4
lea eax, [ebp - 0x118]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43bce3
mov edx, dword [str.urlmkpl.dll]
mov dword [eax], edx
mov ecx, dword [0x560ddc]
mov dword [eax + 4], ecx
mov edx, dword [0x560de0]
mov dword [eax + 8], edx
push 0
lea eax, [ebp - 0x118]
push eax
call fcn.004cabd0
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x324]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret
Function at 0x43d0e0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x537780
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5bc684]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x60]
cmp byte [eax + 0x98cc], bl
jne 0x43d12f
mov edx, dword [esi]
push 0x80
mov ecx, esi
mov eax, dword [edx + 0xc]
call eax
mov eax, dword [esi + 0x60]
add eax, 0x98cc
cmp byte [eax], bl
je 0x43d186
push ebx
push 0x80
push 3
push ebx
push ebx
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x43d186
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea ecx, [edi + 1]
push ecx
call fcn.004fc6be
add esp, 4
mov dword [ebp - 0x14], eax
push ebx
lea edx, [ebp - 0x18]
push edx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43d760
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x537848
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x5bc684]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x5bbfe4]
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], esi
push str.SOFTWAREClassesCLSID_
lea ecx, [ebp - 0x10]
call fcn.004bfc00
push str.01033863_FC53_4E72_9B76_A5E4EFD81EA3
lea ecx, [ebp - 0x10]
call fcn.004bfd50
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x14]
push edx
push esi
push 0x20019
push esi
push esi
push esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x43d80f
mov eax, 4
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push esi
push str.NetProxy
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18], esi
je 0x43d80f
mov esi, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004bfa40
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43d830
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x537878
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x5bc684]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x5bbfe4]
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
push str.SOFTWAREClassesCLSID_
lea ecx, [ebp - 0x10]
call fcn.004bfc00
push str.01033863_FC53_4E72_9B76_A5E4EFD81EA3
lea ecx, [ebp - 0x10]
call fcn.004bfd50
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
push 0x20006
push 0
push 0
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x43d8cf
mov edx, dword [ebp - 0x14]
push 4
lea ecx, [ebp - 0x18]
push ecx
push 4
push eax
push str.NetProxy
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004bfa40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x43d930
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5378a0
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
cmp eax, 4
jl 0x43d97b
xor eax, eax
jmp 0x43db2e
cmp edi, ebx
je 0x43d974
cmp esi, ebx
je 0x43d974
imul eax, eax, 0x61c
add eax, dword [esi + 0x60]
cmp dword [eax + 0x7be4], ebx
je 0x43d9ae
cmp byte [eax + 0x7be8], bl
je 0x43d9ae
mov ecx, 0x187
lea esi, [eax + 0x7be4]
rep movsd dword es:[edi], dword [esi]
jmp 0x43db17
push 0x61c
push ebx
push edi
call fcn.004ff6f0
push 0x104
mov edx, dword [esi + 0x60]
add edx, 0x6a5c
push edx
lea eax, [edi + 4]
push eax
call fcn.004bf0a0
push 0x104
mov ecx, dword [esi + 0x60]
add ecx, 0x717c
push ecx
lea edx, [edi + 0x108]
push edx
call fcn.004bf0a0
push 0x104
mov eax, dword [esi + 0x60]
add eax, 0x7280
push eax
lea ecx, [edi + 0x20c]
push ecx
call fcn.004bf0a0
add esp, 0x30
mov eax, dword [esi + 0x60]
add eax, 0x6e70
cmp byte [eax], bl
je 0x43da2d
push 0x104
push eax
lea edx, [edi + 0x310]
push edx
call fcn.004bf0a0
add esp, 0xc
jmp 0x43da91
mov dword [ebp - 0x120], 0x104
mov byte [ebp - 0x118], bl
push 0x103
push ebx
lea eax, [ebp - 0x117]
push eax
call fcn.004ff6f0
add esp, 0xc
mov dword [ebp - 0x120], 0x104
lea ecx, [ebp - 0x120]
push ecx
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [ebp - 0x118]
push eax
push 0x5611f0
push str._s_on__s
lea ecx, [edi + 0x310]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov eax, dword [esi + 0x60]
add eax, 0x6f74
cmp byte [eax], bl
je 0x43dab4
push 0x104
push eax
lea edx, [edi + 0x414]
push edx
call fcn.004bf0a0
add esp, 0xc
jmp 0x43dafa
mov eax, dword [str.noreply_spectersoft.com]
mov dword [edi + 0x414], eax
mov ecx, dword [0x5600e4]
mov dword [edi + 0x418], ecx
mov edx, dword [0x5600e8]
mov dword [edi + 0x41c], edx
mov eax, dword [0x5600ec]
mov dword [edi + 0x420], eax
mov ecx, dword [0x5600f0]
mov dword [edi + 0x424], ecx
mov edx, dword [0x5600f4]
mov dword [edi + 0x428], edx
push 0x104
mov eax, dword [esi + 0x60]
add eax, 0x7078
push eax
add edi, 0x518
push edi
call fcn.004bf0a0
add esp, 0xc
mov dword [ebp - 0x11c], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret
Function at 0x43f9a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x537c30
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
mov eax, dword [esi]
test eax, eax
je 0x43fa7b
mov ecx, dword [eax + 0x60]
cmp byte [ecx + 0x99d0], 0
je 0x43fa7b
lea eax, [ecx + 0x99d0]
lea edx, [ebp - 0x118]
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x43fa00
push 0x2e
lea edx, [ebp - 0x118]
push edx
call fcn.004ff460
add esp, 8
test eax, eax
je 0x43fa51
mov ecx, dword [str..cnt]
mov dword [eax], ecx
mov dl, byte [0x561b1c]
mov byte [eax + 4], dl
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x43fa51
push eax
lea ecx, [ebp - 0x118]
push ecx
call fcn.004cabd0
add esp, 8
mov edx, dword [esi]
mov eax, dword [edx + 0x60]
add eax, 0x99d0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x43fa7b
push eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x60]
add edx, 0x99d0
push edx
call fcn.004cabd0
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret
Function at 0x43ff30
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x537c90
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5bc684]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x561898
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x43ffa4
push 0x5618c8
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x440170
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.004ff6f0
push 0x103
lea ecx, [ebp - 0x20b]
push 0
push ecx
mov byte [ebp - 0x20c], 0
call fcn.004ff6f0
add esp, 0x18
push 0x104
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x108]
push eax
call fcn.004bf2e0
lea ecx, [ebp - 0x20c]
push 0
push ecx
call fcn.004285a0
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x108]
push eax
push str._swin_s.drv
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [ebp - 4]
add esp, 0x1c
xor ecx, ebp
mov eax, 1
pop esi
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret

Function at 0x440220
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x537ce0
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
lea eax, [ebp - 0x118]
push eax
call fcn.00440170
add esp, 4
cmp byte [ebp - 0x118], 0
je 0x4402a1
lea ecx, [ebp - 0x118]
push ecx
call fcn.004c4aa0
add esp, 4
test eax, eax
je 0x4402a1
push 0
lea edx, [ebp - 0x118]
push edx
call fcn.004cabd0
add esp, 8
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret