joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d760
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ce71b
push eax
mov eax, 0x1014
mov dword fs:[0], esp
call fcn.004551e0
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_1
lea eax, [esp + 0x14]
mov dword [esp + 0x102c], ebx
push eax
call fcn.00455f90
mov ecx, eax
call fcn.004567b0
push eax
lea ecx, [esp + 0x1c]
push 0x555fa8
push ecx
mov dword [esp + 0x1034], 2
call sub.MFC42.DLL_operator_3
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_1
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 0x42d85b
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 0x42d8a5
cmp dword [esi + 0x14], edi
jne 0x42d8a5
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 0x42d895
push 0x554ea0
lea ecx, [esp + 0x10]
call fcn.0045456e
jmp 0x42d8a5
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_4
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 0x42d9f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4ce7f2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ebx, [esi + 4]
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_3
xor edi, edi
lea ecx, [esi + 8]
mov dword [esp + 0x20], edi
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0xc]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x10]
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x48]
mov byte [esp + 0x20], 3
call sub.MFC42.DLL_CString::CString_3
lea ebp, [esi + 0x4c]
push 0x400
mov ecx, ebp
mov byte [esp + 0x24], 4
call sub.MFC42.DLL_CMemFile::CMemFile
mov dword [ebp], 0x4d9ae8
lea ebp, [esi + 0x74]
mov dword [esp + 0x14], ebp
mov dword [ebp + 4], edi
lea ecx, [ebp + 8]
mov byte [esp + 0x20], 6
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp], 0x4d9ae4
mov dword [esi + 0x80], edi
lea ecx, [esi + 0x88]
mov byte [esp + 0x20], 8
call sub.MFC42.DLL_CString::CString_3
mov eax, 0xa
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], eax
mov dword [esi + 0x8c], 0x4d9ad0
push 0x554ea0
mov ecx, ebx
mov byte [esp + 0x24], al
mov dword [esi], 0x4d8718
call fcn.0045456e
push 0x554ea0
lea ecx, [esi + 8]
call fcn.0045456e
push 0x554ea0
lea ecx, [esi + 0xc]
call fcn.0045456e
push 0x554ea0
lea ecx, [esi + 0x10]
call fcn.0045456e
mov ebp, 2
mov ebx, 1
push 0x554ea0
lea ecx, [esi + 0x48]
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x30], ebx
call fcn.0045456e
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
push 0x554ea0
lea ecx, [esi + 0x88]
mov dword [esi + 0x84], ebp
call fcn.0045456e
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x42e020
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce826
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 0x554ea0
lea ecx, [esi + 4]
mov dword [ebp - 4], ebx
call fcn.0045456e
push 0x554ea0
lea ecx, [esi + 8]
call fcn.0045456e
push 0x554ea0
lea ecx, [esi + 0xc]
call fcn.0045456e
push 0x554ea0
lea ecx, [esi + 0x10]
call fcn.0045456e
push 0x554ea0
lea ecx, [esi + 0x48]
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
call fcn.0045456e
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 + 0x78]
cmp edi, ebx
je 0x42e139
lea eax, [edi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x42e136
cmp edi, ebx
mov dword [ebp - 0x1c], edi
je 0x42e136
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 0x554ea0
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 0x42e103
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 + 0x78], ebx
mov edi, dword [esi + 0x80]
cmp edi, ebx
je 0x42e1d5
lea eax, [edi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x42e1cf
cmp edi, ebx
mov dword [ebp - 0x18], edi
je 0x42e1cf
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 0x554ea0
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 0x42e19c
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 + 0x80], ebx
push 0x554ea0
lea ecx, [esi + 0x88]
mov dword [esi + 0x84], 2
call fcn.0045456e
mov eax, dword [esi + 0xa8]
cmp eax, ebx
je 0x42e208
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 0xa8], 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 0x433ec0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4cee01
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, ecx
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
push esi
mov esi, dword [ebx]
test esi, esi
push edi
mov dword [esp + 0x10], ebx
je 0x433f8a
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x433f84
test esi, esi
mov dword [esp + 0x18], esi
je 0x433f84
mov edx, dword [esi + 4]
lea edi, [esi + 4]
lea eax, [esp + 0x14]
mov ecx, edi
push eax
mov dword [esp + 0x28], 1
call dword [edx + 0x18]
mov eax, dword [eax]
push 0x554ea0
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x433f4a
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x54]
push 0
mov ecx, esi
call sub.MFC42.DLL_CString::GetBuffer
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, edi
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CFile::CFile
mov ecx, esi
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
push esi
call sub.MFC42.DLL_operatordelete
mov ebx, dword [esp + 0x14]
add esp, 4
mov dword [ebx], 0
push 0x18
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
mov dword [esp + 0x24], 2
je 0x434011
mov eax, dword [esp + 0x2c]
mov ecx, edi
push eax
call sub.MFC42.DLL_CString::CString_1
lea esi, [edi + 4]
mov byte [esp + 0x24], 3
mov ecx, esi
call sub.MFC42.DLL_CFile::CFile_1
mov edx, dword [esi]
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
mov byte [esp + 0x28], 4
mov dword [edi + 0x14], 1
call dword [edx + 0x18]
mov eax, dword [eax]
push 0x554ea0
push eax
call ebp
add esp, 8
lea ecx, [esp + 0x2c]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x434009
mov eax, dword [edi]
mov edx, dword [esi]
push 0
push 0x8010
push eax
mov ecx, esi
call dword [edx + 0x28]
mov ecx, dword [esp + 0x10]
mov dword [ecx], edi
jmp 0x434015
xor eax, eax
mov dword [ebx], eax
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x434130
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1004
call fcn.004551e0
push ebx
push esi
mov edx, ecx
push edi
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, dword [edx + 8]
mov dword [esp + 0xc], 0
stosb byte es:[edi], al
lea eax, [esp + 0xc]
push eax
call fcn.0041b800
mov eax, dword [eax]
add esp, 4
lea ecx, [esp + 0x10]
push ecx
push 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push eax
call esi
test eax, eax
lea ecx, [esp + 0xc]
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4341b8
lea edx, [esp + 0xc]
push edx
call fcn.0041b800
mov edx, dword [eax]
add esp, 4
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x554ea0
push edx
call esi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x1014]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x1004
ret 4
Function at 0x434220
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4cee28
push eax
mov eax, 0x8005c
mov dword fs:[0], esp
call fcn.004551e0
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x18], esi
mov eax, dword [esi]
lea ecx, [ebp - 0x1c]
xor edi, edi
push ecx
mov ecx, esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
call dword [eax]
mov ebx, dword [eax]
mov byte [ebp - 4], 1
cmp ebx, edi
je 0x434296
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.004551e0
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
push 0
mov edx, dword [eax]
push 0x10
push 0
push edi
push eax
call dword [edx + 0x10]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x434388
lea edx, [ebp + 0xc]
lea ecx, [esi + 8]
push edx
call sub.MFC42.DLL_CString::operator_3
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.00434130
mov ecx, dword [ebp - 0x14]
push 0x534adc
push ecx
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x43437c
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x68]
push 1
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x30]
xor esi, esi
mov ecx, 0x20000
xor eax, eax
lea edi, [ebp - 0x80068]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x80068]
mov edx, dword [eax]
push 0x80000
push ecx
push eax
call dword [edx + 0xc]
mov edx, dword [ebp - 0x20]
push ebx
push edx
lea eax, [ebp - 0x80068]
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
mov ecx, dword [ebp - 0x60]
add esp, 0x10
inc esi
shr ecx, 0x13
cmp esi, ecx
jbe 0x434309
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
lea ecx, [ebp - 0x14]
push 0
call sub.MFC42.DLL_CString::GetBuffer
mov edx, dword [ebp - 0x18]
push eax
lea ecx, [edx + 4]
call fcn.00433ec0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x80074]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x437b40
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov cl, byte [eax + 0x4d9bd8]
xor cl, 0x7d
mov byte [eax + 0x557518], cl
inc eax
cmp eax, 0x25e6
jb 0x437b42
mov eax, 0x557518
ret
Function at 0x43adb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4cf708
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_4
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 0x43ae95
mov eax, dword [esi + 0x30e0]
cmp eax, ecx
je 0x43ae8f
mov dword [esp + 0x1c], eax
jmp 0x43ae99
mov dword [esp + 0x1c], esi
jmp 0x43ae99
mov dword [esp + 0x1c], ecx
lea eax, [esp + 4]
push eax
call fcn.004382d0
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 0x43e340
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4cfcb8
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 0x43e383
mov eax, dword [esi]
jmp 0x43e385
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 0x43e3a1
push 0x536278
push edi
push eax
call fcn.004555fe
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 0x43e401
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x43e401
mov eax, dword [esi]
test eax, eax
je 0x43e3e8
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x43e3f8
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 0x43e4c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4cfcf8
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 0x43e503
mov eax, dword [esi]
jmp 0x43e505
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 0x43e526
push 0x536278
push edi
push eax
call fcn.004555fe
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 0x43e586
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x43e586
mov eax, dword [esi]
test eax, eax
je 0x43e56d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x43e57d
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 0x43f330
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4cffd4
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_4
lea eax, [edi + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString_4
lea ecx, [edi + 8]
mov byte [esp + 0x2c], 1
push ecx
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::CString_4
lea edx, [edi + 0xc]
lea ecx, [esi + 0xc]
push edx
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString_4
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], 0x4d77d0
call sub.MFC42.DLL_CStringArray::Copy
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x4d77d0
call fcn.00454a5a
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], 0x4d77d0
call sub.MFC42.DLL_CStringArray::Copy
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x4d77d0
call fcn.00454a5a
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 0x4450f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4d02ab
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.00445210
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], 0x554ea0
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 0x44519b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x445192
cmp al, 0xff
je 0x445192
dec al
mov byte [ecx], al
jmp 0x44519b
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.004be750
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 0x4451e7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4451de
cmp al, 0xff
je 0x4451de
dec al
mov byte [ecx], al
jmp 0x4451e7
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