joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45aea0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b7818
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push esi
mov esi, ecx
push edi
push 0
push 0
mov eax, dword [esi + 0x20]
push 0x101d
push eax
call ebx
mov dword [esp + 0x18], eax
mov al, byte [esi + 0x60]
test al, 1
mov edi, 1
mov ebp, 0x3c
mov dword [esp + 0x20], 0x64
mov dword [esp + 0x24], 0x63
jne 0x45af0d
mov ecx, dword [esi + 0x20]
push 0
push edi
push 0x101d
push ecx
call ebx
mov ebp, eax
mov edi, 2
test byte [esi + 0x60], 2
jne 0x45af26
mov edx, dword [esi + 0x20]
push 0
push edi
push 0x101d
push edx
call ebx
mov dword [esp + 0x20], eax
inc edi
test byte [esi + 0x60], 4
jne 0x45af3e
mov eax, dword [esi + 0x20]
push 0
push edi
push 0x101d
push eax
call ebx
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push ecx
push edx
push ebp
push eax
lea ecx, [esp + 0x20]
push str._d__d__d__d
push ecx
mov dword [esp + 0x48], 0
call sub.MFC42.DLL_CString::Format_1
add esp, 0x14
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_1
push 0x41
call fcn.00474650
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret

Function at 0x45aec0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b7818
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push esi
mov esi, ecx
push edi
push 0
push 0
mov eax, dword [esi + 0x20]
push 0x101d
push eax
call ebx
mov dword [esp + 0x18], eax
mov al, byte [esi + 0x60]
test al, 1
mov edi, 1
mov ebp, 0x3c
mov dword [esp + 0x20], 0x64
mov dword [esp + 0x24], 0x63
jne 0x45af0d
mov ecx, dword [esi + 0x20]
push 0
push edi
push 0x101d
push ecx
call ebx
mov ebp, eax
mov edi, 2
test byte [esi + 0x60], 2
jne 0x45af26
mov edx, dword [esi + 0x20]
push 0
push edi
push 0x101d
push edx
call ebx
mov dword [esp + 0x20], eax
inc edi
test byte [esi + 0x60], 4
jne 0x45af3e
mov eax, dword [esi + 0x20]
push 0
push edi
push 0x101d
push eax
call ebx
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push ecx
push edx
push ebp
push eax
lea ecx, [esp + 0x20]
push str._d__d__d__d
push ecx
mov dword [esp + 0x48], 0
call sub.MFC42.DLL_CString::Format_1
add esp, 0x14
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_1
push 0x41
call fcn.00474650
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret
Function at 0x469d60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b9931
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 0x154]
mov dword [esp + 0x18], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x138]
mov byte [esp + 0x18], 8
call fcn.004966f0
lea edi, [esi + 0xd0]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 0xc
call fcn.004534f0
lea ecx, [edi + 8]
mov byte [esp + 0x18], 0xb
call fcn.004966f0
lea ecx, [edi + 4]
mov byte [esp + 0x18], 0xa
call sub.MFC42.DLL_CString::CString
mov ecx, edi
mov byte [esp + 0x18], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xbc]
mov byte [esp + 0x18], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xb8]
mov byte [esp + 0x18], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xb4]
mov byte [esp + 0x18], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xa8]
mov byte [esp + 0x18], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xa4]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x60]
mov byte [esp + 0x18], 0
call sub.MFC42.DLL_CComboBox::CComboBox
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004ac3ea
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x469d78
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b9931
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 0x154]
mov dword [esp + 0x18], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x138]
mov byte [esp + 0x18], 8
call fcn.004966f0
lea edi, [esi + 0xd0]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 0xc
call fcn.004534f0
lea ecx, [edi + 8]
mov byte [esp + 0x18], 0xb
call fcn.004966f0
lea ecx, [edi + 4]
mov byte [esp + 0x18], 0xa
call sub.MFC42.DLL_CString::CString
mov ecx, edi
mov byte [esp + 0x18], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xbc]
mov byte [esp + 0x18], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xb8]
mov byte [esp + 0x18], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xb4]
mov byte [esp + 0x18], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xa8]
mov byte [esp + 0x18], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xa4]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x60]
mov byte [esp + 0x18], 0
call sub.MFC42.DLL_CComboBox::CComboBox
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004ac3ea
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x46fb10
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x27c]
call fcn.00420150
test eax, eax
jne 0x46fb56
push 0x24
push 0x4e2640
push 0x4e3944
mov ecx, esi
call sub.MFC42.DLL_CWnd::MessageBoxA
cmp eax, 6
jne 0x46fba6
mov eax, dword [esi + 0x20]
push 1
push 0
push 0
push str.http:__ftp.8u.cn_
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop esi
ret
mov eax, dword [esi + 0x26c]
test eax, eax
jne 0x46fb6e
lea ecx, [esi + 0xdc]
mov dword [0x128], ecx
jmp 0x46fb7a
lea edx, [esi + 0xdc]
mov dword [eax + 0x128], edx
mov ecx, dword [esi + 0x26c]
call fcn.00427e90
mov eax, dword [esi + 0x26c]
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x46fba6
mov ecx, dword [esi + 0x26c]
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
pop esi
ret

