joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404c70
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
or eax, 0xffffffff
test esi, esi
jle 0x404ca0
push ebx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4185c8]
xor eax, edx
inc ecx
dec esi
jne 0x404c81
pop ebx
not eax
pop esi
ret

Function at 0x406410
Capabilities:
Get file version info

Disassembly:
sub esp, 0x8c
lea eax, [esp]
push ebx
mov ebx, dword [esp + 0x94]
push ebp
push esi
push eax
push ebx
xor ebp, ebp
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jne 0x40643d
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret
push edi
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x406583
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push edx
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x406583
mov ebx, dword [esp + 0xa4]
mov ebp, dword [sym.imp.MSVCRT.dll_wcsncpy]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
test ebx, ebx
je 0x4064d8
mov eax, dword [esp + 0x18]
xor edx, edx
mov ecx, dword [eax]
mov dx, word [eax]
shr ecx, 0x10
push ecx
push edx
lea eax, [esp + 0x24]
push str.StringFileInfo_04x_04xFileDescription
push eax
call esi
add esp, 0x10
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
lea eax, [esp + 0x1c]
push ecx
push edx
push eax
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4064d8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
push ebx
call ebp
add esp, 0xc
mov ebx, dword [esp + 0xa8]
test ebx, ebx
je 0x40652b
mov eax, dword [esp + 0x18]
xor edx, edx
mov ecx, dword [eax]
mov dx, word [eax]
shr ecx, 0x10
push ecx
push edx
lea eax, [esp + 0x24]
push str.StringFileInfo_04x_04xCompanyName
push eax
call esi
add esp, 0x10
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
lea eax, [esp + 0x1c]
push ecx
push edx
push eax
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40652b
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
push ebx
call ebp
add esp, 0xc
mov ebx, dword [esp + 0xac]
test ebx, ebx
je 0x40657e
mov eax, dword [esp + 0x18]
xor edx, edx
mov ecx, dword [eax]
mov dx, word [eax]
shr ecx, 0x10
push ecx
push edx
lea eax, [esp + 0x24]
push str.StringFileInfo_04x_04xFileVersion
push eax
call esi
add esp, 0x10
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
lea eax, [esp + 0x1c]
push ecx
push edx
push eax
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40657e
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
push ebx
call ebp
add esp, 0xc
mov ebp, 1
test edi, edi
je 0x406591
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret
Function at 0x4065a0
Capabilities:
Create directory

Disassembly:
sub esp, 0x22c
push ebx
push ebp
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x36]
mov word [esp + 0x34], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [esp + 0x240]
push edi
call fcn.00406370
add esp, 4
test eax, eax
jne 0x40668f
push edi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
je 0x40668f
mov ebx, dword [sym.imp.MSVCRT.dll_wcschr]
push 0x5c
push edi
call ebx
mov ebp, dword [sym.imp.MSVCRT.dll__wstat]
mov esi, eax
add esp, 8
test esi, esi
je 0x406667
mov eax, esi
lea ecx, [esp + 0x34]
sub eax, edi
sar eax, 1
push eax
push edi
push ecx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x40]
push edx
push eax
call ebp
add esp, 0x14
test eax, eax
jge 0x40664f
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
cmp eax, 2
jbe 0x40664f
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.MSVCRT.dll__wmkdir]
add esp, 4
test eax, eax
jne 0x40668f
cmp word [esi + 2], 0
lea eax, [esi + 2]
je 0x40668f
push 0x5c
push eax
call ebx
mov esi, eax
add esp, 8
test esi, esi
jne 0x406604
lea eax, [esp + 0x10]
push eax
push edi
call ebp
add esp, 8
test eax, eax
jge 0x40668f
push edi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
cmp eax, 2
jbe 0x40668f
push edi
call dword [sym.imp.MSVCRT.dll__wmkdir]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x22c
ret

