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

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
push edi
mov dword [ebp - 4], 0
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x443215
mov edx, dword [ebp + 8]
sub eax, edi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
mov eax, dword [ecx]
push esi
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x444050
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x550250]
test eax, eax
jne 0x4441b7
push 0x114
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.004e15a0
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x114]
cmp eax, 6
ja case.default.0x444146
jmp dword [eax*4 + 0x4441c8]
mov eax, 1
mov dword [0x550250], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x110]
sub eax, 0
je 0x444123
dec eax
je 0x44410b
dec eax
je 0x4440f3
mov eax, 0x67
mov dword [0x550250], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret
mov eax, 0x66
mov dword [0x550250], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret
mov eax, 0x65
mov dword [0x550250], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret
mov eax, 0x64
mov dword [0x550250], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x110]
cmp eax, 3
ja case.default.0x444146
jmp dword [eax*4 + 0x4441e4]
mov eax, 0x68
mov dword [0x550250], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret
mov eax, 0x69
mov dword [0x550250], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret
mov eax, 0x6a
mov dword [0x550250], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret
mov eax, 0x6b
mov dword [0x550250], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret
mov eax, 0x6c
mov dword [0x550250], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret
Function at 0x4444c0
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test edi, edi
je 0x4445eb
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0x190000
push 3
push 0
push 3
push 0xc0000000
push edi
call ebx
mov esi, eax
cmp esi, 0xffffffff
jne 0x444549
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x4445e6
mov eax, dword [ebp + 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x4445e6
push 0
push 0x190000
push 3
push 0
push 3
push 0xc0000000
push edi
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x4445e6
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
jne 0x4445cc
mov edi, dword [ebp + 0x24]
test edi, edi
je 0x444591
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0xa0]
test eax, eax
je 0x444591
lea edx, [ebp + 8]
push edx
push esi
mov dword [ebp + 8], 0
call eax
test eax, eax
je 0x444591
mov eax, dword [ebp + 8]
test eax, eax
je 0x444591
cmp eax, edi
je 0x444591
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp + 8], eax
jne 0x4445cc
push 0
push 0
lea eax, [ebp - 0xc]
push eax
push esi
mov dword [ebp - 0xc], 2
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x4445cc
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
push 0
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push eax
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
mov edi, eax
jmp 0x4445cf
mov edi, dword [ebp - 4]
cmp esi, 0xffffffff
je 0x4445db
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret 0x20
mov eax, dword [ebp - 4]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0x20
Function at 0x445580
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
lea esp, [esp]
mov ecx, dword [ebp + 8]
push 0
lea eax, [ebp - 4]
push eax
push 4
push ebx
push ecx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4455e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x4455d9
cmp esi, 0xe8
jne 0x4455d0
push 0xa
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0xa
jl 0x445590
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xd
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
sub eax, 4
neg eax
pop edi
sbb eax, eax
pop esi
and eax, 0xd
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x445600
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
push esi
push edi
xor esi, esi
push esi
push 0x190000
push 3
push esi
push esi
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x445641
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x44570c
pop edi
lea eax, [esi + 0xd]
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
lea ecx, [ebp - 0xc]
push ecx
push edi
mov dword [ebp - 0xc], 3
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
jne 0x44567d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x445703
push edi
lea esi, [eax + 0xd]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [ebp - 8]
push edx
push 4
lea eax, [ebp + 0xc]
push eax
push edi
mov dword [ebp - 8], esi
call ebx
test eax, eax
jne 0x4456b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x445702
pop ebx
push edi
lea esi, [eax + 0xd]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x10], esi
je 0x445702
lea ecx, [ebp - 4]
xor eax, eax
push ecx
push edi
mov byte [ebp - 4], 0
mov word [ebp - 3], ax
mov byte [ebp - 1], al
call fcn.00445580
mov esi, eax
add esp, 8
test esi, esi
jne 0x445702
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
inc edx
sub eax, edx
neg eax
sbb eax, eax
and eax, 0xd
push 0
mov esi, eax
lea eax, [ebp - 8]
push eax
push 4
lea ecx, [ebp - 0x10]
push ecx
push edi
call ebx
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4457a0
Capabilities:
Check if file exists
Check mutex on windows
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x41a]
push ecx
mov word [ebp - 0x41c], ax
call fcn.004e15a0
xor edx, edx
push 0x208
push edx
lea eax, [ebp - 0x20e]
push eax
mov word [ebp - 0x210], dx
call fcn.004e15a0
add esp, 0x18
push 0x105
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x428]
push edx
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x420]
push ecx
push 0x105
lea edx, [ebp - 0x41c]
push edx
push 0x50da70
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x428], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x44585f
mov eax, dword [ebp - 0x420]
push 0x104
push esi
push eax
call fcn.00445520
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x4458b1
push str.GlobalARM_Update_Mutex
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x44588f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.thsnYaVieBoda
jmp 0x4458a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4458a1
push str.thsnYaVieBoda
jmp 0x4458a6
push str.TsnIorcAeBoda
push 0x104
push esi
call fcn.00429b90
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4458c4
push eax
push 0x104
push esi
call fcn.00429b90
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00401316
mov esp, ebp
pop ebp
ret
Function at 0x449980
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
mov edx, dword [edi]
or ecx, 0x2001f
push ecx
xor esi, esi
push eax
push edx
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x208], esi
call fcn.00449270
mov ebx, eax
cmp ebx, esi
je 0x4499fa
mov eax, dword [ebp - 0x210]
cmp eax, esi
je 0x4499e5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x220]
push eax
mov eax, dword [ebp - 0x210]
push esi
push esi
push esi
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x204]
push edx
push esi
push eax
mov dword [ebp - 0x214], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x449a7c
mov edi, edi
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x210]
call fcn.00449980
mov ebx, eax
cmp ebx, esi
jne 0x4499d4
lea edx, [ebp - 0x220]
push edx
mov edx, dword [ebp - 0x210]
push esi
push esi
push esi
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x204]
push ecx
push esi
push edx
mov dword [ebp - 0x214], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x449a30
mov eax, dword [ebp - 0x210]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x449a95
push eax
call ebx
mov dword [ebp - 0x210], esi
mov eax, dword [ebp - 0x218]
push eax
mov ecx, edi
mov dword [ebp - 0x20c], esi
call fcn.00449150
mov edi, eax
mov eax, dword [ebp - 0x210]
cmp eax, esi
je 0x449ab8
push eax
call ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401316
mov esp, ebp
pop ebp
ret 4
Function at 0x44c510
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5012d6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor edx, edx
mov dword [ebp - 0x430], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], edx
mov dword [ebp - 0x418], edx
push 2
push edx
push eax
mov byte [ebp - 4], 1
call fcn.00449d00
mov esi, eax
mov dword [ebp - 0x420], esi
test esi, esi
jne 0x44c58c
call fcn.00448f30
mov edi, eax
jmp 0x44c671
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x44c5a5
call fcn.00448f30
jmp 0x44c668
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x44c5c3
call fcn.00448f30
jmp 0x44c668
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x41c], edi
cmp eax, edi
jae 0x44c5e4
mov edi, 0x8007000e
jmp 0x44c66a
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0044a4a0
mov dword [ebp - 4], 1
jmp 0x44c61c
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x44c62d
mov edi, 0x8007000e
jmp 0x44c66a
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x44c646
call fcn.00448f30
jmp 0x44c668
mov edx, dword [ebp - 0x418]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x418]
push eax
push ecx
lea ecx, [ebp - 0x42c]
call fcn.0044be70
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp - 0x414]
cmp dword [ebp - 0x418], edx
je 0x44c68a
lea ecx, [ebp - 0x418]
call fcn.00449920
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44ed00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20a]
push edx
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x214], 0
mov word [ebp - 0x20c], cx
call fcn.004e15a0
mov bx, word [ebp + 0x10]
xor eax, eax
add esp, 0xc
cmp dword [ebp + 0xc], eax
mov dword [ebp - 0x21c], 0
sete al
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x224], 4
mov dword [ebp - 0x210], eax
test bx, bx
je 0x44ed91
push str.SoftwareAdobeAcrobat_Reader11.0FeatureState
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
jmp 0x44eda2
push str.SoftwareAdobeAdobe_Acrobat11.0FeatureState
push 0x104
lea edx, [ebp - 0x20c]
push edx
call fcn.00402c49
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x20c]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44ee74
lea edx, [ebp - 0x224]
push edx
mov edx, dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp - 0x214]
lea ecx, [ebp - 0x21c]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44ee3f
cmp dword [ebp - 0x21c], 4
jne 0x44ee3f
mov eax, dword [ebp - 0x214]
xor ecx, ecx
cmp dword [ebp - 0x218], ecx
push eax
setne cl
mov dword [ebp - 0x210], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, word [ebp - 0x210]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret
test bx, bx
je 0x44ee50
test esi, esi
je 0x44ee50
mov edx, 1
mov word [esi], dx
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, word [ebp - 0x210]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret
test bx, bx
je 0x44ee85
test esi, esi
je 0x44ee85
mov ecx, 1
mov word [esi], cx
mov ecx, dword [ebp - 4]
mov ax, word [ebp - 0x210]
pop esi
xor ecx, ebp
pop ebx
call fcn.00401316
mov esp, ebp
pop ebp
ret

Function at 0x44f1d0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdfUserChoice
push 0x80000001
mov dword [ebp - 4], 0
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x44f21a
mov ecx, dword [ebp - 4]
push ecx
call edi
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdfUserChoice
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea edx, [ebp - 4]
push edx
push 2
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdf
push 0x80000001
mov dword [ebp - 4], 0
call esi
test eax, eax
jne 0x44f24e
mov eax, dword [ebp - 4]
push str.Application
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [ebp - 4]
push ecx
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44f900
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501906
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x54e938]
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
xor edi, edi
cmp edx, edi
je 0x44fa0b
xor eax, eax
mov word [ebp - 0x234], ax
mov eax, edx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], edi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x44f956
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x234]
call fcn.00406300
mov eax, dword [ebp - 0x220]
mov edx, dword [ebp - 0x234]
mov ebx, 8
mov dword [ebp - 4], edi
mov esi, edx
cmp eax, ebx
jae 0x44fa12
lea esi, [ebp - 0x234]
mov ecx, esi
mov edi, dword [ebp - 0x224]
cmp eax, ebx
lea ecx, [ecx + edi*2]
mov eax, edx
jae 0x44f9ad
lea eax, [ebp - 0x234]
cmp eax, ecx
je 0x44f9c8
push fcn.0040f9a4
push esi
push ecx
push eax
lea ecx, [ebp - 0x258]
push ecx
call fcn.0040f960
add esp, 0x14
lea edx, [ebp - 0x254]
push edx
push 0x20019
push 0
push str.SoftwareAdobeAcrobatExe
push 0x80000000
mov dword [ebp - 0x254], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x44fa16
cmp dword [ebp - 0x220], ebx
jb 0x44fa0b
mov eax, dword [ebp - 0x234]
push eax
call fcn.00406ec9
add esp, 4
xor al, al
jmp 0x44fb71
mov ecx, edx
jmp 0x44f998
push 0x208
lea ecx, [ebp - 0x218]
push 0
push ecx
call fcn.004e15a0
add esp, 0xc
lea edx, [ebp - 0x25c]
push edx
mov edx, dword [ebp - 0x254]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x260]
push ecx
push 0
push 0
push edx
mov dword [ebp - 0x25c], 0x206
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov eax, dword [ebp - 0x254]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x44fa8d
cmp dword [ebp - 0x220], ebx
jb 0x44fa0b
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.00406ec9
add esp, 4
xor al, al
jmp 0x44fb71
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x250]
call fcn.00408940
mov esi, dword [ebp - 0x23c]
mov edi, dword [ebp - 0x250]
mov byte [ebp - 4], 1
mov edx, edi
cmp esi, ebx
jae 0x44fb8d
lea edx, [ebp - 0x250]
mov eax, edx
mov ecx, dword [ebp - 0x240]
lea eax, [eax + ecx*2]
mov ecx, edi
cmp esi, ebx
jae 0x44fad6
lea ecx, [ebp - 0x250]
cmp ecx, eax
je 0x44fafd
push fcn.0040f9a4
push edx
push eax
push ecx
lea edx, [ebp - 0x258]
push edx
call fcn.0040f960
mov esi, dword [ebp - 0x23c]
mov edi, dword [ebp - 0x250]
add esp, 0x14
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], ebx
jae 0x44fb11
lea eax, [ebp - 0x234]
mov ecx, dword [ebp - 0x224]
push ecx
push 0
push eax
lea ecx, [ebp - 0x250]
call fcn.0040a410
cmp eax, 0xffffffff
setne bl
cmp esi, 8
jb 0x44fb3a
push edi
call fcn.00406ec9
add esp, 4
xor edx, edx
cmp dword [ebp - 0x220], 8
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], dx
jb 0x44fb6f
mov eax, dword [ebp - 0x234]
push eax
call fcn.00406ec9
add esp, 4
mov al, bl
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.00401316
mov esp, ebp
pop ebp
ret
mov eax, edi
jmp 0x44fac1
Function at 0x451ac0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x451b88
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004e15a0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
jle 0x451b88
cmp eax, 0x103
jae 0x451b88
lea edx, [ebp - 0x20c]
push str.STATIC
push edx
call fcn.004086e6
add esp, 8
test eax, eax
jne 0x451b88
push 0x208
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.004e15a0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x414]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x451b88
cmp eax, 0x103
jae 0x451b88
lea edx, [ebp - 0x414]
push str.swBrowser
push edx
call fcn.004086e6
add esp, 8
test eax, eax
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
pop esi
call fcn.00401316
mov esp, ebp
pop ebp
ret 4

Function at 0x452500
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x45251b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x452552
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x45254e
jmp 0x452540
cmp esi, eax
jae 0x452552
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x452540
cmp esi, eax
jb 0x452559
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x452950
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501d78
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x54e938]
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 eax, dword [0x550354]
test eax, eax
jne 0x452a11
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathW]
push eax
push eax
call ebx
mov esi, eax
test esi, esi
je 0x452a08
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
push 0x551c20
neg ecx
or ecx, eax
push ecx
call fcn.0041867c
mov edi, eax
add esp, 8
test edi, edi
je 0x452a08
lea eax, [esi + esi + 2]
push eax
push 0
push edi
call fcn.004e15a0
add esp, 0xc
push edi
push esi
call ebx
test eax, eax
je 0x4529ff
cmp eax, esi
ja 0x4529ff
push edi
lea ecx, [ebp - 0x2c]
call fcn.00408940
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 4], 0
call fcn.00429530
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.0040a2c0
push edi
call fcn.004188d7
add esp, 4
mov eax, dword [0x550354]
test eax, eax
je 0x452a1b
cmp dword [eax + 0x14], 8
jb 0x452a1d
mov eax, dword [eax]
jmp 0x452a1d
xor eax, eax
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.00401316
mov esp, ebp
pop ebp
ret