Function at 0x470540
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x4ba3ea
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x194
push esi
push 0
push 0x3e8
push 1
mov esi, ecx
push 0
call dword [sym.imp.USER32.dll_SetTimer]
push 8
mov dword [esi + 0x1ac], eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 4], eax
test eax, eax
mov dword [esp + 0x1a0], 0
je 0x47059b
mov ecx, eax
call fcn.004252a0
jmp 0x47059d
xor eax, eax
mov dword [esi + 0x100], eax
lea eax, [esp + 8]
push eax
push 0x101
mov dword [esp + 0x1a8], 0xffffffff
mov dword [esi + 0x18c], 0
call sub.WS2_32.dll_WSAStartup
test eax, eax
jne 0x4705e1
mov ax, word [esp + 8]
cmp al, 1
jne 0x4705dc
xor ecx, ecx
mov cl, ah
cmp cl, al
je 0x4705e1
call sub.WS2_32.dll_WSACleanup
push 0xd0
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 4], eax
test eax, eax
mov dword [esp + 0x1a0], 1
je 0x47060b
push esi
mov ecx, eax
call fcn.004302d0
jmp 0x47060d
xor eax, eax
push esi
lea ecx, [eax + 0x40]
mov dword [esp + 0x1a4], 0xffffffff
mov dword [esi + 0x140], eax
mov dword [esi + 0x13c], eax
call fcn.00410db0
push 0x50
call fcn.00474d10
add esp, 4
test eax, eax
je 0x470678
push 0x51
call fcn.00474d10
add esp, 4
test eax, eax
jne 0x470678
push 0x60
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 4], eax
test eax, eax
mov dword [esp + 0x1a0], 2
je 0x470670
push esi
mov ecx, eax
call fcn.00454050
jmp 0x470672
xor eax, eax
mov dword [esi + 0x170], eax
mov ecx, dword [esp + 0x198]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x1a0
ret
Function at 0x4714c0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4ba55b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push 0x1b8
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 4], eax
test eax, eax
mov dword [esp + 0x10], 0
je 0x4714ff
mov ecx, eax
call fcn.00470100
mov esi, eax
jmp 0x471501
xor esi, esi
mov ecx, dword [esp + 0x1c]
lea eax, [esi + 0x14]
push eax
push ecx
push esi
push 0x4715d0
push 0
push 0
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x18], eax
jne 0x471547
test esi, esi
je 0x471535
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, dword [esp + 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x471590
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, eax
test edi, edi
je 0x4715be
mov edx, dword [esi + 0x1b0]
add esi, 0x1b0
push 0xffffffffffffffff
mov ecx, esi
call dword [edx + 0x14]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov eax, edi
pop edi
pop esi
ret

Function at 0x472a50
Capabilities:
Get file size

Disassembly:
mov ecx, dword [esp + 4]
lea eax, [esp + 4]
push esi
push eax
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov eax, dword [esp + 8]
push 1
push 0
push 0
push eax
call fcn.004acd60
xor ecx, ecx
add eax, esi
adc edx, ecx
pop esi
ret
Function at 0x477440
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4bae18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push 0x3e8
mov dword [esp + 0x14], 0
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add esp, 4
mov esi, eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x3e8
push eax
push esi
push 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x47749b
push 0x4e6998
jmp 0x47749c
push esi
mov ecx, dword [esp + 0x24]
call sub.MFC42.DLL_CString::operator
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x477540
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4bae58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push 0x3e8
mov dword [esp + 0x14], 0
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add esp, 4
mov esi, eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x3e8
push eax
push esi
push 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4775a7
mov eax, dword [esp + 0x20]
mov dword [eax], 0
mov dword [eax + 4], 0
jmp 0x4775cd
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
cmp ecx, 0x14
ja 0x477594
push esi
call dword [sym.imp.MSVCRT.dll__atoi64]
mov ecx, dword [esp + 0x24]
add esp, 4
mov dword [ecx], eax
mov dword [ecx + 4], edx
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x477600
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 0xc]
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 1
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
pop edi
ret

