joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e5b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x4672b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x210]
push eax
push 0x1a
push edi
mov dword [ebp - 0x210], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x41e687
push esi
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 0x210]
mov esi, eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
test esi, esi
pop esi
je 0x41e687
lea eax, [ebp - 0x20c]
push str.MicrosoftInternet_ExplorerQuick_Launch
push eax
push eax
call fcn.00421dd0
add esp, 0xc
test al, al
je 0x41e687
push dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push ebx
push eax
push eax
push edi
call fcn.0041e6a0
add esp, 0x20
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428d9d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.00428d9d
mov esp, ebp
pop ebp
ret

Function at 0x41ebc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x4672b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x41c], eax
xor eax, eax
mov word [ebp - 0x20c], ax
mov dword [ebp - 0x418], eax
lea eax, [ebp - 0x418]
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push eax
mov eax, dword [0x4725a0]
and eax, 0x40000
neg eax
sbb eax, eax
and eax, 0x15
add eax, 2
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x41ec86
push esi
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 0x418]
mov esi, eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
test esi, esi
pop esi
je 0x41ec86
cmp word [edi], 0
lea eax, [ebp - 0x20c]
je 0x41ec98
push edi
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.00421dd0
add esp, 0xc
test al, al
jne 0x41ecad
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428d9d
mov esp, ebp
pop ebp
ret
push eax
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0042f9f7
add esp, 0xc
push dword [ebp - 0x41c]
lea eax, [ebp - 0x20c]
push dword [ebp - 0x420]
push dword [ebp - 0x424]
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push eax
lea eax, [ebp - 0x414]
push eax
push ebx
call fcn.0041e6a0
mov ecx, dword [ebp - 4]
add esp, 0x20
xor ecx, ebp
pop edi
pop ebx
call fcn.00428d9d
mov esp, ebp
pop ebp
ret
Function at 0x41ed00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x4672b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x210]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push eax
mov eax, dword [0x4725a0]
and eax, 0x40000
mov dword [ebp - 0x210], 0
neg eax
sbb eax, eax
and eax, 0xb
add eax, 0xb
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x41edd1
push esi
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 0x210]
mov esi, eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
test esi, esi
pop esi
je 0x41edd1
push dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push ebx
push eax
push eax
push edi
call fcn.0041e6a0
add esp, 0x20
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428d9d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.00428d9d
mov esp, ebp
pop ebp
ret

Function at 0x41edf0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x4672b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x210]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push eax
mov eax, dword [0x4725a0]
and eax, 0x40000
mov dword [ebp - 0x210], 0
neg eax
sbb eax, eax
and eax, 0x11
add eax, 7
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x41eec1
push esi
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 0x210]
mov esi, eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
test esi, esi
pop esi
je 0x41eec1
push dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push ebx
push eax
push eax
push edi
call fcn.0041e6a0
add esp, 0x20
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428d9d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.00428d9d
mov esp, ebp
pop ebp
ret
Function at 0x41f670
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call fcn.0041f6d0
add esp, 4
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41f697
test al, 0x10
je 0x41f697
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x41f6a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call fcn.0041f6d0
add esp, 4
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41f6c7
test al, 0x10
jne 0x41f6c7
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x41f6d0
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x4672b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov ecx, edx
push esi
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41f6f0
sub ecx, esi
sar ecx, 1
cmp ecx, 7
jb 0x41f7b0
cmp word [edx], 0x5c
jne 0x41f7b0
cmp word [edx + 2], 0x5c
jne 0x41f7b0
push ebx
push edi
push edx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0042f9f7
mov edi, dword [sym.imp.SHLWAPI.dll_PathFindNextComponentW]
lea eax, [ebp - 0x20c]
add esp, 0xc
push eax
call edi
mov ebx, eax
test ebx, ebx
je 0x41f7ae
push ebx
call edi
mov esi, eax
test esi, esi
je 0x41f7ae
push esi
call edi
test eax, eax
je 0x41f7ae
xor ecx, ecx
push esi
mov word [esi - 2], cx
push ebx
mov word [eax - 2], cx
lea eax, [ebp - 0x20c]
push str._s_s
push eax
call fcn.004012b0
add esp, 0x10
lea eax, [ebp - 0x20c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x21c], xmm0
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x22c]
push 8
push 0
push 0
push eax
push dword [0x4698a8]
movups xmmword [ebp - 0x22c], xmm0
call sub.MPR.dll_WNetAddConnection3W
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00428d9d
mov esp, ebp
pop ebp
ret
Function at 0x41fd10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4672b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push edi
push esi
mov dword [ebp - 0x214], esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor ebx, ebx
test eax, eax
setns bl
test eax, eax
jns 0x41fdff
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 0x210]
push eax
push edi
push esi
call ebx
test eax, eax
jne 0x41fda4
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 0x210]
mov esi, eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
test esi, esi
je 0x41fd9e
mov ebx, 1
jmp 0x41fe03
mov esi, dword [ebp - 0x214]
cmp edi, 0x24
je 0x41fdb8
cmp edi, 0x25
je 0x41fdb8
cmp edi, 0x26
je 0x41fdb8
cmp edi, 0x2b
jne 0x41fdec
lea eax, [ebp - 0x210]
push eax
push edi
push esi
call ebx
test eax, eax
jne 0x41fdec
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 0x210]
mov esi, eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
test esi, esi
jne 0x41fd97
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428d9d
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x41fe1d
lea eax, [ebp - 0x20c]
push eax
push 0x104
push dword [ebp - 0x218]
call fcn.0042f9f7
add esp, 0xc
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00428d9d
mov esp, ebp
pop ebp
ret

Function at 0x421e60
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4672b4]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x421edc
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
push 0x450450
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x421eaa
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x421edc
push 0
push 0
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push 0
push dword [ebp - 0x18]
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x421ef8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428d9d
mov esp, ebp
pop ebp
ret
push 0
push 0x450450
push str.SeShutdownPrivilege
call fcn.00421cf0
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
mov eax, 1
call fcn.00428d9d
mov esp, ebp
pop ebp
ret
Function at 0x422710
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ea20
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x4672b4]
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 dword [ebp - 0x228], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x224], eax
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 0x220], esi
push edi
push 0x104
lea eax, [ebp - 0x21c]
push eax
call fcn.0042f9f7
add esp, 0xc
lea eax, [ebp - 0x22c]
push eax
push esi
push dword [ebp - 0x228]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jns 0x422799
xor eax, eax
jmp 0x42287a
xorps xmm0, xmm0
movups xmmword [ebp - 0x24c], xmm0
movups xmmword [ebp - 0x23c], xmm0
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x244], edi
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], 1
mov dword [ebp - 0x230], 0xffffffff
mov dword [ebp - 0x238], 0x421da0
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov dword [ebp - 0x224], eax
test eax, eax
je 0x422844
push edi
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov esi, eax
mov dword [ebp - 0x220], esi
push dword [ebp - 0x224]
mov edi, dword [sym.imp.ole32.dll_CoTaskMemFree]
call edi
push dword [ebp - 0x22c]
call edi
mov dword [ebp - 4], 0xffffffff
jmp 0x422878
mov edi, dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [ebp - 0x22c]
call edi
mov dword [ebp - 4], 0xffffffff
jmp 0x422878
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 - 0x14]
xor ecx, ebp
call fcn.00428d9d
mov esp, ebp
pop ebp
ret
Function at 0x4228f0
Capabilities:
Get session user name
List groups for user account

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ea5b
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x4672b4]
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
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x238], 0
push eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x23c], 0x100
push eax
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x422977
lea eax, [ebp - 0x238]
push eax
push 1
lea eax, [ebp - 0x210]
push eax
push 0
call sub.NETAPI32.dll_NetUserGetInfo
test eax, eax
jne 0x422977
mov eax, dword [ebp - 0x238]
cmp dword [eax + 0xc], 2
je 0x422b10
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x22c], 0
push eax
push 1
push 0
mov dword [ebp - 0x234], 0
call sub.NETAPI32.dll_NetWkstaUserGetInfo
test eax, eax
jne 0x422ad5
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], 7
mov word [ebp - 0x228], ax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x22c]
mov edx, dword [eax + 4]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4229d7
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x228]
call fcn.004178e0
push 1
push 0x450454
lea ecx, [ebp - 0x228]
call fcn.004088e0
mov eax, dword [ebp - 0x22c]
mov edx, dword [eax]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422a12
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x228]
call fcn.004088e0
cmp dword [ebp - 0x214], 8
lea ecx, [ebp - 0x240]
push ecx
lea ecx, [ebp - 0x230]
push ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x234]
push ecx
push 1
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push 0
push eax
push 0
call sub.NETAPI32.dll_NetUserGetLocalGroups
test eax, eax
jne 0x422ab4
mov eax, dword [ebp - 0x230]
xor edi, edi
mov esi, dword [ebp - 0x234]
test eax, eax
je 0x422aa9
nop dword [eax + eax]
test esi, esi
je 0x422a9d
push str.Administrators
push dword [esi]
call fcn.0042fd77
add esp, 8
test eax, eax
je 0x422aa7
mov eax, dword [ebp - 0x230]
inc edi
add esi, 4
cmp edi, eax
jb 0x422a80
jmp 0x422aa9
mov bl, 1
push dword [ebp - 0x234]
call sub.NETAPI32.dll_NetApiBufferFree
push dword [ebp - 0x22c]
call sub.NETAPI32.dll_NetApiBufferFree
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.00403400
test bl, bl
jne 0x422b17
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x230]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.System
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x422b17
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
movzx eax, al
jmp 0x422b1a
movzx eax, 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.00428d9d
mov esp, ebp
pop ebp
ret
Function at 0x422c00
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x4672b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x18]
xor ebx, ebx
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x224]
push eax
push 0x4532bc
push 1
push ebx
push 0x4532ec
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x422d84
mov ecx, dword [ebp - 0x224]
lea edx, [ebp - 0x228]
push edx
push 0x4532dc
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
js 0x422d78
mov eax, dword [ebp - 0x224]
mov ebx, dword [ebp - 0x22c]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov edx, dword [ebp - 0x230]
test edx, edx
je 0x422caa
cmp word [edx], 0
je 0x422caa
mov eax, dword [ebp - 0x224]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push ebx
lea eax, [ebp - 0x220]
push 0x10e
push eax
call fcn.0042f9f7
lea eax, [ebp - 0x220]
push eax
call fcn.0041fe90
lea ecx, [ebp - 0x220]
add esp, 0x10
cmp eax, ecx
je 0x422cfa
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
mov eax, dword [ebp - 0x224]
lea edx, [ebp - 0x220]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test esi, esi
je 0x422d11
cmp word [esi], 0
je 0x422d11
mov eax, dword [ebp - 0x224]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test edi, edi
je 0x422d51
cmp word [edi], 0
je 0x422d51
push edi
lea eax, [ebp - 0x220]
push 0x10e
push eax
call fcn.0042f9f7
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathParseIconLocationW]
mov ecx, dword [ebp - 0x224]
push eax
lea eax, [ebp - 0x220]
push eax
mov edx, dword [ecx]
push ecx
call dword [edx + 0x44]
mov ecx, dword [ebp - 0x228]
push 1
push dword [ebp - 0x234]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x18]
xor ebx, ebx
test eax, eax
mov eax, dword [ebp - 0x228]
push eax
setns bl
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x224]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00428d9d
mov esp, ebp
pop ebp
ret
Function at 0x422f40
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [0x4672b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0xe0]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
push ebx
call fcn.00438041
mov esi, eax
add esp, 4
test esi, esi
jne 0x422f91
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428d9d
mov esp, ebp
pop ebp
ret
push esi
push ebx
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x42301a
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xd4]
push eax
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
test edi, edi
je 0x423032
mov ecx, dword [ebp - 0xd4]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
lea eax, [ebp - 0xcc]
push str.StringFileInfo_04x_04xFileVersion
push eax
call fcn.00421290
add esp, 0x10
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xcc]
push eax
push esi
call sub.VERSION.dll_VerQueryValueW
push dword [ebp - 0xdc]
push dword [ebp + 0x10]
push dword [ebp - 0xd0]
call fcn.0042f9f7
add esp, 0xc
mov edi, 1
jmp 0x423032
push str.0.00
push dword [ebp + 0x10]
push dword [ebp - 0xd0]
call fcn.0042f9f7
add esp, 0xc
xor edi, edi
push esi
call fcn.00430f8f
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, edi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00428d9d
mov esp, ebp
pop ebp
ret

Function at 0x423410
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4672b4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x4a55bb], 0
je 0x423441
movzx eax, byte [0x4a55bc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428d9d
mov esp, ebp
pop ebp
ret
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.0042a3f0
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x423480
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428d9d
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x110], 2
jne 0x4234ab
mov eax, dword [ebp - 0x11c]
cmp eax, 6
jbe 0x423498
mov al, 1
jmp 0x4234b4
jne 0x4234ab
cmp dword [ebp - 0x118], 1
setae al
mov byte [0x4a55bc], al
jmp 0x4234b0
mov al, byte [0x4a55bc]
test al, al
je 0x4234c5
xor ecx, ecx
movzx eax, al
cmp byte [ebp - 6], 1
cmovne eax, ecx
mov byte [0x4a55bc], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov byte [0x4a55bb], 1
movzx eax, al
call fcn.00428d9d
mov esp, ebp
pop ebp
ret
Function at 0x423bb0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x4672b4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x4a55b3], 0
je 0x423be1
movzx eax, byte [0x4a55b4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428d9d
mov esp, ebp
pop ebp
ret
push esi
push str.Kernel32
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x423c04
push str.IsWow64Process
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
cmovne esi, eax
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.0042a3f0
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x423c44
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428d9d
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x110], 2
jne 0x423c9d
mov eax, dword [ebp - 0x11c]
cmp eax, 5
ja 0x423c94
jne 0x423c9d
mov eax, dword [ebp - 0x118]
cmp eax, 2
ja 0x423c94
jne 0x423c9d
test esi, esi
je 0x423c9d
lea eax, [ebp - 0x124]
mov dword [ebp - 0x124], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [ebp - 0x124], 0
je 0x423c94
cmp byte [ebp - 6], 1
je 0x423c9d
mov al, 1
mov byte [0x4a55b4], al
jmp 0x423ca2
mov al, byte [0x4a55b4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov byte [0x4a55b3], 1
movzx eax, al
pop esi
call fcn.00428d9d
mov esp, ebp
pop ebp
ret

Function at 0x423cc0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4672b4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x4a55c1], 0
je 0x423cf1
movzx eax, byte [0x4a55c2]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428d9d
mov esp, ebp
pop ebp
ret
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.0042a3f0
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x423d30
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428d9d
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x110], 2
jne 0x423d53
cmp dword [ebp - 0x11c], 6
jne 0x423d53
cmp dword [ebp - 0x118], 0
sete al
mov byte [0x4a55c2], al
jmp 0x423d58
mov al, byte [0x4a55c2]
test al, al
je 0x423d6d
xor ecx, ecx
movzx eax, al
cmp byte [ebp - 6], 1
cmove eax, ecx
mov byte [0x4a55c2], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov byte [0x4a55c1], 1
movzx eax, al
call fcn.00428d9d
mov esp, ebp
pop ebp
ret