joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d09b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5b1fcb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov byte [esi + 0x1197], 0
mov eax, dword [0x637770]
lea ecx, [esi + 0x58]
mov eax, dword [eax + 0x3ac]
push ecx
inc eax
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [0x637770]
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov eax, dword [edx + 0x2f0]
test eax, eax
jle 0x4d0b2e
mov edx, dword [edx + 0x2ec]
xor ebx, ebx
mov ebp, dword [edx + ecx*4]
mov eax, dword [ebp + 0x20]
test eax, eax
jle 0x4d0b07
mov eax, dword [ebp + 0x1c]
mov edi, dword [eax + ebx*4]
mov eax, dword [edi + 0x70]
test eax, eax
je 0x4d0a45
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0xa8]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x4d0a52
mov eax, dword [ebp + 0x20]
inc ebx
cmp ebx, eax
jl 0x4d0a1f
jmp 0x4d0b07
push 0x24c
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x24], 0
je 0x4d0a78
mov ecx, eax
call fcn.004c7960
jmp 0x4d0a7a
xor eax, eax
mov dword [esi + 0x78], eax
mov edx, dword [edi + 0x70]
mov dword [esp + 0x24], 0xffffffff
mov ecx, dword [edx + 0xb0]
mov dword [eax + 0x10c], ecx
mov edx, dword [edi + 0x70]
mov ecx, dword [esi + 0x78]
add edx, 0x1c
push edx
add ecx, 0xc
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [edi + 0x70]
mov ecx, dword [esi + 0x78]
add eax, 0x20
add ecx, 0x14
push eax
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esi + 0x78]
mov edx, dword [esp + 0x10]
push edx
push 0x61d2e0
mov dword [ecx + 0xa4], 1
mov eax, dword [esi + 0x78]
add eax, 0x3c
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [0x637770]
add esp, 0xc
add ecx, 0x3ac
call sub.MFC42.DLL_CString::Empty
mov edx, dword [0x637770]
lea ecx, [edx + 0x3b0]
call sub.MFC42.DLL_CString::Empty
mov byte [esi + 0x1197], 1
mov al, byte [esi + 0x1197]
test al, al
jne 0x4d0b2e
mov edx, dword [0x637770]
mov ecx, dword [esp + 0x14]
inc ecx
mov eax, dword [edx + 0x2f0]
mov dword [esp + 0x14], ecx
cmp ecx, eax
jl 0x4d0a09
mov eax, dword [esi + 0x50]
lea ecx, [esi + 0x50]
call dword [eax + 0x1c]
mov cl, byte [esi + 0x1197]
xor eax, eax
cmp cl, 1
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
sete al
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x4d3a00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b256c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esp + 0x18], ebx
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 4]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x20]
mov byte [esp + 0x18], 2
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x24]
mov byte [esp + 0x18], 3
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x58]
mov byte [esp + 0x18], 4
call sub.MFC42.DLL_CString::CString_1
lea eax, [ebp + 8]
mov ecx, esi
push eax
mov byte [esp + 0x1c], 5
call sub.MFC42.DLL_CString::operator_1
mov dword [esi + 0x18], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x48], ebx
lea ecx, [ebp + 8]
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x40], bl
mov dword [esi + 0x4c], ebx
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4d73a0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5b2ce6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x5ce2ec
lea ecx, [esi + 0x34]
mov dword [esp + 0x10], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x24]
mov byte [esp + 0x10], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x14]
mov byte [esp + 0x10], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x10]
mov byte [esp + 0x10], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 8]
mov dword [esp + 0x10], 0xffffffff
mov dword [esi], 0x5ce328
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4db6a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5b343b
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 sym.ETermProxy.exe_public:_void___thiscall_CAdoConnection::constructor_void_
lea edi, [esi + 0xc]
push 0
mov ecx, edi
mov dword [esp + 0x18], 0
call sub.MFC42.DLL_CSyncObject::CSyncObject
mov dword [edi], 0x5cdd24
add edi, 8
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x14], 1
push eax
mov dword [esi], 0x5ce494
call fcn.004ea3d0
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x30], eax
push ecx
call fcn.004ea3d0
add esp, 8
mov dword [esi + 0x34], eax
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x631fcc
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x34]
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
mov byte [esp + 0x20], 1
call sym.ETermProxy.exe_public:_int___thiscall_CAdoConnection::ConnectAccess_class_CString__class_CString__long_int_
mov ecx, dword [esp + 0xc]
cmp eax, 1
sete al
mov byte [esi + 0x2c], al
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret 0xc