Function at 0x477630
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
sub esp, 0x64
lea edx, [esp]
push edi
push eax
push ecx
push str._I64d
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x6c]
lea eax, [esp + 4]
not ecx
push ecx
mov ecx, dword [esp + 0x74]
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CString::CString
pop edi
add esp, 0x64
ret
Function at 0x4777d0
Capabilities:
Gather filezilla information

Disassembly:
push 0xffffffffffffffff
push 0x4bae98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
push edi
mov eax, dword [esi]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push str.Server.Host
call fcn.004ac198
mov edi, dword [esp + 0x24]
push edi
call fcn.00477600
mov eax, dword [esi + 4]
add esp, 0xc
cdq
push edx
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.Server.Port
call fcn.004ac198
push edi
call fcn.00477630
mov eax, dword [esi + 8]
add esp, 0x10
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.Server.User
call fcn.004ac198
push edi
call fcn.00477600
add esp, 8
lea eax, [esi + 0xc]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x24]
push ecx
call fcn.00424f00
add esp, 8
mov eax, dword [eax]
mov dword [esp + 0x14], 0
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.Server.Pass
call fcn.004ac198
push edi
call fcn.00477600
add esp, 0xc
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x10]
cdq
push edx
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.Firewall_bypass
call fcn.004ac198
push edi
call fcn.00477630
mov eax, dword [esi + 0x18]
add esp, 0x10
cdq
push edx
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.Dont_Remember_Pass
call fcn.004ac198
push edi
call fcn.00477630
mov eax, dword [esi + 0x1c]
add esp, 0x10
cdq
push edx
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.Server_Type
call fcn.004ac198
push edi
call fcn.00477630
mov eax, dword [esi + 0x14]
add esp, 0x10
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.Path
call fcn.004ac198
push edi
call fcn.00477600
mov eax, dword [esi + 0x24]
add esp, 0xc
cdq
push edx
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.Pasv_Mode
call fcn.004ac198
push edi
call fcn.00477630
mov eax, dword [esi + 0x28]
add esp, 0x10
cdq
push edx
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.Time_Zone_Offset
call fcn.004ac198
push edi
call fcn.00477630
mov ecx, dword [esp + 0x1c]
add esp, 0x10
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x478070
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bafa1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
mov dword [edi], vtable.CMarkupSTL.0
mov eax, dword [edi + 0x34]
lea esi, [edi + 0x30]
push eax
mov dword [esp + 0x24], 2
mov ecx, dword [eax]
lea eax, [esp + 0x10]
push ecx
push eax
mov ecx, esi
call fcn.004096c0
mov eax, dword [esi + 4]
push eax
call sub.MFC42.DLL_operatordelete
xor ebx, ebx
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
mov eax, dword [0x4e7fd8]
dec eax
mov dword [0x4e7fd8], eax
jne 0x4780f5
mov ecx, dword [0x4e69d4]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [0x4e69d4], ebx
lea ecx, [esp + 0xc]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov eax, dword [edi + 0x10]
push eax
mov dword [esp + 0x18], eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [edi + 8]
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov byte [esp + 0x20], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 4]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x47d0c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bbc24
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call sub.MFC42.DLL_CString::CString_2
xor edi, edi
lea ecx, [esi + 4]
mov dword [esp + 0x14], edi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 8]
mov byte [esp + 0x14], 1
call fcn.00495c80
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 2
call fcn.00453470
lea ecx, [esi + 0xa0]
mov dword [esp + 0x14], 3
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0xa4]
mov byte [esp + 0x14], 4
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], 0x104
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x497700
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bd8ff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, ecx
lea ecx, [esp + 8]
mov dword [esp + 4], 0
call fcn.00495c80
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 1
call fcn.004974e0
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 4]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [eax], ecx
mov edx, dword [esi]
mov eax, dword [esi + 4]
lea ecx, [esi + 8]
mov dword [edx + 4], eax
call sub.MFC42.DLL_CString::CString
push esi
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x38]
add esp, 4
dec ecx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.004965a0
mov dword [esp + 4], 1
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 0
call fcn.004966f0
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x49a630
Capabilities:
Access peb ldr_data
Get number of processors
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4be01f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov dword [esp + 0xc], 0
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
push str.Software8uftpSite_Manager_
push ecx
mov dword [esp + 0x28], 2
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea edx, [esp + 8]
push edx
push eax
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
lea ecx, [esp + 0x10]
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x49a74f
push edi
push 0x64
call sub.MFC42.DLL_operatornew
mov esi, eax
mov ecx, 0x19
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x38]
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0x64
push ecx
push esi
push eax
push eax
mov eax, dword [esp + 0x1c]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
pop edi
je 0x49a703
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call sub.MFC42.DLL_operatordelete
mov esi, dword [esp + 0x28]
add esp, 4
mov ecx, esi
push 0x4e6998
call fcn.004ac198
mov ebx, 1
mov dword [esp + 0xc], ebx
jmp 0x49a768
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
lea ecx, [esp + 0x2c]
call fcn.004ac198
push esi
mov byte [esp + 0x20], 3
call sub.MFC42.DLL_operatordelete
mov esi, dword [esp + 0x28]
add esp, 4
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call sub.MFC42.DLL_CString::CString_1
mov ebx, 1
lea ecx, [esp + 0x28]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::CString
jmp 0x49a768
mov esi, dword [esp + 0x24]
push 0x4e6998
mov ecx, esi
call fcn.004ac198
mov ebx, 1
mov dword [esp + 0xc], ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x49a7a0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4be048
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
push 0x4e01dc
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 2
call sub.MFC42.DLL_CString::TrimLeft
mov eax, dword [esp + 0x30]
mov eax, dword [eax - 8]
inc eax
push eax
call sub.MFC42.DLL_operatornew
mov edi, dword [esp + 0x34]
mov ebp, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea eax, [esp + 0x28]
mov edx, ecx
mov esi, edi
mov edi, ebp
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push str.Software8uftpSite_Manager_
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
push ecx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea edx, [esp + 0x10]
push 0
push edx
push 0
push 0x20006
push 0
push 0
push 0
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
lea ecx, [esp + 0x14]
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x49a877
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
mov eax, dword [eax - 8]
inc eax
push eax
push ebp
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret