joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46fd50
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x27c]
call fcn.0041fcb0
test eax, eax
jne 0x46fd96
push 0x24
push 0x4e1638
push 0x4e2988
mov ecx, esi
call sub.MFC42.DLL_CWnd::MessageBoxA
cmp eax, 6
jne 0x46fde6
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 0x46fdae
lea ecx, [esi + 0xdc]
mov dword [0x128], ecx
jmp 0x46fdba
lea edx, [esi + 0xdc]
mov dword [eax + 0x128], edx
mov ecx, dword [esi + 0x26c]
call fcn.00427940
mov eax, dword [esi + 0x26c]
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x46fde6
mov ecx, dword [esi + 0x26c]
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
pop esi
ret

Function at 0x470720
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x4ba51a
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 0x47077b
mov ecx, eax
call fcn.00424de0
jmp 0x47077d
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 0x4707c1
mov ax, word [esp + 8]
cmp al, 1
jne 0x4707bc
xor ecx, ecx
mov cl, ah
cmp cl, al
je 0x4707c1
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 0x4707eb
push esi
mov ecx, eax
call fcn.0042ffd0
jmp 0x4707ed
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.00410a30
push 0x50
call fcn.00474fd0
add esp, 4
test eax, eax
je 0x470858
push 0x51
call fcn.00474fd0
add esp, 4
test eax, eax
jne 0x470858
push 0x60
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 4], eax
test eax, eax
mov dword [esp + 0x1a0], 2
je 0x470850
push esi
mov ecx, eax
call fcn.00453de0
jmp 0x470852
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 0x471770
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4ba68b
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 0x4717af
mov ecx, eax
call fcn.004702d0
mov esi, eax
jmp 0x4717b1
xor esi, esi
mov ecx, dword [esp + 0x1c]
lea eax, [esi + 0x14]
push eax
push ecx
push esi
push 0x471880
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 0x4717f7
test esi, esi
je 0x4717e5
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 0x471840
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 0x47186e
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 0x472d00
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.004ad300
xor ecx, ecx
add eax, esi
adc edx, ecx
pop esi
ret
Function at 0x477700
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4baf48
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 0x47775b
push 0x4e59d8
jmp 0x47775c
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 0x477800
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4baf88
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 0x477867
mov eax, dword [esp + 0x20]
mov dword [eax], 0
mov dword [eax + 4], 0
jmp 0x47788d
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 0x477854
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 0x4778c0
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 0x4778f0
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 0x477a90
Capabilities:
Gather filezilla information

Disassembly:
push 0xffffffffffffffff
push 0x4bafc8
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.004ac728
mov edi, dword [esp + 0x24]
push edi
call fcn.004778c0
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.004ac728
push edi
call fcn.004778f0
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.004ac728
push edi
call fcn.004778c0
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.00424a40
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.004ac728
push edi
call fcn.004778c0
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.004ac728
push edi
call fcn.004778f0
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.004ac728
push edi
call fcn.004778f0
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.004ac728
push edi
call fcn.004778f0
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.004ac728
push edi
call fcn.004778c0
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.004ac728
push edi
call fcn.004778f0
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.004ac728
push edi
call fcn.004778f0
mov ecx, dword [esp + 0x1c]
add esp, 0x10
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x47d4b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bbd24
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.004961d0
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 2
call fcn.00453200
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 0x497c70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bd93f
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.004961d0
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 1
call fcn.00497a50
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.00496af0
mov dword [esp + 4], 1
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 0
call fcn.00496c60
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x49ab80
Capabilities:
Access peb ldr_data
Get number of processors
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4be05f
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 0x49ac9f
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 0x49ac53
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 0x4e59d8
call fcn.004ac728
mov ebx, 1
mov dword [esp + 0xc], ebx
jmp 0x49acb8
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
lea ecx, [esp + 0x2c]
call fcn.004ac728
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 0x49acb8
mov esi, dword [esp + 0x24]
push 0x4e59d8
mov ecx, esi
call fcn.004ac728
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 0x49acf0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4be088
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
push 0x4df1d8
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 0x49adc7
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
Function at 0x4a0a10
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4bebc8
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x20]
mov ecx, esi
mov eax, dword [edi]
push eax
mov eax, dword [esi + 0x24]
push str.Host
push eax
call fcn.00408350
mov eax, dword [edi + 4]
mov ecx, dword [esi + 0x24]
push eax
push str.Port
push ecx
mov ecx, esi
call fcn.004082d0
mov eax, dword [edi + 8]
mov edx, dword [esi + 0x24]
push eax
push str.User
push edx
mov ecx, esi
call fcn.00408350
mov eax, dword [edi + 0x10]
mov ecx, esi
push eax
mov eax, dword [esi + 0x24]
push str.RemoteDir
push eax
call fcn.00408350
mov eax, dword [edi + 0x14]
mov ecx, dword [esi + 0x24]
push eax
push str.LocalDir
push ecx
mov ecx, esi
call fcn.00408350
lea edx, [esp + 0x20]
push 0x47
push edx
call fcn.00474c60
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 0xc
test eax, eax
jne 0x4a0aba
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x4a0aba
xor bl, bl
jmp 0x4a0abc
mov bl, 1
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4a0ae0
mov eax, dword [esi + 0x24]
push 0x4e59d8
push str.Pass
push eax
mov ecx, esi
call fcn.00408350
jmp 0x4a0b29
push ecx
lea edx, [edi + 0xc]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x20]
push eax
call fcn.00424a40
add esp, 8
mov eax, dword [eax]
mov ecx, dword [esi + 0x24]
push eax
push str.Pass
push ecx
mov ecx, esi
mov dword [esp + 0x20], 0
call fcn.00408350
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov edx, dword [edi + 0x18]
mov eax, dword [esi + 0x24]
push edx
push str.Logontype
push eax
mov ecx, esi
call fcn.004082d0
mov ecx, dword [edi + 0x1c]
mov edx, dword [esi + 0x24]
push ecx
push str.FWBypass
push edx
mov ecx, esi
call fcn.004082d0
mov eax, dword [edi + 0x20]
mov ecx, dword [esi + 0x24]
push eax
push str.DontSavePass
push ecx
mov ecx, esi
call fcn.004082d0
mov edx, dword [edi + 0x24]
mov eax, dword [esi + 0x24]
push edx
push str.ServerType
push eax
mov ecx, esi
call fcn.004082d0
mov ecx, dword [edi + 0x30]
mov edx, dword [esi + 0x24]
push ecx
push str.PasvMode
push edx
mov ecx, esi
call fcn.004082d0
mov eax, dword [edi + 0x34]
mov ecx, dword [esi + 0x24]
push eax
push str.TimeZoneOffset
push ecx
mov ecx, esi
call fcn.004082d0
mov edx, dword [edi + 0x38]
mov eax, dword [esi + 0x24]
push edx
push str.TimeZoneOffsetMinutes
push eax
mov ecx, esi
call fcn.004082d0
mov ecx, dword [edi + 0x3c]
mov edx, dword [esi + 0x24]
push ecx
push str.Comments
push edx
mov ecx, esi
call fcn.00408350
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret
Function at 0x4a1720
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x4bec93
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40c
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x428]
lea eax, [esp + 0xc]
push eax
push 0xf003f
push 0
push ecx
push reloc.WS2_32.dll_accept
mov dword [esp + 0x434], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4a1821
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea edx, [esp + 0x18]
push 0x400
push edx
push eax
mov eax, dword [esp + 0x18]
push eax
call ebp
test eax, eax
jne 0x4a1801
lea ecx, [esp + 0x428]
push 0x4df1d8
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator_3
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x424], 1
call fcn.004ac79a
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, edi
call fcn.004a1720
test eax, eax
je 0x4a17da
inc esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x420], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x18]
push 0x400
push eax
push esi
push ecx
call ebp
test eax, eax
je 0x4a1790
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x428]
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
lea ecx, [esp + 0x428]
mov dword [esp + 0x420], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x418]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x418
ret 4
Function at 0x4a37d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bf0ef
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 + 8]
mov dword [esp + 0x14], edi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0xc]
mov byte [esp + 0x14], 1
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x10]
mov byte [esp + 0x14], 2
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x14]
mov byte [esp + 0x14], 3
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x28]
mov byte [esp + 0x14], 4
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x3c]
mov byte [esp + 0x14], 5
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 4], 0x15
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4abdd0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4bfc08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
lea eax, [esp + 0x10]
push edi
push eax
call fcn.004abcf0
add esp, 4
push str.Trusted_Certs.dat
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x44], 0
call sub.MFC42.DLL_operator_3
mov eax, dword [eax]
push 0
push 0
push 3
push 0
push 1
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea ecx, [esp + 0x10]
mov ebx, eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
cmp ebx, 0xffffffff
je 0x4abea5
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
lea edx, [esp + 0x18]
push 0
push edx
lea eax, [esp + 0x24]
push 0x14
push eax
push ebx
call ebp
test eax, eax
je 0x4abe9e
cmp dword [esp + 0x18], 0x14
jne 0x4abe9e
mov esi, dword [esp + 0x40]
mov ecx, 5
lea edi, [esp + 0x1c]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x4abe50
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret