joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405740
Capabilities:
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x46fed8
mov eax, dword fs:[0]
push eax
sub esp, 0x708
mov eax, dword [0x49ab20]
xor eax, esp
mov dword [esp + 0x704], eax
push esi
push edi
mov eax, dword [0x49ab20]
xor eax, esp
push eax
lea eax, [esp + 0x714]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x724]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push eax
lea ecx, [esp + 0x304]
push ecx
mov dword [esp + 0x724], 0
call edi
push 0x4858e4
lea ecx, [esp + 0x10]
call fcn.00405330
push 0x701
push 4
lea edx, [esp + 0x54]
push edx
push 0
lea eax, [esp + 0x310]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x304]
push edx
call edi
lea eax, [esp + 0x260]
push eax
lea ecx, [esp + 0x50c]
push ecx
call edi
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x50]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x10]
push eax
push 0
push 0x104d
push ecx
mov dword [esp + 0x20], 7
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x34], 0x475bf8
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], 1
call edi
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
push 0
push 0x104c
lea edx, [esp + 0x514]
push ecx
mov dword [esp + 0x20], 1
mov dword [esp + 0x28], 2
mov dword [esp + 0x34], edx
call edi
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405882
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x724]
add eax, 0xfffffff0
mov dword [esp + 0x71c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4058b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x714]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x704]
xor ecx, esp
call fcn.004522e0
add esp, 0x714
ret 4
Function at 0x408cf0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x49ab20]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov esi, ecx
xor eax, eax
push 0x208
push eax
lea ecx, [esp + 0xe]
push ecx
mov dword [esi], vtable.COpenAsDialog.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov word [esp + 0x10], ax
call fcn.00451660
add esp, 0xc
push 0x104
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str._shell32.dll
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 4], eax
test eax, eax
je 0x408d7d
push str.OpenAs_RunDLLW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x210]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004522e0
add esp, 0x210
ret
Function at 0x409010
Capabilities:
Check os version

Disassembly:
sub esp, 0x234
mov eax, dword [0x49ab20]
xor eax, esp
mov dword [esp + 0x230], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [esp + 4]
push eax
mov dword [esp + 8], 0x114
call esi
test eax, eax
je 0x409250
mov eax, dword [esp + 0x14]
cmp eax, 2
jne 0x4091be
mov eax, dword [esp + 8]
cmp eax, 5
jne 0x409102
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x40907f
mov eax, 7
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004522e0
add esp, 0x234
ret
cmp eax, 1
jne 0x40909f
mov eax, 8
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004522e0
add esp, 0x234
ret
cmp eax, 2
jne 0x409250
lea ecx, [esp + 0x118]
push ecx
mov dword [esp + 0x11c], 0x11c
call esi
mov al, byte [esp + 0x232]
cmp al, 3
je 0x4090e7
cmp al, 2
je 0x4090e7
mov eax, 9
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004522e0
add esp, 0x234
ret
mov eax, 0xa
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004522e0
add esp, 0x234
ret
cmp eax, 6
jne 0x40919a
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x40916d
lea edx, [esp + 0x118]
push edx
mov dword [esp + 0x11c], 0x11c
call esi
mov al, byte [esp + 0x232]
cmp al, 3
je 0x409152
cmp al, 2
je 0x409152
mov eax, 0xb
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004522e0
add esp, 0x234
ret
mov eax, 0xc
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004522e0
add esp, 0x234
ret
cmp eax, 1
jne 0x409250
call fcn.00408fa0
neg eax
sbb eax, eax
neg eax
add eax, 0xd
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004522e0
add esp, 0x234
ret
cmp eax, 4
jne 0x409250
mov eax, 6
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004522e0
add esp, 0x234
ret
cmp eax, 1
jne 0x409231
cmp dword [esp + 8], 4
jne 0x409250
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4091f1
mov eax, 2
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004522e0
add esp, 0x234
ret
cmp eax, 0xa
jne 0x409211
mov eax, 3
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004522e0
add esp, 0x234
ret
cmp eax, 0x5a
jne 0x409250
mov eax, 4
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004522e0
add esp, 0x234
ret
test eax, eax
jne 0x409250
mov eax, 1
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004522e0
add esp, 0x234
ret
mov ecx, dword [esp + 0x234]
pop esi
xor ecx, esp
xor eax, eax
call fcn.004522e0
add esp, 0x234
ret

Function at 0x409460
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
add ecx, 0x220
push ecx
push 0x409270
push 0
push 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
cmp dword [esp], eax
setne al
pop ecx
ret
Function at 0x409950
Capabilities:
Get file attributes

