joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f65a
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x4c6260]
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]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
call fcn.0040eeb3
mov ebx, eax
cmp ebx, esi
je 0x40f6cb
lea ecx, [ebp - 0x214]
call fcn.0040ee30
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00461ffa
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x40f6e9
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x214]
call fcn.0040f65a
cmp eax, esi
jne 0x40f730
lea eax, [ebp - 0x220]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x208], 0x100
call ebx
test eax, eax
je 0x40f6d3
lea ecx, [ebp - 0x214]
call fcn.0040ee30
push dword [ebp - 0x218]
mov ecx, edi
call fcn.0040edae
lea ecx, [ebp - 0x214]
mov esi, eax
call fcn.0040ee30
mov eax, esi
jmp 0x40f6ba
Function at 0x411264
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x4c6260]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x802]
push eax
call fcn.00461390
add esp, 0xc
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x808]
push eax
push str.Path
xor edi, edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
inc edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x808], edi
mov dword [ebp - 0x80c], 0x800
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x411327
push str.360ver.dll
lea eax, [ebp - 0x804]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x411327
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.004100e0
mov esi, eax
pop ecx
test esi, esi
je 0x411326
push str.IsBetaVersion
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.00461ffa
leave
ret

Function at 0x411336
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.00462010
mov eax, dword [0x4c6260]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x1000
xor ebx, ebx
lea eax, [ebp - 0x1004]
push ebx
push eax
call fcn.00461390
add esp, 0xc
push 0x49bed0
mov esi, 0x800
push esi
lea eax, [ebp - 0x1004]
push eax
call fcn.0040e35c
push edi
push esi
lea eax, [ebp - 0x1004]
push eax
call fcn.0040e35c
push 0x49bea4
push esi
lea eax, [ebp - 0x1004]
push eax
call fcn.0040e35c
push edi
push esi
lea eax, [ebp - 0x1004]
push eax
call fcn.0040e35c
push str.vL
push esi
lea eax, [ebp - 0x1004]
push eax
call fcn.0040e35c
push dword [ebp + 8]
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.0040e35c
push 0x49be60
push esi
lea eax, [ebp - 0x1004]
push eax
call fcn.0040e35c
push 0x14
push edi
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, eax
cmp esi, 6
jne 0x411433
call fcn.0040d6a2
test eax, eax
je 0x41141e
call fcn.00411264
test eax, eax
je 0x41141e
push 5
push ebx
push ebx
push 0x4bd358
jmp 0x411427
push 5
push ebx
push ebx
push 0x4bd1c0
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp + 0x10], ebx
je 0x41143e
push ebx
call fcn.00462c0c
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00461ffa
leave
ret

