joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401650
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570436
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5c8128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CXElement.0
call fcn.00407e20
mov ecx, eax
test ecx, ecx
jne 0x401697
push 0x80004005
call fcn.004079f0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
call fcn.00407e20
mov ecx, eax
test ecx, ecx
jne 0x4016be
push 0x80004005
call fcn.004079f0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0xc], eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00404110
mov dword [esi], eax
xorps xmm0, xmm0
mov eax, dword fs:[0x2c]
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov ecx, dword [eax]
movq qword [edi + 0x28], xmm0
mov dword [edi + 0x28], edi
mov dword [edi + 0x24], vtable.TGeneralObserverObj_class_CXElement_.0
mov eax, dword [0x5cfcbc]
cmp eax, dword [ecx + 4]
jle 0x401761
push 0x5cfcbc
call fcn.004f5b15
add esp, 4
cmp dword [0x5cfcbc], 0xffffffff
jne 0x401761
push 0x583b70
mov dword [0x5c8de0], 0x64
mov byte [0x5c8de4], 0
call fcn.004f596a
push 0x5cfcbc
call fcn.004f5ad6
add esp, 8
mov dword [edi + 0x30], 0x5c8de0
mov eax, edi
mov dword [edi + 8], 0
mov dword [edi + 0x2c], 0x401de0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x406fb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x406fc5
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x407006
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x407002
nop word [eax + eax]
cmp esi, edx
jae 0x407006
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x406ff0
cmp esi, edx
jb 0x40700b
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
Function at 0x4296e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5c8128]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x429704
mov eax, dword [ecx]
call dword [eax + 0x24]
cmp dword [esi + 0xe4], 0
je 0x429838
cmp dword [esi + 0xe0], 0
je 0x429838
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x429827
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x429827
mov eax, dword [esi + 0xe0]
push 5
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [esi + 0x38]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
cmp byte [eax + 4], 0
je 0x429784
mov eax, dword [eax]
cmp eax, 0x64
je 0x429784
push 0x64
push eax
push 5
call edi
jmp 0x429789
mov eax, 5
sub dword [ebp - 0x14], eax
mov eax, dword [esi + 0x30]
cmp byte [eax + 4], 0
je 0x4297a5
mov eax, dword [eax]
cmp eax, 0x64
je 0x4297a5
push 0x64
push eax
push 3
call edi
jmp 0x4297aa
mov eax, 3
mov ecx, dword [ebp - 0x10]
sub ecx, eax
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x10], ecx
cmp byte [eax + 4], 0
je 0x4297ce
mov eax, dword [eax]
cmp eax, 0x64
je 0x4297ce
push 0x64
push eax
push 5
call edi
mov ecx, dword [ebp - 0x10]
jmp 0x4297d3
mov eax, 5
mov edx, dword [ebp - 0xc]
add edx, eax
mov eax, dword [esi + 0x30]
mov dword [ebp - 0xc], edx
cmp byte [eax + 4], 0
je 0x4297fc
mov eax, dword [eax]
cmp eax, 0x64
je 0x4297fc
push 0x64
push eax
push 7
call edi
mov edx, dword [ebp - 0xc]
mov edi, eax
mov ecx, dword [ebp - 0x10]
jmp 0x429801
mov edi, 7
mov eax, dword [ebp - 8]
add eax, edi
mov dword [ebp - 8], eax
sub eax, ecx
push 1
push eax
mov eax, dword [ebp - 0x14]
sub edx, eax
push edx
push ecx
push eax
mov eax, dword [esi + 0xe0]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x429838
mov eax, dword [esi + 0xe0]
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x50]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
mov dword [ebx], 0
xor ecx, ebp
pop ebx
call fcn.004f5c19
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42f8a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5c8128]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0x14]
mov ecx, dword [esi + 0x184]
test ecx, ecx
je 0x42f8c9
mov eax, dword [ecx]
call dword [eax + 4]
push 0x104
lea eax, [ebp - 0x20c]
mov dword [esi + 0x150], 1
push eax
push dword [esi + 0x130]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 0x15c]
lea ecx, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42f91d
test dx, dx
je 0x42f919
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42f91d
add eax, 4
add ecx, 4
test dx, dx
jne 0x42f8f7
xor eax, eax
jmp 0x42f922
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42f93d
push 0x59b818
push dword [esi + 0x130]
mov dword [esi + 0x158], eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [edi], eax
xor ecx, ebp
pop edi
pop esi
call fcn.004f5c19
mov esp, ebp
pop ebp
ret 0x10

Function at 0x431300
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
test edi, edi
js 0x43137c
mov esi, dword [ebp + 8]
mov ecx, 1
mov eax, dword [esi]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x431335
push edi
mov ecx, esi
call fcn.00407460
push edi
push dword [esi]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, eax
mov ecx, edi
cmp edi, 0xffffffff
jne 0x43135d
mov ecx, dword [esi]
test ecx, ecx
je 0x431361
push dword [ecx - 8]
push ecx
call fcn.00537622
add esp, 8
mov ecx, eax
test ecx, ecx
js 0x43137c
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x43137c
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
push 0x80070057
call fcn.004079f0
int3
Function at 0x432ad0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5729e8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [0x5c8128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x5ceb68]
test eax, eax
je 0x432b21
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x432b21
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00547e13
add esp, 4
call fcn.00547df2
mov esi, eax
call fcn.00407e20
mov ecx, eax
test ecx, ecx
jne 0x432b4c
push 0x80004005
call fcn.004079f0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push esi
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push str.x_GeneralNotify_lu
push eax
call fcn.00423d10
mov esi, dword [ebp - 0x10]
mov ecx, 0x5ceb70
mov edi, esi
add esp, 0xc
mov edx, 0x104
sub edi, ecx
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x432b9f
movzx eax, word [edi + ecx]
test ax, ax
je 0x432b9f
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x432b81
lea eax, [ecx - 2]
mov dword [ebp - 0x40], 0x30
test edx, edx
push 0x2c
cmovne eax, ecx
xor ecx, ecx
push ecx
mov word [eax], cx
lea eax, [ebp - 0x3c]
push eax
call fcn.0051a560
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], 0x5ceb70
mov dword [ebp - 0x38], 0x432ab0
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [ebp - 0x2c]
push 0
push 0xfffffffffffffffd
push 0x64
push 0x64
push 0
push 0
push 0
push str.CGeneralObserverMgrWnd
push dword [ebp - 0x18]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x5ceb68], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x432c40
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x445610
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x5c8128]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov eax, dword [edi + 4]
cmp dword [eax + 0x10], 0
je 0x445638
call fcn.00445760
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x445657
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f5c19
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [edi + 4]
push esi
call fcn.00445f30
test eax, eax
je 0x445643
push esi
lea eax, [ebp - 0x20c]
push 0x59f5c4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
test esi, esi
je 0x4456bc
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4456bc
lea eax, [ebp - 0x224]
push eax
push 0
lea eax, [ebp - 0x214]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x445735
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x20c]
call fcn.00445d40
test eax, eax
je 0x445735
mov eax, dword [ebp - 0x210]
cmp eax, dword [ebp - 0x218]
jne 0x445735
mov eax, dword [ebp - 0x214]
cmp eax, dword [ebp - 0x21c]
jne 0x445735
mov eax, dword [ebp - 0x220]
cmp eax, dword [ebp - 0x228]
jne 0x445735
mov eax, dword [ebp - 0x224]
cmp eax, dword [ebp - 0x22c]
jne 0x445735
mov ecx, dword [edi + 8]
lea eax, [ebp - 0x20c]
push eax
call fcn.00446670
test al, al
jne 0x445745
mov eax, dword [edi + 4]
mov ecx, edi
push dword [eax + 0xc]
push dword [eax + 0x10]
call fcn.00445950
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004f5c19
mov esp, ebp
pop ebp
ret 8

Function at 0x445800
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
jne 0x445811
mov dword [edi], ecx
pop edi
xor eax, eax
pop esi
ret
push 2
push 0
push esi
call fcn.00547328
push esi
call fcn.0054795e
push 0
push 0
push esi
mov dword [edi], eax
call fcn.00547328
mov eax, dword [edi]
add esp, 0x1c
test eax, eax
jle 0x44580c
push ebx
push eax
call fcn.005377d9
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x44585e
push esi
push 1
push dword [edi]
push ebx
call fcn.00547b79
push 0
push 0
push esi
call fcn.00547328
add esp, 0x1c
mov eax, ebx
pop ebx
pop edi
pop esi
ret
Function at 0x445f30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x10]
test eax, eax
je 0x445f54
cmp dword [esi + 4], 0
je 0x445f4d
push eax
call fcn.005256c6
add esp, 4
mov dword [esi + 0x10], 0
push 0x59c10c
push dword [ebp + 8]
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
call fcn.00546ec3
mov edi, eax
add esp, 8
test edi, edi
jne 0x445f7e
pop edi
pop esi
pop ebp
ret 4
push ebx
push 2
push 0
push edi
call fcn.00547328
push edi
call fcn.0054795e
push 0
push 0
push edi
mov ebx, eax
call fcn.00547328
add esp, 0x1c
test ebx, ebx
jle 0x445fbe
push ebx
mov ecx, esi
call fcn.00446040
mov eax, dword [esi + 0x10]
test eax, eax
je 0x445fbe
push edi
push 1
push ebx
push eax
call fcn.00547b79
add esp, 0x10
push edi
call fcn.00547d20
add esp, 4
xor eax, eax
cmp dword [esi + 0x10], eax
setne al
pop ebx
pop edi
pop esi
pop ebp
ret 4

Function at 0x446670
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573e66
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5c8128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
mov eax, dword [ebx]
push dword [eax + 4]
call fcn.00447060
mov eax, dword [ebx]
mov dword [eax + 4], eax
mov eax, dword [ebx]
mov dword [eax], eax
mov eax, dword [ebx]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 8], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 4], 0
test eax, eax
je 0x44672a
push 0x59c10c
push eax
call fcn.00546ec3
mov edi, eax
add esp, 8
mov dword [ebp - 0x14], edi
test edi, edi
je 0x44672a
push edi
call fcn.005483e7
push eax
call fcn.005483d1
push edi
push 1
mov esi, eax
lea eax, [ebp - 0x20]
push 8
push eax
call fcn.00547b79
add esp, 0x18
mov byte [ebp + 0xb], 0
cmp dword [ebp - 0x20], 0x78646972
jne 0x4467b3
cmp dword [ebp - 0x1c], 0x8000
jb 0x446740
push edi
call fcn.00547d20
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
add esi, 0xfffffff8
push esi
call fcn.005377d9
mov ebx, eax
add esp, 4
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x4467b3
push edi
push 1
push esi
push ebx
call fcn.00547b79
lea edx, [ebx + esi]
mov ecx, ebx
xor ebx, ebx
mov dword [ebp + 8], edx
add esp, 0x10
cmp dword [ebp - 0x1c], ebx
jle 0x4467a1
mov edi, dword [ebp - 0x10]
mov esi, dword [ecx + 0xc]
add esi, 0x12
add esi, ecx
cmp esi, edx
ja 0x44679e
push dword [ecx + 8]
lea eax, [ecx + 0x10]
push dword [ecx + 4]
push dword [ecx]
mov ecx, edi
push eax
call fcn.004462c0
mov edx, dword [ebp + 8]
inc ebx
mov ecx, esi
cmp ebx, dword [ebp - 0x1c]
jl 0x446774
mov edi, dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.005256c6
add esp, 4
cmp ebx, dword [ebp - 0x1c]
sete byte [ebp + 0xb]
push edi
call fcn.00547d20
mov al, byte [ebp + 0xb]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4485f0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574026
mov eax, dword fs:[0]
push eax
mov eax, 0x2010
call fcn.004f6060
mov eax, dword [0x5c8128]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
cmp dword [edi + 8], 0
jne 0x448638
cmp dword [edi + 4], 0
je 0x44875f
lea ebx, [edi + 0x14]
push ebx
mov dword [ebp - 0x201c], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x2018], 1
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x10]
cmp dword [eax - 0xc], 0
jle 0x44868e
test esi, esi
je 0x448758
cmp dword [eax - 0xc], 0
jl 0x448758
push esi
push eax
call fcn.0051a6ba
add esp, 8
test eax, eax
je 0x448758
sub eax, dword [edi + 0x10]
sar eax, 1
js 0x448758
push 0x2000
lea eax, [ebp - 0x2010]
push 0
push eax
call fcn.0051a560
add esp, 0xc
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x2010]
call fcn.00447fb0
call fcn.00407e20
mov ecx, eax
test ecx, ecx
jne 0x4486cc
push 0x80004005
call fcn.004079f0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2014], eax
lea eax, [ebp - 0x2010]
mov byte [ebp - 4], 1
push eax
push esi
lea eax, [ebp - 0x2014]
push str.__s___s_r_n
push eax
call fcn.00423d10
mov esi, dword [ebp - 0x2014]
add esp, 0x10
cmp dword [edi + 8], 0
je 0x44870d
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [edi + 4], 0
je 0x44873c
mov ecx, dword [edi + 0xc]
cmp ecx, 0xffffffff
je 0x44873c
push 0
mov dword [ebp - 0x2014], 0
lea edx, [ebp - 0x2014]
mov eax, dword [esi - 0xc]
push edx
add eax, eax
push eax
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x448758
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f5c19
mov esp, ebp
pop ebp
ret
Function at 0x448b10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5740d8
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x5c8128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x144]
mov dword [ebp - 4], 0
mov dword [esi + 0x13c], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x140], eax
lea eax, [ebp + 0x10]
push eax
call fcn.00402ed0
cmp dword [esi + 0x168], 0
movups xmm0, xmmword [ebp + 0x14]
movups xmmword [esi + 0x148], xmm0
movups xmm0, xmmword [ebp + 0x24]
movups xmmword [esi + 0x158], xmm0
jne 0x448b96
push 0
push 0
push esi
push 0x448ab0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x168], eax
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x448bb8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x2c
Function at 0x44a880
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5c8128]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 0x30], 8
lea eax, [ecx + 0x1c]
jb 0x44a89b
mov eax, dword [eax]
push esi
lea edx, [ecx + 0x124]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00451740
add esp, 4
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 8
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 8]
mov esi, eax
neg esi
sbb esi, esi
neg esi
cmp ecx, 8
jb 0x44a8dd
inc ecx
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
call fcn.004389e0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004f5c19
mov esp, ebp
pop ebp
ret

Function at 0x44a8f0
Capabilities:
Accept command line arguments
Print debug messages
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574463
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x5c8128]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test eax, eax
jne 0x44a93b
mov eax, 0x80004003
jmp 0x44aa37
push 0xf01ff
push str.PDFConverterDrv
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
mov dword [ebp - 0x5c], edi
test edi, edi
jne 0x44a966
mov esi, 0x80004005
jmp 0x44aa35
xor ebx, ebx
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x164], ebx
push ebx
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.00407900
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x160]
mov eax, dword [ebp - 0x164]
cmp eax, ecx
je 0x44a9a1
push eax
call fcn.005256c6
add esp, 4
mov eax, dword [ebp - 0x54]
cmp dword [eax - 0xc], 0
je 0x44a9b7
lea ecx, [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
push ebx
push dword [ebp - 0x58]
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov dword [ebp - 0x60], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x40
mov esi, eax
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.0051a560
push esi
push dword [ebp - 0x60]
lea eax, [ebp - 0x50]
push str.startDriver:_d___error:_d
push 0x20
push eax
call fcn.0044e9f0
add esp, 0x20
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test ebx, ebx
je 0x44aa06
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, dword [ebp - 0x54]
xor eax, eax
cmp dword [ebp - 0x60], eax
mov esi, 0x80004005
cmovne esi, eax
add ebx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x44aa2e
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f5c19
mov esp, ebp
pop ebp
ret
Function at 0x44b150
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x5c8128]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [edi + 4]
call fcn.00450e10
mov edx, dword [esp + 0x10]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44b1a1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x10]
push eax
lea ecx, [edi + 4]
call fcn.00450ee0
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x44b1c7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi + 0x120], 8
lea esi, [edi + 0x10c]
jb 0x44b1da
mov eax, dword [esi]
jmp 0x44b1dc
mov eax, esi
push ecx
push 1
push eax
call fcn.0044f380
cmp dword [esi + 0x14], 8
jb 0x44b1ef
mov eax, dword [esi]
jmp 0x44b1f1
mov eax, esi
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x208
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.0051a560
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x44b218
mov esi, dword [esi]
push esi
lea eax, [esp + 0x1c]
push 0x104
push eax
call fcn.00548760
add esp, 0xc
lea eax, [esp + 0x18]
push str.setup.config
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push dword [edi + 0x174]
lea eax, [esp + 0x1c]
push dword [esp + 0x18]
push eax
push ecx
lea ecx, [edi + 4]
call fcn.004603f0
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004f5c19
mov esp, ebp
pop ebp
ret 4

Function at 0x44bc70
Capabilities:
Check if file exists
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x5c8128]
xor eax, ebp
mov dword [ebp - 4], eax
push str.c:_test.data
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44bce1
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.0051a560
add esp, 0xc
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x804]
push 0x3ff
push 0x400
push eax
call fcn.00424e80
push dword [eax + 4]
push dword [eax]
call fcn.00536be3
add esp, 0x20
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f5c19
mov esp, ebp
pop ebp
ret