joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460c10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53961b
mov eax, dword fs:[0]
push eax
sub esp, 0x4c0
mov eax, dword [0x5954a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c4], ecx
xor eax, eax
mov word [ebp - 0x424], ax
push 0x200
push 0
lea ecx, [ebp - 0x422]
push ecx
call fcn.004f8090
add esp, 0xc
xor edx, edx
mov word [ebp - 0x21c], dx
push 0x200
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.004f8090
add esp, 0xc
push 0x100
lea ecx, [ebp - 0x21c]
push ecx
push 0x100
lea edx, [ebp - 0x424]
push edx
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.004fad12
add esp, 0x24
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x424]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.AcroRd32.exe
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x460d1f
mov dword [ebp - 0x440], 0
push 4
lea ecx, [ebp - 0x440]
push ecx
push 4
push str.bProtectedMode
push str.SoftwareAdobeAcrobat_Reader10.0Privileged
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 4
lea edx, [ebp - 0x440]
push edx
push 4
push str.bProtectedMode
push str.SoftwareAdobeAcrobat_Reader11.0Privileged
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 0x43c], str.acrord32.exe
mov dword [ebp - 0x438], str.acrobat.exe
mov dword [ebp - 0x434], str.ACDSeePro1.exe
mov dword [ebp - 0x430], str.ACDSeePro2.exe
mov dword [ebp - 0x42c], str.ACDSeePro3.exe
mov dword [ebp - 0x428], 0x547d88
mov dword [ebp - 0x444], 0
jmp 0x460d76
mov eax, dword [ebp - 0x444]
add eax, 1
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x444], 6
jae 0x460e2d
lea ecx, [ebp - 0x424]
push ecx
mov edx, dword [ebp - 0x444]
mov eax, dword [ebp + edx*4 - 0x43c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x460da4
jmp 0x460d67
lea ecx, [ebp - 0x44c]
call fcn.00479780
mov dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x450], esp
mov edx, dword [ebp - 0x444]
mov eax, dword [ebp + edx*4 - 0x43c]
push eax
call fcn.0044f380
mov dword [ebp - 0x4c8], eax
lea ecx, [ebp - 0x44c]
call fcn.00479bc0
mov dword [ebp - 0x4cc], eax
cmp dword [ebp - 0x4cc], 0xffffffff
je 0x460e16
mov dword [ebp - 0x454], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44c]
call fcn.004797e0
mov eax, dword [ebp - 0x454]
jmp 0x460e32
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44c]
call fcn.004797e0
jmp 0x460d67
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f8124
mov esp, ebp
pop ebp
ret 4
Function at 0x461650
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x461693
cmp dword [ebp - 4], 0
je 0x461693
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x465640
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1268
call fcn.004fa800
mov eax, dword [0x5954a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1268], ecx
xor eax, eax
mov word [ebp - 0x1008], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x1006]
push ecx
call fcn.004f8090
add esp, 0xc
xor edx, edx
mov word [ebp - 0x808], dx
push 0x7fe
push 0
lea eax, [ebp - 0x806]
push eax
call fcn.004f8090
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call fcn.004f810a
add esp, 4
mov edx, dword [ebp + 8]
movzx eax, word [edx + eax*2 - 2]
cmp eax, 0x5c
je 0x4656c3
push 0x5668c0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x545040
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x250
push 0
lea edx, [ebp - 0x1260]
push edx
call fcn.004f8090
add esp, 0xc
lea eax, [ebp - 0x1260]
push eax
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x1010], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x100c], eax
cmp dword [ebp - 0x1010], 0xffffffff
je 0x465734
cmp dword [ebp - 0x1010], 0
jne 0x46573b
xor eax, eax
jmp 0x465843
push 0x548c24
lea edx, [ebp - 0x1234]
push edx
call fcn.004f937f
add esp, 8
test eax, eax
je 0x46576b
push 0x545060
lea eax, [ebp - 0x1234]
push eax
call fcn.004f937f
add esp, 8
test eax, eax
jne 0x465770
jmp 0x465815
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x1008]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x1234]
push eax
lea ecx, [ebp - 0x1008]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [ebp - 0x1008]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x1264], eax
mov eax, dword [ebp - 0x1264]
and eax, 0x10
je 0x4657cb
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x1008]
push edx
mov ecx, dword [ebp - 0x1268]
call fcn.00465640
jmp 0x465815
mov eax, dword [ebp - 0x1264]
and eax, 1
je 0x4657f9
mov ecx, dword [ebp - 0x1264]
and ecx, 0xfffffffe
mov dword [ebp - 0x1264], ecx
mov edx, dword [ebp - 0x1264]
push edx
lea eax, [ebp - 0x1008]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 2
mov ecx, dword [ebp - 0x1268]
add ecx, 0xab9
push ecx
lea edx, [ebp - 0x1008]
push edx
call dword [ebp + 0xc]
add esp, 0xc
lea eax, [ebp - 0x1260]
push eax
mov ecx, dword [ebp - 0x1010]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x46573b
mov edx, dword [ebp - 0x1010]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f8124
mov esp, ebp
pop ebp
ret 8
Function at 0x465e90
Capabilities:
Copy file
Create directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1a68
call fcn.004fa800
mov eax, dword [0x5954a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1a68], ecx
mov dword [ebp - 0x80c], 1
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x465ed1
mov dword [ebp - 0x80c], 0
xor ecx, ecx
mov word [ebp - 0x1a60], cx
push 0x7fe
push 0
lea edx, [ebp - 0x1a5e]
push edx
call fcn.004f8090
add esp, 0xc
xor eax, eax
mov word [ebp - 0x808], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x806]
push ecx
call fcn.004f8090
add esp, 0xc
xor edx, edx
mov word [ebp - 0x1260], dx
push 0x7fe
push 0
lea eax, [ebp - 0x125e]
push eax
call fcn.004f8090
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call fcn.004f810a
add esp, 4
mov edx, dword [ebp + 8]
movzx eax, word [edx + eax*2 - 2]
cmp eax, 0x5c
je 0x465f56
push 0x5668c0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov edx, dword [ebp + 0xc]
push edx
call fcn.004f810a
add esp, 4
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + eax*2 - 2]
cmp edx, 0x5c
je 0x465f7e
push 0x5668c0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x1a60]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x545040
lea eax, [ebp - 0x1a60]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0xa60]
push ecx
lea edx, [ebp - 0x1a60]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x1a64], eax
cmp dword [ebp - 0x1a64], 0xffffffff
jne 0x465fcb
xor eax, eax
jmp 0x4660d4
cmp dword [ebp - 0x1a64], 0
je 0x4660c1
lea eax, [ebp - 0xa60]
push eax
mov ecx, dword [ebp - 0x1a64]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4660c1
lea edx, [ebp - 0xa34]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x548c34
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea edx, [ebp - 0xa34]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0x548c34
lea ecx, [ebp - 0x1260]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov edx, dword [ebp - 0xa60]
and edx, 0x10
jne 0x466065
push 0
lea eax, [ebp - 0x1260]
push eax
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x466063
mov dword [ebp - 0x80c], 0
jmp 0x4660bc
push 0x548c24
lea edx, [ebp - 0xa34]
push edx
call fcn.004f937f
add esp, 8
test eax, eax
je 0x4660bc
push 0x545060
lea eax, [ebp - 0xa34]
push eax
call fcn.004f937f
add esp, 8
test eax, eax
je 0x4660bc
lea ecx, [ebp - 0x1260]
push ecx
lea edx, [ebp - 0x808]
push edx
mov ecx, dword [ebp - 0x1a68]
call fcn.00465e90
test eax, eax
jne 0x4660bc
mov dword [ebp - 0x80c], 0
jmp 0x465fcb
mov eax, dword [ebp - 0x1a64]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x80c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f8124
mov esp, ebp
pop ebp
ret 8
Function at 0x4660f0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5399d0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x5954a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
sub eax, 0x10
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0044fd30
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
add edx, 0x10
mov dword [ebp - 0x10], edx
mov byte [ebp - 4], 1
mov eax, 0x5668c0
test eax, eax
jne 0x466156
mov dword [ebp - 0x20], 0
jmp 0x466166
push 0x5668c0
call fcn.004f810a
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
push 0x5668c0
lea ecx, [ebp - 0x10]
call fcn.0044ecb0
mov edx, dword [ebp - 0x5c]
add edx, 0x574
mov dword [ebp - 0x28], edx
jne 0x46618e
mov dword [ebp - 0x24], 0
jmp 0x46619d
mov eax, dword [ebp - 0x28]
push eax
call fcn.004f810a
add esp, 4
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x28]
push edx
lea ecx, [ebp - 0x10]
call fcn.0044ecb0
mov eax, dword [ebp - 0x5c]
add eax, 0x676
mov dword [ebp - 0x4c], eax
jne 0x4661c3
mov dword [ebp - 0x2c], 0
jmp 0x4661d2
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004f810a
add esp, 4
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x10]
call fcn.0044ecb0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x50], ecx
push 0
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x5c]
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0044f990
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0044f990
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x466b60
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x539afb
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x5954a0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2a8], ecx
mov dword [ebp - 0x224], 0
lea eax, [ebp - 0x14]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x466c95
mov dword [ebp - 0x18], 0xff
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x21c]
push edx
push 0
push 0
push str.CDGRegedit
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x466c84
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x220]
call fcn.0044f380
mov dword [ebp - 4], 0
push str.CDGRegedit.exe
lea ecx, [ebp - 0x220]
call fcn.0046fa60
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x220]
sub eax, 0x10
mov dword [ebp - 0x25c], eax
mov ecx, dword [ebp - 0x25c]
push ecx
call fcn.0044fd30
add esp, 4
mov dword [ebp - 0x260], eax
mov edx, dword [ebp - 0x260]
add edx, 0x10
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp - 0x224]
or ecx, 1
mov dword [ebp - 0x224], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.0044f990
mov eax, dword [ebp + 8]
jmp 0x466cb4
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], 0
push 0x56fdfb
mov ecx, dword [ebp + 8]
call fcn.0044f460
mov eax, dword [ebp - 0x224]
or eax, 1
mov dword [ebp - 0x224], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004f8124
mov esp, ebp
pop ebp
ret 4
Function at 0x468270
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x539ce8
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x5954a0]
xor eax, ebp
mov dword [ebp - 0x68], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x258], ecx
mov dword [ebp - 0x200], 0
mov byte [ebp - 0x209], 1
mov byte [ebp - 0x20a], 1
movzx eax, byte [ebp - 0x20a]
and eax, 0xff
movzx ecx, al
movzx edx, byte [ebp - 0x209]
and edx, 0xff
movzx eax, dl
shl eax, 8
or ecx, eax
mov word [ebp - 0x208], cx
lea ecx, [ebp - 0x1fc]
push ecx
movzx edx, word [ebp - 0x208]
push edx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x468311
push str.Failed_to_load_winsock_stack_n
call fcn.004fbfb3
add esp, 4
xor eax, eax
jmp 0x46843e
movzx eax, word [ebp - 0x1fc]
and eax, 0xff
movzx ecx, al
movzx edx, byte [ebp - 0x209]
cmp ecx, edx
jne 0x468348
movzx eax, word [ebp - 0x1fc]
shr eax, 8
and eax, 0xff
movzx ecx, al
movzx edx, byte [ebp - 0x20a]
cmp ecx, edx
je 0x46835c
push str.Winsock_stack_does_not_support_version_which_this_program_requires_n
call fcn.004fbfb3
add esp, 4
xor eax, eax
jmp 0x46843e
mov dword [ebp - 0x204], str.time.windows.com
lea ecx, [ebp - 0x64]
call fcn.0047e480
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00468470
mov dword [ebp - 0x210], 0
jmp 0x468398
mov eax, dword [ebp - 0x210]
add eax, 1
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 1
jae 0x46841f
push 0x7b
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x210]
mov eax, dword [ebp + edx*4 - 0x204]
push eax
lea ecx, [ebp - 0x64]
call fcn.0047e4e0
test eax, eax
je 0x46841a
lea ecx, [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0047deb0
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x64]
call fcn.0047eb30
push 0xffffffffffffffff
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x228]
call fcn.0044eed0
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x228]
mov dword [edx], eax
mov ecx, dword [ebp - 0x224]
mov dword [edx + 4], ecx
mov dword [ebp - 0x200], 1
jmp 0x46841f
jmp 0x468389
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov edx, dword [ebp - 0x200]
mov dword [ebp - 0x23c], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x68]
xor ecx, ebp
call fcn.004f8124
mov esp, ebp
pop ebp
ret 4
Function at 0x4699e0
Capabilities:
Create directory
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x539e03
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x5954a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x480], ecx
xor eax, eax
mov word [ebp - 0x414], ax
push 0x3fe
push 0
lea ecx, [ebp - 0x412]
push ecx
call fcn.004f8090
add esp, 0xc
push 0x200
lea edx, [ebp - 0x414]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.004977e0
push eax
lea ecx, [ebp - 0x10]
call fcn.0044f380
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x10]
call fcn.0044f530
push eax
call fcn.00497080
add esp, 4
movzx eax, al
cmp eax, 1
jne 0x469ac4
lea ecx, [ebp - 0x10]
push ecx
push 0x54938c
lea edx, [ebp - 0x418]
push edx
call fcn.0046fd10
add esp, 0xc
mov dword [ebp - 0x448], eax
mov eax, dword [ebp - 0x448]
mov ecx, dword [eax]
mov dword [ebp - 0x44c], ecx
mov edx, dword [ebp - 0x44c]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x418]
call fcn.0044f990
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
lea ecx, [ebp - 0x10]
call fcn.0044f530
push eax
lea ecx, [ebp - 0x414]
push ecx
call fcn.0049d440
add esp, 8
test eax, eax
jne 0x469bae
cmp dword [ebp + 8], 0
je 0x469b8d
push str.2093_DisengageODMSupportFile_error
call fcn.0047c040
add esp, 4
push 1
lea edx, [ebp - 0x41c]
push edx
mov ecx, 0x59a55c
call fcn.00494360
mov dword [ebp - 0x484], eax
mov eax, dword [ebp - 0x484]
mov dword [ebp - 0x460], eax
mov byte [ebp - 4], 1
push 0x34
lea ecx, [ebp - 0x420]
push ecx
mov ecx, 0x59a55c
call fcn.00494360
mov dword [ebp - 0x468], eax
mov edx, dword [ebp - 0x460]
mov eax, dword [edx]
mov dword [ebp - 0x464], eax
mov ecx, dword [ebp - 0x468]
mov edx, dword [ecx]
mov dword [ebp - 0x46c], edx
push 0x10
mov eax, dword [ebp - 0x464]
push eax
mov ecx, dword [ebp - 0x46c]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x420]
call fcn.0044f990
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x41c]
call fcn.0044f990
mov dword [ebp - 0x424], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0044f990
mov eax, dword [ebp - 0x424]
jmp 0x469bd7
mov ecx, 0x59a55c
call fcn.004945d0
mov dword [ebp - 0x428], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0044f990
mov eax, dword [ebp - 0x428]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004f8124
mov esp, ebp
pop ebp
ret 4
Function at 0x46f090
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x5954a0]
xor eax, ebp
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x90], ecx
mov eax, dword [ebp + 8]
push eax
push str.Begin_CDocumentMgr::monitorHook_pid__d_
call fcn.00471510
add esp, 8
push 0x1f4
mov ecx, dword [ebp - 0x90]
mov edx, dword [ecx + 0x11e8]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x46f216
mov eax, dword [ebp + 8]
push eax
push 0
push 0x401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x46f20f
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x46f203
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x2c], ecx
lea edx, [ebp - 0x24]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [eax]
sub edx, dword [ecx]
mov eax, dword [eax + 4]
sbb eax, dword [ecx + 4]
push 0
push 0x989680
push eax
push edx
call fcn.004f92f0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 0
ja 0x46f167
cmp dword [ebp - 0x38], 0xa
jbe 0x46f203
xor ecx, ecx
mov word [ebp - 0x80], cx
push 0x3e
push 0
lea edx, [ebp - 0x7e]
push edx
call fcn.004f8090
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push str.ODMHOOK__u
lea ecx, [ebp - 0x80]
push ecx
call fcn.004fbc08
add esp, 0xc
mov dword [ebp - 0x84], eax
lea edx, [ebp - 0x80]
push edx
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jne 0x46f1f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x80]
push ecx
push str.OpenEvent_Mutex__NULL__::TerminateProcess___s__error__d_
call fcn.00471510
add esp, 0xc
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x46f216
mov ecx, dword [ebp - 0x88]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x46f211
jmp 0x46f216
jmp 0x46f0ba
push str.End_CDocumentMgr::monitorHook
call fcn.00471510
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0x3c]
xor ecx, ebp
call fcn.004f8124
mov esp, ebp
pop ebp
ret 4
Function at 0x46f240
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
push 8
call fcn.004b3015
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x11e8], eax
push 0
push 4
mov eax, dword [ebp - 4]
push eax
push 0x461ab0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x11e4], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x11e4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esp, ebp
pop ebp
ret 4
Function at 0x471510
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8c
mov eax, dword [0x5954a0]
xor eax, ebp
mov dword [ebp - 8], eax
xor eax, eax
mov word [ebp - 0xa08], ax
push 0x7fe
push 0
lea ecx, [ebp - 0xa06]
push ecx
call fcn.004f8090
add esp, 0xc
lea edx, [ebp + 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x800
lea edx, [ebp - 0xa08]
push edx
call fcn.004fcdf5
add esp, 0x10
mov dword [ebp - 4], 0
mov byte [ebp - 0x208], 0
push 0x1ff
push 0
lea eax, [ebp - 0x207]
push eax
call fcn.004f8090
add esp, 0xc
push 0x200
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x549da4
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x549da0
lea eax, [ebp - 0x208]
push eax
call fcn.004fccb7
add esp, 8
mov dword [ebp - 0xa8c], eax
cmp dword [ebp - 0xa8c], 0
jne 0x4715d4
jmp 0x471656
xor ecx, ecx
mov word [ebp - 0xa88], cx
push 0x3e
push 0
lea edx, [ebp - 0xa86]
push edx
call fcn.004f8090
add esp, 0xc
xor eax, eax
mov word [ebp - 0xa48], ax
push 0x3e
push 0
lea ecx, [ebp - 0xa46]
push ecx
call fcn.004f8090
add esp, 0xc
lea edx, [ebp - 0xa08]
push edx
lea eax, [ebp - 0xa48]
push eax
call fcn.004fcbd7
add esp, 4
push eax
lea ecx, [ebp - 0xa88]
push ecx
call fcn.004fcb06
add esp, 4
push eax
push 0x549d88
mov edx, dword [ebp - 0xa8c]
push edx
call fcn.004fc92a
add esp, 0x14
mov eax, dword [ebp - 0xa8c]
push eax
call fcn.004fc8ae
add esp, 4
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004f8124
mov esp, ebp
pop ebp
ret