joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a9450
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5b5ae9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
lea ecx, [esi + 0x1c]
call sub.MFC42.DLL_CString::CString_1
xor ebx, ebx
lea ecx, [esi + 0x24]
mov dword [esp + 0x14], ebx
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x3c]
mov byte [esp + 0x14], 1
call fcn.0045b950
lea ecx, [esi + 0x88]
mov byte [esp + 0x14], 2
call fcn.004638e0
lea ecx, [esi + 0xac]
mov byte [esp + 0x14], 3
call fcn.00463d50
lea ecx, [esi + 0xbc]
mov byte [esp + 0x14], 4
call fcn.00463d50
lea ecx, [esi + 0xd0]
mov byte [esp + 0x14], 5
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0xd4]
mov byte [esp + 0x14], 6
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0xc]
mov dword [esi], 0x5d62b4
mov dword [esi + 0x38], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x18], ebx
mov byte [esi + 0x2a], bl
mov byte [esi + 0x29], bl
mov byte [esi + 0x28], bl
mov byte [esi + 0x21], bl
mov byte [esi + 0x15], bl
mov byte [esi + 0x12], bl
mov byte [esi + 0x11], bl
mov byte [esi + 0x10], bl
mov byte [esi + 0xe], bl
mov byte [esi + 0xd], bl
mov byte [esi + 0xc], bl
mov byte [esi + 0xf], bl
mov byte [esi + 0xa], bl
mov byte [esi + 0x14], bl
mov byte [esi + 0x13], bl
mov byte [esi + 0xb], bl
mov byte [esi + 7], bl
mov byte [esi + 9], bl
mov byte [esi + 6], bl
mov byte [esi + 5], bl
mov byte [esi + 4], bl
mov byte [esi + 0x20], bl
mov byte [esi + 8], 1
mov byte [esi + 0xd8], bl
mov byte [esi + 0xda], bl
mov dword [esi + 0xdc], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4ba9d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b6d87
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
xor esi, esi
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], esi
call sub.MFC42.DLL_CString::CString_1
mov ebx, dword [esp + 0x30]
mov edi, 1
cmp ebx, edi
mov dword [esp + 0x20], edi
jl 0x4bab5f
cmp ebx, 9
jg 0x4bab5f
push ebp
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov ebp, dword [esp + 0x30]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
xor dl, dl
mov byte [esp + 0x24], 2
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4baa6a
test dl, dl
je 0x4baa45
cmp byte [esi + ebp], 0x20
je 0x4baa59
mov al, byte [esi + ebp]
lea ecx, [esp + 0x14]
push eax
call fcn.0059b7b2
cmp byte [esi + ebp], 0x20
sete dl
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
inc esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp esi, ecx
jb 0x4baa3b
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::MakeUpper
mov ecx, dword [esp + 0x14]
xor ebp, ebp
xor edi, edi
xor eax, eax
mov esi, dword [ecx - 8]
test esi, esi
jle 0x4bab4b
lea edx, [esi - 8]
cmp eax, edx
jge 0x4baaca
cmp byte [eax + ecx], 0x53
jne 0x4baaca
cmp byte [eax + ecx + 1], 0x53
jne 0x4baaca
cmp byte [eax + ecx + 2], 0x52
jne 0x4baaca
cmp byte [eax + ecx + 3], 0x20
jne 0x4baaca
cmp byte [eax + ecx + 4], 0x46
jne 0x4baaca
cmp byte [eax + ecx + 5], 0x4f
jne 0x4baaca
cmp byte [eax + ecx + 6], 0x49
jne 0x4baaca
cmp byte [eax + ecx + 7], 0x44
jne 0x4baaca
lea ebp, [eax + ecx + 8]
lea edx, [esi - 3]
cmp eax, edx
jge 0x4baafb
test ebp, ebp
je 0x4baafb
mov dl, byte [eax + ecx]
cmp dl, 0x2f
jne 0x4baaf1
cmp byte [eax + ecx + 1], 0x50
jne 0x4baaf1
add bl, 0x30
cmp byte [eax + ecx + 2], bl
je 0x4bab02
mov ebx, dword [esp + 0x34]
cmp dl, 0xd
jne 0x4baafb
cmp ebx, 1
je 0x4bab02
inc eax
cmp eax, esi
jl 0x4baa88
jmp 0x4bab05
lea edi, [eax + ecx]
test ebp, ebp
je 0x4bab4b
test edi, edi
je 0x4bab4b
lea ecx, [esp + 0x10]
sub edi, ebp
call sub.MFC42.DLL_CString::Empty
xor esi, esi
test edi, edi
jle 0x4bab4b
mov al, byte [esi + ebp]
cmp al, 0x20
mov byte [esp + 0x34], al
je 0x4bab3d
cmp al, 0x2f
je 0x4bab3d
mov ecx, dword [esp + 0x34]
push ecx
lea ecx, [esp + 0x14]
call fcn.0059b7b2
jmp 0x4bab46
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Empty
inc esi
cmp esi, edi
jl 0x4bab1e
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString
mov edi, 1
pop ebp
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [esp + 0xc]
cmp dword [eax - 8], 2
jle 0x4bab90
mov esi, dword [esp + 0x28]
add eax, 2
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x14], edi
jmp 0x4baba4
mov esi, dword [esp + 0x28]
push 0x63b90c
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x14], edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
Function at 0x4baf10
Capabilities:
Terminate thread

Disassembly:
mov dword [ecx], 0x5d62cc
jmp 0x4bafd0
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x4baff9
push 0x442
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 8]
push eax
call edi
mov dword [esi + 8], ebx
mov ecx, dword [esi + 0x14]
push ecx
call edi
mov edi, dword [esi + 0x18]
mov dword [esi + 0x14], ebx
cmp edi, ebx
je 0x4bb019
mov ecx, edi
call fcn.004bb180
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 0x18], ebx
pop edi
pop esi
pop ebx
ret

Function at 0x4baf20
Capabilities:
Create thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5b6dcb
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x4bafbd
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0x4001c
mov dword [esi + 0x14], eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 4], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x4baf79
mov ecx, eax
call fcn.004bb160
jmp 0x4baf7b
xor eax, eax
mov dword [esi + 0x18], eax
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x4bb020
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xc8
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esi + 8]
xor eax, eax
test ecx, ecx
setne al
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov ecx, dword [esp + 0xc]
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4bccb0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 1
mov esi, ecx
push 0
call edi
push 0
push 0
push 1
push 0
mov dword [esi + 8], eax
call edi
push 0
push 0
push 1
push 0
mov dword [esi + 0xc], eax
call edi
mov dword [esi + 0x10], eax
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x4bcd70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [esi + 4], eax
test eax, eax
setne cl
pop edi
mov al, cl
pop esi
pop ecx
ret
Function at 0x4c05e0
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 0x5b79ac
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 0x4d5950
Capabilities:
Access peb ldr_data

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

Disassembly:
push 0xffffffffffffffff
push 0x5ba366
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], 0x5d6448
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], 0x5d6484
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4dd5f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5baabb
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], 0x5d5e7c
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], 0x5d65f0
call fcn.004ec2d0
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x30], eax
push ecx
call fcn.004ec2d0
add esp, 8
mov dword [esi + 0x34], eax
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x63b90c
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 0x4dd6e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5baad8
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], 0x5d65f0
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], 0x5d5e7c
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, edi
call fcn.0059c028
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 0x4dfd50
Capabilities:
Access peb ldr_data

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bb9b3
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 0x4e3a22
xor edi, edi
jmp 0x4e3a42
push 0
push edi
call dword [sym.imp.MSVCRT.dll__access]
add esp, 8
cmp eax, 0xffffffff
push edi
je 0x4e3a3b
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 0x4e3bba
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 0x4e3a93
push edi
mov dword [esi + 4], ebx
mov dword [esi + 8], eax
call fcn.0059c779
cmp eax, ebx
mov dword [esi], eax
jne 0x4e3a91
cmp edi, ebx
je 0x4e3a91
push 0x8007000e
call fcn.0059c6cc
mov ebx, esi
test ebx, ebx
mov byte [ebp - 4], 0
mov dword [ebp + 8], ebx
jne 0x4e3aa8
push 0x8007000e
call fcn.0059c6cc
test ebx, ebx
mov byte [ebp - 4], 2
mov word [ebp - 0x24], 8
je 0x4e3aba
mov esi, dword [ebx]
jmp 0x4e3abc
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 0x4e3adc
push 0x8007000e
call fcn.0059c6cc
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 3
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x4e3af4
push 0x80004003
call fcn.0059c6cc
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 0x4e3b32
push 0x628930
push edi
push esi
call fcn.0059c6da
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 0x4e3b53
push eax
call fcn.0059c6cc
test ebx, ebx
mov byte [ebp - 4], 0
je 0x4e3b79
lea ecx, [ebx + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4e3b79
mov ecx, ebx
call fcn.004e3bd0
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 0x4ecdd0
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 0x4ecdf6
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 bind
push 0
push 0
push edx
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
jne 0x4ece41
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 0x4ece6f
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 0x4ed5c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5bcbcf
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 0x4ed64a
mov esi, dword [esp + 0x28]
push 0x63b90c
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x10], 1
jmp 0x4ed6e9
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 0x4ed6b1
mov al, byte [esi + ecx]
cmp al, 0x3d
mov byte [esp + 0x14], al
je 0x4ed6a9
cmp al, 0x7c
je 0x4ed6b1
cmp al, 0x3b
je 0x4ed6b1
cmp al, 0xd
je 0x4ed6b1
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 8]
call fcn.0059b7b2
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 8]
inc esi
cmp esi, eax
jl 0x4ed680
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