joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a61b0
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
mov dword [esi + 0xc], eax
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x4a6270
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 0x4a8350
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5ac939
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.0045b1f0
lea ecx, [esi + 0x88]
mov byte [esp + 0x14], 2
call fcn.00462300
lea ecx, [esi + 0xac]
mov byte [esp + 0x14], 3
call fcn.004629c0
lea ecx, [esi + 0xbc]
mov byte [esp + 0x14], 4
call fcn.004629c0
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], 0x5cc164
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 0x4b93c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5adb58
push eax
mov al, byte [esp + 0x18]
mov dword fs:[0], esp
sub esp, 0x14
test al, al
push ebx
push ebp
push esi
push edi
je 0x4b93f2
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x78]
add eax, 0x204
jmp 0x4b93fe
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0x78]
add eax, 0x200
push eax
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], 0
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::TrimRight
mov edx, dword [esp + 0x3c]
mov eax, dword [edx - 8]
test eax, eax
jne 0x4b9445
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor al, al
jmp 0x4b9507
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CStringArray::CStringArray
push 1
push 1
push 0x20
lea eax, [esp + 0x1c]
push 0x2c
push eax
push ecx
lea edx, [esp + 0x54]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
mov byte [esp + 0x48], 1
call sub.MFC42.DLL_CString::CString_2
call fcn.004ea830
push 0
call dword [sym.imp.MSVCRT.dll_time]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
mov edi, dword [esp + 0x58]
mov ebp, dword [sym.imp.MSVCRT.dll_rand]
add esp, 0x20
mov bl, 2
mov esi, dword [esp + 0x18]
test esi, esi
je 0x4b94de
call ebp
cdq
idiv esi
lea eax, [esp + 0x34]
lea ecx, [esp + 0x10]
mov esi, edx
push esi
push eax
call fcn.0041ac50
mov ecx, dword [edi + 8]
push eax
push ecx
mov ecx, edi
mov byte [esp + 0x34], bl
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
push 1
push esi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CStringArray::RemoveAt
jmp 0x4b9494
mov eax, dword [edi + 8]
lea ecx, [esp + 0x10]
test eax, eax
setg bl
mov byte [esp + 0x2c], 0
call fcn.00592bb2
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov al, bl
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0xc
Function at 0x4b99f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5adbe7
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 0x4b9b7f
cmp ebx, 9
jg 0x4b9b7f
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 0x4b9a8a
test dl, dl
je 0x4b9a65
cmp byte [esi + ebp], 0x20
je 0x4b9a79
mov al, byte [esi + ebp]
lea ecx, [esp + 0x14]
push eax
call fcn.005928d0
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 0x4b9a5b
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 0x4b9b6b
lea edx, [esi - 8]
cmp eax, edx
jge 0x4b9aea
cmp byte [eax + ecx], 0x53
jne 0x4b9aea
cmp byte [eax + ecx + 1], 0x53
jne 0x4b9aea
cmp byte [eax + ecx + 2], 0x52
jne 0x4b9aea
cmp byte [eax + ecx + 3], 0x20
jne 0x4b9aea
cmp byte [eax + ecx + 4], 0x46
jne 0x4b9aea
cmp byte [eax + ecx + 5], 0x4f
jne 0x4b9aea
cmp byte [eax + ecx + 6], 0x49
jne 0x4b9aea
cmp byte [eax + ecx + 7], 0x44
jne 0x4b9aea
lea ebp, [eax + ecx + 8]
lea edx, [esi - 3]
cmp eax, edx
jge 0x4b9b1b
test ebp, ebp
je 0x4b9b1b
mov dl, byte [eax + ecx]
cmp dl, 0x2f
jne 0x4b9b11
cmp byte [eax + ecx + 1], 0x50
jne 0x4b9b11
add bl, 0x30
cmp byte [eax + ecx + 2], bl
je 0x4b9b22
mov ebx, dword [esp + 0x34]
cmp dl, 0xd
jne 0x4b9b1b
cmp ebx, 1
je 0x4b9b22
inc eax
cmp eax, esi
jl 0x4b9aa8
jmp 0x4b9b25
lea edi, [eax + ecx]
test ebp, ebp
je 0x4b9b6b
test edi, edi
je 0x4b9b6b
lea ecx, [esp + 0x10]
sub edi, ebp
call sub.MFC42.DLL_CString::Empty
xor esi, esi
test edi, edi
jle 0x4b9b6b
mov al, byte [esi + ebp]
cmp al, 0x20
mov byte [esp + 0x34], al
je 0x4b9b5d
cmp al, 0x2f
je 0x4b9b5d
mov ecx, dword [esp + 0x34]
push ecx
lea ecx, [esp + 0x14]
call fcn.005928d0
jmp 0x4b9b66
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Empty
inc esi
cmp esi, edi
jl 0x4b9b3e
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 0x4b9bb0
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 0x4b9bc4
mov esi, dword [esp + 0x28]
push 0x62fc5c
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 0x4b9f30
Capabilities:
Terminate thread

