joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4312e0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
push ebp
mov ebp, ecx
push eax
call fcn.0042ec10
test eax, eax
je 0x4314fd
push esi
push edi
mov edi, 4
push eax
push edi
mov ecx, ebp
call fcn.0042d240
mov eax, dword [ebp + 0x4c]
add ebp, 0x4c
test eax, eax
jne 0x4314ef
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
push ecx
push 0
push 0
push 0x42df00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp], eax
mov eax, dword [0x56fbf0]
mov edx, dword [0x56fbf4]
mov esi, eax
sub edx, eax
sar edx, 2
cmp edx, 1
jae 0x431456
mov edx, dword [0x56fbec]
test edx, edx
je 0x431373
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
jbe 0x431373
mov ecx, eax
sub ecx, edx
sar ecx, 2
jmp 0x431378
mov ecx, 1
test edx, edx
jne 0x431380
xor eax, eax
jmp 0x431385
sub eax, edx
sar eax, 2
add eax, ecx
test eax, eax
mov dword [esp + 0x10], eax
jge 0x431391
xor eax, eax
lea edx, [eax*4]
push ebx
push edx
call sub.MFC42.DLL_operatornew
mov ebx, dword [0x56fbec]
add esp, 4
cmp ebx, esi
mov dword [esp + 0x10], eax
mov edi, eax
je 0x4313c6
push ebx
push edi
call fcn.00414950
add ebx, 4
add esp, 8
add edi, 4
cmp ebx, esi
jne 0x4313b2
push ebp
push 1
push edi
mov ecx, 0x56fbe8
call fcn.00419b30
mov eax, dword [0x56fbf0]
add edi, 4
push edi
push eax
push esi
mov ecx, 0x56fbe8
call fcn.00480680
mov ecx, dword [0x56fbf0]
mov edx, dword [0x56fbec]
push ecx
push edx
mov ecx, 0x56fbe8
call fcn.0040d6e0
mov eax, dword [0x56fbec]
push eax
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add esp, 4
lea eax, [edx + ecx*4]
mov ecx, dword [0x56fbec]
test ecx, ecx
mov dword [0x56fbf4], eax
pop ebx
jne 0x43142e
xor eax, eax
jmp 0x431438
mov eax, dword [0x56fbf0]
sub eax, ecx
sar eax, 2
lea ecx, [edx + eax*4 + 4]
pop edi
pop esi
mov dword [0x56fbf0], ecx
mov dword [0x56fbec], edx
mov eax, 1
pop ebp
add esp, 8
ret 4
mov edx, eax
sub edx, esi
sar edx, 2
cmp edx, 1
jae 0x4314ab
lea ecx, [esi + 4]
push ecx
push eax
push esi
mov ecx, 0x56fbe8
call fcn.00480680
mov eax, dword [0x56fbf0]
mov ecx, 1
mov edx, eax
push ebp
sub edx, esi
sar edx, 2
sub ecx, edx
push ecx
push eax
mov ecx, 0x56fbe8
call fcn.00419b30
mov ecx, dword [0x56fbf0]
mov eax, esi
cmp esi, ecx
je 0x4314e9
mov edx, dword [ebp]
mov dword [eax], edx
add eax, edi
cmp eax, ecx
jne 0x43149e
jmp 0x4314e9
push eax
push eax
add eax, 0xfffffffc
mov ecx, 0x56fbe8
push eax
call fcn.00480680
mov eax, dword [0x56fbf0]
mov ecx, eax
add eax, 0xfffffffc
cmp esi, eax
je 0x4314d5
sub eax, edi
sub ecx, edi
cmp eax, esi
mov edx, dword [eax]
mov dword [ecx], edx
jne 0x4314c9
lea ecx, [esi + 4]
mov eax, esi
cmp esi, ecx
je 0x4314e9
mov edx, dword [ebp]
mov dword [eax], edx
add eax, edi
cmp eax, ecx
jne 0x4314de
add dword [0x56fbf0], edi
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 8
ret 4
xor eax, eax
pop ebp
add esp, 8
ret 4
Function at 0x4366d0
Capabilities:
Check if file exists
Encode data using xor
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x520dc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
mov ebp, ecx
mov eax, dword [esp + 0x7c]
xor esi, esi
push eax
mov dword [esp + 0x78], esi
mov dword [ebp], 0x536824
mov dword [ebp + 4], esi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
mov dword [esp + 0x14], esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x436893
mov ecx, dword [esp + 0x7c]
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x436893
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x18], eax
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x40]
lea edx, [esp + 0x10]
push esi
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push edx
lea eax, [esp + 0x48]
push 0x30
push eax
push ebx
mov dword [esp + 0x24], esi
call edi
test eax, eax
je 0x436883
mov ecx, dword [esp + 0x10]
mov eax, 0x30
cmp ecx, eax
jne 0x436883
cmp dword [esp + 0x40], eax
jne 0x436883
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x18]
lea ecx, [eax + 0x30]
cmp ecx, edx
jne 0x436883
add eax, 2
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, esi
mov dword [ebp + 4], eax
je 0x436883
mov edx, dword [esp + 0x40]
push esi
push esi
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, dword [esp + 0x40]
jne 0x436883
mov ecx, dword [esp + 0x48]
mov edx, dword [ebp + 4]
lea eax, [esp + 0x10]
push esi
push eax
push ecx
push edx
push ebx
call edi
test eax, eax
je 0x436883
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x10]
cmp eax, ecx
jne 0x436883
xor eax, eax
cmp ecx, esi
mov dword [ebp + 0xc], ecx
jbe 0x436822
mov ecx, dword [ebp + 4]
mov dl, byte [esp + 0x44]
xor byte [ecx + eax], dl
add ecx, eax
mov ecx, dword [ebp + 0xc]
inc eax
cmp eax, ecx
jb 0x43680c
xor esi, esi
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 4]
lea edi, [esp + 0x1d]
push 0x23
mov byte [eax + ecx], 0
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 4]
mov ecx, 8
mov byte [edx + eax + 1], 0
xor eax, eax
mov byte [esp + 0x20], 0
mov edx, dword [ebp + 0xc]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x20]
stosw word es:[edi], ax
mov eax, dword [ebp + 4]
push ecx
push edx
push eax
call fcn.00421c40
add esp, 0x10
test eax, eax
je 0x436883
mov ecx, 8
lea edi, [esp + 0x4c]
lea esi, [esp + 0x1c]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x436881
mov dword [esp + 0x14], 1
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
pop edi
cmp eax, esi
jne 0x4368a5
mov eax, dword [ebp + 4]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 4], esi
mov dword [ebp + 0xc], esi
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x6c]
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 4
Function at 0x439940
Capabilities:
Get user security identifier

Disassembly:
sub esp, 0x318
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11d]
mov byte [esp + 0x11c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x221]
mov byte [esp + 0x220], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x328]
push 0x56f01c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 0x104
mov edi, 0x56221c
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x11c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x220]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x12c]
push edx
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
test eax, eax
je 0x439a4e
lea ecx, [esp + 0x18]
push ecx
call sym.SoftManager.exe__IsValidSidEx_4
test eax, eax
je 0x439a4e
mov eax, dword [esp + 0x328]
lea edx, [esp + 0x32c]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, ebp
call fcn.00439800
test eax, eax
je 0x439a4e
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x318
ret 8
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x318
ret 8
Function at 0x439a60
Capabilities:
Get session user name
Get user security identifier

Disassembly:
sub esp, 0x31c
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x121]
mov byte [esp + 0x120], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x225]
mov byte [esp + 0x224], 0
rep stosd dword es:[edi], eax
mov ebp, dword [esp + 0x32c]
push 0x56f01c
stosw word es:[edi], ax
push ebp
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 0x104
lea ecx, [esp + 0x120]
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x439b6d
lea edi, [esp + 0x120]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
mov dword [esp + 0xc], ecx
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x228]
push eax
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0x130]
push eax
push ecx
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
test eax, eax
je 0x439b6d
lea edx, [esp + 0x1c]
push edx
call sym.SoftManager.exe__IsValidSidEx_4
test eax, eax
je 0x439b6d
lea eax, [esp + 0x330]
lea ecx, [esp + 0x1c]
push eax
push ebp
push ecx
mov ecx, esi
call fcn.00439800
test eax, eax
je 0x439b6d
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x31c
ret 8
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x31c
ret 8
Function at 0x43d880
Capabilities:
Check if file exists
Set file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5219a6
push eax
mov dword fs:[0], esp
sub esp, 0x124
push ebp
push esi
mov esi, dword [esp + 0x13c]
mov ebp, ecx
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x43d9a8
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
je 0x43d9a8
push ebx
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x31]
mov byte [esp + 0x30], bl
push 0x56178c
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x34]
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea ecx, [esp + 0x14]
call fcn.004c74a6
lea ecx, [esp + 0x30]
push ebx
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x144], ebx
call sub.MFC42.DLL_CFileFind::FindFile
cmp eax, ebx
je 0x43d977
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea ecx, [esp + 0x14]
mov edi, eax
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x43d96c
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
call sub.MFC42.DLL_CFileFind::GetFilePath
mov eax, dword [esp + 0x10]
push 0x80
push eax
mov byte [esp + 0x144], 1
call esi
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, ebp
call fcn.0043d880
lea ecx, [esp + 0x10]
mov byte [esp + 0x13c], bl
call sub.MFC42.DLL_CString::CString
cmp edi, ebx
jne 0x43d916
mov esi, dword [esp + 0x144]
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CFileFind::Close
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyA]
pop edi
pop ebx
test eax, eax
je 0x43d994
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp + 0xc]
mov dword [esp + 0x134], 0xffffffff
call sub.MFC42.DLL_CFileFind::CFileFind
mov ecx, dword [esp + 0x12c]
pop esi
or eax, 0xffffffff
pop ebp
mov dword fs:[0], ecx
add esp, 0x130
ret 4

Function at 0x43d9d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov ecx, dword [esp + 0x120]
mov edx, dword [esp + 0x118]
lea eax, [esp]
push esi
or ecx, 0x20019
xor esi, esi
push eax
mov eax, dword [esp + 0x11c]
push ecx
push esi
push edx
push eax
mov dword [esp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43da82
mov ecx, dword [esp + 0x120]
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0xc]
mov eax, dword [edx - 8]
test eax, eax
je 0x43da6a
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
mov dword [esp + 0xc], 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
push ecx
push esi
push esi
push edx
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
pop edi
jne 0x43da6f
mov eax, dword [esp + 8]
test eax, eax
jbe 0x43da6f
mov esi, 1
mov eax, dword [esp + 4]
push eax
call sym.SoftManager.exe__RegCloseKey360_4
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
mov eax, esi
pop esi
add esp, 0x110
ret 0x10
Function at 0x43ec40
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x521c2e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebx
xor ebx, ebx
lea ecx, [esp + 0x11c]
mov dword [esp + 0x114], ebx
call sub.MFC42.DLL_CString::MakeLower
push str.rundll32.exe
lea ecx, [esp + 0x120]
call sub.MFC42.DLL_CString::Find_2
cmp eax, 0xffffffff
je 0x43edef
mov ecx, dword [esp + 0x11c]
lea edx, [esp + 4]
mov ecx, dword [ecx - 8]
sub ecx, eax
push ecx
push eax
push edx
lea ecx, [esp + 0x128]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x120]
mov byte [esp + 0x118], 1
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 4]
mov byte [esp + 0x114], bl
call sub.MFC42.DLL_CString::CString
push 0x56f01c
push str.rundll32.exe
lea ecx, [esp + 0x124]
call sub.MFC42.DLL_CString::Replace
push 0x56f01c
push 0x5623e8
lea ecx, [esp + 0x124]
call sub.MFC42.DLL_CString::Replace
push 0x562580
lea ecx, [esp + 0x120]
call sub.MFC42.DLL_CString::Find_2
cmp eax, 0xffffffff
je 0x43edef
push eax
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x124]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x120]
mov byte [esp + 0x118], 2
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 4]
mov byte [esp + 0x114], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x11c]
call sub.MFC42.DLL_CString::TrimLeft_1
lea ecx, [esp + 0x11c]
call sub.MFC42.DLL_CString::TrimLeft_1
push 0x104
lea ecx, [esp + 0x120]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push 0xffffffffffffffff
lea ecx, [esp + 0x120]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov ecx, dword [esp + 0x11c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x43edaa
lea ecx, [esp + 0x11c]
call sub.MFC42.DLL_CString::Empty
jmp 0x43edef
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], bl
lea edx, [esp + 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
push edx
push ebx
lea ecx, [esp + 0x12c]
stosb byte es:[edi], al
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
mov ecx, dword [esp + 0x124]
lea eax, [esp + 0xc]
push eax
call sub.MFC42.DLL_CString::operator_3
pop edi
lea ecx, [esp + 0x11c]
mov dword [esp + 0x114], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10c]
pop ebx
mov dword fs:[0], ecx
add esp, 0x114
ret 8
Function at 0x43f220
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x208
push ebp
mov ebp, dword [esp + 0x214]
push esi
mov esi, dword [esp + 0x21c]
mov edx, dword [esp + 0x214]
mov ecx, esi
lea eax, [esp + 8]
or ecx, 0xf003f
push eax
push ecx
push 0
push ebp
push edx
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43f2cd
push edi
mov edx, dword [esp + 0xc]
push eax
push eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x24]
push eax
push ecx
push 0
push edx
mov dword [esp + 0x30], 0x200
call edi
test eax, eax
jne 0x43f2c2
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push esi
push eax
push ecx
call fcn.0043f220
push 0
push 0
mov ecx, dword [esp + 0x14]
push 0
lea edx, [esp + 0x1c]
push 0
lea eax, [esp + 0x24]
push edx
push eax
push 0
push ecx
mov dword [esp + 0x30], 0x200
call edi
test eax, eax
je 0x43f28b
mov edx, dword [esp + 0xc]
push edx
call sym.SoftManager.exe__RegCloseKey360_4
pop edi
mov eax, dword [esp + 0x214]
push 0
push esi
push ebp
push eax
call fcn.0041fd60
pop esi
pop ebp
add esp, 0x208
ret 0xc

