joyce8/EMBER2024-capa huggingface dataset:
Function at 0x815ea1f
Capabilities:
Read file via mapping

Disassembly:
push ebp
lea ebp, [esp - 0xf8c]
mov eax, 0x100c
call fcn.081713b0
mov eax, dword [0x8230fb8]
xor eax, ebp
mov dword [ebp + 0xf88], eax
push ebx
mov ebx, dword [ebp + 0xf98]
push esi
push edi
mov edi, dword [ebp + 0xf94]
push edi
mov dword [ebp - 0x7c], ebx
call fcn.0815d932
push 0x5c
push ebx
call dword [sym.imp.MSVCR80.dll_strrchr]
mov dword [ebp - 0x80], eax
call fcn.08153b2f
push eax
lea eax, [ebp + 0x788]
push eax
call dword [sym.imp.MSVCR80.dll_wcscpy]
mov eax, dword [ebp - 0x80]
xor esi, esi
add esp, 0x14
cmp eax, esi
je 0x815ea97
inc eax
push eax
mov dword [ebp - 0x80], eax
call sub.MSVCR80.dll_strlen
mov ebx, eax
push ebx
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x80]
jmp 0x815eaa7
push ebx
call sub.MSVCR80.dll_strlen
mov ebx, eax
push ebx
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x7c]
call fcn.08153b6f
add esp, 0x10
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x788]
push eax
mov word [ebp + ebx*2 - 0x78], si
call dword [sym.imp.MSVCR80.dll_wcscat]
pop ecx
pop ecx
push esi
push 0x10000080
push 3
push esi
push 1
push 0x80000000
lea eax, [ebp + 0x788]
push eax
call dword [0x8231000]
cmp eax, 0xffffffff
mov dword [ebp - 0x7c], eax
jne 0x815eaf0
xor al, al
jmp 0x815eb2d
push esi
push esi
push esi
push 2
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push dword [ebp - 0x7c]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, esi
je 0x815eaec
push esi
push esi
push esi
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, esi
mov dword [edi + 4], eax
jne 0x815eb28
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x815eaec
mov dword [edi + 0x14], ebx
mov al, 1
mov ecx, dword [ebp + 0xf88]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.08047f9e
add ebp, 0xf8c
leave
ret
Function at 0x816ee6e
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x52c
mov eax, dword [0x8230fb8]
mov dword [ebp - 4], eax
mov eax, dword [0x821dc40]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x816ee9d
call eax
cmp eax, ebx
mov dword [ebp - 0x528], eax
jne 0x816f02a
push dword [0x8230f00]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [ebp - 0x528], eax
je 0x816f02a
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x816eed5
mov byte [ebp - 0x41c], bl
push esi
lea eax, [ebp - 0x524]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x816eeed
mov byte [ebp - 0x524], bl
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 0x528]
call edi
test eax, eax
jne 0x816ef0e
mov byte [ebp - 0x10c], bl
push esi
lea eax, [ebp - 0x214]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call edi
test eax, eax
pop edi
jne 0x816ef2b
mov byte [ebp - 0x214], bl
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x52c]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.0816edd1
lea eax, [ebp - 0x52c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x816ef4e
sub eax, edx
mov ecx, eax
lea eax, [ebp - 0x314]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x816ef62
sub eax, esi
add eax, ecx
mov byte [ebp + eax - 0x213], bl
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x52c]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.0816edd1
lea eax, [ebp - 0x52c]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x816ef97
sub eax, ecx
lea ecx, [ebp - 0x314]
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x816efa9
sub ecx, esi
add ecx, eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x524]
push eax
mov byte [ebp + ecx - 0x10b], bl
call fcn.0816ed68
test eax, eax
pop esi
jne 0x816efea
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x524]
push eax
call fcn.0816ed68
test eax, eax
jne 0x816f018
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x41c]
push eax
call fcn.0816ed68
test eax, eax
jne 0x816f02a
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x41c]
push eax
call fcn.0816ed68
test eax, eax
je 0x816f02a
push dword [ebp - 0x528]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x528], ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x528]
pop ebx
call fcn.08047f9e
leave
ret
Function at 0x510024
Capabilities:
Packed with generic packer

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [edx], al
add al, byte [eax]
add byte [eax], al
cld
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add al, byte [eax]
add byte [eax], al
cld
invalid
stc
jb 0x51002e
pop ds
xor esi, dword [ecx - 0x49]
jno 0x50ffe2
cwde
leave
jmp 0x51008f
pushal
jmp 0x510034
call 0x51003f
dec ecx
stc
mov dl, 0xed
pop ecx
pop ebx
jb 0x510049
jne 0x50ffd9
jge 0x510029
sbb dword [edx - 0x383c7edc], 0xffffffff
invalid
add ebx, 0xffffffc7
jmp 0x510058
cmp dword [ebx], 0
stc
jmp 0x510067
je 0x5100ed
jmp 0x510076
mov ecx, ebx
jmp 0x510081
add ebx, 4
jmp 0x510089
mov edx, dword [ebx]
jmp 0x510097
and eax, 0x8ced9cec
in eax, dx
cmp ebp, dword [ebx + 3]
sar ecx, cl
add edx, ebx
stc
jb 0x5100a3
mov ah, 0xb1
mov ebx, 0xc91a740d
mov eax, dword [ebx + 4]
jmp 0x5100ac
sub dword [edx], 0x3c62176a
jmp 0x5100b6
add edx, 4
jmp 0x5100bf
sub eax, 1
jmp 0x5100c6
jne 0x5100a6
jmp 0x5100d0
add ebx, 8
jmp 0x5100d7
sub dword [ecx], 1
stc
jb 0x5100de
and ecx, dword [edi]
test dword [eax + 0x72ffffff], esp
add dh, byte [ecx + 0xee83b]
add byte [eax], al
jne 0x510084
jb 0x5100e8
mov cl, 0x3b
call 0x5100fb
jmp 0x5100f1
popal
jmp 0x5100f6
jmp 0x50ed00

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4074fc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x407552
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x46ff84
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x407545
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x407554
xor eax, eax
pop esi
leave
ret 4

Function at 0x407dc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4673c9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
mov ecx, esi
mov dword [esp + 8], edi
call dword [sym.imp.MFC71U.DLL_CWinThread::GetMainWnd]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_3]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
mov ecx, edi
call dword [sym.imp.MFC71U.DLL_CHtmlView::GetLeft]
push eax
mov ecx, edi
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_CHtmlView::GetLeft]
push eax
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MFC71U.DLL_CPreviewDC::ComputeDeltas]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40c4c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x467871
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], edi
call fcn.004462d0
mov dword [esp + 0x44], edi
mov edi, dword [ebp + 8]
lea eax, [edi + 0x70]
push eax
lea ecx, [esp + 0x2c]
call dword [0x46e364]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x28]
call fcn.00446490
mov bl, 1
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], bl
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
mov dword [esp + 0x1c], vtable.CMacrPath.0
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48], 2
call dword [0x46e364]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], bl
call fcn.004462f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x2c]
call fcn.00448490
mov ax, word [edi + 0x4c]
mov cx, word [edi + 0x4e]
mov dx, word [edi + 0x50]
mov word [esp + 0x30], ax
mov word [esp + 0x32], cx
mov word [esp + 0x34], dx
mov ebx, dword [esi + 0xc]
cmp ebx, dword [esi + 0x10]
mov byte [esp + 0x44], 3
je 0x40c5f4
nop
mov edi, dword [ebx]
test edi, edi
je 0x40c5ea
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
push ecx
push edi
mov ecx, esi
call fcn.0040b220
test eax, eax
je 0x40c5ea
lea edx, [esp + 0x14]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edi
push edx
lea eax, [esp + 0x1c]
lea edi, [esi + 0x24]
push eax
mov ecx, edi
call fcn.00409b20
mov edi, dword [edi + 4]
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x40c5e6
mov eax, dword [eax + 0x10]
test eax, eax
je 0x40c5e6
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.00409b90
inc dword [esp + 0x10]
mov eax, dword [esi + 0x10]
add ebx, 4
cmp ebx, eax
jne 0x40c590
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x28]
push eax
lea edi, [esi + 0x54]
push edi
mov ecx, esi
call fcn.0040b220
test eax, eax
je 0x40c647
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
add esi, 0x24
push edx
mov ecx, esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], edi
call fcn.00409b20
mov esi, dword [esi + 4]
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x40c647
mov eax, dword [eax + 0x10]
test eax, eax
je 0x40c647
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.00409b90
lea ecx, [esp + 0x2c]
mov byte [esp + 0x44], 0
call fcn.004484b0
lea ecx, [esp + 0x24]
mov dword [esp + 0x44], 0xffffffff
call fcn.004462f0
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x417130
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x98
mov eax, dword [0x48e070]
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [esp + 0xa4], eax
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push str.SOFTWAREMacromediaFlash7Registration
push 0x80000002
mov ebp, ecx
xor esi, esi
xor bl, bl
call edi
test eax, eax
jne 0x4171ea
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
mov word [esp + 0x28], ax
lea eax, [esp + 0x20]
push eax
push 0
push str.Serial_Number
push ecx
mov dword [esp + 0x2c], 0x40
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4171db
mov esi, dword [sym.imp.MSVCR71.dll__wcsnicmp]
push 6
lea edx, [esp + 0x24]
push str.PFD700
push edx
call esi
add esp, 0xc
test eax, eax
je 0x4171d4
push 6
lea eax, [esp + 0x24]
push str.WPD700
push eax
call esi
add esp, 0xc
test eax, eax
je 0x4171d4
xor esi, esi
jmp 0x4171d9
mov esi, 1
mov bl, 1
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
jne 0x417248
lea edx, [esp + 0x10]
push edx
push 0x20019
push 0
push str.SOFTWAREMacromediaFlash7InstallationEdition
push 0x80000002
call edi
test eax, eax
jne 0x417248
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
push 0
push 0
push eax
mov dword [esp + 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41723d
cmp word [esp + 0x1c], 0x31
jne 0x41723d
mov esi, 1
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
lea ecx, [ebp + 0x44]
je 0x417256
push str.Flash_MX_Professional_2004
jmp 0x41725b
push str.Flash_MX_2004
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator]
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
pop ebx
call fcn.004664a7
add esp, 0x98
ret

Function at 0x417620
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x468809
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
mov ecx, esi
mov dword [esp + 8], edi
call dword [sym.imp.MFC71U.DLL_CWinThread::GetMainWnd]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_3]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
push edi
call dword [sym.imp.MFC71U.DLL_CDockContext::Stretch]
add esp, 4
push eax
push edi
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_CHtmlView::GetLeft]
push eax
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MFC71U.DLL_CPreviewDC::ComputeDeltas]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41b710
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x468f09
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
mov ecx, edi
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CMacrXmlObject.0
call fcn.0041a810
xor ebp, ebp
mov dword [edi + 4], eax
mov dword [edi + 8], ebp
mov dword [esp + 0x18], ebp
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
lea edi, [esi + 0x20]
mov ecx, edi
mov byte [esp + 0x18], 1
call fcn.004089b0
mov dword [edi + 4], eax
mov byte [eax + 0x45], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
lea ecx, [esi + 0x2c]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esi + 0x30]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
mov eax, dword [esp + 0x20]
push eax
mov ecx, esi
mov byte [esp + 0x1c], 4
call fcn.0044f080
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x420bc9
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4698c8
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov al, byte [esi + 0x14]
xor ebx, ebx
cmp al, bl
jne 0x420c41
push edi
lea edi, [esi + 8]
mov ecx, edi
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call fcn.00449b10
add esp, 4
mov ecx, edi
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call fcn.0044a5d0
add esi, 0xc
add esp, 4
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_CGopherFileFind::IsDots]
test al, al
jne 0x420ce8
mov ecx, edi
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call fcn.0044b690
add esp, 8
neg al
pop edi
pop esi
pop ebx
sbb eax, eax
neg eax
dec eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
add esi, 0x10
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call fcn.0044a5d0
add esp, 4
lea eax, [esp + 8]
push eax
push 0x20006
push ebx
push str.softwaremicrosoftwindowscurrentversion_runonce
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x420cd5
push esi
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
mov dword [esp + 0x10], vtable.CMacrPath.0
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], ebx
call fcn.00446490
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
mov edx, dword [esp + 8]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.004462f0
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x4229d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x469c68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
mov eax, dword [0x48e070]
push edi
mov dword [esp + 0x224], eax
mov edx, ecx
xor eax, eax
mov ecx, 0x82
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
cmp eax, 1
mov edi, dword [ebp + 8]
je 0x422abd
cmp eax, 2
je 0x422abd
lea eax, [edx + 0x20]
test eax, eax
je 0x422a38
lea eax, [edx + 0x24]
jmp 0x422a3a
xor eax, eax
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
push 0x5c
lea ecx, [esp + 0xc]
mov dword [esp + 0x238], 0
call dword [sym.imp.MFC71U.DLL_COleMessageFilter::XMessageFilter::RetryRejectedCall]
test eax, eax
jl 0x422a8d
push eax
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_CToolBar::Layout]
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x238], 1
call dword [0x46e364]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.MSVCR71.dll_wcscpy]
add esp, 8
lea ecx, [esp + 8]
mov dword [esp + 0x234], 0xffffffff
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
jmp 0x422af7
xor edx, edx
cmp eax, 1
setne dl
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0
lea edx, [edx + edx + 0x1a]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x422af7
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jl 0x422b19
mov ecx, edi
call dword [sym.imp.MFC71U.DLL_CRichEditView::EditStreamCallBack]
lea edx, [esp + 0x10]
push edx
mov ecx, edi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_2]
push 0x4701dc
mov ecx, edi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_2]
mov ecx, edi
call dword [sym.imp.MFC71U.DLL_CGopherFileFind::IsDots]
mov ecx, dword [esp + 0x22c]
neg al
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x224]
sbb eax, eax
inc eax
call fcn.004664a7
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x4245b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x46a021
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 fcn.0041d650
push 0x47313c
lea ecx, [esi + 0x14]
mov dword [esp + 0x18], 0
mov dword [esi], vtable.CMacrDreamweaver.0
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
push 0x46eadc
lea ecx, [esi + 0x1c]
mov byte [esp + 0x18], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
mov edi, vtable.CMacrPath.0
mov dword [esi + 0x18], edi
push 0x46eadc
lea ecx, [esi + 0x24]
mov byte [esp + 0x18], 2
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
mov dword [esi + 0x20], edi
push 0x46eadc
lea ecx, [esi + 0x2c]
mov byte [esp + 0x18], 3
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
mov dword [esi + 0x28], edi
push 0x46eadc
lea ecx, [esi + 0x34]
mov byte [esp + 0x18], 4
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
mov dword [esi + 0x30], edi
push 0x46eadc
lea ecx, [esi + 0x3c]
mov byte [esp + 0x18], 5
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
mov dword [esi + 0x38], edi
push 0x46eadc
lea ecx, [esi + 0x44]
mov byte [esp + 0x18], 6
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
mov dword [esi + 0x40], edi
push 0x46eadc
lea ecx, [esi + 0x4c]
mov byte [esp + 0x18], 7
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
mov dword [esi + 0x48], edi
lea ecx, [esi + 0x50]
mov byte [esp + 0x14], 8
call fcn.00448490
mov ecx, dword [esp + 0xc]
mov byte [esi + 0x5c], 0
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4246c0
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x46a021
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], vtable.CMacrDreamweaver.0
lea ecx, [esi + 0x50]
mov dword [esp + 0x10], 8
call fcn.004484b0
lea ecx, [esi + 0x48]
mov byte [esp + 0x10], 7
call fcn.004462f0
lea ecx, [esi + 0x40]
mov byte [esp + 0x10], 6
call fcn.004462f0
lea ecx, [esi + 0x38]
mov byte [esp + 0x10], 5
call fcn.004462f0
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 4
call fcn.004462f0
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 3
call fcn.004462f0
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 2
call fcn.004462f0
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 1
call fcn.004462f0
lea ecx, [esi + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, esi
mov dword [esp + 0x10], 0xffffffff
call fcn.0041d6d0
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret