joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4882dc
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, 0x4d254f
call fcn.004cc790
sub esp, 0x43c
mov eax, dword [0x50ec24]
push ebx
xor ebx, ebx
push esi
mov ecx, 0x50ec24
mov dword [ebp - 0x18], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov esi, 0x206
push esi
lea eax, [ebp - 0x23e]
push ebx
mov dword [ebp - 4], ebx
push eax
mov word [ebp - 0x240], bx
call fcn.004954a0
push esi
lea eax, [ebp - 0x446]
push ebx
push eax
mov word [ebp - 0x448], bx
call fcn.004954a0
add esp, 0x18
lea eax, [ebp - 0x448]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x18]
push eax
push 0x11
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov esi, 0x4ee534
push esi
call fcn.004953a9
pop ecx
mov ebx, eax
push esi
lea eax, [ebp - 0x10]
call fcn.0040140a
mov eax, dword [edi + 4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
push 0x105
lea esi, [ebp - 0x10]
mov dword [ebp - 0x34], eax
call fcn.004011f9
mov dword [ebp - 0x30], eax
xor ebx, ebx
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x2c], 0x4ee540
mov dword [ebp - 0x28], 0x8041
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
cmp dword [ebp - 0x10], ebx
mov esi, eax
jne 0x4883bd
xor eax, eax
jmp 0x4883c6
push dword [ebp - 0x10]
call fcn.004953a9
pop ecx
lea edx, [ebp - 0x10]
call fcn.004011d8
cmp esi, ebx
je 0x48844c
lea eax, [ebp - 0x240]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x240]
push eax
call fcn.004953a9
lea eax, [ebp - 0x240]
push eax
lea esi, [ebp - 0x14]
call fcn.0047e65a
pop ecx
pop ecx
push str.kingsoft_antivirus_
mov eax, esi
push eax
mov byte [ebp - 4], 1
call fcn.004325c9
push dword [ebp - 0x14]
push dword [edi + 0x598]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
push edi
mov eax, esi
call fcn.00488630
push eax
push 0x46c
push dword [edi + 0x594]
call dword [sym.imp.USER32.dll_PostMessageW]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004011c0
lea eax, [ebp - 0x448]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x488472
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov eax, 0x4ce6e5
call fcn.004cc790
sub esp, 0x20c
push ebx
push esi
push edi
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
mov dword [eax], 0x12d
push ecx
mov eax, esp
xor esi, esi
mov dword [eax], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], esp
push dword [eax + 4]
lea ebx, [eax + 0x598]
call fcn.00487458
push 0x4eea4c
push 0x20
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0x64
push esi
push esi
push esi
push 0x12
call dword [sym.imp.GDI32.dll_CreateFontW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push dword [ebx]
call edi
push esi
push 0x96
push 0xc5
push dword [ebx]
call edi
push 5
push dword [ebx]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x50ec24]
mov ecx, 0x50ec24
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x206
lea eax, [ebp - 0x216]
push esi
mov dword [ebp - 4], esi
push eax
mov word [ebp - 0x218], si
call fcn.004954a0
add esp, 0xc
push esi
push 0x26
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x48854f
push str.c:program_files
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0049542c
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push str._skingsoftkingsoft_antivirus_
lea eax, [ebp - 0x10]
call fcn.00432808
mov esi, dword [ebp - 0x10]
pop ecx
pop ecx
push esi
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [ebp + 8]
add edi, 0x5c0
lea eax, [ebp - 0x10]
call fcn.004013c9
lea eax, [esi - 0x10]
call fcn.004011c0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x488630
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov edi, eax
push dword [edi]
lea esi, [ebp - 8]
call fcn.0047e65a
mov eax, dword [ebp - 8]
pop ecx
add eax, 0xfffffff0
call fcn.004011c0
mov eax, dword [edi]
xor ebx, ebx
push 3
pop esi
inc ebx
cmp dword [eax - 0xc], esi
jl 0x488707
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x488680
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, ebx
je 0x488707
mov ecx, esi
lea edx, [ebp - 8]
mov eax, edi
call fcn.004326e7
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, esi
mov eax, dword [ebp - 8]
setne bl
add eax, 0xfffffff0
call fcn.004011c0
test bl, bl
je 0x4886b1
mov dword [ebp - 4], 2
jmp 0x48870a
call fcn.0048859b
test eax, eax
je 0x4886bf
mov dword [ebp - 4], esi
jmp 0x48870a
mov ecx, esi
lea edx, [ebp - 8]
mov eax, edi
call fcn.004326e7
push dword [eax]
call fcn.00487eba
mov ebx, eax
mov eax, dword [ebp - 8]
neg ebx
sbb bl, bl
pop ecx
add eax, 0xfffffff0
inc bl
call fcn.004011c0
test bl, bl
je 0x4886f3
mov dword [ebp - 4], 4
jmp 0x48870a
mov eax, dword [edi]
cmp dword [eax - 0xc], 0x96
jle 0x48870a
mov dword [ebp - 4], 5
jmp 0x48870a
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
push dword [eax + 0x594]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x488ae8
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d085b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push esi
push edi
push 6
xor ebx, ebx
pop ecx
xor eax, eax
mov dword [esp + 0x14], ebx
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x30]
call fcn.0041c7c3
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x194], ebx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
xor edi, edi
inc edi
push edi
push ecx
sub eax, edx
mov dword [esp + 0x30], eax
mov eax, esp
mov dword [esp + 0x18], esp
push str.0_0__0__0
sub esi, ecx
push eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], esi
call fcn.004303e8
push ecx
mov byte [esp + 0x1a0], 1
mov eax, esp
mov dword [esp + 0x18], esp
push 0x4e3664
push eax
call fcn.004303e8
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1a0], bl
call fcn.0041c5f7
lea eax, [esp + 0x14]
push eax
push ebx
push 0x47
lea ecx, [esp + 0x3c]
call fcn.0043244f
push edi
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
mov esi, 0x4e1ab4
push esi
push eax
call fcn.004303e8
push ecx
mov byte [esp + 0x1a0], 2
mov eax, esp
mov dword [esp + 0x1c], esp
push str.margin_left
push eax
call fcn.004303e8
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1a0], bl
call fcn.0041c5f7
push edi
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push esi
push eax
call fcn.004303e8
push ecx
mov byte [esp + 0x1a0], 3
mov eax, esp
mov dword [esp + 0x1c], esp
push str.margin_right
push eax
call fcn.004303e8
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1a0], bl
call fcn.0041c5f7
push edi
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push esi
push eax
call fcn.004303e8
push ecx
mov byte [esp + 0x1a0], 4
mov eax, esp
mov dword [esp + 0x1c], esp
push str.margin_top
push eax
call fcn.004303e8
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1a0], bl
call fcn.0041c5f7
push edi
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push esi
push eax
call fcn.004303e8
push ecx
mov byte [esp + 0x1a0], 5
mov eax, esp
mov dword [esp + 0x1c], esp
push str.margin_bottom
push eax
call fcn.004303e8
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1a0], bl
call fcn.0041c5f7
push edi
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push str.cnm_showdow
push eax
call fcn.004303e8
push ecx
mov byte [esp + 0x1a0], 6
mov eax, esp
mov dword [esp + 0x1c], esp
push str.skin
push eax
call fcn.004303e8
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1a0], bl
call fcn.0041c5f7
push ebx
push dword [ebp + 8]
lea ecx, [esp + 0x38]
push 0xf
call fcn.0043244f
or dword [esp + 0x194], 0xffffffff
mov eax, dword [esp + 0x184]
add eax, 0xfffffff0
call fcn.004011c0
lea ecx, [esp + 0x30]
call fcn.004310f1
mov ecx, dword [esp + 0x18c]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x48bac5
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
and word [ebp - 0x20c], 0
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
call fcn.004954a0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x48bb0c
xor eax, eax
inc eax
leave
ret
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x4eeb1c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0043288d
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48bb55
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.004011c0
jmp 0x48bb07
push esi
push dword [ebp - 4]
xor esi, esi
inc esi
push esi
push str.switch
push str.updatecheck
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, esi
jne 0x48bb81
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, esi
pop esi
leave
ret
xor esi, esi
jmp 0x48bb71

Function at 0x48bcd0
Capabilities:
Delete file

Disassembly:
mov eax, 0x4d22a3
call fcn.004cc790
sub esp, 0xc
push ebx
push edi
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x14], 1
and dword [ebp - 4], 0
mov eax, dword [0x50ec24]
mov ecx, 0x50ec24
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x10], ebx
lea edi, [esi + 0x30]
push edi
mov byte [ebp - 4], 1
call fcn.0047e6e7
pop ecx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x12c
push 0
push dword [ebp + 0xc]
lea eax, [esi + 0x28]
push edi
push eax
call fcn.00480614
mov ecx, dword [ebp + 8]
add esp, 0x14
xor edi, edi
test eax, eax
mov dword [ecx], eax
je 0x48bd5d
lea eax, [ebx - 0x10]
call fcn.004011c0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
inc edi
jmp 0x48bd3c

Function at 0x48bda1
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4d22a3
call fcn.004cc790
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x14], 1
and dword [ebp - 4], 0
lea esi, [edi + 0x30]
push esi
call fcn.0047e6e7
pop ecx
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48bdf1
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
mov eax, dword [0x50ec24]
mov ecx, 0x50ec24
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str._s__update:0
mov byte [ebp - 4], 1
call fcn.00432808
mov ebx, dword [ebp - 0x10]
mov esi, dword [esi]
push 0xffffffffffffffff
push ebx
push esi
xor ecx, ecx
call fcn.0047d737
add esp, 0x14
xor esi, esi
test eax, eax
jne 0x48be44
lea eax, [ebx - 0x10]
call fcn.004011c0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x48bde1
inc esi
jmp 0x48be31
Function at 0x48be47
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4d1913
call fcn.004cc790
sub esp, 0x214
mov eax, dword [0x50ec24]
push ebx
push esi
mov esi, 0x50ec24
push edi
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [0x50ec24]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x206
lea eax, [ebp - 0x21e]
push edi
mov byte [ebp - 4], 1
push eax
mov word [ebp - 0x220], di
call fcn.004954a0
add esp, 0xc
push edi
call fcn.00498318
pop ecx
push edx
push eax
push str.http:__2398.35go.net_defend_o1_jcqgx.ini
lea eax, [ebp - 0x14]
call fcn.00426aa7
mov esi, dword [ebp - 0x14]
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.004335e4
test eax, eax
mov ebx, dword [ebp - 0x10]
pop ecx
pop ecx
jne 0x48bf3f
cmp dword [ebx - 0xc], edi
je 0x48bf3f
lea eax, [ebp - 0x220]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x48bf3f
push str.jcqgx.ini
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x220]
push eax
add edi, 0x24
push edi
call fcn.00432867
push dword [edi]
lea eax, [ebp - 0x10]
call fcn.0047d3b3
test eax, eax
mov eax, dword [ebp - 0x10]
pop ecx
jne 0x48bf2a
add eax, 0xfffffff0
jmp 0x48bf42
add eax, 0xfffffff0
call fcn.004011c0
lea eax, [esi - 0x10]
call fcn.004011c0
xor eax, eax
inc eax
jmp 0x48bf51
lea eax, [ebx - 0x10]
call fcn.004011c0
lea eax, [esi - 0x10]
call fcn.004011c0
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x48c84b
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4cf77b
call fcn.004cc790
sub esp, 0x260
push ebx
push esi
push edi
push 0x4e30ec
lea eax, [ebp - 0x18]
xor esi, esi
push eax
mov edi, ecx
mov dword [ebp - 0x20], esi
call fcn.0043288d
mov dword [ebp - 4], esi
call fcn.0044f079
movzx eax, byte [eax + 0x20]
mov dword [ebp - 0x14], esi
cmp eax, esi
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
je 0x48c8b0
cmp dword [edi + 0x14], esi
jne 0x48c8b0
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
lea edx, [ebp - 0x10]
push edx
push 0x20119
push esi
push eax
push ecx
mov dword [ebp - 0x10], esi
call ebx
cmp eax, esi
je 0x48c8cf
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
lea edx, [ebp - 0x10]
push edx
push 0x20219
push esi
push eax
push ecx
mov dword [ebp - 0x10], esi
call ebx
cmp eax, esi
jne 0x48c976
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [0x50ec24]
mov ecx, 0x50ec24
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x208
lea eax, [ebp - 0x26a]
mov byte [ebp - 4], 2
push esi
push eax
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x26c], si
call fcn.004954a0
mov edi, dword [edi + 0xc]
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
push edi
push dword [ebp - 0x14]
mov dword [ebp - 0x20], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48ca00
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x48c9c7
cmp eax, 2
je 0x48c9c7
cmp eax, 7
je 0x48c9c7
cmp eax, 4
jne 0x48c99b
push 0xa
push 0x20
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x26c]
call fcn.0049d22f
lea eax, [ebp - 0x60]
push eax
call fcn.004953a9
add esp, 0x14
lea ecx, [ebp - 0x60]
jmp 0x48c9da
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00401367
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, esi
jmp 0x48ca48
cmp eax, 0xb
jne 0x48c9e5
push 0xa
push 0x20
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x268]
push dword [ebp - 0x26c]
call fcn.0049d357
lea eax, [ebp - 0x60]
push eax
call fcn.004953a9
add esp, 0x18
jmp 0x48c971
lea eax, [ebp - 0x26c]
push eax
call fcn.004953a9
pop ecx
lea ecx, [ebp - 0x26c]
mov ebx, eax
push ecx
lea eax, [ebp - 0x10]
call fcn.0040140a
lea ecx, [ebp - 0x10]
call fcn.0047d843
lea ecx, [ebp - 0x10]
call fcn.0047d92f
lea eax, [ebp - 0x10]
lea edi, [ebp - 0x18]
call fcn.004013c9
cmp dword [ebp - 0x14], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x48ca13
push dword [ebp - 0x14]
call edi
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00401367
mov ebx, dword [ebp + 8]
add eax, 0x10
mov dword [ebx], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004011c0
cmp dword [ebp - 0x14], esi
je 0x48ca3b
push dword [ebp - 0x14]
call edi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x491412
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
xor ebx, ebx
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [esi], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [edi], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x49149b
push eax
call fcn.00493c3c
pop ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp - 4], eax
push dword [ebp - 8]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x49148d
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4e3c70
push dword [ebp - 4]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x49148d
cmp dword [ebp - 0xc], ebx
je 0x49148d
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov dword [edi], ecx
mov eax, dword [eax + 0xc]
mov dword [esi], eax
mov dword [ebp - 0x14], 1
cmp dword [ebp - 4], ebx
je 0x49149b
push dword [ebp - 4]
call fcn.0049551a
pop ecx
mov eax, dword [ebp - 0x14]
pop ebx
leave
ret