Function at 0x43f2f0
Capabilities:
Delete registry value

Disassembly:
push ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
lea eax, [esp]
push esi
mov esi, dword [esp + 0xc]
or ecx, 0xf003f
push eax
push ecx
push 0
push edx
push esi
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43f33a
mov eax, dword [esp + 0x18]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, eax
mov ecx, dword [esp + 4]
push ecx
call sym.SoftManager.exe__RegCloseKey360_4
mov eax, esi
pop esi
pop ecx
ret 0x10
Function at 0x43f340
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x521cb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x1c], 0
mov esi, dword [ebp]
cmp esi, ebp
je 0x43f478
mov edi, dword [esp + 0x30]
mov ebx, dword [sym.imp.USER32.dll_PostMessageA]
lea eax, [esi + 0x14]
lea ecx, [esp + 0x30]
push eax
call fcn.004c73e6
lea ecx, [esi + 0x18]
mov byte [esp + 0x1c], 1
push ecx
lea ecx, [esp + 0x14]
call fcn.004c73e6
mov eax, dword [esi + 0x10]
mov byte [esp + 0x1c], 2
test eax, eax
je 0x43f3fe
call fcn.00423a40
test eax, eax
je 0x43f3e8
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x10]
cmp eax, 0x100
push edx
jne 0x43f3d3
mov eax, dword [esp + 0x34]
mov ecx, dword [esi + 0xc]
push 0x100
push eax
push ecx
call fcn.0043f2f0
jmp 0x43f446
mov eax, dword [esp + 0x34]
mov ecx, dword [esi + 0xc]
push 0x200
push eax
push ecx
call fcn.0043f2f0
jmp 0x43f446
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
jmp 0x43f446
call fcn.00423a40
test eax, eax
je 0x43f437
cmp dword [esi + 8], 0x100
jne 0x43f425
mov edx, dword [esp + 0x30]
mov eax, dword [esi + 0xc]
push 0x100
push edx
push eax
call fcn.0043f220
jmp 0x43f446
mov ecx, dword [esp + 0x30]
mov edx, dword [esi + 0xc]
push 0
push ecx
push edx
call fcn.0043f220
jmp 0x43f446
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0xc]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
push 0
push 0
push 0xbd0
push edi
call ebx
mov esi, dword [esi]
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
cmp esi, ebp
jne 0x43f37b
mov edi, dword [ebp]
mov dword [esp + 0x1c], 0xffffffff
cmp edi, ebp
je 0x43f4b4
mov ebx, dword [esp + 0x2c]
mov esi, edi
mov edi, dword [edi]
mov edx, dword [esi + 4]
mov eax, dword [esi]
mov dword [edx], eax
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [ecx + 4], edx
lea ecx, [esi + 8]
call fcn.0041b710
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
dec ebx
cmp edi, ebp
jne 0x43f48b
push ebp
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x18]
add esp, 4
xor eax, eax
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10
Function at 0x443a40
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
push ebx
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push ebp
push esi
push edi
mov dword [esp + 0x10], ecx
xor ebp, ebp
cmp ebp, 6
ja case.0x443a5b.1
jmp dword [ebp*4 + 0x443b08]
xor edx, edx
jmp 0x443a8e
mov edx, 0x17
jmp 0x443a8e
mov edx, 0x16
jmp 0x443a8e
mov edx, 0x19
jmp 0x443a8e
mov edx, 0xb
jmp 0x443a8e
mov edx, 0x1a
jmp 0x443a8e
mov edx, 2
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0
lea eax, [esp + 0x18]
push edx
push eax
push 0
call ebx
cmp ebp, 6
jne 0x443ae2
mov edi, str.MicrosoftInternet_ExplorerQuick_Launch
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
call fcn.004431d0
inc ebp
cmp ebp, 7
jl 0x443a56
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret

Function at 0x444127
Capabilities:
Link many functions at runtime

Disassembly:
mov ecx, 0x570650
jmp 0x444120
sub esp, 0x104
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], bl
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
mov dword [esi], 0x5369b4
push eax
push ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0xc]
push 0x5643b4
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [esi + 4], eax
je 0x44421a
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5643ac
push eax
call edi
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
push 0x5643a4
push eax
call edi
mov ecx, dword [esi + 4]
push 0x564398
push ecx
mov dword [esi + 0xc], eax
call edi
mov edx, dword [esi + 4]
push 0x56438c
push edx
mov dword [esi + 0x10], eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 4]
push str._y6_
push eax
call edi
mov ecx, dword [esi + 4]
push 0x564374
push ecx
mov dword [esi + 0x18], eax
call edi
mov edx, dword [esi + 4]
push 0x564364
push edx
mov dword [esi + 0x1c], eax
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
push 0x564354
push eax
call edi
mov ecx, dword [esi + 4]
push 0x564348
push ecx
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x28], eax
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x104
ret
Function at 0x444620
Capabilities:
Parse url

Disassembly:
push esi
mov esi, dword [esp + 8]
xor edx, edx
cmp esi, edx
je 0x444670
mov eax, dword [esp + 0xc]
cmp eax, edx
je 0x444670
push eax
push edx
mov ecx, 1
push edx
push esi
mov dword [eax], 0x3c
mov dword [eax + 8], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 4], edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x1c], edx
mov dword [eax + 0x24], edx
mov dword [eax + 0x2c], edx
mov dword [eax + 0x34], edx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
pop esi
ret 8
xor eax, eax
pop esi
ret 8