joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402a2e
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x415050]
xor eax, ebp
mov dword [ebp + 0x88], eax
mov eax, dword [ebp + 0x94]
push ebx
push esi
push edi
mov esi, str.NothingHere
lea edi, [ebp - 0x7c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0xf8
mov dword [ebp - 0x80], eax
xor ebx, ebx
lea eax, [ebp - 0x70]
push ebx
push eax
movsd dword es:[edi], dword [esi]
call fcn.00407070
add esp, 0xc
lea eax, [ebp - 0x7c]
cmp dword [ebp - 0x80], ebx
jne 0x402a9c
mov esi, dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
push eax
push ebx
push ebx
push 0x1c
push ebx
call esi
test eax, eax
jge 0x402aa6
lea eax, [ebp - 0x7c]
push eax
push 1
push ebx
push 0x1c
push ebx
call esi
jmp 0x402aa6
push dword [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0xc
mov edi, str.NothingHere
lea esi, [ebp - 0x7c]
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x402abc
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x402b14
lea eax, [ebp - 0x7c]
push eax
push str._sGoogleChromeUser_DataDefaultPreferences
push 0x104
push eax
call fcn.00404291
add esp, 0x10
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x402b2e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x402b2e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x7c]
push eax
call fcn.00402b3a
pop ecx
xor eax, eax
mov ecx, dword [ebp + 0x88]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404175
add ebp, 0x8c
leave
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x402b16
Function at 0x402b3a
Capabilities:
Check if file exists
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 3
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov dword [ebp - 4], edi
cmp edi, 0xffffffff
je 0x402b94
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x402b94
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push ebx
push edi
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
jne 0x402b9c
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
lea eax, [esi + 1]
push eax
push 8
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [ebp - 0xc], edi
cmp edi, ebx
je 0x402c94
push ebx
lea eax, [ebp - 8]
push eax
push esi
push edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402c94
cmp dword [ebp - 8], ebx
jbe 0x402c94
push str.hgailgaldchajpkkmbjdlbimhdnmmgld
push edi
call fcn.00404310
pop ecx
pop ecx
cmp eax, ebx
je 0x402c94
lea esi, [eax - 2]
jmp 0x402bf4
dec esi
movsx eax, byte [esi]
push eax
call fcn.004044ed
pop ecx
test eax, eax
jne 0x402bf3
cmp byte [esi], 0x7b
jne 0x402c08
inc esi
push 0x7b
push esi
call fcn.00404530
pop ecx
pop ecx
cmp eax, ebx
je 0x402c94
call fcn.004038ad
mov edi, eax
cmp edi, ebx
je 0x402c94
jmp 0x402c24
inc edi
movsx eax, byte [edi]
push eax
call fcn.004044ed
pop ecx
test eax, eax
jne 0x402c23
cmp byte [edi], 0x7d
jne 0x402c38
dec edi
cmp byte [esi], 0x2c
jne 0x402c43
cmp byte [edi], 0x2c
jne 0x402c43
dec edi
mov eax, dword [ebp - 8]
inc edi
sub eax, edi
add eax, dword [ebp - 0xc]
push eax
push edi
push esi
call fcn.004070f0
add esp, 0xc
push ebx
push ebx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x402c94
push ebx
sub esi, edi
add esi, dword [ebp - 8]
lea eax, [ebp - 0x10]
push eax
push esi
push dword [ebp - 0xc]
mov dword [ebp - 0x10], ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x402c94
cmp esi, dword [ebp - 0x10]
jne 0x402c94
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push dword [ebp - 0xc]
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x402b97
Function at 0x403187
Capabilities:
Get cpu information
Get disk information
Get hostname
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x1ac
mov eax, dword [0x415050]
xor eax, ebp
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x7c]
push ebx
push esi
push edi
xor ebx, ebx
push 0x63
mov dword [ebp - 0x138], eax
lea eax, [ebp + 0xd]
push ebx
push eax
mov byte [ebp + 0xc], bl
call fcn.00407070
add esp, 0xc
push 0x64
pop edi
mov dword [ebp - 0x134], edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x63
lea eax, [ebp - 0x57]
push ebx
push eax
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x12c], 1
mov byte [ebp - 0x58], bl
call fcn.00407070
add esp, 0xc
lea eax, [ebp - 0x124]
push eax
push str.HARDWAREDESCRIPTIONSystemBIOS
push 0x80000002
mov dword [ebp - 0x128], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x12c]
push eax
push ebx
push str.BaseBoardProduct
push dword [ebp - 0x124]
call esi
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x63
lea eax, [ebp - 0xbb]
push ebx
push eax
mov byte [ebp - 0xbc], bl
call fcn.00407070
push 0x63
lea eax, [ebp - 0x11f]
push ebx
push eax
mov byte [ebp - 0x120], bl
call fcn.00407070
add esp, 0x18
lea eax, [ebp - 0x124]
push eax
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x12c]
push eax
push ebx
push str.Identifier
push dword [ebp - 0x124]
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x12c], 1
call esi
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x120]
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x12c], 1
push eax
lea eax, [ebp - 0x12c]
push eax
push ebx
push str.ProcessorNameString
push dword [ebp - 0x124]
call esi
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x130]
push eax
push ebx
push ebx
push 0x4138a4
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp - 0x130]
push str._x_s_s_s_s
push 0x200
push dword [ebp - 0x138]
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
mov ecx, dword [ebp + 0x70]
add esp, 0x20
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404175
add ebp, 0x74
leave
ret
Function at 0x4034cf
Capabilities:
Acquire debug privileges
Get explorer pid

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
lea eax, [ebp - 8]
push eax
xor ebx, ebx
push 0x28
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4035d3
push esi
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x20]
push eax
push str.SeDebugPrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x403518
push esi
lea esi, [ebp - 0x20]
call fcn.004035d6
pop ecx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.USER32.dll_GetShellWindow]
lea ecx, [ebp - 0xc]
push ecx
push eax
mov dword [ebp - 0xc], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp - 0xc], ebx
je 0x4035be
push dword [ebp - 0xc]
push ebx
push 0x20000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x4035b8
mov esi, dword [sym.imp.USER32.dll_GetUserObjectSecurity]
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
push dword [edi]
lea eax, [ebp - 0x14]
push eax
push ebx
mov dword [ebp - 0x14], 1
call esi
cmp dword [ebp - 4], 0
je 0x4035b8
push dword [ebp - 4]
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 4]
mov dword [edi], eax
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
call esi
test eax, eax
je 0x4035b8
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorOwner]
test eax, eax
jne 0x4035c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x4035d2
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x10]
pop esi
pop ebx
leave
ret

Function at 0x403656
Capabilities:
Get session user name

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x415050]
xor eax, ebp
mov dword [ebp + 0x190], eax
push ebx
push esi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x77]
push ebx
push eax
mov byte [ebp - 0x78], bl
call fcn.00407070
push esi
lea eax, [ebp + 0x8d]
push ebx
push eax
mov dword [ebp - 0x80], 0x104
mov byte [ebp + 0x8c], bl
call fcn.00407070
add esp, 0x18
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 0x79], 1
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x4036fe
lea ecx, [ebp + 0x8c]
call fcn.00403718
test eax, eax
je 0x4036fe
lea ecx, [ebp + 0x8c]
lea eax, [ebp - 0x78]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4036f2
cmp dl, bl
je 0x4036ee
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4036f2
inc eax
inc eax
inc ecx
inc ecx
cmp dl, bl
jne 0x4036d4
xor eax, eax
jmp 0x4036f7
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4036fe
mov byte [ebp - 0x79], bl
mov ecx, dword [ebp + 0x190]
mov al, byte [ebp - 0x79]
pop esi
xor ecx, ebp
pop ebx
call fcn.00404175
add ebp, 0x194
leave
ret
Function at 0x403718
Capabilities:
Get explorer pid

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xfffffffffffffffe
push 0x413fb0
push 0x4069b0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x415050]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_GetShellWindow]
mov dword [ebp - 0x2c], edi
lea ecx, [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp - 0x2c], edi
je 0x40384e
push dword [ebp - 0x2c]
push edi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x24], eax
cmp eax, edi
jne 0x4037a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40384e
lea ecx, [ebp - 0x20]
push ecx
push 0xa
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40384e
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x1c]
push eax
push edi
push edi
push 1
push dword [ebp - 0x20]
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call esi
test eax, eax
jne 0x4037e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x40384e
push dword [ebp - 0x1c]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x1c]
push eax
push 1
push dword [ebp - 0x20]
call esi
test eax, eax
je 0x40384e
mov esi, 0x104
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x104]
push eax
mov eax, dword [ebp - 0x28]
push dword [eax]
push edi
call dword [sym.imp.ADVAPI32.dll_LookupAccountSidA]
test eax, eax
je 0x40384e
mov dword [ebp - 0x30], 1
lea eax, [ebp + 0x104]
push eax
push 0x413098
push esi
push ebx
call fcn.00404291
add esp, 0x10
mov dword [ebp - 4], 0xfffffffe
call fcn.00403882
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00404175
add ebp, 0x20c
leave
ret

Function at 0x4038eb
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
push str.aw_install_uninstall_safeguard
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40394f
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowA]
push edi
push 0x4139a0
push str.BInstaller
call esi
mov edi, dword [sym.imp.USER32.dll_SetFocus]
mov ebx, eax
push ebx
call edi
push ebx
mov ebx, dword [sym.imp.USER32.dll_SetForegroundWindow]
call ebx
push str.Uninstaller_Software
push str.rmwlclass_7893EB695CB3
call esi
mov esi, eax
push esi
call edi
push esi
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
ret
Function at 0x404175
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x415050]
jne 0x40417f
repz ret
jmp fcn.00404c8c

Function at 0x40c0ba
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040524d
and dword [ebp - 4], 0
cmp dword [0x416d8c], 0
mov ebx, eax
jne 0x40c16b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40c21c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x412c1c
push edi
call esi
test eax, eax
je 0x40c21c
push eax
call fcn.004051db
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x416d8c], eax
call esi
push eax
call fcn.004051db
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x416d90], eax
call esi
push eax
call fcn.004051db
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x416d94], eax
call esi
push eax
call fcn.004051db
pop ecx
mov dword [0x416d9c], eax
test eax, eax
je 0x40c16b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004051db
pop ecx
mov dword [0x416d98], eax
mov eax, dword [0x416d98]
cmp eax, ebx
je 0x40c1c3
cmp dword [0x416d9c], ebx
je 0x40c1c3
push eax
call fcn.00405256
push dword [0x416d9c]
mov esi, eax
call fcn.00405256
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40c1c3
test edi, edi
je 0x40c1c3
call esi
test eax, eax
je 0x40c1ba
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40c1ba
test byte [ebp - 0xc], 1
jne 0x40c1c3
or dword [ebp + 0x10], 0x200000
jmp 0x40c1fc
mov eax, dword [0x416d90]
cmp eax, ebx
je 0x40c1fc
push eax
call fcn.00405256
pop ecx
test eax, eax
je 0x40c1fc
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40c1fc
mov eax, dword [0x416d94]
cmp eax, ebx
je 0x40c1fc
push eax
call fcn.00405256
pop ecx
test eax, eax
je 0x40c1fc
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x416d8c]
call fcn.00405256
pop ecx
test eax, eax
je 0x40c21c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40c21e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x409ce1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x409ce1
lcall 0x5de5, 0x8b10c483
jmp loc.0095f1ac

Function at 0x401080
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x13c
mov eax, dword [0x404008]
xor eax, esp
mov dword [esp + 0x138], eax
push esi
lea eax, [esp + 8]
mov dword [esp + 4], 0
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionOpenWith
xorps xmm0, xmm0
mov dword [esp + 0x18], 0
push reloc.OLEAUT32.dll_SysReAllocString
movaps xmmword [esp + 0x34], xmm0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401191
mov esi, dword [esp + 8]
test esi, esi
je 0x401191
push pe_nt_image_headers32
push eax
lea eax, [esp + 0x40]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x1c], pe_nt_image_headers32
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0x403224
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x401191
lea ecx, [esp + 0x38]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401130
sub ecx, edx
sar ecx, 1
cmp ecx, 0x26
jne 0x401191
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
js 0x401191
lea eax, [esp + 4]
mov dword [esp + 0xc], 0x6a283fe2
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 0x4599ecfa
push eax
push 4
push 0
lea eax, [esp + 0x30]
mov dword [esp + 0x24], 0x9e8c491
push eax
mov dword [esp + 0x2c], 0x267b1357
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [esp + 0x13c]
mov eax, dword [esp + 4]
pop esi
xor ecx, esp
call fcn.004012f0
mov esp, ebp
pop ebp
ret

Function at 0x4011b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push 2
push 0
mov dword [ebp - 4], eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
call fcn.00401080
mov ebx, eax
push 0
push ebx
call dword [sym.imp.ole32.dll_CoAllowSetForegroundWindow]
push str..pdf
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
test esi, esi
je 0x401232
mov edi, dword [ebx]
push 4
push esi
push dword [ebp - 4]
mov edi, dword [edi + 0xc]
mov ecx, edi
push ebx
call dword [0x403110]
call edi
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x403110]
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x8007000e
call fcn.00401030
int3
Function at 0x416af0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movzx eax, ax
mov dword [ebp + 8], eax
pop ebp
jmp fcn.00494943

Function at 0x416c20
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 0x416c35
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x416c74
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 0x416c70
lea ebx, [ebx]
cmp esi, edx
jae 0x416c74
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x416c60
cmp esi, edx
jb 0x416c79
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 0x417c20
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push 0
mov ebx, ecx
push 0
push 0x1009
push dword [ebx + 0xdc]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0x28
push 2
push 0x6162cc
lea esi, [ebx + 0xbc]
push 0
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x3c
push 2
push 0x6164fc
push 1
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x64
push 2
push 0x616508
push 2
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x64
push 2
push str.:d
push 3
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x64
push 2
push 0x6162fc
push 4
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x8c
push 2
push 0x616c28
push 5
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x64
push 2
push 0x616c30
push 6
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x616c3c
push 7
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x616c48
push 8
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x616c50
push 9
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x616c58
push 0xa
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x616c60
push 0xb
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x616c6c
push 0xc
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x616c74
push 0xd
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 2
push 0x616c7c
push 0xe
mov ecx, esi
call fcn.0048c7ac
push 0xfffffffffffffff0
push dword [ebx + 0xdc]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfffffdfc
or eax, 0x89
push eax
push 0xfffffffffffffff0
push dword [ebx + 0xdc]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x21
push 0x21
push 0x1036
push dword [ebx + 0xdc]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x616544
push 0x7dd
mov ecx, ebx
call fcn.00493f19
push 1
push 0
push dword [ebx + 0xdc]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ebx
ret
Function at 0x41b1d0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push 0
mov ebx, ecx
push 0
push 0x1009
push dword [ebx + 0xdc]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0x28
push 0
push 0x6162cc
lea esi, [ebx + 0xbc]
push 0
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x3c
push 0
push 0x6164fc
push 1
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x64
push 0
push 0x616508
push 2
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x64
push 0
push str.:d
push 3
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x64
push 0
push 0x6162fc
push 4
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x8c
push 2
push 0x616c28
push 5
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x64
push 0
push 0x617050
push 6
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 0
push 0x617058
push 7
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 0
push 0x61705c
push 8
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 0
push 0x617060
push 9
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 0
push 0x617064
push 0xa
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 0
push 0x61706c
push 0xb
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 0
push 0x617074
push 0xc
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 0
push 0x61707c
push 0xd
mov ecx, esi
call fcn.0048c7ac
push 0xffffffffffffffff
push 0x50
push 0
push 0x617084
push 0xe
mov ecx, esi
call fcn.0048c7ac
push 0xfffffffffffffff0
push dword [ebx + 0xdc]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfffffdfc
or eax, 0x89
push eax
push 0xfffffffffffffff0
push dword [ebx + 0xdc]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x21
push 0x21
push 0x1036
push dword [ebx + 0xdc]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x616544
push 0x8ae
mov ecx, ebx
call fcn.00493f19
pop esi
pop ebx
ret