Function at 0x4066a0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
lea eax, [esp]
push 0
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x4066b4
pop ecx
ret
mov al, byte [esp]
test al, 0x20
je 0x4066c0
xor eax, eax
pop ecx
ret
test al, 7
jne 0x4066c8
xor eax, eax
pop ecx
ret
mov eax, 1
pop ecx
ret

Function at 0x4066d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x10]
mov dword [esp], 0
push eax
push ecx
push edx
mov dword [esp + 0x10], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x406702
xor eax, eax
add esp, 8
ret
mov edx, dword [esp + 0x14]
lea eax, [esp + 4]
lea ecx, [esp]
push eax
mov eax, dword [esp + 0x14]
push ecx
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x40672c
mov dword [esp], 0
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp]
add esp, 8
ret
Function at 0x406740
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
push eax
push esi
push edi
xor ebx, ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x406775
lea ecx, [esp + 0x14]
push ecx
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x406775
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push 4
push edx
push 4
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x406799
mov ebx, 1
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4067b0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x40f485
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
push ebx
push esi
xor ebx, ebx
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], ebx
call sub.MFC42u.DLL_CString::CString_2
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1e]
mov word [esp + 0x1c], bx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x22c], 1
stosw word es:[edi], ax
mov dword [esp + 0x18], 0x208
call sub.MFC42u.DLL_CString::Empty
mov ecx, dword [esp + 0x23c]
mov edx, dword [esp + 0x238]
lea eax, [esp + 0x14]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x406849
mov esi, dword [esp + 0x234]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_1
mov dword [esp + 0x10], 1
jmp 0x4068a0
mov eax, dword [esp + 0x240]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push ebx
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40687a
lea edx, [esp + 0x1c]
lea ecx, [esp + 0xc]
push edx
call sub.MFC42u.DLL_CString::operator_2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x234]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_1
mov dword [esp + 0x10], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x22c], bl
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x224]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x224
ret

Function at 0x4069b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
push ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
mov esi, eax
push ebx
push esi
push ebx
call fcn.00406960
mov eax, esi
add esp, 0x10
cdq
sub eax, edx
mov edi, eax
mov eax, dword [esp + 0x14]
sar edi, 1
test edi, edi
mov dword [esp + 0x10], eax
jle 0x406a14
push ebp
mov esi, ebx
mov ebp, edi
lea ecx, [esp + 0x14]
push ecx
call fcn.004068d0
add eax, 0x708
add esp, 4
xor ax, word [esi]
add esi, 2
xor eax, 0x519
dec ebp
mov word [esi - 2], ax
jne 0x4069e5
mov word [ebx + edi*2], 0
pop ebp
pop edi
pop esi
pop ebx
ret
mov word [ebx + edi*2], 0
pop edi
pop esi
pop ebx
ret
Function at 0x406a90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x40f4ae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 4]
mov ecx, edi
call sub.MFC42u.DLL_CString::CString_2
lea ebp, [esi + 8]
mov dword [esp + 0x1c], 0
mov ecx, ebp
call sub.MFC42u.DLL_CString::CString_2
push 0x20a
mov byte [esp + 0x20], 1
mov dword [esi], 0x410b5c
mov dword [esi + 0xc], 0x104
call sub.MFC42u.DLL_operatornew
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x30]
push 0x4151ac
push ebx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], 0x85d8a0
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 0xc
test eax, eax
push ebx
je 0x406b21
mov ecx, edi
call sub.MFC42u.DLL_CString::operator_2
jmp 0x406b4b
lea edx, [esp + 0x30]
push 0x419b64
push edx
call sub.MFC42u.DLL_operator_2
push eax
mov ecx, edi
mov byte [esp + 0x20], 2
call fcn.00406fe2
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 1
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x28]
test eax, eax
je 0x406b5b
push eax
mov ecx, ebp
call sub.MFC42u.DLL_CString::operator_2
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10

Function at 0x406da0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push edi
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.MSVCRT.dll_wcslen]
mov ebp, eax
mov dword [esp + 0x10], ebp
lea eax, [ebp + ebp + 2]
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x406dce
pop edi
pop ebp
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x18]
push esi
test ebp, ebp
mov dword [esp + 0x18], eax
jle 0x406e08
mov esi, ebx
sub edi, ebx
lea ecx, [esp + 0x18]
push ecx
call fcn.004068d0
add eax, 0x708
add esp, 4
xor ax, word [edi + esi]
add esi, 2
xor eax, 0x519
dec ebp
mov word [esi - 2], ax
jne 0x406ddf
mov ebp, dword [esp + 0x10]
lea eax, [ebp + ebp + 2]
lea edi, [eax + eax]
push edi
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x406e3e
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push esi
and ecx, 3
push ebp
rep stosb byte es:[edi], al
push ebx
call fcn.00406900
add esp, 0xc
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, esi
pop esi
pop edi
pop ebp
pop ebx
pop ecx
ret
Function at 0x406e50
Capabilities:
Read .ini file

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, ecx
push edi
cmp ebx, dword [esi + 0xc]
jle 0x406e81
mov eax, dword [esi + 0x10]
test eax, eax
je 0x406e6e
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea eax, [ebx + ebx + 2]
push eax
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], ebx
mov edi, dword [esi + 0x10]
lea ecx, [ebx + ebx + 2]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x14]
mov edi, dword [esp + 0x10]
test eax, eax
je 0x406eb6
test edi, edi
je 0x406eb6
mov eax, dword [esi + 0x1c]
push eax
push edi
call fcn.00406da0
add esp, 8
mov edi, eax
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0x10]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esi + 8]
push ebx
push edx
push eax
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi + 0x14]
test eax, eax
je 0x406ee4
test edi, edi
je 0x406ee4
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [esi + 0x18]
test eax, eax
je 0x406efb
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x10]
push edx
push eax
call fcn.004069b0
add esp, 8
pop edi
pop esi
pop ebx
ret 0xc

Function at 0x408270
Capabilities:
Create http request

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push esi
push eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
test esi, esi
jne 0x4082ab
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x192
call fcn.00407dc0
add esp, 0xc
mov eax, esi
pop esi
ret

Function at 0x4082c0
Capabilities:
Connect to http server

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
test edi, edi
jne 0x4082d9
push edi
push edi
push str.CHttpToolW::OpenConnection:_hInternet_can_not_be_NULL.
call fcn.00407fa0
add esp, 0xc
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x4082f0
push esi
push esi
push str.CHttpToolW::OpenConnection:_szServerAddr_can_not_be_NULL.
call fcn.00407fa0
add esp, 0xc
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jne 0x40830d
push eax
push eax
push str.CHttpToolW::OpenConnection:_szServerAddr_can_not_be_an_empty_string.
call fcn.00407fa0
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 0
push 0
push 3
push eax
push ecx
push edx
push esi
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov esi, eax
test esi, esi
jne 0x408345
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x193
call fcn.00407dc0
add esp, 0xc
mov eax, esi
pop edi
pop esi
ret
Function at 0x408720
Capabilities:
Send data

Disassembly:
push ecx
mov eax, dword [esp + 8]
test eax, eax
jne 0x40873a
push 0
push 0
push str.CHttpToolW::InternetWriteFile:_hRequest_can_not_be_NULL.
call fcn.00407fa0
add esp, 0xc
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
test ebp, ebp
jne 0x408754
push ebp
push ebp
push str.CHttpToolW::InternetWriteFile:_pbyBuff_can_not_be_NULL.
call fcn.00407fa0
add esp, 0xc
mov edi, dword [esp + 0x1c]
test edi, edi
jne 0x40876b
push edi
push edi
push str.CHttpToolW::InternetWriteFile:_cbyBuff_can_not_be_zero.
call fcn.00407fa0
add esp, 0xc
xor esi, esi
test edi, edi
jbe 0x4087af
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetWriteFile]
mov ecx, edi
lea eax, [esp + 0x10]
sub ecx, esi
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esi + ebp]
push ecx
push edx
push eax
call ebx
test eax, eax
jne 0x4087a6
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x198
call fcn.00407dc0
add esp, 0xc
add esi, dword [esp + 0x10]
cmp esi, edi
jb 0x408778
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret

Function at 0x409ac0
Capabilities:
Get http content length

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x409ada
push 0
push str.CHttpResponseT::GetContentLength:_m_hRequest_can_not_be_NULL.
call fcn.00407d90
add esp, 8
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 0x20]
lea eax, [esp + 4]
push 0
push eax
push ecx
push 0x20000005
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x409b29
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x2f76
jne 0x409b17
xor eax, eax
pop esi
pop ecx
ret 4
push 0
call esi
push eax
push 0x190
call fcn.00407dc0
add esp, 0xc
mov eax, 1
pop esi
pop ecx
ret 4

Function at 0x409b40
Capabilities:
Read data from internet
Receive data

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x409b5c
push 0
push str.CHttpResponseT::ReadContent:_m_hRequest_can_not_be_NULL.
call fcn.00407d90
add esp, 8
mov ebx, dword [esp + 0x14]
test ebx, ebx
jne 0x409b72
push ebx
push str.CHttpResponseT::ReadContent:_pbyBuff_can_not_be_NULL.
call fcn.00407d90
add esp, 8
mov esi, dword [esp + 0x18]
test esi, esi
jne 0x409b88
push esi
push str.CHttpResponseT::ReadContent:_cbBuff_can_not_be_zero.
call fcn.00407d90
add esp, 8
mov ecx, dword [edi + 0x20]
lea eax, [esp + 0xc]
push eax
push esi
push ebx
push ecx
mov dword [esp + 0x1c], 0
call dword [sym.imp.WININET.dll_InternetReadFile]
pop edi
pop esi
test eax, eax
pop ebx
jne 0x409bbd
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x191
call fcn.00407dc0
add esp, 0xc
mov eax, dword [esp]
pop ecx
ret 8
Function at 0x40d930
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret 4
Function at 0x410420
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47005b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00464693
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4104a2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046233d
mov eax, dword [eax]
push 0x4a0200
push eax
call fcn.004547f4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046491e
test bl, bl
je 0x4104a2
push 0x4a0200
lea ecx, [esp + 0xc]
call fcn.00464cae
push 0x4a3d84
lea ecx, [esp + 0xc]
call fcn.00464cae
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4104de
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046491e
jmp 0x4105a9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x410562
lea edx, [esp + 0x7c]
push 0x4a3d80
push edx
call fcn.004547f4
add esp, 8
test eax, eax
je 0x410562
lea eax, [esp + 0x7c]
push 0x4a3d7c
push eax
call fcn.004547f4
add esp, 8
test eax, eax
je 0x410562
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4104f2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0046491e
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x410da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x410e02
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x410e10
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4700db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4aa5c4]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x410f48
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x410e76
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046491e
xor eax, eax
jmp 0x410fbf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00464a5b
push esi
lea ecx, [esp + 0xc]
call fcn.00464cea
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x410f9d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push 0x80000000
call fcn.00410da0
test eax, eax
jne 0x410f9d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push 0x80000000
mov ecx, edi
call fcn.00410da0
test eax, eax
jne 0x410f9d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.00455830
mov esi, eax
add esp, 8
test esi, esi
jne 0x410f7c
lea ecx, [esp + 0x14]
push 0x4a3d94
push ecx
call fcn.004557b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x410f7c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x410f7f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00464a0b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x410e8e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046491e
xor eax, eax
jmp 0x410fbf
mov byte [esi], 0
push 0x4a3d90
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0046491e
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4