joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466970
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x546538
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov eax, dword [esp + 0x1c]
push 0x5ef944
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x4669c5
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ebp, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push 0
push esi
call ebp
push esi
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 0x10
cmp eax, 0x1000
jg 0x466a07
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
push edi
push 0
push 0x1000
push esi
call ebp
mov al, byte [esi + 0xc]
add esp, 0xc
xor edi, edi
test al, 0x10
jne 0x466a37
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_fgetc]
push esi
call ebx
not eax
add edi, eax
mov al, byte [esi + 0xc]
add esp, 4
test al, 0x10
je 0x466a25
pop ebx
push 0
push 0x1c
push esi
call ebp
push esi
push 1
lea ecx, [esp + 0x20]
push 4
push ecx
call dword [sym.imp.MSVCRT.dll_fread]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x2c]
add esp, 0x20
xor edx, edx
cmp eax, edi
sete dl
lea ecx, [esp + 0x20]
mov esi, edx
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x467ed0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x54681b
push eax
mov eax, 0x1014
mov dword fs:[0], esp
call fcn.00450700
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0x21]
mov byte [esp + 0x20], bl
mov dword [esp + 0x14], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.uservar.ini
stosb byte es:[edi], al
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x14]
mov dword [esp + 0x102c], ebx
push eax
call fcn.004aa720
mov ecx, eax
call fcn.004aaf40
push eax
lea ecx, [esp + 0x1c]
push 0x617e48
push ecx
mov dword [esp + 0x1034], 2
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
mov ecx, dword [esi]
push eax
mov eax, dword [esp + 0x1038]
lea edx, [esp + 0x24]
push 0x1000
push edx
push str.blank_value
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x1028], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0xc]
push str.blank_value
push edx
mov dword [esp + 0x1030], 3
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x467fcb
lea eax, [esi + 8]
lea ecx, [esp + 0xc]
push eax
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [esp + 0x1038]
mov edi, 1
cmp eax, ebx
jne 0x468015
cmp dword [esi + 0x14], edi
jne 0x468015
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
mov ecx, dword [esi + 0x34]
add esp, 4
cmp eax, ecx
jb 0x468005
push 0x617d8c
lea ecx, [esp + 0x10]
call fcn.0044fce0
jmp 0x468015
mov edx, dword [esi + 0x30]
lea ecx, [esp + 0xc]
lea eax, [edx + eax*4]
push eax
call sub.MFC42.DLL_CString::operator_3
mov esi, dword [esp + 0x1030]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x14], edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x1028], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1020]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x1020
ret 0xc
Function at 0x468160
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5468d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ebp, [esi + 4]
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_4
lea ebx, [esi + 8]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x1c], edi
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0xc]
mov byte [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x10]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x48]
mov byte [esp + 0x1c], 3
call sub.MFC42.DLL_CString::CString_4
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
lea ecx, [esi + 0x54]
mov byte [esp + 0x1c], 6
call sub.MFC42.DLL_CString::CString_4
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], 0xa
mov dword [esi + 0x58], 0x55b42c
push 0x617d8c
mov ecx, ebp
mov byte [esp + 0x20], 8
mov dword [esi], 0x5559a8
call fcn.0044fce0
push 0x617d8c
mov ecx, ebx
call fcn.0044fce0
push 0x617d8c
lea ecx, [esi + 0xc]
call fcn.0044fce0
push 0x617d8c
lea ecx, [esi + 0x10]
call fcn.0044fce0
mov ebx, 1
push 0x617d8c
lea ecx, [esi + 0x48]
mov dword [esi + 0x18], 2
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x30], ebx
call fcn.0044fce0
push 0x617d8c
lea ecx, [esi + 0x54]
mov dword [esi + 0x38], ebx
mov word [esi + 0x34], di
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
call fcn.0044fce0
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x468960
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546936
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
xor ebx, ebx
push 0x617d8c
lea ecx, [esi + 4]
mov dword [ebp - 4], ebx
call fcn.0044fce0
push 0x617d8c
lea ecx, [esi + 8]
call fcn.0044fce0
push 0x617d8c
lea ecx, [esi + 0xc]
call fcn.0044fce0
push 0x617d8c
lea ecx, [esi + 0x10]
call fcn.0044fce0
push 0x617d8c
lea ecx, [esi + 0x48]
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
call fcn.0044fce0
mov dword [esi + 0x38], 1
mov word [esi + 0x34], bx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov edi, dword [esi + 0x4c]
cmp edi, ebx
je 0x468a79
lea eax, [edi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x468a76
cmp edi, ebx
mov dword [ebp - 0x1c], edi
je 0x468a76
mov edx, dword [edi + 4]
lea ebx, [edi + 4]
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
mov byte [ebp - 4], 2
call dword [edx + 0x18]
mov eax, dword [eax]
push 0x617d8c
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [ebp - 0x18]
test eax, eax
setne byte [ebp - 0x11]
call sub.MFC42.DLL_CString::CString
mov al, byte [ebp - 0x11]
test al, al
je 0x468a43
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x54]
push 0
mov ecx, edi
call sub.MFC42.DLL_CString::GetBuffer
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, ebx
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CFile::CFile
mov ecx, edi
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
xor ebx, ebx
mov dword [esi + 0x4c], ebx
mov edi, dword [esi + 0x50]
cmp edi, ebx
je 0x468b0f
lea eax, [edi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x468b0c
cmp edi, ebx
mov dword [ebp - 0x18], edi
je 0x468b0c
mov edx, dword [edi + 4]
lea ebx, [edi + 4]
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
mov byte [ebp - 4], 4
call dword [edx + 0x18]
mov eax, dword [eax]
push 0x617d8c
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [ebp - 0x1c]
test eax, eax
setne byte [ebp - 0x11]
call sub.MFC42.DLL_CString::CString
mov al, byte [ebp - 0x11]
test al, al
je 0x468ad9
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x54]
push 0
mov ecx, edi
call sub.MFC42.DLL_CString::GetBuffer
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, ebx
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CFile::CFile
mov ecx, edi
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
xor ebx, ebx
mov dword [esi + 0x50], ebx
push 0x617d8c
lea ecx, [esi + 0x54]
call fcn.0044fce0
mov eax, dword [esi + 0x74]
cmp eax, ebx
je 0x468b2f
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 0x74], ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46add0
Capabilities:
Create directory
Set file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x546c58
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
lea eax, [esp + 0x14]
mov ecx, 0x618410
push eax
mov dword [esp + 0x10], 0
call sub.MFC42.DLL_CString::operator_3
mov ecx, dword [0x618410]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [0x618410]
push 0x22
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 4]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 4
Function at 0x475dd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x547f78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push esi
mov esi, ecx
mov eax, dword [esi + 0x30c8]
mov ecx, dword [esi + 0x30cc]
mov dx, word [esi + 0x30d0]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x30d4]
mov dword [esp + 8], ecx
mov cx, word [esi + 0x30d8]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x30dc]
mov word [esp + 0xc], dx
mov dx, word [esi + 0x30da]
mov word [esp + 0x14], cx
mov ecx, dword [esi + 0x30e0]
mov dword [esp + 0x18], eax
mov word [esp + 0x16], dx
mov edx, dword [esi + 0x30e4]
lea eax, [esi + 0x30e8]
mov dword [esp + 0x1c], ecx
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esi + 0x30ec]
mov edx, dword [esi + 0x30f0]
mov eax, dword [esi + 0x30f8]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x30fc]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x4c]
xor ecx, ecx
lea edx, [esi + 0x3120]
cmp eax, ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 4], eax
je 0x475eb5
mov eax, dword [esi + 0x30e0]
cmp eax, ecx
je 0x475eaf
mov dword [esp + 0x1c], eax
jmp 0x475eb9
mov dword [esp + 0x1c], esi
jmp 0x475eb9
mov dword [esp + 0x1c], ecx
lea eax, [esp + 4]
push eax
call fcn.00473b60
add esp, 4
lea ecx, [esp + 0x24]
mov esi, eax
mov dword [esp + 0x44], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x3c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x44
ret 4
Function at 0x47ab40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5486b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 0
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x47ab83
mov eax, dword [esi]
jmp 0x47ab85
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
push eax
push edi
call dword [ecx + 0x6c]
test eax, eax
jge 0x47aba1
push 0x5f2348
push edi
push eax
call fcn.0050ec76
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, edi
test esi, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov word [esp + 0xc], 0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
je 0x47ac01
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x47ac01
mov eax, dword [esi]
test eax, eax
je 0x47abe8
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x47abf8
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 8