Disassembly:
sub esp, 0xa80
mov eax, dword [0x49ab20]
xor eax, esp
mov dword [esp + 0xa7c], eax
mov eax, dword [esp + 0xa88]
push ebx
push ebp
push esi
mov esi, dword [esp + 0xa90]
push edi
mov dword [esp + 0x18], ecx
xor ecx, ecx
push 0x40e
push ecx
lea edx, [esp + 0x276]
push edx
mov dword [esp + 0x20], eax
mov word [esp + 0x278], cx
call fcn.00451660
xor eax, eax
push 0x40e
push eax
lea ecx, [esp + 0x692]
push ecx
mov word [esp + 0x694], ax
call fcn.00451660
mov eax, esi
add esp, 0x18
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4099c0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
sub eax, edx
sar eax, 1
cmp word [esi + eax*2 - 2], 0x5c
je 0x4099e5
push 0x485864
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
lea edx, [esp + 0x680]
push edx
call ebx
push 0x475c18
lea eax, [esp + 0x680]
push eax
call edi
push 0x250
lea ecx, [esp + 0x20]
push 0
push ecx
call fcn.00451660
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x680]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
mov dword [esp + 0x10], ebp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebp, 0xffffffff
je 0x409b6b
test ebp, ebp
je 0x409b6b
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop
mov ecx, 0x476654
lea eax, [esp + 0x48]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x409a86
test dx, dx
je 0x409a82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x409a86
add eax, 4
add ecx, 4
test dx, dx
jne 0x409a60
xor eax, eax
jmp 0x409a8b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x409b41
mov ecx, 0x475bf8
lea eax, [esp + 0x48]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x409ac6
test dx, dx
je 0x409ac2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x409ac6
add eax, 4
add ecx, 4
test dx, dx
jne 0x409aa0
xor eax, eax
jmp 0x409acb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x409b41
push esi
lea ecx, [esp + 0x270]
push ecx
call ebx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x270]
push eax
call edi
lea ecx, [esp + 0x26c]
push ecx
call ebp
test al, 0x10
je 0x409b0f
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x270]
push eax
call fcn.00409950
jmp 0x409b41
test al, 1
je 0x409b25
and eax, 0xfffffffe
push eax
lea ecx, [esp + 0x270]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edx, dword [esp + 0x18]
push 2
add edx, 0x8b5
push edx
lea eax, [esp + 0x274]
push eax
call dword [esp + 0x20]
add esp, 0xc
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x409a50
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
jmp 0x409b6d
xor eax, eax
mov ecx, dword [esp + 0xa8c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004522e0
add esp, 0xa80
ret 8
Function at 0x409b90
Capabilities:
Copy file
Create directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0xe8c
mov eax, dword [0x49ab20]
xor eax, esp
mov dword [esp + 0xe88], eax
push ebx
mov ebx, dword [esp + 0xe98]
push ebp
mov ebp, dword [esp + 0xe98]
push esi
push edi
push 0
push ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], 1
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x409bd3
mov dword [esp + 0x10], eax
xor eax, eax
push 0x40e
push eax
lea ecx, [esp + 0x682]
push ecx
mov word [esp + 0x684], ax
call fcn.00451660
xor edx, edx
push 0x40e
push edx
lea eax, [esp + 0xa9e]
push eax
mov word [esp + 0xaa0], dx
call fcn.00451660
xor ecx, ecx
push 0x40e
push ecx
lea edx, [esp + 0x28a]
push edx
mov word [esp + 0x28c], cx
call fcn.00451660
mov eax, ebp
add esp, 0x24
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x409c32
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
sub eax, edx
sar eax, 1
mov edi, 0x5c
cmp word [ebp + eax*2 - 2], di
je 0x409c5b
push 0x485864
push ebp
call esi
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x409c60
sub eax, edx
sar eax, 1
cmp word [ebx + eax*2 - 2], di
je 0x409c7e
push 0x485864
push ebx
call esi
push ebp
lea eax, [esp + 0x67c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x475c18
lea ecx, [esp + 0x67c]
push ecx
call esi
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x67c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x409cbd
xor eax, eax
jmp 0x409de8
test edi, edi
je 0x409ddd
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x409cd0
lea ecx, [esp + 0x18]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x409ddd
lea edx, [esp + 0x44]
push edx
push ebp
lea eax, [esp + 0xa90]
push str._s_s
push eax
call esi
lea ecx, [esp + 0x54]
push ecx
push ebx
lea edx, [esp + 0x280]
push str._s_s
push edx
call esi
add esp, 0x20
test byte [esp + 0x18], 0x10
jne 0x409d3a
push 0
lea eax, [esp + 0x26c]
push eax
lea ecx, [esp + 0xa90]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x409cd0
mov dword [esp + 0x10], eax
jmp 0x409cd0
mov ecx, 0x476654
lea eax, [esp + 0x44]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x409d69
test dx, dx
je 0x409d65
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x409d69
add eax, 4
add ecx, 4
test dx, dx
jne 0x409d43
xor eax, eax
jmp 0x409d6e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x409cd0
mov ecx, 0x475bf8
lea eax, [esp + 0x44]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x409da6
test dx, dx
je 0x409da2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x409da6
add eax, 4
add ecx, 4
test dx, dx
jne 0x409d80
xor eax, eax
jmp 0x409dab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x409cd0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x268]
push edx
lea eax, [esp + 0xa8c]
push eax
call fcn.00409b90
test eax, eax
jne 0x409cd0
mov dword [esp + 0x10], eax
jmp 0x409cd0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xe98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004522e0
add esp, 0xe8c
ret 8
Function at 0x40a050
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x264
mov eax, dword [0x49ab20]
xor eax, esp
mov dword [esp + 0x260], eax
xor eax, eax
push 0x208
push eax
lea ecx, [esp + 0x5e]
push ecx
mov word [esp + 0x60], ax
call fcn.00451660
push str.StartupODMHook__begin
call fcn.00414dc0
add esp, 0x10
push 0x104
call fcn.0041f980
push eax
lea edx, [esp + 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 0x476658
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x40
lea ecx, [esp + 0x18]
push 0
push ecx
call fcn.00451660
add esp, 0xc
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
lea eax, [esp]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 0
push 0
push 0
mov edx, 5
mov word [esp + 0x5c], dx
push 0
lea edx, [esp + 0x74]
push edx
push 0
mov dword [esp + 0x38], 0x44
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40a122
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.004522e0
add esp, 0x264
ret
mov eax, dword [esp + 8]
push esi
push eax
call fcn.00401a90
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 4
push ecx
call esi
mov edx, dword [esp + 4]
push edx
call esi
mov ecx, dword [esp + 0x264]
pop esi
xor ecx, esp
mov eax, 1
call fcn.004522e0
add esp, 0x264
ret
mov ecx, dword [0x49e1b8]
test ecx, ecx
jne 0x40a8fd
xor eax, eax
ret
jmp 0x40a050
Function at 0x40a630
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x49ab20]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
jne 0x40a74f
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x40a686
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x40a672
xor eax, eax
jmp 0x40a686
lea eax, [esi + esi]
call fcn.004522f0
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00402920
mov ecx, dword [ebp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x40a74f
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xc0000000
cmp eax, 0x80000000
jne 0x40a6c5
mov edx, dword [ebp + 8]
push edx
call fcn.00408ca0
add esp, 4
mov edi, eax
jmp 0x40a6c8
mov edi, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 0x40
push edi
call esi
test eax, eax
jne 0x40a74f
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x40a74f
mov ebx, dword [edi + 0x3c]
push 0xf8
add ebx, edi
push ebx
call esi
test eax, eax
jne 0x40a74f
cmp dword [ebx], 0x4550
jne 0x40a74f
mov esi, dword [ebx + 0x80]
add esi, edi
cmp esi, ebx
je 0x40a74f
mov eax, dword [esi + 0xc]
test eax, eax
je 0x40a72d
lea ecx, [ecx]
mov ecx, dword [ebp + 0xc]
add eax, edi
push ecx
push eax
call fcn.00453ab0
add esp, 8
test eax, eax
je 0x40a72d
mov eax, dword [esi + 0x20]
add esi, 0x14
test eax, eax
jne 0x40a710
cmp dword [esi + 0xc], 0
je 0x40a74f
mov esi, dword [esi + 0x10]
add esi, edi
cmp dword [esi], 0
je 0x40a74f
lea ecx, [ecx]
mov ebx, dword [ebp - 0xc]
cmp dword [esi], ebx
je 0x40a767
add esi, 4
cmp dword [esi], 0
jne 0x40a740
xor eax, eax
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004522e0
mov esp, ebp
pop ebp
ret 0x10
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
je 0x40a79b
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edx, [ebp - 8]
push edx
push 0x40
push 4
push esi
call edi
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x10]
push ecx
mov dword [esi], eax
mov edx, dword [ebp - 8]
push edx
push 4
push esi
call edi
mov eax, ebx
jmp 0x40a751
mov eax, dword [ebp + 0x14]
mov dword [esi], eax
mov eax, ebx
jmp 0x40a751
Function at 0x40ac00
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47052b
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x49ab20]
xor eax, esp
mov dword [esp + 0x264], eax
push esi
mov eax, dword [0x49ab20]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x6e]
push ecx
mov word [esp + 0x70], ax
call fcn.00451660
add esp, 0xc
call fcn.0041f980
push eax
lea edx, [esp + 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x476658
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.StartODMHookExe_begin
call fcn.00414dc0
add esp, 4
push str.esafenet_cdgout_exe32_20110929
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x40aca2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40adee
push 0x40
lea ecx, [esp + 0x28]
push 0
push ecx
call fcn.00451660
add esp, 0xc
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push 0
push 0
push 0
push 0
mov edx, 5
mov word [esp + 0x6c], dx
push 0
lea edx, [esp + 0x84]
push edx
push 0
mov dword [esp + 0x48], 0x44
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40adb6
push str.1244_FreeLibrary
call fcn.00414dc0
add esp, 4
push 1
lea eax, [esp + 0x20]
push eax
mov ecx, 0x49e48c
call fcn.0041eb80
mov esi, eax
push 0x33
lea ecx, [esp + 0x1c]
push ecx
mov ecx, 0x49e48c
mov dword [esp + 0x280], 0
call fcn.0041eb80
mov esi, dword [esi]
mov eax, dword [eax]
push 0x10
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ad75
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x278], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ada0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x64]
push ecx
push 0x47671c
call fcn.00414dc0
add esp, 8
xor eax, eax
jmp 0x40adf3
mov edx, dword [esp + 0x10]
push edx
call fcn.00414920
mov eax, dword [esp + 0x14]
push eax
call fcn.00401a90
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 8
push ecx
call esi
mov edx, dword [esp + 8]
push edx
call esi
push str.StartODMHookExe_end
call fcn.00414dc0
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x264]
xor ecx, esp
call fcn.004522e0
add esp, 0x274
ret
Function at 0x40d370
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47084b
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x49ab20]
xor eax, esp
mov dword [esp + 0x438], eax
push ebx
push esi
push edi
mov eax, dword [0x49ab20]
xor eax, esp
push eax
lea eax, [esp + 0x450]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0x200
xor edi, edi
lea ecx, [esp + 0x3a]
xor eax, eax
push edi
push ecx
mov word [esp + 0x40], ax
call fcn.00451660
push 0x200
lea eax, [esp + 0x24e]
xor edx, edx
push edi
push eax
mov word [esp + 0x254], dx
call fcn.00451660
push 0x100
lea ecx, [esp + 0x258]
push ecx
push 0x100
lea edx, [esp + 0x58]
push edx
push edi
push edi
push edi
push edi
push esi
call fcn.00453073
add esp, 0x3c
lea eax, [esp + 0x23c]
push eax
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.AcroRd32.exe
lea edx, [esp + 0x38]
push edx
call ebx
test eax, eax
jne 0x40d458
push 4
lea eax, [esp + 0x14]
push eax
push 4
push str.bProtectedMode
push str.SoftwareAdobeAcrobat_Reader10.0Privileged
push SysReAllocString
mov dword [esp + 0x28], edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [esp + 0x1c], str.acrord32.exe
mov dword [esp + 0x20], str.acrobat.exe
mov dword [esp + 0x24], str.ACDSeePro1.exe
mov dword [esp + 0x28], str.ACDSeePro2.exe
mov dword [esp + 0x2c], str.ACDSeePro3.exe
mov dword [esp + 0x30], str.Photoshop.exe
jmp 0x40d490
mov esi, dword [esp + edi*4 + 0x1c]
lea ecx, [esp + 0x34]
push ecx
push esi
call ebx
test eax, eax
jne 0x40d4e1
lea ecx, [esp + 0x14]
call fcn.00413cb0
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push esi
mov dword [esp + 0x460], 0
call fcn.00405330
lea ecx, [esp + 0x18]
call fcn.00413d80
or ecx, 0xffffffff
mov dword [esp + 0x458], ecx
cmp eax, ecx
lea ecx, [esp + 0x14]
jne 0x40d512
call fcn.00413cd0
inc edi
cmp edi, 6
jb 0x40d490
mov eax, 1
mov ecx, dword [esp + 0x450]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x438]
xor ecx, esp
call fcn.004522e0
mov esp, ebp
pop ebp
ret 4
call fcn.00413cd0
xor eax, eax
jmp 0x40d4ec
Function at 0x40dfb0
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x4708f0
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x49ab20]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x1c], 0
call fcn.00409880
test eax, eax
jne 0x40e026
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e00f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 4
push 2
lea ecx, [esi + 0x8b5]
push ecx
lea edi, [esi + 4]
push edi
call eax
add esp, 0xc
mov ecx, esi
mov ebp, eax
call fcn.00409930
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
test ebp, ebp
jne 0x40e063
mov dword [esp + 0x1c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x40e003
push eax
call fcn.00404440
add eax, 0x10
add esp, 4
mov dword [esp + 0x10], eax
push 0x485864
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 1
call fcn.004052f0
lea ecx, [esi + 0x370]
push ecx
lea ecx, [esp + 0x14]
call fcn.004052f0
add esi, 0x472
push esi
lea ecx, [esp + 0x14]
call fcn.004052f0
mov esi, dword [esp + 0x10]
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, eax
lea eax, [esi - 0x10]
mov byte [esp + 0x1c], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40e0d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e0ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 4