Disassembly:
mov dword [ecx], 0x5cc17c
jmp 0x4b9ff0
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 0x4ba019
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 0x4ba039
mov ecx, edi
call fcn.004ba1a0
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 0x18], ebx
pop edi
pop esi
pop ebx
ret

Function at 0x4b9f40
Capabilities:
Create thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5adc2b
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x4b9fdd
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 0x4b9f99
mov ecx, eax
call fcn.004ba180
jmp 0x4b9f9b
xor eax, eax
mov dword [esi + 0x18], eax
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x4ba040
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 0x4bbcd0
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 0x4bbd90
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 0x4bec90
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 0x5ae6cc
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 0x4d0c80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5b035b
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 [0x635400]
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 [0x635400]
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov eax, dword [edx + 0x2f0]
test eax, eax
jle 0x4d0dfe
mov edx, dword [edx + 0x2ec]
xor ebx, ebx
mov ebp, dword [edx + ecx*4]
mov eax, dword [ebp + 0x20]
test eax, eax
jle 0x4d0dd7
mov eax, dword [ebp + 0x1c]
mov edi, dword [eax + ebx*4]
mov eax, dword [edi + 0x70]
test eax, eax
je 0x4d0d15
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 0x4d0d22
mov eax, dword [ebp + 0x20]
inc ebx
cmp ebx, eax
jl 0x4d0cef
jmp 0x4d0dd7
push 0x24c
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x24], 0
je 0x4d0d48
mov ecx, eax
call fcn.004c7c40
jmp 0x4d0d4a
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 0x61b57c
mov dword [ecx + 0xa4], 1
mov eax, dword [esi + 0x78]
add eax, 0x3c
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [0x635400]
add esp, 0xc
add ecx, 0x3ac
call sub.MFC42.DLL_CString::Empty
mov edx, dword [0x635400]
lea ecx, [edx + 0x3b0]
call sub.MFC42.DLL_CString::Empty
mov byte [esi + 0x1197], 1
mov al, byte [esi + 0x1197]
test al, al
jne 0x4d0dfe
mov edx, dword [0x635400]
mov ecx, dword [esp + 0x14]
inc ecx
mov eax, dword [edx + 0x2f0]
mov dword [esp + 0x14], ecx
cmp ecx, eax
jl 0x4d0cd9
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 0x4d3ce0
Capabilities:
Access peb ldr_data

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

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

Disassembly:
push 0xffffffffffffffff
push 0x5b17cb
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], 0x5cbd24
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], 0x5cc49c
call fcn.004ea6e0
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x30], eax
push ecx
call fcn.004ea6e0
add esp, 8
mov dword [esi + 0x34], eax
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x62fc5c
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 0x4dba40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b17e8
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], 0x5cc49c
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], 0x5cbd24
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, edi
call fcn.00593146
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 0x4de0b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b1c18
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