Function at 0x47acc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5486f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 0
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x47ad03
mov eax, dword [esi]
jmp 0x47ad05
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x38]
push edx
push eax
push edi
call dword [ecx + 0x74]
test eax, eax
jge 0x47ad26
push 0x5f2348
push edi
push eax
call fcn.0050ec76
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, edi
test esi, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov word [esp + 0xc], 0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
je 0x47ad86
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x47ad86
mov eax, dword [esi]
test eax, eax
je 0x47ad6d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x47ad7d
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x47bb30
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5489d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [esp + 0x34]
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call sub.MFC42.DLL_CString::CString_3
lea eax, [edi + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString_3
lea ecx, [edi + 8]
mov byte [esp + 0x2c], 1
push ecx
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::CString_3
lea edx, [edi + 0xc]
lea ecx, [esi + 0xc]
push edx
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [edi + 0x10]
lea ebx, [esi + 0x18]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
mov ecx, ebx
mov byte [esp + 0x2c], 3
mov dword [esp + 0x34], ebx
call sub.MFC42.DLL_CStringArray::CStringArray
lea edx, [edi + 0x18]
mov ecx, ebx
push edx
mov byte [esp + 0x30], 4
mov dword [ebx], 0x554800
call sub.MFC42.DLL_CStringArray::Copy
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x554800
call fcn.00450244
lea ebx, [esi + 0x2c]
mov byte [esp + 0x2c], 5
mov ecx, ebx
mov dword [esp + 0x34], ebx
call sub.MFC42.DLL_CStringArray::CStringArray
add edi, 0x2c
mov ecx, ebx
push edi
mov byte [esp + 0x30], 6
mov dword [ebx], 0x554800
call sub.MFC42.DLL_CStringArray::Copy
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x554800
call fcn.00450244
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x481a50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x548cab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.00481b70
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x617d8c
call dword [sym.imp.MSVCRT.dll_public:_void___thiscall_exception::constructor_char_const__const_const__]
mov al, byte [esi]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [esp + 0x24], al
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov edx, dword [ecx]
lea ecx, [esp + 0x24]
push edx
push ebx
push esi
mov byte [esp + 0x48], 1
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, dword [sym.imp.MSVCP60.dll_const_std::runtime_error::vftable]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x481afb
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x481af2
cmp al, 0xff
je 0x481af2
dec al
mov byte [ecx], al
jmp 0x481afb
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.00502470
mov eax, dword [esp + 0x28]
mov ecx, dword [sym.imp.MSVCP60.dll_const_std::runtime_error::vftable]
cmp eax, ebx
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x18], ecx
je 0x481b47
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x481b3e
cmp al, 0xff
je 0x481b3e
dec al
mov byte [ecx], al
jmp 0x481b47
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.MSVCRT.dll_public_virtual:_void___thiscall_exception::destructor_void_]
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x486730
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x549336
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 edi, [esi + 0x10]
mov dword [esp + 0x18], 1
mov ecx, edi
call sub.MFC42.DLL_CString::CString_4
lea ebx, [esi + 0x14]
mov byte [esp + 0x18], 2
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov dword [esi + 4], ecx
lea ecx, [esp + 0x30]
mov dword [esi], eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, edi
mov byte [esp + 0x1c], 3
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
call sub.MFC42.DLL_CString::operator_3
lea edx, [esp + 0x34]
mov ecx, ebx
push edx
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0x30]
mov byte [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18
Function at 0x48f320
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x549dd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_4
push str.F2730835_2229_445E_97C7_13F76l277lDA
push str.F2730835_2229_445E_97C7_l3F7612771DA
push str.F2730835_2229_445E_97C7_13F76l277lDA
push str.F2730835_2229_445E_97C7_l3F7612771DA
push str.F2730835_2229_445E_97C7_l3F761277lDA
lea eax, [esp + 0x24]
push str.Dim__s_1024_:Dim__s__s:Set__sNothing:Set__sNothing
push eax
mov dword [esp + 0x48], 0
call sub.MFC42.DLL_CString::Format_1
xor ecx, ecx
mov dword [esi + 0x13c], 0
mov eax, ecx
mov ebp, dword [esi + 0x16c]
and eax, 0xfff00000
mov dword [esp + 0x39], ecx
mov ecx, dword [esi + 0x18c]
mov dword [esp + 0x35], eax
mov eax, dword [esi + 0x174]
add esp, 0x1c
test eax, eax
mov byte [esp + 0x18], 0x1e
mov dword [esp + 0x1d], ecx
jne 0x48f3ef
mov edx, dword [esi + 0x17c]
push 0x14
lea eax, [esi + 0x178]
push edx
push eax
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [esi + 0x17c]
lea edx, [ecx + ecx*4]
dec ecx
test ecx, ecx
lea eax, [eax + edx*4 - 0x10]
jl 0x48f3ef
inc ecx
mov edx, dword [esi + 0x174]
mov dword [eax], edx
mov dword [esi + 0x174], eax
sub eax, 0x14
dec ecx
jne 0x48f3db
mov edi, dword [esi + 0x174]
push 1
mov eax, dword [edi]
mov dword [esi + 0x174], eax
mov dword [edi + 4], ebp
mov dword [edi], 0
mov ecx, dword [esi + 0x170]
lea ebp, [edi + 8]
inc ecx
push ebp
mov dword [esi + 0x170], ecx
call fcn.0046fb60
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov al, byte [esp + 0x20]
mov dword [ebp], ecx
mov dword [ebp + 4], edx
mov byte [ebp + 8], al
mov eax, dword [esi + 0x16c]
test eax, eax
je 0x48f441
mov dword [eax], edi
jmp 0x48f447
mov dword [esi + 0x168], edi
lea ecx, [esp + 0x10]
mov dword [esi + 0x16c], edi
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esp + 0xc]
push 0
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 1
mov eax, dword [edx - 8]
inc eax
push eax
push 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea eax, [esp + 0x20]
push eax
mov ecx, 0x61bd58
call fcn.004bbb00
push eax
lea ecx, [esi + 0x180]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CStringList::AddTail
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
pop edi
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret 4