Function at 0x41144f
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call fcn.004100a2
pop ecx
test eax, eax
je 0x411464
xor eax, eax
inc eax
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x411483
push 1
push 0x4bd028
push dword [ebp + 8]
call fcn.00411336
add esp, 0xc
xor eax, eax
pop ebp
ret
Function at 0x412a3b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x49383a
call fcn.004626ff
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x41c], eax
cmp eax, esi
jne 0x412a94
call fcn.0040eb65
mov esi, eax
jmp 0x412b6a
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x412aad
call fcn.0040eb65
jmp 0x412b5c
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, esi
je 0x412aa3
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x424], edi
cmp eax, edi
jae 0x412ae7
mov esi, 0x8007000e
jmp 0x412b5e
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.00410272
mov dword [ebp - 4], 1
jmp 0x412b15
cmp dword [ebp - 0x418], esi
je 0x412ae0
push edi
push dword [ebp - 0x418]
push edi
push dword [ebp - 0x420]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x412aa3
mov edx, dword [ebp - 0x418]
push dword [ebp + 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
push dword [ebp - 0x418]
lea ecx, [ebp - 0x42c]
call fcn.00411805
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x412b83
lea ecx, [ebp - 0x418]
call fcn.0040f5b5
mov eax, esi
call fcn.0046275b
ret 0x10
Function at 0x4139a5
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xa30
mov eax, 0x493b2d
call fcn.004626c9
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa24], eax
xor edi, edi
mov dword [ebp - 0xa1c], edi
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
xor ebx, ebx
lea eax, [ebp - 0x216]
push edi
inc ebx
push eax
mov esi, ecx
mov dword [ebp - 0xa34], ebx
mov dword [ebp - 0xa30], 0x104
call fcn.00461390
add esp, 0xc
cmp dword [ebp + 0xc], edi
jne 0x413a08
mov eax, dword [esi]
cmp dword [eax - 8], edi
jne 0x413be0
cmp dword [esi + 0xc], edi
je 0x413a44
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
lea edx, [ebp - 0xa30]
push edx
lea edx, [ebp - 0x218]
push edx
lea edx, [ebp - 0xa34]
push edx
push eax
push ecx
push dword [esi + 0x10]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x218]
push eax
call fcn.00461f93
pop ecx
test eax, eax
jne 0x413a57
lea eax, [ebp - 0x218]
push str.configdefaultskin
push eax
call fcn.00463101
pop ecx
pop ecx
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.00411a2b
push ebx
push 0x5c
lea ecx, [ebp - 0xa2c]
call fcn.0040fe3f
push 2
mov dword [ebp - 4], edi
pop edi
push ebx
lea eax, [ebp - 0xa38]
push eax
mov ecx, esi
mov dword [ebp - 0xa1c], edi
call fcn.00413130
lea ecx, [ebp - 0xa2c]
push ecx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xa1c], 6
call fcn.0040e321
test al, al
jne 0x413af8
push ebx
push 0x2f
lea ecx, [ebp - 0xa28]
call fcn.0040fe3f
push ebx
lea eax, [ebp - 0xa3c]
push eax
mov ecx, esi
mov dword [ebp - 4], edi
mov dword [ebp - 0xa1c], 0xe
call fcn.00413130
lea ecx, [ebp - 0xa28]
push ecx
push eax
mov dword [ebp - 0xa1c], 0x1e
call fcn.0040e321
mov byte [ebp - 0xa1d], 0
test al, al
je 0x413afe
mov byte [ebp - 0xa1d], bl
test byte [ebp - 0xa1c], 0x10
je 0x413b19
and dword [ebp - 0xa1c], 0xffffffef
lea ecx, [ebp - 0xa3c]
call fcn.0040e14c
test byte [ebp - 0xa1c], 8
je 0x413b34
and dword [ebp - 0xa1c], 0xfffffff7
lea ecx, [ebp - 0xa28]
call fcn.0040e14c
test byte [ebp - 0xa1c], 4
je 0x413b4f
and dword [ebp - 0xa1c], 0xfffffffb
lea ecx, [ebp - 0xa38]
call fcn.0040e14c
or dword [ebp - 4], 0xffffffff
test byte [ebp - 0xa1c], 2
je 0x413b67
lea ecx, [ebp - 0xa2c]
call fcn.0040e14c
cmp byte [ebp - 0xa1d], 0
je 0x413b7f
mov eax, dword [esi]
mov eax, dword [eax - 8]
push ebx
dec eax
push eax
mov ecx, esi
call fcn.00411180
push 0x400
lea eax, [ebp - 0xa18]
push eax
push dword [esi + 4]
call fcn.0040d723
xor edi, edi
add esp, 0xc
cmp dword [esi + 8], edi
jle 0x413bb0
lea eax, [ebp - 0xa18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
inc edi
cmp edi, dword [esi + 8]
jl 0x413b9d
push dword [esi]
lea eax, [ebp - 0xa18]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0xa18]
push eax
push 0
call fcn.0040e406
pop ecx
pop ecx
test eax, eax
jne 0x413be0
push str.configdefaultskin
mov ecx, esi
call fcn.00411a2b
mov ecx, dword [ebp - 0xa24]
push esi
call fcn.00413097
mov eax, dword [ebp - 0xa24]
call fcn.0046274c
ret 8
Function at 0x4146c7
Capabilities:
Accept command line arguments

Disassembly:
push 0xe0
mov eax, 0x493de9
call fcn.00462660
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebx, eax
lea eax, [ebp - 0x10]
push str.DT_FD_9B78D5A1_ADCF_4042_90D5_6CEA9006AC37
push eax
call fcn.00421ece
lea eax, [ebp - 0x10]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.0040dd8d
add esp, 0xc
test eax, eax
je 0x414711
lea ecx, [ebp - 0x10]
call fcn.0040e14c
xor eax, eax
call fcn.00462738
ret
mov dword [ebp - 0x48], vtable.WTL::CMessageLoop.0
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
lea eax, [ebp - 0x48]
mov edi, 0x4c7d10
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00411087
push ebx
call fcn.00413db1
pop ecx
lea ecx, [ebp - 0xec]
call fcn.004409da
push esi
push esi
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 2
call fcn.004117b3
test eax, eax
jne 0x414799
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 1
call fcn.00440ab7
lea ecx, [ebp - 0x38]
call fcn.0040d0b0
lea ecx, [ebp - 0x44]
call fcn.0040d093
lea ecx, [ebp - 0x10]
call fcn.0040e14c
mov eax, esi
jmp 0x41470b
mov esi, 0x4c7d50
mov ecx, esi
call fcn.0041aafc
test eax, eax
je 0x4147c5
mov ecx, esi
call fcn.0041aeec
push 0xffffffffffffffff
push 1
push 0x3400
push dword [ebp - 0xe8]
call dword [sym.imp.USER32.dll_PostMessageW]
push dword [ebp + 0xc]
push dword [ebp - 0xe8]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x48]
call fcn.0040ded9
mov ecx, edi
mov esi, eax
call fcn.00411963
jmp 0x41476b
Function at 0x41519c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
call fcn.0042d117
test eax, eax
je 0x4151b0
mov ecx, eax
pop ebp
jmp fcn.0042cde2
pop ebp
ret 8

Function at 0x417ee4
Capabilities:
Check if file exists

Disassembly:
push 4
mov eax, 0x494437
call fcn.00462660
mov edi, ecx
mov esi, dword [ebp + 8]
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, edi
test eax, eax
jne 0x417f10
add esi, 4
push esi
push 1
call fcn.0041519c
jmp 0x417f6a
push esi
call fcn.0041672e
test eax, eax
jne 0x417f25
push esi
lea ecx, [edi + 0x30]
call fcn.00417e18
jmp 0x417f6a
push 0x9c70
lea ecx, [ebp - 0x10]
call fcn.004130cd
mov esi, eax
xor edi, edi
push 0x9c9d
lea ecx, [ebp + 8]
mov dword [ebp - 4], edi
call fcn.004130cd
push edi
push edi
push 0x30
push dword [esi]
mov byte [ebp - 4], 1
push dword [eax]
call fcn.004169ba
add esp, 0x14
lea ecx, [ebp + 8]
call fcn.0040e14c
lea ecx, [ebp - 0x10]
call fcn.0040e14c
call fcn.00462738
ret 4

Function at 0x418289
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb94
mov eax, dword [0x4c6260]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, ecx
mov dword [ebp - 0xb94], eax
mov dword [eax + 0x38], 1
xor eax, eax
push esi
push edi
mov word [ebp - 0x18], ax
lea edi, [ebp - 0x16]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
push 0x7fe
mov word [ebp - 0x840], ax
xor ebx, ebx
lea eax, [ebp - 0x83e]
push ebx
push eax
call fcn.00461390
push 9
pop ecx
mov esi, str.Acceleration.Level
lea edi, [ebp - 0x40]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, 0x348
push esi
lea eax, [ebp - 0xb88]
push ebx
push eax
call fcn.00461390
add esp, 0x18
push ebx
lea eax, [ebp - 0xb88]
push eax
push ebx
push ebx
mov dword [ebp - 0xb88], esi
call dword [sym.imp.USER32.dll_EnumDisplayDevicesW]
mov dword [ebp - 0xb8c], ebx
cmp word [ebp - 0x940], bx
je 0x418357
movzx eax, word [ebp - 0x940]
movzx eax, ax
push eax
call fcn.004635a7
pop ecx
mov ecx, dword [ebp - 0xb8c]
mov word [ebp + ecx*2 - 0x940], ax
movzx eax, word [ebp + ecx*2 - 0x93e]
inc ecx
mov dword [ebp - 0xb8c], ecx
cmp ax, bx
jne 0x41832b
lea eax, [ebp - 0x940]
push 0x49c7ac
push eax
call fcn.0046276a
pop ecx
pop ecx
cmp eax, ebx
je 0x41837f
add eax, 2
push eax
lea eax, [ebp - 0x840]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0xb90]
push eax
push 0xf003f
push ebx
lea eax, [ebp - 0x840]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4183d5
lea eax, [ebp - 0xb8c]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0xb90]
mov dword [ebp - 0xb8c], 9
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0xb90]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xb94]
xor ax, ax
cmp ax, word [ebp - 0x18]
pop edi
pop esi
pop ebx
sbb eax, eax
neg eax
mov dword [ecx + 0x38], eax
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
inc eax
call fcn.00461ffa
leave
ret
Function at 0x4184a4
Capabilities:
Check if file exists
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4c6260]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
push 0x208
mov word [ebp - 0x210], ax
xor ebx, ebx
lea eax, [ebp - 0x20e]
push ebx
push eax
mov edi, ecx
mov dword [ebp - 0x214], 1
call fcn.00461390
push dword [edi + 0x3c]
lea eax, [ebp - 0x210]
push eax
mov dword [ebp - 0x21c], ebx
call fcn.004630d0
add esp, 0x14
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41851c
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push 0x80
push 4
push ebx
push 3
push 0x40000000
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x218], eax
cmp eax, 0xffffffff
jne 0x41854c
mov dword [ebp - 0x214], ebx
jmp 0x4185b1
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [esi]
cmp edi, ebx
je 0x41856c
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x418570
xor esi, esi
jmp 0x418588
lea esi, [eax + eax]
mov eax, esi
call fcn.00463670
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00418416
mov esi, eax
push esi
call fcn.004635e0
pop ecx
push ebx
lea ecx, [ebp - 0x21c]
push ecx
push eax
push esi
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x214]
lea esp, [ebp - 0x228]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00461ffa
leave
ret 4

Function at 0x41921b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0x64
push esi
mov esi, ecx
jne 0x419252
and dword [esi + 0x54], 0
push edi
mov edi, dword [sym.imp.USER32.dll_KillTimer]
push 0x64
push dword [esi + 4]
call edi
push 0x65
push dword [esi + 4]
call edi
push 0
push 0x14
push 0x65
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
jmp 0x4192b5
cmp dword [ebp + 8], 0x65
jne 0x4192b5
cmp dword [esi + 0x54], 0
je 0x41927c
add dword [esi + 0x50], 0xa
mov eax, 0xff
cmp dword [esi + 0x50], eax
jl 0x4192a0
push 0x65
push dword [esi + 4]
mov dword [esi + 0x50], eax
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x4192a0
add dword [esi + 0x50], 0xfffffff6
cmp dword [esi + 0x50], 0
jg 0x4192a0
and dword [esi + 0x50], 0
push 0x65
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
movzx eax, byte [esi + 0x50]
push 3
push eax
push 0xff00ff
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
pop esi
pop ebp
ret 4

Function at 0x4192ba
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
ret 0xc

Function at 0x4192c8
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
inc eax
ret 0x10
Function at 0x41a1a3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
test ecx, ecx
je 0x41a1b0
lea esi, [ecx - 0x20]
jmp 0x41a1b2
xor esi, esi
cmp byte [ecx + 0x1c], 0
je 0x41a1e6
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0xc], 2
jne 0x41a1d7
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41a1ec
cmp dword [ebp + 0xc], 0
jne 0x41a1e6
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 1
je 0x41a201
mov eax, dword [ebp + 0x10]
shr eax, 0x10
cwde
push eax
movsx eax, word [ebp + 0x10]
push eax
lea ecx, [esi + 0x20]
call fcn.00419b49
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x41aafc
Capabilities:
Check if file exists

Disassembly:
push 0x34
mov eax, 0x494649
call fcn.00462660
mov esi, ecx
xor eax, eax
lea edi, [esi + 0x10]
mov ecx, dword [edi]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov ebx, 0x168
cmp dword [ecx - 8], eax
je 0x41ab41
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.0042783a
mov ecx, eax
call fcn.00427216
mov dword [ebp - 0x14], 1
mov byte [ebp - 0xd], 1
cmp dword [eax], ebx
jne 0x41ab45
mov byte [ebp - 0xd], 0
test byte [ebp - 0x14], 1
je 0x41ab53
lea ecx, [ebp - 0x40]
call fcn.0041aa48
cmp byte [ebp - 0xd], 0
je 0x41ab61
xor eax, eax
inc eax
jmp 0x41ac4b
mov eax, dword [edi]
cmp dword [eax - 8], 0
je 0x41ac48
mov eax, dword [esi + 0x24]
sub eax, dword [esi + 0x20]
sar eax, 2
test eax, eax
jne 0x41ab94
mov eax, dword [esi + 0x34]
sub eax, dword [esi + 0x30]
sar eax, 2
test eax, eax
jne 0x41ab94
mov eax, dword [esi + 0xc]
cmp dword [eax - 8], 0
je 0x41ac48
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.0042783a
mov ecx, eax
call fcn.00427216
and dword [ebp - 4], 0
cmp dword [ebp - 0x2c], ebx
je 0x41ac40
mov eax, dword [esi + 0x24]
sub eax, dword [esi + 0x20]
and dword [ebp - 0x14], 0
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
sar eax, 2
xor ebx, ebx
test eax, eax
je 0x41abfe
mov eax, dword [esi + 0x20]
push dword [eax + ebx*4]
call edi
test eax, eax
je 0x41abf0
mov eax, dword [esi + 0x20]
push dword [eax + ebx*4]
call fcn.0041b912
pop ecx
test edx, edx
jl 0x41ac39
jg 0x41abf0
cmp eax, 0x500000
jb 0x41ac39
mov eax, dword [esi + 0x24]
sub eax, dword [esi + 0x20]
inc ebx
sar eax, 2
cmp ebx, eax
jb 0x41abcb
mov eax, dword [esi + 0x34]
sub eax, dword [esi + 0x30]
xor ebx, ebx
sar eax, 2
test eax, eax
je 0x41ac30
mov eax, dword [esi + 0x30]
push dword [eax + ebx*4]
call edi
test eax, eax
je 0x41ac1c
inc dword [ebp - 0x14]
mov eax, dword [esi + 0x34]
sub eax, dword [esi + 0x30]
inc ebx
sar eax, 2
cmp ebx, eax
jb 0x41ac0d
cmp dword [ebp - 0x14], 0
jg 0x41ac39
mov eax, dword [esi + 0xc]
cmp dword [eax - 8], 0
je 0x41ac40
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x2c]
call fcn.0041aa48
mov eax, dword [ebp - 0x18]
call fcn.00462738
ret
Function at 0x41b535
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4c6260]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 5
jne 0x41b576
cmp dword [ebp - 0x110], 0
jne 0x41b576
xor eax, eax
inc eax
jmp 0x41b578
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00461ffa
leave
ret

Function at 0x41b606
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4c6260]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
jne 0x41b647
cmp dword [ebp - 0x110], 0
jne 0x41b647
xor eax, eax
inc eax
jmp 0x41b649
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00461ffa
leave
ret

Function at 0x41b655
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4c6260]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 5
jne 0x41b693
xor eax, eax
inc eax
cmp dword [ebp - 0x110], eax
je 0x41b695
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00461ffa
leave
ret

Function at 0x41b7b6
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4c6260]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 5
jne 0x41b7f7
cmp dword [ebp - 0x110], 2
jne 0x41b7f7
xor eax, eax
inc eax
jmp 0x41b7f9
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00461ffa
leave
ret

Function at 0x41ba6b
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2014
call fcn.00462010
mov eax, dword [0x4c6260]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x1fff
push esi
mov dword [ebp - 0x2008], eax
lea eax, [ebp - 0x2003]
push 0
push eax
mov byte [ebp - 0x2004], 0
call fcn.00461390
add esp, 0xc
lea eax, [ebp - 0x2010]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x41bb19
cmp eax, esi
ja 0x41bb19
lea ecx, [ebp - 0x2004]
push ecx
push eax
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x41bb19
lea eax, [ebp - 0x2014]
push eax
lea eax, [ebp - 0x200c]
push eax
push 0x49cc7c
lea eax, [ebp - 0x2004]
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41bb19
mov eax, dword [ebp - 0x200c]
mov ecx, dword [eax + 8]
mov dword [ebx], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x2008]
mov dword [ecx], eax
xor eax, eax
inc eax
jmp 0x41bb1b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00461ffa
leave
ret