Function at 0x49156b
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4ce47e
call fcn.004cc790
sub esp, 0x20c
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov ecx, 0x50ec24
mov dword [ebp - 0x10], edi
call fcn.004014d2
push 0x206
lea eax, [ebp - 0x216]
mov dword [ebp - 4], edi
push edi
push eax
mov dword [ebp - 0x10], 1
mov word [ebp - 0x218], di
call fcn.004954a0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.00432867
push esi
call fcn.004914d7
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4916c6
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x11c
push esi
push edi
mov esi, 0x11c
push esi
xor edi, edi
lea eax, [ebp - 0xa4]
push edi
push eax
call fcn.004954a0
add esp, 0xc
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
cmp eax, edi
jne 0x49171f
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x114
call esi
cmp eax, edi
je 0x4917d5
mov eax, dword [ebp - 0x94]
dec eax
je 0x4917c1
dec eax
jne 0x4917d5
mov eax, dword [ebp - 0xa0]
xor edx, edx
push 6
pop ecx
inc edx
cmp eax, ecx
jne 0x49176e
cmp dword [ebp - 0x9c], edx
jne 0x491758
xor eax, eax
cmp byte [ebp + 0x76], dl
setne al
add eax, 8
jmp 0x4917bd
cmp dword [ebp - 0x9c], edi
jne 0x4917a6
xor eax, eax
cmp byte [ebp + 0x76], dl
setne al
lea eax, [eax + eax + 7]
jmp 0x4917bd
cmp eax, 5
jne 0x491798
cmp dword [ebp - 0x9c], 2
jne 0x49177f
push eax
jmp 0x49179f
cmp dword [ebp - 0x9c], 1
jne 0x49178c
mov edi, ecx
jmp 0x4917d5
cmp dword [ebp - 0x9c], edi
jne 0x4917d5
push 3
jmp 0x49179f
cmp eax, 4
ja 0x4917a2
push 4
pop edi
jmp 0x4917d5
cmp eax, ecx
jb 0x4917d5
cmp dword [ebp - 0x9c], 2
jae 0x4917b3
cmp eax, ecx
jbe 0x4917d5
cmp byte [ebp + 0x76], dl
jne 0x4917d5
call fcn.004915ee
mov edi, eax
jmp 0x4917d5
mov eax, dword [ebp - 0x98]
and eax, 0xffff0000
cmp eax, 0x45a0000
sbb edi, edi
inc edi
inc edi
mov eax, edi
pop edi
pop esi
add ebp, 0x78
leave
ret

Function at 0x491abd
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x491ad6
mov eax, dword [ebp - 4]
jmp 0x491bb0
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
shr ecx, 3
xor eax, 0xffffffff
test ecx, ecx
je 0x491b8b
push ebp
mov ebp, ecx
xor edx, edx
xor ecx, ecx
nop
mov ebx, dword [esi]
add esi, 4
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4e7398]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4e7398]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4e7398]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4e7398]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4e7398]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4e7398]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4e7398]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4e7398]
dec ebp
jne 0x491af5
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x491ba7
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x4e7398]
dec ecx
jne 0x491b95
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x491be5
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x491c90
push edi
push 1
push esi
call fcn.004975f1
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x491c8d
push edi
push esi
push dword [ebp - 8]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x491c86
and dword [ebp - 4], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x4eb3d0
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x491c86
cmp dword [ebp - 4], 0
je 0x491c86
push 0x14
call fcn.00462151
mov esi, eax
test esi, esi
pop ecx
je 0x491c8d
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
mov dword [esi + 0xc], ecx
lea ecx, [ebp - 0x10]
push ecx
mov dword [esi + 8], eax
lea eax, [esi + 0x10]
and dword [eax], 0
push eax
push 0x4e3c70
push edi
mov dword [esi], vtable.cf::FileVersionInfo.0
mov dword [esi + 4], edi
call sub.VERSION.dll_VerQueryValueW
mov eax, esi
jmp 0x491c8f
push edi
call fcn.00496058
pop ecx
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x491e83
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push ebx
push esi
mov esi, ecx
mov ax, word [esi + 8]
mov word [ebp - 0x14], ax
mov ax, word [esi + 0xc]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [ebp - 0x12], ax
call edi
mov word [ebp - 0x10], ax
mov ax, word [esi + 0xc]
mov word [ebp - 0xe], ax
mov ax, word [esi + 8]
mov word [ebp - 0xc], ax
mov word [ebp - 0xa], 0x4e4
call edi
mov word [ebp - 8], ax
mov word [ebp - 6], 0x4e4
xor edi, edi
mov ebx, 0x104
movzx eax, word [ebp + edi*2 - 0x14]
movzx ecx, word [ebp + edi*2 - 0x12]
push dword [ebp + 8]
inc edi
movzx ecx, cx
push ecx
movzx eax, ax
push eax
push str.StringFileInfo_04x_04x_ls
push ebx
lea eax, [ebp - 0x220]
push ebx
push eax
inc edi
call fcn.004953db
and dword [ebp - 4], 0
add esp, 0x1c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x220]
push eax
push dword [esi + 4]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x491f28
cmp dword [ebp - 4], 0
jne 0x491f36
cmp edi, 8
jb 0x491ed6
xor al, al
pop edi
pop esi
pop ebx
leave
ret 8
mov esi, dword [ebp - 4]
push esi
call fcn.004953a9
pop ecx
mov ecx, esi
mov esi, dword [ebp + 0xc]
call fcn.0041e3ac
mov al, 1
jmp 0x491f2f