joyce8/EMBER2024-capa huggingface dataset:
Function at 0x470850
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x18], ecx
cmp dword [ebp + 8], 0
je 0x470868
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x30], ecx
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.0045e610
test eax, eax
jne 0x4708a0
push 0
push ecx
mov ecx, esp
push 0
call fcn.0048dbd0
push 0
push 0
push 0x507484
push ecx
mov ecx, esp
push 0
call fcn.0048dbd0
push 0xfffffffffffffffd
mov ecx, dword [ebp - 0x18]
call fcn.00474d60
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x28], 0
jne 0x4708cb
mov eax, dword [ebp - 0x18]
add eax, 0x2c
push eax
push 0
mov ecx, dword [ebp - 0x18]
push ecx
push 0x470800
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x28], eax
push SysReAllocString
mov ecx, dword [ebp - 0x18]
add ecx, 0x58
call fcn.004747d0
movzx eax, al
test eax, eax
jne 0x4708e9
xor al, al
jmp 0x470a13
mov ecx, dword [ebp - 0x18]
add ecx, 0x35
call fcn.00435060
movzx ecx, al
test ecx, ecx
jne 0x470902
xor al, al
jmp 0x470a13
push SysReAllocString
mov ecx, dword [ebp - 0x18]
add ecx, 0x84
call fcn.00434940
movzx edx, al
test edx, edx
jne 0x470923
xor al, al
jmp 0x470a13
push str.Q360BrowseringProtectionClass
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0xa8
call fcn.0048ba70
movzx edx, al
test edx, edx
jne 0x47094b
xor al, al
jmp 0x470a13
lea eax, [ebp - 0x14]
push eax
call fcn.0047cac0
add esp, 4
mov ecx, eax
call fcn.004466b0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x14]
call fcn.00426ca0
cmp dword [ebp - 8], 0
je 0x4709a6
push 0x5074c4
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0xe8], eax
push 0x5074e0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0xec], eax
mov ecx, dword [ebp - 0x18]
call fcn.004733f0
movzx edx, al
test edx, edx
je 0x4709dc
mov ecx, dword [ebp - 0x18]
call fcn.00473860
movzx eax, al
test eax, eax
je 0x4709dc
mov ecx, dword [ebp - 0x18]
call fcn.00472410
movzx ecx, al
test ecx, ecx
je 0x4709dc
mov dword [ebp - 0x1c], 1
jmp 0x4709e3
mov dword [ebp - 0x1c], 0
mov dl, byte [ebp - 0x1c]
mov byte [ebp - 1], dl
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.0045e610
test eax, eax
je 0x470a09
movzx eax, byte [ebp - 1]
test eax, eax
je 0x470a09
mov dword [ebp - 0x20], 1
jmp 0x470a10
mov dword [ebp - 0x20], 0
mov al, byte [ebp - 0x20]
mov esp, ebp
pop ebp
ret 4
Function at 0x471b40
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x526b8c]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x99], 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x471b7b
mov al, byte [ebp - 0x99]
jmp 0x471c49
mov edx, dword [ebp - 8]
push edx
call fcn.004dfd0e
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x471c37
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0x5076f4
mov edx, dword [ebp - 0x10]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x471c37
cmp dword [ebp + 0xc], 0
je 0x471c37
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
and ecx, 0xffff
movzx edx, cx
push edx
push 0x507728
push 0x80
lea eax, [ebp - 0x98]
push eax
call fcn.00433900
add esp, 0x14
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x471c37
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0041a760
test eax, eax
jl 0x471c37
mov byte [ebp - 0x99], 1
mov edx, dword [ebp - 0x10]
push edx
call fcn.004df07a
add esp, 4
mov al, byte [ebp - 0x99]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004def73
mov esp, ebp
pop ebp
ret
Function at 0x473be0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x526b8c]
xor eax, ebp
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x214]
call fcn.0041b9b0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.004df000
add esp, 0xc
push 0
push 0x1a
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x473c56
lea eax, [ebp - 0x214]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041b9d0
lea ecx, [ebp - 0x214]
call fcn.00426ca0
mov eax, dword [ebp + 8]
jmp 0x473d26
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x214]
call fcn.0041bb30
call fcn.00492fa0
test eax, eax
je 0x473cbd
push 0
push str.Roaming
lea ecx, [ebp - 0x214]
call fcn.0042d8e0
push eax
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x214]
call int.00433520
push eax
lea ecx, [ebp - 0x214]
call fcn.0042d690
lea ecx, [ebp - 0x218]
call fcn.00426ca0
push str.LocalLow
lea ecx, [ebp - 0x214]
call fcn.0041bb70
push str.MicrosoftInternet_ExplorerServices_
lea ecx, [ebp - 0x214]
call fcn.0041bb70
lea ecx, [ebp - 0x214]
call fcn.004466b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x473d09
lea eax, [ebp - 0x214]
push eax
call fcn.0047dd80
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x473d09
push 0x507aa8
lea ecx, [ebp - 0x214]
call fcn.0041bb30
lea edx, [ebp - 0x214]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041b9d0
lea ecx, [ebp - 0x214]
call fcn.00426ca0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004def73
mov esp, ebp
pop ebp
ret

Function at 0x47ca90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ebp
ret 0x18

Function at 0x47dd30
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
jne 0x47dd3e
xor al, al
jmp 0x47dd77
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x47dd69
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x47dd65
mov al, 1
jmp 0x47dd77
xor al, al
jmp 0x47dd77
mov edx, dword [ebp - 4]
and edx, 0x10
je 0x47dd75
mov al, 1
jmp 0x47dd77
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x47e120
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x526b8c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041b9d0
lea ecx, [ebp - 0x20]
call fcn.00403a00
mov byte [ebp - 0x25], 0
mov dword [ebp - 0x24], 0xffffffff
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x2c]
call fcn.004466b0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x47e17e
jmp 0x47e246
push 0
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
ja 0x47e198
jmp 0x47e246
push 0x52b834
mov edx, dword [ebp - 0x30]
push edx
call fcn.004e329b
add esp, 8
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x47e1bd
jmp 0x47e246
mov dword [ebp - 0x34], 0
push 0
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x47e221
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x34]
jne 0x47e221
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x54]
call fcn.004129f0
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x74]
push eax
call fcn.0047ddd0
add esp, 8
push eax
lea ecx, [ebp - 0x20]
call fcn.00408260
lea ecx, [ebp - 0x74]
call fcn.00403b00
lea ecx, [ebp - 0x54]
call fcn.00403b00
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x78]
push edx
call fcn.004dfb51
add esp, 4
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x25], 1
xor eax, eax
jne 0x47e14f
cmp dword [ebp - 0x24], 0xffffffff
je 0x47e25d
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], 0
movzx edx, byte [ebp - 0x25]
test edx, edx
je 0x47e271
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00408260
mov cl, byte [ebp - 0x25]
mov byte [ebp - 0x79], cl
lea ecx, [ebp - 0x20]
call fcn.00403b00
lea ecx, [ebp - 0x2c]
call fcn.00426ca0
mov al, byte [ebp - 0x79]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004def73
mov esp, ebp
pop ebp
ret

Function at 0x47ea10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
cmp dword [ebp + 8], 0
je 0x47ea2b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov dword [eax + 0xb8], ecx
push 0
push 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
push 0x47e2a0
push 0
push 0
call fcn.004e33a7
add esp, 0x18
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x47ea61
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x48ba70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
cmp dword [ebp + 8], 0
je 0x48ba88
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x28], ecx
cmp dword [ebp + 0xc], 0
je 0x48ba9d
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0xc]
add ecx, 0x3c
call fcn.0041bb30
mov ecx, dword [ebp - 0xc]
add ecx, 4
call fcn.0045e610
test eax, eax
jne 0x48bad5
push 0
push ecx
mov ecx, esp
push 0
call fcn.0048dbd0
push 0
push 0
push 0x507dc8
push ecx
mov ecx, esp
push 0
call fcn.0048dbd0
push 0xfffffffffffffffd
mov ecx, dword [ebp - 0xc]
call fcn.0048ca20
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x2c], 0
jne 0x48bb00
mov ecx, dword [ebp - 0xc]
add ecx, 0x30
push ecx
push 0
mov edx, dword [ebp - 0xc]
push edx
push 0x48ba20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x2c], eax
mov ecx, dword [ebp - 0xc]
call fcn.0048bb10
mov esp, ebp
pop ebp
ret 8

Function at 0x48c420
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea ecx, [ebp + 8]
call fcn.00433430
shl eax, 1
push eax
lea ecx, [ebp + 8]
call fcn.004466b0
push eax
push 1
push 0x507e7c
push 0x507e98
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 1], al
lea ecx, [ebp + 8]
call fcn.00426ca0
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x48c470
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0x507ecc
push 0x507ee8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
neg eax
sbb eax, eax
add eax, 1
pop ebp
ret

Function at 0x48c4a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x526b8c]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 1
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.004df000
add esp, 0xc
mov dword [ebp - 8], 0x208
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 4]
push ecx
push str.YandexHandler
push 0x507f38
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x48c51b
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041bb30
mov al, 1
jmp 0x48c51d
xor al, al
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004def73
mov esp, ebp
pop ebp
ret

Function at 0x48c530
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
push 4
lea ecx, [ebp - 4]
push ecx
push 4
push 0x507f6c
push 0x507f8c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
sbb eax, eax
add eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x48c570
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0x507fc0
push 0x507fe0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
neg eax
sbb eax, eax
add eax, 1
pop ebp
ret
Function at 0x48c5a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 4
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 4]
push edx
push str.YandexLastCode
push 0x508034
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
neg eax
sbb eax, eax
add eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x491e40
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
test eax, eax
jne 0x491e5e
xor eax, eax
jmp 0x491f44
mov dword [ebp - 0x14], 1
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jne 0x491e80
mov eax, 1
jmp 0x491f44
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
je 0x491f37
push 1
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
je 0x491ed7
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetActiveWindow]
jmp 0x491f25
mov edx, dword [ebp - 0x10]
push edx
call fcn.00491d90
add esp, 4
test eax, eax
je 0x491f1e
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
je 0x491f0f
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetActiveWindow]
test eax, eax
je 0x491f0d
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x491f16
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_FreeConsole]
jmp 0x491f25
mov dword [ebp - 0x14], 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
jmp 0x491f41
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret

Function at 0x491f50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x526b8c]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x108], 0
push 0xff
push 0
lea eax, [ebp - 0x107]
push eax
call fcn.004df000
add esp, 0xc
mov dword [ebp - 0x10c], 0
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x491fc2
movzx edx, byte [ebp - 0xf6]
and edx, 0x80
jne 0x491fc2
push 0
push 1
push 0
push 0x12
call dword [sym.imp.USER32.dll_keybd_event]
mov dword [ebp - 0x10c], 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x10c], 0
je 0x491fe9
push 0
push 3
push 0
push 0x12
call dword [sym.imp.USER32.dll_keybd_event]
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004def73
mov esp, ebp
pop ebp
ret
Function at 0x492fa0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x526b8c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 0x114
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x492ffd
cmp dword [ebp - 0x11c], 6
jae 0x492fdd
xor eax, eax
jmp 0x492fff
cmp dword [ebp - 0x11c], 6
jne 0x492ff6
cmp dword [ebp - 0x118], 0
sbb eax, eax
add eax, 1
jmp 0x492fff
mov eax, 1
jmp 0x492fff
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004def73
mov esp, ebp
pop ebp
ret

Function at 0x4934d0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2018
call fcn.004dfb60
mov eax, dword [0x526b8c]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ebp + 8], 0
jne 0x4934f4
xor al, al
jmp 0x4935b3
mov byte [ebp - 0x2010], 0
push 0x1fff
push 0
lea eax, [ebp - 0x200f]
push eax
call fcn.004df000
add esp, 0xc
mov dword [ebp - 8], 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x493537
cmp dword [ebp - 0xc], 0x1fff
jbe 0x49353b
xor al, al
jmp 0x4935b3
mov byte [ebp - 1], 0
lea eax, [ebp - 0x2010]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4935b0
mov dword [ebp - 0x2014], 0
mov dword [ebp - 0x2018], 0
lea eax, [ebp - 0x2018]
push eax
lea ecx, [ebp - 0x2014]
push ecx
push 0x508a08
lea edx, [ebp - 0x2010]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4935b0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x2014]
mov edx, dword [ecx + 8]
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x2014]
mov edx, dword [ecx + 0xc]
mov dword [eax], edx
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004def73
mov esp, ebp
pop ebp
ret
Function at 0x493680
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x526b8c]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x9c], 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4936be
mov eax, dword [ebp - 0x9c]
jmp 0x49378f
mov edx, dword [ebp - 8]
push edx
call fcn.004dfd0e
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x49377d
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0x508a24
mov edx, dword [ebp - 0x10]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x49377d
cmp dword [ebp + 0xc], 0
je 0x49377d
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
and ecx, 0xffff
movzx edx, cx
push edx
push str.StringFileInfo_04x_04xProductName
push 0x80
lea eax, [ebp - 0x98]
push eax
call fcn.00433900
add esp, 0x14
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x49377d
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0041a760
test eax, eax
jl 0x49377d
mov dword [ebp - 0x9c], 1
mov edx, dword [ebp - 0x10]
push edx
call fcn.004df07a
add esp, 4
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004def73
mov esp, ebp
pop ebp
ret

Function at 0x493900
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2018
call fcn.004dfb60
mov eax, dword [0x526b8c]
xor eax, ebp
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x493936
cmp dword [ebp - 8], 0x1fff
jbe 0x49393a
xor eax, eax
jmp 0x49399d
lea edx, [ebp - 0x2010]
push edx
mov eax, dword [ebp - 8]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x49399b
lea edx, [ebp - 0x2018]
push edx
lea eax, [ebp - 0x2014]
push eax
push 0x508ac0
lea ecx, [ebp - 0x2010]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x49399b
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x2014]
mov ecx, dword [eax + 0xc]
mov dword [edx], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x2014]
mov ecx, dword [eax + 8]
mov dword [edx + 4], ecx
mov eax, 1
jmp 0x49399d
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004def73
mov esp, ebp
pop ebp
ret
Function at 0x4943a0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4943d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4943d6
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4943d9
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret