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

Disassembly:
push 0xffffffffffffffff
push 0x5159b8
mov eax, dword fs:[0]
push eax
sub esp, 0xaf8
mov eax, dword [0x56c3c0]
xor eax, esp
mov dword [esp + 0xaf4], eax
push esi
push edi
mov eax, dword [0x56c3c0]
xor eax, esp
push eax
lea eax, [esp + 0xb04]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0xb14]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push eax
lea ecx, [esp + 0x304]
push ecx
mov dword [esp + 0xb14], 0
call edi
push 0x53f778
lea ecx, [esp + 0x10]
call fcn.0044d470
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 + 0x704]
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], 0x520f60
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 + 0x70c]
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 0x44d9c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xb14]
add eax, 0xfffffff0
mov dword [esp + 0xb0c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44d9f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xb04]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xaf4]
xor ecx, esp
call fcn.004d6555
add esp, 0xb04
ret 4
Function at 0x44fb80
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x38c8
call fcn.004d7c90
mov eax, dword [0x56c3c0]
xor eax, esp
mov dword [esp + 0x38c4], eax
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x10], ebx
xor edi, edi
lea ebx, [ebx]
push 0x1fe
lea ecx, [esp + 0x2a]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x30], ax
call fcn.004d5720
push edi
lea edx, [esp + 0x34]
push 0x53f424
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44fd8c
xor eax, eax
push 0x2710
lea ecx, [esp + 0x11c8]
push ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
push ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.004d5720
add esp, 0xc
push ebx
lea edx, [esp + 0x18]
push edx
push 0x2710
lea eax, [esp + 0x11d0]
push eax
push 0xc
lea ecx, [esp + 0x2c]
push ecx
push 0x2d1400
push esi
call ebp
test eax, eax
je 0x44fd7f
mov eax, dword [esp + 0x11d0]
lea edx, [esp + 0x9f4]
push edx
push ebx
push eax
lea ecx, [esp + 0x11d0]
push ecx
call fcn.0044fa10
mov eax, dword [esp + 0x11e4]
lea edx, [esp + 0x61c]
push edx
push ebx
push eax
lea ecx, [esp + 0x11e0]
push ecx
call fcn.0044fa10
mov eax, dword [esp + 0x11f8]
lea edx, [esp + 0xdfc]
push edx
push ebx
push eax
lea ecx, [esp + 0x11f0]
push ecx
call fcn.0044fa10
mov eax, dword [esp + 0x120c]
lea edx, [esp + 0x254]
push edx
push 1
push eax
lea ecx, [esp + 0x1200]
push ecx
call fcn.0044fa10
add esp, 0x40
cmp byte [0x5708d8], bl
jne 0x44fd4a
movsx edx, byte [esp + 0x224]
push edx
call fcn.004d7849
add esp, 4
test eax, eax
jne 0x44fd01
movsx eax, byte [esp + 0x237]
push eax
call fcn.004d7849
add esp, 4
test eax, eax
je 0x44fd4a
xor eax, eax
jmp 0x44fd10
mov cl, byte [esp + eax + 0x224]
mov byte [eax + 0x5708d8], cl
inc eax
cmp cl, bl
jne 0x44fd10
xor eax, eax
jmp 0x44fd30
mov cl, byte [esp + eax + 0x60c]
mov byte [eax + 0x5704d8], cl
inc eax
cmp cl, bl
jne 0x44fd30
mov dword [esp + 0x10], 1
push 0x2710
lea ecx, [esp + 0x11c8]
push ebx
push ecx
call fcn.004d5720
add esp, 0xc
push ebx
lea edx, [esp + 0x18]
push edx
push 0x2710
lea eax, [esp + 0x11d0]
push eax
push ebx
push ebx
push 0x700a0
push esi
call ebp
jmp 0x44fd85
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, 0x10
jl 0x44fbb0
mov ecx, dword [esp + 0x38d4]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004d6555
add esp, 0x38c8
ret
Function at 0x450b40
Capabilities:
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x515e3a
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x56c3c0]
xor eax, esp
mov dword [esp + 0x2b8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56c3c0]
xor eax, esp
push eax
lea eax, [esp + 0x2d0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2e0]
mov ebp, dword [esp + 0x2e4]
push eax
mov esi, ecx
push 0x89
mov dword [esp + 0x1c], esi
call fcn.004a2b3a
lea edi, [esi + 0x74]
mov ecx, edi
mov dword [esp + 0x2d8], 0
mov dword [esi], vtable.CDlgMapGIS.0
call fcn.0049c41e
lea ebx, [esi + 0x680]
mov ecx, ebx
mov byte [esp + 0x2d8], 1
call fcn.00494702
mov dword [ebx], vtable.CListCtrl.0
push 0x2b4
lea eax, [esp + 0x1c]
push 0
push eax
mov byte [esp + 0x2e4], 2
call fcn.004d5720
add esp, 0xc
push 0x4001
push 0x2b4
lea ecx, [esp + 0x20]
push ecx
push 0
push 0x53f45c
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push eax
mov ecx, edi
call fcn.0049ce15
push 0x200
push ebp
lea edx, [esi + 0x7c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov eax, esi
mov ecx, dword [esp + 0x2d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2b8]
xor ecx, esp
call fcn.004d6555
add esp, 0x2c8
ret 8

Function at 0x450c90
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b8
mov eax, dword [0x56c3c0]
xor eax, esp
mov dword [esp + 0x2b4], eax
push ebx
mov ebx, dword [esp + 0x2c4]
push esi
push edi
mov edi, dword [esp + 0x2c8]
push 0x2b4
lea eax, [esp + 0x10]
push 0
push eax
mov esi, ecx
call fcn.004d5720
add esp, 0xc
push 0x711
push 0x2b4
lea ecx, [esp + 0x14]
push ecx
push 0x80
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov edx, dword [esi + 0x6a0]
push 0
push 0
push 0x1004
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x10]
push 0
push ecx
push 0
push 0
push ebx
push eax
push 3
lea ecx, [esi + 0x680]
call fcn.0049c36b
mov ecx, dword [esp + 0x2c0]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004d6555
add esp, 0x2b8
ret 8

Function at 0x450f70
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp]
push eax
push 0x20019
push 0
push ecx
push edx
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x450fca
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push esi
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x20]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 4]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret 0x18
Function at 0x450fd0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x451008
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0xffffffff
je 0x451008
cmp eax, 2
je 0x451008
cmp eax, 3
je 0x451008
mov eax, 1
pop esi
ret 4
xor eax, eax
pop esi
ret 4

Function at 0x4510a0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b8
mov eax, dword [0x56c3c0]
xor eax, esp
mov dword [esp + 0x2b4], eax
push esi
mov esi, dword [esp + 0x2c0]
push 0x2b4
lea eax, [esp + 8]
push 0
push eax
call fcn.004d5720
add esp, 0xc
push 0x711
push 0x2b4
lea ecx, [esp + 0xc]
push ecx
push 0x80
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [esp + 0x2b8]
mov eax, dword [esp + 8]
pop esi
xor ecx, esp
call fcn.004d6555
add esp, 0x2b8
ret 4

Function at 0x455c60
Capabilities:
Get common file path

Disassembly:
sub esp, 0x408
mov eax, dword [0x56c3c0]
xor eax, esp
mov dword [esp + 0x404], eax
push esi
mov esi, ecx
xor eax, eax
push 0x400
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.004d5720
add esp, 0xc
push 0x200
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 0x455ced
push str.OpenAs_RunDLLW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x408]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004d6555
add esp, 0x408
ret
Function at 0x455ff0
Capabilities:
Check os version

Disassembly:
sub esp, 0x234
mov eax, dword [0x56c3c0]
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 0x456230
mov eax, dword [esp + 0x14]
cmp eax, 2
jne 0x45619e
mov eax, dword [esp + 8]
cmp eax, 5
jne 0x4560e2
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x45605f
mov eax, 7
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004d6555
add esp, 0x234
ret
cmp eax, 1
jne 0x45607f
mov eax, 8
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004d6555
add esp, 0x234
ret
cmp eax, 2
jne 0x456230
lea ecx, [esp + 0x118]
push ecx
mov dword [esp + 0x11c], 0x11c
call esi
mov al, byte [esp + 0x232]
cmp al, 3
je 0x4560c7
cmp al, 2
je 0x4560c7
mov eax, 9
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004d6555
add esp, 0x234
ret
mov eax, 0xa
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004d6555
add esp, 0x234
ret
cmp eax, 6
jne 0x45617a
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x45614d
lea edx, [esp + 0x118]
push edx
mov dword [esp + 0x11c], 0x11c
call esi
mov al, byte [esp + 0x232]
cmp al, 3
je 0x456132
cmp al, 2
je 0x456132
mov eax, 0xb
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004d6555
add esp, 0x234
ret
mov eax, 0xc
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004d6555
add esp, 0x234
ret
cmp eax, 1
jne 0x456230
call fcn.00455f80
neg eax
sbb eax, eax
neg eax
add eax, 0xd
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004d6555
add esp, 0x234
ret
cmp eax, 4
jne 0x456230
mov eax, 6
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004d6555
add esp, 0x234
ret
cmp eax, 1
jne 0x456211
cmp dword [esp + 8], 4
jne 0x456230
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4561d1
mov eax, 2
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004d6555
add esp, 0x234
ret
cmp eax, 0xa
jne 0x4561f1
mov eax, 3
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004d6555
add esp, 0x234
ret
cmp eax, 0x5a
jne 0x456230
mov eax, 4
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004d6555
add esp, 0x234
ret
test eax, eax
jne 0x456230
mov eax, 1
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004d6555
add esp, 0x234
ret
mov ecx, dword [esp + 0x234]
pop esi
xor ecx, esp
xor eax, eax
call fcn.004d6555
add esp, 0x234
ret

Function at 0x456570
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
add ecx, 0x41c
push ecx
push 0x456380
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 0x456a90
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
push eax
xor edi, edi
push edi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, 0xffffffff
je 0x456abf
test esi, esi
je 0x456abf
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret
Function at 0x456b60
Capabilities:
Get file attributes

Disassembly:
mov eax, 0x1260
call fcn.004d7c90
mov eax, dword [0x56c3c0]
xor eax, esp
mov dword [esp + 0x125c], eax
mov eax, dword [esp + 0x1268]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1270]
push edi
mov dword [esp + 0x18], ecx
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [esp + 0x276]
push edx
mov dword [esp + 0x20], eax
mov word [esp + 0x278], cx
call fcn.004d5720
xor eax, eax
push 0x7fe
push eax
lea ecx, [esp + 0xa82]
push ecx
mov word [esp + 0xa84], ax
call fcn.004d5720
mov eax, esi
add esp, 0x18
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x456bd4
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
sub eax, edx
sar eax, 1
cmp word [esi + eax*2 - 2], 0x5c
je 0x456bf9
push 0x53ef10
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
lea edx, [esp + 0xa70]
push edx
call ebx
push 0x520f7c
lea eax, [esp + 0xa70]
push eax
call edi
push 0x250
lea ecx, [esp + 0x20]
push 0
push ecx
call fcn.004d5720
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0xa70]
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 0x456d7b
test ebp, ebp
je 0x456d7b
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, 0x522388
lea eax, [esp + 0x48]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x456c96
test dx, dx
je 0x456c92
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x456c96
add eax, 4
add ecx, 4
test dx, dx
jne 0x456c70
xor eax, eax
jmp 0x456c9b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x456d51
mov ecx, 0x520f60
lea eax, [esp + 0x48]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x456cd6
test dx, dx
je 0x456cd2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x456cd6
add eax, 4
add ecx, 4
test dx, dx
jne 0x456cb0
xor eax, eax
jmp 0x456cdb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x456d51
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 0x456d1f
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x270]
push eax
call fcn.00456b60
jmp 0x456d51
test al, 1
je 0x456d35
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, 0xab1
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 0x456c63
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
jmp 0x456d7d
xor eax, eax
mov ecx, dword [esp + 0x126c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004d6555
add esp, 0x1260
ret 8
Function at 0x457be0
Capabilities:
Get common file path

Disassembly:
sub esp, 0xa84
mov eax, dword [0x56c3c0]
xor eax, esp
mov dword [esp + 0xa80], eax
push esi
xor eax, eax
push 0x7fe
push eax
lea ecx, [esp + 0x28e]
push ecx
mov word [esp + 0x290], ax
call fcn.004d5720
mov eax, dword [esp + 0xa98]
lea edx, [esp + 0xa9c]
push edx
push eax
lea ecx, [esp + 0x298]
push 0x800
push ecx
call fcn.004d96cf
push 0x1ff
lea edx, [esp + 0xa5]
push 0
push edx
mov byte [esp + 0xac], 0
call fcn.004d5720
add esp, 0x28
push 0x200
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x5224dc
lea ecx, [esp + 0x88]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x84]
push 0x5224d8
push edx
call fcn.004d9591
mov esi, eax
add esp, 8
test esi, esi
je 0x457cf7
xor eax, eax
push 0x3e
push eax
lea ecx, [esp + 0xe]
push ecx
mov word [esp + 0x10], ax
call fcn.004d5720
xor edx, edx
push 0x3e
push edx
lea eax, [esp + 0x5a]
push eax
mov word [esp + 0x5c], dx
call fcn.004d5720
add esp, 0x18
lea ecx, [esp + 0x284]
push ecx
lea edx, [esp + 0x48]
push edx
call fcn.004d94b1
add esp, 4
push eax
lea eax, [esp + 0xc]
push eax
call fcn.004d93e0
add esp, 4
push eax
push 0x5224c0
push esi
call fcn.004d9204
push esi
call fcn.004d9188
add esp, 0x18
mov ecx, dword [esp + 0xa84]
pop esi
xor ecx, esp
call fcn.004d6555
add esp, 0xa84
ret
Function at 0x457d10
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 [0x56c3c0]
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 0x457e2f
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x457d66
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x457d52
xor eax, eax
jmp 0x457d66
lea eax, [esi + esi]
call fcn.004d6570
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.0044a2c0
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 0x457e2f
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xc0000000
cmp eax, 0x80000000
jne 0x457da5
mov edx, dword [ebp + 8]
push edx
call fcn.00455b90
add esp, 4
mov edi, eax
jmp 0x457da8
mov edi, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 0x40
push edi
call esi
test eax, eax
jne 0x457e2f
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x457e2f
mov ebx, dword [edi + 0x3c]
push 0xf8
add ebx, edi
push ebx
call esi
test eax, eax
jne 0x457e2f
cmp dword [ebx], 0x4550
jne 0x457e2f
mov esi, dword [ebx + 0x80]
add esi, edi
cmp esi, ebx
je 0x457e2f
mov eax, dword [esi + 0xc]
test eax, eax
je 0x457e0d
lea ecx, [ecx]
mov ecx, dword [ebp + 0xc]
add eax, edi
push ecx
push eax
call fcn.004d97fa
add esp, 8
test eax, eax
je 0x457e0d
mov eax, dword [esi + 0x20]
add esi, 0x14
test eax, eax
jne 0x457df0
cmp dword [esi + 0xc], 0
je 0x457e2f
mov esi, dword [esi + 0x10]
add esi, edi
cmp dword [esi], 0
je 0x457e2f
lea ecx, [ecx]
mov ebx, dword [ebp - 0xc]
cmp dword [esi], ebx
je 0x457e47
add esi, 4
cmp dword [esi], 0
jne 0x457e20
xor eax, eax
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d6555
mov esp, ebp
pop ebp
ret 0x10
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
je 0x457e7b
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 0x457e31
mov eax, dword [ebp + 0x14]
mov dword [esi], eax
mov eax, ebx
jmp 0x457e31
Function at 0x457ed0
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
push edi
mov dword [esi], vtable.CDocumentMgr.0
call fcn.004565a0
cmp dword [esi + 0xdcc], 0
je 0x457f02
lea edi, [esi + 0xdd0]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x457f02
push edi
call fcn.0046d450
add esp, 4
cmp dword [esi + 0x410], 0
je 0x457f17
mov eax, dword [0x571564]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 0x11d0]
test eax, eax
je 0x457f28
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x11d8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x457f45
push eax
call edi
mov dword [esi + 0x11d8], 0
mov eax, dword [esi + 0x11d0]
test eax, eax
je 0x457f5c
push eax
call edi
mov dword [esi + 0x11d0], 0
mov eax, dword [esi + 0x11d4]
test eax, eax
je 0x457f73
push eax
call edi
mov dword [esi + 0x11d4], 0
pop edi
pop esi
ret

Function at 0x4585b0
Capabilities:
Resolve function by parsing pe exports
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [0x56c3c0]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
push str.Begin_CDocumentMgr::monitorHook_pid__d_
mov dword [esp + 0x14], esi
call fcn.00457be0
mov eax, dword [esi + 0x11e0]
add esp, 8
push 0x1f4
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4586f5
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 0
push 0x401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4586f5
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x4586aa
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sbb ecx, dword [esp + 0x1c]
push 0
push 0x989680
push ecx
push eax
call fcn.004d8a70
test edx, edx
ja 0x45866a
cmp eax, 0xa
jbe 0x4586aa
xor edx, edx
push 0x3e
push edx
lea eax, [esp + 0x3a]
push eax
mov word [esp + 0x3c], dx
call fcn.004d5720
push edi
lea ecx, [esp + 0x40]
push str.ODMHOOK__u
push ecx
call fcn.004d984c
add esp, 0x18
lea edx, [esp + 0x30]
push edx
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventW]
test eax, eax
je 0x4586d0
push eax
call ebx
push esi
call ebx
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x11e0]
push 0x1f4
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x458601
jmp 0x4586f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x34]
push edx
push str.OpenEvent_Mutex__NULL__::TerminateProcess___s__error__d_
call fcn.00457be0
add esp, 0xc
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call ebx
push str.End_CDocumentMgr::monitorHook
call fcn.00457be0
mov ecx, dword [esp + 0x78]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.004d6555
mov esp, ebp
pop ebp
ret 4