joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b291
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push edi
invalid

Function at 0x41b606
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov dword [ebp - 0x13c], ecx
cmp dword [ebp + 8], 0
jne 0x41b622
xor eax, eax
jmp 0x41b766
cmp dword [ebp + 0x14], 0
jne 0x41b65a
mov dword [ebp - 0x114], 0x104
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x10c]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x41b651
xor eax, eax
jmp 0x41b766
lea edx, [ebp - 0x10c]
mov dword [ebp + 0x14], edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 0x110]
push eax
push 0
lea ecx, [ebp - 8]
push ecx
push 0
push 0
push 4
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoA]
test eax, eax
jne 0x41b763
cmp dword [ebp + 0x10], 2
je 0x41b6a7
cmp dword [ebp + 0x10], 1
jne 0x41b6bc
mov ecx, dword [ebp + 0x14]
push ecx
push 3
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0x13c]
call fcn.0041b56a
mov dword [ebp - 0x138], 0
push 0x20
push 0
lea eax, [ebp - 0x134]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
push 3
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x134]
push ecx
call dword [sym.imp.ADVAPI32.dll_BuildExplicitAccessWithNameA]
lea edx, [ebp - 0x138]
push edx
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x134]
push ecx
push 1
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclA]
test eax, eax
jne 0x41b74d
push 0
mov edx, dword [ebp - 0x138]
push edx
push 0
push 0
push 4
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoA]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 0x138], 0
je 0x41b74d
mov edx, dword [ebp - 0x138]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x110], 0
je 0x41b763
mov eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x14
Function at 0x41baf8
Capabilities:
Download url
Read .ini file
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov dword [ebp - 4], 0
movsx eax, byte [0x5426c0]
test eax, eax
jne 0x41bb69
push 0x104
push 0x5426c0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
push 0x5426c0
call fcn.0040a2a0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x41bb4f
push 0x2f
push 0x5426c0
call fcn.0040a2a0
add esp, 8
mov dword [ebp - 8], eax
push str._antifilelib.dat
push 0x104
mov ecx, dword [ebp - 8]
push ecx
call fcn.00409190
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
je 0x41bbb9
call fcn.004496d0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41bbb9
mov edx, dword [ebp - 0xc]
push edx
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0x5427c4
push 0x4c0a74
push 0x4c0a78
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0
push 0
push 0x5426c0
lea ecx, [ebp - 0x110]
push ecx
push 0
call sub.urlmon.dll_URLDownloadToFileA
mov eax, 0x5426c0
mov esp, ebp
pop ebp
ret

Function at 0x41bc25
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
call fcn.004496d0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41bd1d
mov dword [ebp - 8], 1
mov dword [ebp - 0x110], 0x104
mov eax, dword [ebp - 4]
push eax
push 0x104
lea ecx, [ebp - 0x214]
push ecx
push 0x4c0aa8
push 0x4c0aac
push 0x4c0ab0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 8]
push ecx
push 0x4c0abc
push 0x4c0acc
push SysStringLen
call fcn.0043ae50
mov ecx, eax
call fcn.0043b06b
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
je 0x41bcc8
push 0x4c0ae4
push 0x104
lea edx, [ebp - 0x10c]
push edx
call fcn.00409190
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x214]
push ecx
call fcn.00402b10
add esp, 8
test eax, eax
jle 0x41bd1d
lea edx, [ebp - 0x214]
push edx
call sub.ntdll.dll_strlen
add esp, 4
push eax
lea eax, [ebp - 0x214]
push eax
push 1
push 0x4c0ae8
push 0x4c0af8
push SysStringLen
call fcn.0043ae50
mov ecx, eax
call fcn.0043b26e
mov eax, 1
jmp 0x41bd1f
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x41bd23
Capabilities:
Check if file exists
Create directory
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6399
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
call fcn.0041baf8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x41bf6a
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x41bd6b
mov eax, 1
jmp 0x41bf6c
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.0042b186
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x41bf6a
lea ecx, [ebp - 0x20]
call fcn.0041b3f0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x41bf3d
mov ecx, dword [ebp - 0x1c]
movsx edx, byte [ecx]
test edx, edx
je 0x41bf3d
mov eax, dword [ebp + 8]
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00440f94
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
movsx eax, byte [edx]
cmp eax, 0x3b
jne 0x41bdec
push 0xa
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ntdll.dll_strchr]
add esp, 8
mov dword [ebp - 0x1c], eax
jmp 0x41bd9d
mov edx, dword [ebp - 0x1c]
movsx eax, byte [edx]
cmp eax, 0x2d
jne 0x41be0a
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x22c], 0
mov byte [ebp - 0x228], 0
push 0x104
lea edx, [ebp - 0x228]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0042a14d
add esp, 0xc
test eax, eax
jne 0x41be3d
movsx ecx, byte [ebp - 0x228]
test ecx, ecx
je 0x41be3d
jmp 0x41bf3d
push 0xa
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ntdll.dll_strchr]
add esp, 8
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x228]
push eax
push 0x4c0b10
push 0x104
lea ecx, [ebp - 0x124]
push ecx
call fcn.0040a2c0
add esp, 0x10
cmp dword [ebp - 0x22c], 0
je 0x41bed2
lea edx, [ebp - 0x228]
push edx
call dword [0x542978]
push 0
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x41bed0
push 0
lea ecx, [ebp - 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x41bed0
push 0x1f01ff
push 0
lea edx, [ebp - 0x228]
push edx
lea ecx, [ebp - 0x20]
call fcn.0041b948
push 1
lea eax, [ebp - 0x228]
push eax
call dword [0x5429a0]
jmp 0x41bf38
push 0x80
lea ecx, [ebp - 0x228]
push ecx
call dword [0x5429a0]
push 0x1f01ff
push 0
lea edx, [ebp - 0x228]
push edx
lea ecx, [ebp - 0x20]
call fcn.0041b925
push 0x80
lea eax, [ebp - 0x124]
push eax
call dword [0x5429a0]
lea ecx, [ebp - 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0x80
lea edx, [ebp - 0x228]
push edx
call dword [0x5429a0]
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x41bd9d
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0042b224
add esp, 4
mov dword [ebp - 0x230], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0041b407
mov eax, dword [ebp - 0x230]
jmp 0x41bf6c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x41c2fd
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
call fcn.004496d0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41c3f5
mov dword [ebp - 8], 1
mov dword [ebp - 0x110], 0x104
mov eax, dword [ebp - 4]
push eax
push 0x104
lea ecx, [ebp - 0x214]
push ecx
push 0x4c0c34
push 0x4c0c38
push 0x4c0c3c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 8]
push ecx
push 0x4c0c48
push 0x4c0c58
push SysStringLen
call fcn.0043ae50
mov ecx, eax
call fcn.0043b06b
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
je 0x41c3a0
push 0x4c0c70
push 0x104
lea edx, [ebp - 0x10c]
push edx
call fcn.00409190
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x214]
push ecx
call fcn.00402b10
add esp, 8
test eax, eax
jle 0x41c3f5
lea edx, [ebp - 0x214]
push edx
call sub.ntdll.dll_strlen
add esp, 4
push eax
lea eax, [ebp - 0x214]
push eax
push 1
push 0x4c0c74
push 0x4c0c84
push SysStringLen
call fcn.0043ae50
mov ecx, eax
call fcn.0043b26e
mov eax, 1
jmp 0x41c3f7
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x41c3fb
Capabilities:
Download url
Read .ini file
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov dword [ebp - 4], 0
movsx eax, byte [0x5427c8]
test eax, eax
jne 0x41c46c
push 0x104
push 0x5427c8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
push 0x5427c8
call fcn.0040a2a0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x41c452
push 0x2f
push 0x5427c8
call fcn.0040a2a0
add esp, 8
mov dword [ebp - 8], eax
push str._antihostlib.dat
push 0x104
mov ecx, dword [ebp - 8]
push ecx
call fcn.00409190
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
je 0x41c4bc
call fcn.004496d0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41c4bc
mov edx, dword [ebp - 0xc]
push edx
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0x5428cc
push 0x4c0cb0
push 0x4c0cb4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0
push 0
push 0x5427c8
lea ecx, [ebp - 0x110]
push ecx
push 0
call sub.urlmon.dll_URLDownloadToFileA
mov eax, 0x5427c8
mov esp, ebp
pop ebp
ret
Function at 0x41c761
Capabilities:
Copy file
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov dword [ebp - 0x210], ecx
cmp dword [0x542970], 0
je 0x41c783
mov eax, dword [0x542970]
jmp 0x41c8a4
lea eax, [ebp - 0x104]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x4c0d60
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push str.NewAdvapi32.dll
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0
lea ecx, [ebp - 0x104]
push ecx
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x41c7ec
xor eax, eax
jmp 0x41c8a4
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x108], eax
push 4
push 0
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea edx, [ebp - 0x104]
push edx
call dword [0x542978]
cmp dword [ebp - 0x108], 0
jne 0x41c82a
xor eax, eax
jmp 0x41c8a4
push 0x4c0d80
mov eax, dword [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x210]
mov dword [ecx + 0x94], eax
push 0x4c0d90
mov edx, dword [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x210]
mov dword [ecx + 0x98], eax
mov edx, dword [ebp - 0x210]
cmp dword [edx + 0x98], 0
je 0x41c884
mov eax, dword [ebp - 0x210]
cmp dword [eax + 0x94], 0
jne 0x41c895
mov ecx, dword [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x41c8a4
mov dword [0x542970], 1
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x41ca8e
Capabilities:
Delete file
Move file
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov dword [ebp - 0x108], ecx
mov eax, dword [ebp + 8]
cmp dword [eax], 1
jne 0x41cae4
mov ecx, dword [ebp + 8]
add ecx, 4
push ecx
push 0x4c0da0
push SysStringLen
call fcn.0043ae50
mov ecx, eax
call fcn.0043b3de
mov edx, dword [ebp + 8]
add edx, 4
push edx
push 0x4c0dd0
push closesocket
call fcn.0043ae50
mov ecx, eax
call fcn.0043b3de
jmp 0x41cc83
mov eax, dword [ebp + 8]
cmp dword [eax], 2
jne 0x41cb64
mov ecx, dword [ebp + 8]
add ecx, 4
push ecx
push 0x4c0e00
push SysStringLen
call fcn.0043ae50
mov ecx, eax
call fcn.0043b3de
mov edx, dword [ebp + 8]
add edx, 4
push edx
push 0x4c0e48
push closesocket
call fcn.0043ae50
mov ecx, eax
call fcn.0043b3de
mov eax, dword [ebp + 8]
add eax, 4
push eax
push 0x4c0e90
push 0x104
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.ntdll.dll__snprintf]
add esp, 0x10
lea edx, [ebp - 0x104]
push edx
push closesocket
call fcn.0043ae50
mov ecx, eax
call fcn.0043b2f8
jmp 0x41cc83
mov eax, dword [ebp + 8]
cmp dword [eax], 4
jne 0x41cbaa
mov ecx, dword [ebp + 8]
add ecx, 4
push ecx
push 0x4c0e9c
push 0x104
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.ntdll.dll__snprintf]
add esp, 0x10
lea eax, [ebp - 0x104]
push eax
push closesocket
call fcn.0043ae50
mov ecx, eax
call fcn.0043b2f8
jmp 0x41cc83
mov ecx, dword [ebp + 8]
cmp dword [ecx], 8
jne 0x41cc42
mov edx, dword [ebp + 8]
add edx, 4
push edx
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects_s
push 0x104
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.ntdll.dll__snprintf]
add esp, 0x10
lea ecx, [ebp - 0x104]
push ecx
push SysStringLen
call fcn.0043ae50
mov ecx, eax
call fcn.0043b2f8
lea edx, [ebp - 0x104]
push edx
push closesocket
call fcn.0043ae50
mov ecx, eax
call fcn.0043b2f8
mov eax, dword [ebp + 8]
add eax, 4
push eax
push 0x4c0ef8
push 0x104
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.ntdll.dll__snprintf]
add esp, 0x10
lea edx, [ebp - 0x104]
push edx
push closesocket
call fcn.0043ae50
mov ecx, eax
call fcn.0043b2f8
jmp 0x41cc83
mov eax, dword [ebp + 8]
cmp dword [eax], 0x20
jne 0x41cc83
mov ecx, dword [ebp + 8]
add ecx, 4
push ecx
push 0x4c0f04
push 0x104
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.ntdll.dll__snprintf]
add esp, 0x10
lea eax, [ebp - 0x104]
push eax
push SysStringLen
call fcn.0043ae50
mov ecx, eax
call fcn.0043b2f8
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x108]
call fcn.0041ca52
test eax, eax
je 0x41ccda
mov ecx, dword [ebp + 8]
add ecx, 0x108
push ecx
call dword [0x542978]
test eax, eax
jne 0x41ccda
cmp dword [ebp + 0xc], 0
je 0x41ccda
push 0x80
mov edx, dword [ebp + 8]
add edx, 0x108
push edx
call dword [0x5429a0]
push 4
push 0
mov eax, dword [ebp + 8]
add eax, 0x108
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
jmp 0x41ccdf
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x41cce5
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov dword [ebp - 0x464], ecx
mov dword [ebp - 0x314], 0x10000
mov byte [ebp - 0x20c], 0
mov byte [ebp - 0x310], 0
mov dword [ebp - 0x318], 0
jmp 0x41cd27
mov eax, dword [ebp - 0x318]
add eax, 1
mov dword [ebp - 0x318], eax
cmp dword [ebp - 0x318], 2
jge 0x41cea6
mov ecx, dword [ebp - 0x318]
mov dword [ebp - 0x468], ecx
cmp dword [ebp - 0x468], 0
je 0x41cd54
cmp dword [ebp - 0x468], 1
je 0x41cd74
jmp 0x41cd94
push 0
push 7
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x41cd72
mov byte [ebp - 0x20c], 0
jmp 0x41cd9b
push 0
push 0x18
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x41cd92
mov byte [ebp - 0x20c], 0
jmp 0x41cd9b
mov byte [ebp - 0x20c], 0
movsx ecx, byte [ebp - 0x20c]
test ecx, ecx
je 0x41cea1
lea edx, [ebp - 0x20c]
push edx
call sub.ntdll.dll_strlen
add esp, 4
lea eax, [ebp + eax - 0x20c]
mov dword [ebp - 0x31c], eax
mov ecx, dword [ebp - 0x31c]
movsx edx, byte [ecx - 1]
cmp edx, 0x5c
je 0x41cded
mov eax, dword [ebp - 0x31c]
mov byte [eax], 0x5c
mov ecx, dword [ebp - 0x31c]
add ecx, 1
mov dword [ebp - 0x31c], ecx
push 0x4c0f2c
mov edx, dword [ebp - 0x31c]
push edx
call sub.ntdll.dll_strcpy
add esp, 8
lea eax, [ebp - 0x460]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [0x5429a8]
mov dword [ebp - 0x320], eax
cmp dword [ebp - 0x320], 0xffffffff
je 0x41cea1
mov edx, dword [ebp - 0x460]
and edx, 0x10
test edx, edx
jne 0x41ce7c
lea eax, [ebp - 0x434]
push eax
mov ecx, dword [ebp - 0x31c]
push ecx
call sub.ntdll.dll_strcpy
add esp, 8
lea edx, [ebp - 0x434]
push edx
lea eax, [ebp - 0x310]
push eax
call sub.ntdll.dll_strcpy
add esp, 8
lea ecx, [ebp - 0x314]
push ecx
mov edx, dword [ebp - 0x464]
add edx, 0x84
push edx
mov ecx, dword [ebp - 0x464]
call fcn.0041dfe0
lea eax, [ebp - 0x460]
push eax
mov ecx, dword [ebp - 0x320]
push ecx
call dword [0x542974]
test eax, eax
jne 0x41ce24
mov edx, dword [ebp - 0x320]
push edx
call dword [0x542988]
jmp 0x41cd18
mov ecx, dword [ebp - 0x464]
add ecx, 0x84
call fcn.0041e6b0
mov esp, ebp
pop ebp
ret
Function at 0x41d694
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov dword [ebp - 0x434], ecx
mov dword [ebp - 0x318], 8
mov byte [ebp - 0x210], 0
mov byte [ebp - 0x314], 0
mov dword [ebp - 4], 0
jmp 0x41d6cd
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jae 0x41d86d
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*4 + 0x4aa258]
mov dword [ebp - 8], edx
lea eax, [ebp - 0x320]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*4 + 0x4aa258]
push edx
call fcn.0043ae50
mov ecx, eax
call fcn.0043b4e0
mov dword [ebp - 0x31c], eax
cmp dword [ebp - 0x31c], 0
jne 0x41d868
mov dword [ebp - 0x324], 0
mov eax, 1
test eax, eax
je 0x41d855
push 0x104
lea ecx, [ebp - 0x314]
push ecx
mov edx, dword [ebp - 0x324]
push edx
mov eax, dword [ebp - 0x320]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov dword [ebp - 0x31c], eax
cmp dword [ebp - 0x31c], 0
je 0x41d76c
jmp 0x41d855
movsx ecx, byte [ebp - 0x314]
cmp ecx, 0x7b
jne 0x41d841
lea edx, [ebp - 0x314]
push edx
push 0x4c10cc
push 0x104
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.ntdll.dll__snprintf]
add esp, 0x10
lea ecx, [ebp - 0x430]
push ecx
push 0x20019
push 0
lea edx, [ebp - 0x428]
push edx
push closesocket
call fcn.0043ae50
mov ecx, eax
call fcn.0043b4e0
mov dword [ebp - 0x31c], eax
cmp dword [ebp - 0x31c], 0
jne 0x41d841
mov dword [ebp - 0x42c], 0x104
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebp - 0x210]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x430]
push edx
call fcn.0043ae50
mov ecx, eax
call fcn.0043b507
mov dword [ebp - 0x31c], eax
cmp dword [ebp - 0x31c], 0
jne 0x41d82e
lea eax, [ebp - 0x318]
push eax
mov ecx, dword [ebp - 0x434]
add ecx, 0x34
push ecx
mov ecx, dword [ebp - 0x434]
call fcn.0041dfe0
mov edx, dword [ebp - 0x430]
push edx
call fcn.0043ae50
mov ecx, eax
call fcn.0043b5f9
mov eax, dword [ebp - 0x324]
add eax, 1
mov dword [ebp - 0x324], eax
jmp 0x41d72b
mov ecx, dword [ebp - 0x320]
push ecx
call fcn.0043ae50
mov ecx, eax
call fcn.0043b5f9
jmp 0x41d6c4
mov ecx, dword [ebp - 0x434]
add ecx, 0x34
call fcn.0041e6b0
mov esp, ebp
pop ebp
ret
Function at 0x41d88c
Capabilities:
Get common file path
Persist via appinit_dlls registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64c
mov dword [ebp - 0x648], ecx
mov dword [ebp - 0x314], 0x40
mov byte [ebp - 0x310], 0
mov byte [ebp - 0x20c], 0
mov dword [ebp - 4], SysStringLen
lea eax, [ebp - 0x31c]
push eax
push 0x20019
push 0
push 0x4c10e4
push SysStringLen
call fcn.0043ae50
mov ecx, eax
call fcn.0043b4e0
mov dword [ebp - 0x318], eax
cmp dword [ebp - 0x318], 0
jne 0x41db02
mov dword [ebp - 0x52c], 0x208
mov dword [ebp - 0x634], 0
mov byte [ebp - 0x524], 0
lea ecx, [ebp - 0x52c]
push ecx
lea edx, [ebp - 0x524]
push edx
lea eax, [ebp - 0x528]
push eax
push 0
push 0x4c111c
mov ecx, dword [ebp - 0x31c]
push ecx
call fcn.0043ae50
mov ecx, eax
call fcn.0043b507
mov dword [ebp - 0x318], eax
cmp dword [ebp - 0x318], 0xea
jne 0x41d9a3
mov edx, dword [ebp - 0x52c]
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x640], eax
mov eax, dword [ebp - 0x640]
mov dword [ebp - 0x634], eax
lea ecx, [ebp - 0x52c]
push ecx
mov edx, dword [ebp - 0x634]
push edx
lea eax, [ebp - 0x528]
push eax
push 0
push 0x4c112c
mov ecx, dword [ebp - 0x31c]
push ecx
call fcn.0043ae50
mov ecx, eax
call fcn.0043b507
mov dword [ebp - 0x318], eax
mov edx, dword [ebp - 0x31c]
push edx
call fcn.0043ae50
mov ecx, eax
call fcn.0043b5f9
cmp dword [ebp - 0x318], 0
jne 0x41dade
push 0x104
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp dword [ebp - 0x634], 0
jne 0x41d9ec
lea ecx, [ebp - 0x524]
mov dword [ebp - 0x64c], ecx
jmp 0x41d9f8
mov edx, dword [ebp - 0x634]
mov dword [ebp - 0x64c], edx
mov eax, dword [ebp - 0x64c]
mov dword [ebp - 0x638], eax
cmp dword [ebp - 0x638], 0
je 0x41dade
mov ecx, dword [ebp - 0x638]
movsx edx, byte [ecx]
test edx, edx
je 0x41dade
push 0x2c
mov eax, dword [ebp - 0x638]
push eax
call fcn.0041e600
add esp, 8
mov dword [ebp - 0x63c], eax
cmp dword [ebp - 0x63c], 0
je 0x41da5a
mov ecx, dword [ebp - 0x63c]
mov byte [ecx], 0
mov edx, dword [ebp - 0x63c]
add edx, 1
mov dword [ebp - 0x63c], edx
mov eax, dword [ebp - 0x638]
push eax
lea ecx, [ebp - 0x630]
push ecx
push 0x4c113c
push 0x104
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.ntdll.dll__snprintf]
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
call dword [0x5429b0]
and eax, 0x10
test eax, eax
jne 0x41dacd
push 0x104
mov ecx, dword [ebp - 0x638]
push ecx
lea edx, [ebp - 0x310]
push edx
call fcn.0041e620
add esp, 0xc
lea eax, [ebp - 0x314]
push eax
mov ecx, dword [ebp - 0x648]
add ecx, 0x64
push ecx
mov ecx, dword [ebp - 0x648]
call fcn.0041dfe0
mov edx, dword [ebp - 0x63c]
mov dword [ebp - 0x638], edx
jmp 0x41da04
cmp dword [ebp - 0x634], 0
je 0x41db02
mov eax, dword [ebp - 0x634]
mov dword [ebp - 0x644], eax
mov ecx, dword [ebp - 0x644]
push ecx
call fcn.004a4518
add esp, 4
mov ecx, dword [ebp - 0x648]
add ecx, 0x64
call fcn.0041e6b0
mov esp, ebp
pop ebp
ret
Function at 0x41db14
Capabilities:
Get common file path
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x534
mov dword [ebp - 0x534], ecx
push 0x104
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [ebp - 0x314], 0x20
mov byte [ebp - 0x310], 0
mov byte [ebp - 0x20c], 0
mov dword [ebp - 4], SysStringLen
lea ecx, [ebp - 0x420]
push ecx
push 0x20019
push 0
push 0x4c1144
push SysStringLen
call fcn.0043ae50
mov ecx, eax
call fcn.0043b4e0
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jne 0x41dd25
mov dword [ebp - 0x424], 0
mov edx, 1
test edx, edx
je 0x41dd12
push 0x104
lea eax, [ebp - 0x310]
push eax
mov ecx, dword [ebp - 0x424]
push ecx
mov edx, dword [ebp - 0x420]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
je 0x41dbd6
jmp 0x41dd12
lea eax, [ebp - 0x310]
push eax
push 0x4c1168
push 0x104
lea ecx, [ebp - 0x528]
push ecx
call dword [sym.imp.ntdll.dll__snprintf]
add esp, 0x10
lea edx, [ebp - 0x52c]
push edx
push 0x20019
push 0
lea eax, [ebp - 0x528]
push eax
push SysStringLen
call fcn.0043ae50
mov ecx, eax
call fcn.0043b4e0
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jne 0x41dcfe
mov dword [ebp - 0x530], 0x104
lea ecx, [ebp - 0x530]
push ecx
lea edx, [ebp - 0x20c]
push edx
push 0
push 0
push 0x4c1190
mov eax, dword [ebp - 0x52c]
push eax
call fcn.0043ae50
mov ecx, eax
call fcn.0043b507
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jne 0x41dc91
lea ecx, [ebp - 0x314]
push ecx
mov edx, dword [ebp - 0x534]
add edx, 0x54
push edx
mov ecx, dword [ebp - 0x534]
call fcn.0041dfe0
jmp 0x41dceb
lea eax, [ebp - 0x310]
push eax
lea ecx, [ebp - 0x418]
push ecx
push 0x4c119c
push 0x104
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.ntdll.dll__snprintf]
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp - 0x534]
call fcn.0041e536
test eax, eax
je 0x41dceb
lea ecx, [ebp - 0x314]
push ecx
mov edx, dword [ebp - 0x534]
add edx, 0x54
push edx
mov ecx, dword [ebp - 0x534]
call fcn.0041dfe0
mov eax, dword [ebp - 0x52c]
push eax
call fcn.0043ae50
mov ecx, eax
call fcn.0043b5f9
mov ecx, dword [ebp - 0x424]
add ecx, 1
mov dword [ebp - 0x424], ecx
jmp 0x41db95
mov edx, dword [ebp - 0x420]
push edx
call fcn.0043ae50
mov ecx, eax
call fcn.0043b5f9
mov ecx, dword [ebp - 0x534]
add ecx, 0x54
call fcn.0041e6b0
mov esp, ebp
pop ebp
ret