Function at 0x4db790
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b3458
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
mov dword [esi], 0x5ce494
mov eax, dword [esi + 0x30]
mov dword [esp + 0x14], 0
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esi + 0x34]
push eax
call sub.MFC42.DLL_operatordelete
lea edi, [esi + 0xc]
add esp, 8
lea eax, [edi + 8]
mov dword [edi], 0x5cdd24
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, edi
call fcn.00594e66
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call sym.ETermProxy.exe_public_virtual:_void___thiscall_CAdoConnection::destructor_void_
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4dddb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b3888
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
lea eax, [esp + 0x30]
lea ecx, [esp + 0x1c]
push eax
push str.ProviderSQLOLEDB.1__Data_Source
push ecx
mov dword [esp + 0x34], 3
call sub.MFC42.DLL_operator_2
push str.__Initial_Catalog
lea edx, [esp + 0x1c]
push eax
push edx
mov byte [esp + 0x34], 4
call sub.MFC42.DLL_operator_3
lea ecx, [esp + 0x34]
lea edx, [esp + 0x14]
push ecx
push eax
push edx
mov byte [esp + 0x34], 5
call sub.MFC42.DLL_operator
push str.__User_ID
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x30], 6
push eax
call sub.MFC42.DLL_operator_3
lea ecx, [esp + 0x38]
lea edx, [esp + 0xc]
push ecx
push eax
push edx
mov byte [esp + 0x34], 7
call sub.MFC42.DLL_operator
push str.__PWD
push eax
lea eax, [esp + 0x10]
mov byte [esp + 0x30], 8
push eax
call sub.MFC42.DLL_operator_3
lea ecx, [esp + 0x3c]
lea edx, [esp + 4]
push ecx
push eax
push edx
mov byte [esp + 0x34], 9
call sub.MFC42.DLL_operator
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 0xc
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x28], 0xb
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 4]
push eax
push ecx
mov ecx, esi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoConnection::Open_char_const___long_int_
lea ecx, [esp + 4]
mov esi, eax
mov byte [esp + 0x28], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 0x14
Function at 0x4e1a70
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b4333
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [ebx + 0x18]
lea esi, [ebx + 0x18]
mov dword [ebp - 0x10], esp
push edi
push eax
mov dword [ebp - 0x14], ebx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x4e1ab2
xor edi, edi
jmp 0x4e1ad2
push 0
push edi
call dword [sym.imp.MSVCRT.dll__access]
add esp, 8
cmp eax, 0xffffffff
push edi
je 0x4e1acb
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
mov ecx, esi
call sub.MFC42.DLL_CString::operator
mov eax, dword [ebx + 0xc]
mov dword [ebp - 4], 0
test eax, eax
je 0x4e1c4a
push 0xc
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
xor ebx, ebx
mov eax, 1
cmp esi, ebx
mov byte [ebp - 4], al
je 0x4e1b23
push edi
mov dword [esi + 4], ebx
mov dword [esi + 8], eax
call fcn.005955a1
cmp eax, ebx
mov dword [esi], eax
jne 0x4e1b21
cmp edi, ebx
je 0x4e1b21
push 0x8007000e
call fcn.005954f4
mov ebx, esi
test ebx, ebx
mov byte [ebp - 4], 0
mov dword [ebp + 8], ebx
jne 0x4e1b38
push 0x8007000e
call fcn.005954f4
test ebx, ebx
mov byte [ebp - 4], 2
mov word [ebp - 0x24], 8
je 0x4e1b4a
mov esi, dword [ebx]
jmp 0x4e1b4c
xor esi, esi
push esi
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
test eax, eax
mov dword [ebp - 0x1c], eax
jne 0x4e1b6c
push 0x8007000e
call fcn.005954f4
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 3
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x4e1b84
push 0x80004003
call fcn.005954f4
mov ecx, dword [ebp + 0xc]
mov edi, dword [esi + 0xc]
push ecx
mov ecx, dword [ebp - 0x24]
sub esp, 0x10
mov eax, dword [edi]
mov edx, esp
push edi
mov dword [edx], ecx
mov ecx, dword [ebp - 0x20]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [edx + 8], ecx
mov ecx, dword [ebp - 0x18]
mov dword [edx + 0xc], ecx
call dword [eax + 0x150]
mov esi, eax
test esi, esi
jge 0x4e1bc2
push 0x61f610
push edi
push esi
call fcn.00595502
xor edx, edx
lea eax, [ebp - 0x24]
test esi, esi
sete dl
push eax
mov esi, edx
mov byte [ebp - 4], 2
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jge 0x4e1be3
push eax
call fcn.005954f4
test ebx, ebx
mov byte [ebp - 4], 0
je 0x4e1c09
lea ecx, [ebx + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4e1c09
mov ecx, ebx
call fcn.004e1c60
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4e8840
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5b52bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov dword [esp + 0xc], esi
lea edi, [esi + 0x50]
push ebx
mov ecx, edi
call sub.MFC42.DLL_CSyncObject::CSyncObject
mov dword [edi], 0x5cdd24
add edi, 8
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], ebx
push eax
mov dword [esi], sym.ETermProxy.exe_const_CClientObject::vftable
mov dword [esi + 0x38], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x30], ebx
mov byte [esi + 8], bl
mov dword [esi + 0x28], ebx
mov byte [esi + 0x48], bl
mov byte [esi + 0x49], bl
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], eax
call sub.MFC42.DLL_operatornew
push 0x94
mov dword [esi + 0x44], eax
call sub.MFC42.DLL_operatornew
add esp, 8
cmp eax, ebx
je 0x4e88fc
mov dword [eax + 0x50], ebx
mov byte [eax], bl
mov byte [eax + 0x10], bl
mov byte [eax + 0x20], bl
mov dword [eax + 0x54], ebx
mov dword [eax + 0x64], ebx
mov dword [eax + 0x60], ebx
mov dword [eax + 0x5c], ebx
mov dword [eax + 0x58], ebx
mov dword [eax + 0x80], ebx
mov dword [eax + 0x7c], ebx
mov dword [eax + 0x78], ebx
mov dword [eax + 0x74], ebx
mov dword [eax + 0x70], ebx
mov dword [eax + 0x6c], ebx
mov dword [eax + 0x68], ebx
mov byte [eax + 0x84], bl
mov dword [esi + 0x34], eax
jmp 0x4e88ff
mov dword [esi + 0x34], ebx
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4eaed0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 0
push 0
push 0
push 0
push str.HTTP_Downloader
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
test edi, edi
jne 0x4eaef6
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret
mov ebx, dword [sym.imp.WININET.dll_InternetSetOptionA]
lea eax, [esp + 0x10]
push 4
push eax
push 2
push edi
mov dword [esp + 0x20], 0x2bf20
call ebx
lea ecx, [esp + 0x10]
push 4
push ecx
push 6
push edi
call ebx
mov edx, dword [esp + 0x18]
push 0
push SysReAllocString
push 0
push 0
push edx
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
jne 0x4eaf41
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret
lea eax, [esp + 0x10]
push 4
push eax
push 6
push esi
call ebx
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
push ebx
push ecx
push ebp
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4eaf6f
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret
mov edx, dword [ebx]
push edi
mov byte [edx + ebp], 0
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret
Function at 0x4eb6c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b554f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
xor esi, esi
mov dword [esp + 0x10], esi
lea ecx, [esp + 4]
mov dword [esp + 0x20], 2
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x2c]
lea ecx, [esp + 8]
push eax
mov byte [esp + 0x24], 3
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 8]
mov byte [esp + 0x20], 4
call sub.MFC42.DLL_CString::MakeUpper
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::MakeUpper
mov ecx, dword [esp + 0x30]
push ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
jne 0x4eb74a
mov esi, dword [esp + 0x28]
push 0x631fcc
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x10], 1
jmp 0x4eb7e9
mov edx, dword [esp + 0x2c]
mov ecx, dword [edx - 8]
mov edx, dword [esp + 0x30]
sub ecx, dword [edx - 8]
sub ecx, eax
lea eax, [esp + 0xc]
push ecx
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Right
lea ecx, [esp + 4]
mov byte [esp + 0x20], 5
call sub.MFC42.DLL_CString::Empty
mov ecx, dword [esp + 0xc]
cmp dword [ecx - 8], esi
jle 0x4eb7b1
mov al, byte [esi + ecx]
cmp al, 0x3d
mov byte [esp + 0x14], al
je 0x4eb7a9
cmp al, 0x7c
je 0x4eb7b1
cmp al, 0x3b
je 0x4eb7b1
cmp al, 0xd
je 0x4eb7b1
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 8]
call fcn.005945f0
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 8]
inc esi
cmp esi, eax
jl 0x4eb780
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::TrimRight
mov esi, dword [esp + 0x28]
lea edx, [esp + 4]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], 1
mov byte [esp + 0x20], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x20], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x4edfd0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [ecx + 4]
sub esp, 0x44
test edx, edx
jne 0x4edfe3
or eax, 0xffffffff
add esp, 0x44
ret 4
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
lea eax, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x54]
push eax
push 0
push ecx
push edx
mov dword [esp + 0x1c], 0x40
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 8]
pop edi
add esp, 0x44
ret 4

Function at 0x4ee030
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, ecx
mov eax, dword [edx + 4]
test eax, eax
jne 0x4ee043
mov eax, 0x631fcc
pop ecx
ret 4
push edi
mov ecx, 0x100
xor eax, eax
mov edi, 0x632d2c
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x10]
push 0x632d2c
push ecx
mov ecx, dword [edx + 4]
push 0
push eax
push ecx
mov dword [esp + 0x1c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, 0x632d2c
pop edi
pop ecx
ret 4

Function at 0x4ee090
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5b58cf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
mov dword [esp + 0xc], 0
mov eax, dword [ebx + 4]
test eax, eax
jne 0x4ee0e0
mov esi, dword [esp + 0x24]
push 0x631fcc
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
push ebp
mov ebp, dword [esp + 0x30]
push edi
push ebp
call sub.MFC42.DLL_operatornew
mov ecx, ebp
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x30]
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [ebx + 4]
push esi
push ecx
push 0
push edx
push eax
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_3
mov edi, 1
push esi
mov dword [esp + 0x28], edi
call sub.MFC42.DLL_operatordelete
mov esi, dword [esp + 0x30]
add esp, 4
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], edi
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop ebp
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc

Function at 0x4ee1a0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov edx, ecx
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [edx + 4]
push esi
push 1
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
ret 8
Function at 0x4ee1d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5b5943
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::CString_1
xor ebx, ebx
lea ecx, [esi + 8]
mov dword [esp + 0x18], ebx
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0xc]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString_1
lea edi, [esi + 0x10]
mov byte [esp + 0x18], 2
mov ecx, edi
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x14]
mov byte [esp + 0x18], 3
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x1c]
mov byte [esp + 0x18], 4
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x20]
mov byte [esp + 0x18], 5
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x24]
mov byte [esp + 0x18], 6
call sub.MFC42.DLL_CString::CString_1
mov dword [esi + 0x2c], 0x5ce6f0
mov dword [esi + 0x30], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x34], ebx
push 0x621f10
mov ecx, edi
mov byte [esp + 0x1c], 8
mov dword [esi], 0x5ce6d8
call sub.MFC42.DLL_CString::operator
push 0x4c
mov ecx, esi
call fcn.004ee620
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret