joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4be610
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5afffc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 0x74]
mov dword [esp + 0x10], 0x1c
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x70]
mov byte [esp + 0x10], 0x1b
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x6c]
mov byte [esp + 0x10], 0x1a
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x68]
mov byte [esp + 0x10], 0x19
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x64]
mov byte [esp + 0x10], 0x18
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x60]
mov byte [esp + 0x10], 0x17
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x5c]
mov byte [esp + 0x10], 0x16
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x58]
mov byte [esp + 0x10], 0x15
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x54]
mov byte [esp + 0x10], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x50]
mov byte [esp + 0x10], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x4c]
mov byte [esp + 0x10], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x48]
mov byte [esp + 0x10], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x44]
mov byte [esp + 0x10], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x40]
mov byte [esp + 0x10], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x3c]
mov byte [esp + 0x10], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x38]
mov byte [esp + 0x10], 0xd
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x10], 0xc
lea ecx, [esi + 0x34]
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x24]
mov byte [esp + 0x10], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x14]
mov byte [esp + 0x10], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x10]
mov byte [esp + 0x10], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 8]
mov byte [esp + 0x10], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 4]
mov byte [esp + 0x10], 0
call sub.MFC42.DLL_CString::CString
mov ecx, esi
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 0x4d0610
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5b1c8b
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 [0x637760]
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 [0x637760]
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov eax, dword [edx + 0x2f0]
test eax, eax
jle 0x4d078e
mov edx, dword [edx + 0x2ec]
xor ebx, ebx
mov ebp, dword [edx + ecx*4]
mov eax, dword [ebp + 0x20]
test eax, eax
jle 0x4d0767
mov eax, dword [ebp + 0x1c]
mov edi, dword [eax + ebx*4]
mov eax, dword [edi + 0x70]
test eax, eax
je 0x4d06a5
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 0x4d06b2
mov eax, dword [ebp + 0x20]
inc ebx
cmp ebx, eax
jl 0x4d067f
jmp 0x4d0767
push 0x24c
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x24], 0
je 0x4d06d8
mov ecx, eax
call fcn.004c75c0
jmp 0x4d06da
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 0x61d280
mov dword [ecx + 0xa4], 1
mov eax, dword [esi + 0x78]
add eax, 0x3c
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [0x637760]
add esp, 0xc
add ecx, 0x3ac
call sub.MFC42.DLL_CString::Empty
mov edx, dword [0x637760]
lea ecx, [edx + 0x3b0]
call sub.MFC42.DLL_CString::Empty
mov byte [esi + 0x1197], 1
mov al, byte [esi + 0x1197]
test al, al
jne 0x4d078e
mov edx, dword [0x637760]
mov ecx, dword [esp + 0x14]
inc ecx
mov eax, dword [edx + 0x2f0]
mov dword [esp + 0x14], ecx
cmp ecx, eax
jl 0x4d0669
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 0x4d3670
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b222c
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 0x4d7030
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5b29a6
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 0x4db2e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5b30fb
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.004ea010
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x30], eax
push ecx
call fcn.004ea010
add esp, 8
mov dword [esi + 0x34], eax
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x631fbc
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 0x4db3d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b3118
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.00594b16
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 0x4dda40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b3548
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 0x4e16f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3ff3
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 0x4e1732
xor edi, edi
jmp 0x4e1752
push 0
push edi
call dword [sym.imp.MSVCRT.dll__access]
add esp, 8
cmp eax, 0xffffffff
push edi
je 0x4e174b
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 0x4e18ca
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 0x4e17a3
push edi
mov dword [esi + 4], ebx
mov dword [esi + 8], eax
call fcn.00595251
cmp eax, ebx
mov dword [esi], eax
jne 0x4e17a1
cmp edi, ebx
je 0x4e17a1
push 0x8007000e
call fcn.005951a4
mov ebx, esi
test ebx, ebx
mov byte [ebp - 4], 0
mov dword [ebp + 8], ebx
jne 0x4e17b8
push 0x8007000e
call fcn.005951a4
test ebx, ebx
mov byte [ebp - 4], 2
mov word [ebp - 0x24], 8
je 0x4e17ca
mov esi, dword [ebx]
jmp 0x4e17cc
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 0x4e17ec
push 0x8007000e
call fcn.005951a4
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 3
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x4e1804
push 0x80004003
call fcn.005951a4
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 0x4e1842
push 0x61f5b0
push edi
push esi
call fcn.005951b2
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 0x4e1863
push eax
call fcn.005951a4
test ebx, ebx
mov byte [ebp - 4], 0
je 0x4e1889
lea ecx, [ebx + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4e1889
mov ecx, ebx
call fcn.004e18e0
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 0x4e84c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5b4f7b
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 0x4e857c
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 0x4e857f
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 0x4eab10
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 0x4eab36
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 0x4eab81
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 0x4eabaf
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 0x4eb300
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b520f
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 0x4eb38a
mov esi, dword [esp + 0x28]
push 0x631fbc
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x10], 1
jmp 0x4eb429
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 0x4eb3f1
mov al, byte [esi + ecx]
cmp al, 0x3d
mov byte [esp + 0x14], al
je 0x4eb3e9
cmp al, 0x7c
je 0x4eb3f1
cmp al, 0x3b
je 0x4eb3f1
cmp al, 0xd
je 0x4eb3f1
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 8]
call fcn.005942a0
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 8]
inc esi
cmp esi, eax
jl 0x4eb3c0
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 0x4edc10
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [ecx + 4]
sub esp, 0x44
test edx, edx
jne 0x4edc23
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 0x4edc70
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, ecx
mov eax, dword [edx + 4]
test eax, eax
jne 0x4edc83
mov eax, 0x631fbc
pop ecx
ret 4
push edi
mov ecx, 0x100
xor eax, eax
mov edi, 0x632d1c
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x10]
push 0x632d1c
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, 0x632d1c
pop edi
pop ecx
ret 4

Function at 0x4edcd0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5b558f
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 0x4edd20
mov esi, dword [esp + 0x24]
push 0x631fbc
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 0x4edde0
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