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

Disassembly:
sub esp, 0x2ec
mov eax, dword [0x4451b0]
xor eax, esp
mov dword [esp + 0x2e8], eax
push edi
mov edi, dword [esp + 0x2f4]
mov dword [esp + 0x18], edi
test edi, edi
je 0x42fe31
cmp dword [esp + 0x2f8], 0
je 0x42fe31
push 0x64
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0041c7f0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 8
push 0
push 0x438468
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42fdf8
mov ecx, dword [esp + 4]
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x100]
push eax
push ebx
mov esi, 0x104
push ecx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x42fdeb
lea ebx, [ebx]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push 1
push 0
lea eax, [esp + 0xf8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42fdb9
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1f4]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42fdae
push 0x64
push eax
lea eax, [esp + 0x90]
push eax
call fcn.0041c7f0
lea ecx, [esp + 0x1fc]
push 0x64
push ecx
lea edi, [esp + 0x9c]
call fcn.0042fb20
add esp, 0x14
test eax, eax
je 0x42fdae
cmp byte [esp + 0x24], 0
je 0x42fd72
lea edx, [esp + 0x24]
push edx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x42fdae
lea eax, [esp + 0x24]
lea esi, [esp + 0x88]
mov ecx, eax
mov edx, 0x64
sub esi, ecx
lea ecx, [edx + 0x7fffff9a]
test ecx, ecx
je 0x42fda1
mov cl, byte [esi + eax]
test cl, cl
je 0x42fda1
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x42fd86
jmp 0x42fda5
test edx, edx
jne 0x42fda6
dec eax
mov byte [eax], 0
mov esi, 0x104
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0xc]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x100]
push ecx
inc ebx
push ebx
push edx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x42fcd0
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
cmp byte [esp + 0x1c], 0
je 0x42fe31
mov edx, dword [esp + 0x2f8]
lea ecx, [esp + 0x1c]
push ecx
push edx
push edi
call fcn.0042f0d0
xor ecx, ecx
test eax, eax
setge cl
pop edi
mov eax, ecx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.0041a78f
add esp, 0x2ec
ret
mov ecx, dword [esp + 0x2ec]
pop edi
xor ecx, esp
xor eax, eax
call fcn.0041a78f
add esp, 0x2ec
ret
Function at 0x4300a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x50c
mov eax, dword [0x4451b0]
xor eax, esp
mov dword [esp + 0x508], eax
push ebp
mov ebp, dword [esp + 0x514]
test edi, edi
je 0x43021d
cmp ebp, 0x20
jb 0x43021d
push 0x400
lea eax, [esp + 0x110]
push 0
push eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x400
call fcn.0041c7f0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0x10]
push eax
push 0x4384d8
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x43021d
lea eax, [esp + 0x10c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x430130
sub eax, edx
cmp eax, 0x40
jne 0x43021d
push ebx
lea edx, [eax + 0x40]
push esi
lea eax, [esp + 0x14]
lea esi, [esp + 0x114]
mov ecx, eax
sub esi, ecx
lea ecx, [edx - 0x60]
test ecx, ecx
je 0x43016e
mov cl, byte [esi + eax]
test cl, cl
je 0x43016e
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x430156
jmp 0x430172
test edx, edx
jne 0x430173
dec eax
mov byte [eax], 0
lea eax, [esp + 0x94]
lea edx, [esp + 0x134]
mov ecx, eax
mov esi, 0x80
sub edx, ecx
lea ecx, [ecx]
lea ecx, [esi + 0x7fffff7e]
test ecx, ecx
je 0x4301ab
mov cl, byte [edx + eax]
test cl, cl
je 0x4301ab
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x430190
jmp 0x4301af
test esi, esi
jne 0x4301b0
dec eax
push 0x400
lea edx, [esp + 0x118]
push 0
push edx
mov byte [eax], 0
call fcn.0041c7f0
push 0x400
lea ebx, [esp + 0x124]
lea ecx, [esp + 0x24]
call fcn.0042f2a0
add esp, 0x10
lea eax, [esp + 0x94]
push eax
mov ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
pop esi
pop ebx
test eax, eax
jne 0x43021d
lea edx, [esp + 0xc]
push edx
push ebp
push edi
call fcn.0042f0d0
neg eax
sbb eax, eax
inc eax
pop ebp
mov ecx, dword [esp + 0x508]
xor ecx, esp
call fcn.0041a78f
add esp, 0x50c
ret
mov ecx, dword [esp + 0x50c]
pop ebp
xor ecx, esp
xor eax, eax
call fcn.0041a78f
add esp, 0x50c
ret

Function at 0x430240
Capabilities:
Set registry value

Disassembly:
sub esp, 0x188
mov eax, dword [0x4451b0]
xor eax, esp
mov dword [esp + 0x184], eax
push ebx
push esi
push 0x80
lea eax, [esp + 0xc]
push 0
push eax
mov esi, ecx
call fcn.0041c7f0
push 0x80
lea ebx, [esp + 0x18]
mov ecx, esi
call fcn.0042f2a0
lea eax, [esp + 0x98]
mov ecx, eax
add esp, 0x10
mov edx, 0x104
sub esi, ecx
lea esp, [esp]
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x4302ab
mov cl, byte [esi + eax]
test cl, cl
je 0x4302ab
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x430290
jmp 0x4302af
test edx, edx
jne 0x4302b0
dec eax
lea edx, [esp + 8]
push edx
mov byte [eax], 0
push 0x104
lea eax, [esp + 0x90]
push eax
call fcn.0042f140
lea eax, [esp + 0x88]
pop esi
lea edx, [eax + 1]
pop ebx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4302d6
sub eax, edx
push eax
lea ecx, [esp + 0x84]
push ecx
push 1
push 0x4384d8
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.0041a78f
add esp, 0x188
ret
Function at 0x105d6108
Capabilities:
Decompress data using aplib

Disassembly:
call 0x105d6258
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x105d612e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105d611a
add dl, dl
jne 0x105d6139
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105d618c
xor eax, eax
add dl, dl
jne 0x105d6146
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105d622d
add dl, dl
jne 0x105d6155
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105d6160
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105d616b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105d6176
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x105d6182
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x105d6125
mov eax, 1
add dl, dl
jne 0x105d619a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105d61a5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105d6191
sub eax, ebx
mov ebx, 1
jne 0x105d61d8
mov ecx, 1
add dl, dl
jne 0x105d61be
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x105d61c9
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105d61b5
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105d6125
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x105d61ef
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x105d61fa
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105d61e6
cmp eax, 0x7d00
jae 0x105d621d
cmp eax, 0x500
jb 0x105d6218
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105d6125
cmp eax, 0x7f
ja 0x105d6220
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105d6125
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x105d624e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x105d6125
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x7153b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2be000]
push edi
jmp 0x7153ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7153d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7153c0
mov eax, 1
add ebx, ebx
jne 0x7153e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7153f4
jne 0x715413
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x715413
dec eax
add ebx, ebx
jne 0x715400
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7153d8
add ebx, ebx
jne 0x71540f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x715465
xor ecx, ecx
sub eax, 3
jb 0x71542b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x71549a
sar eax, 1
mov ebp, eax
jmp 0x715436
add ebx, ebx
jne 0x715436
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x715404
inc ecx
add ebx, ebx
jne 0x715444
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x715404
add ebx, ebx
jne 0x715451
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x715446
jne 0x715462
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x715446
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x715484
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x715476
jmp 0x7153c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x715484
add edi, ecx
jmp 0x7153c6
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7154a2
cmp byte [edi], 0x11
jne 0x7154a2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x7154a7
lea edi, [esi + 0x30e000]
mov eax, dword [edi]
or eax, eax
je 0x71551f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x551a58]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x551bd4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7154d4
mov ecx, edi
jns 0x715503
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x551bd8]
or eax, eax
je 0x715519
mov dword [ebx], eax
add ebx, 4
jmp 0x7154f1
call dword [esi + 0x551be8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x715550
cmp al, 0xef
ja 0x715543
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x715525
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x715532
mov ebp, dword [esi + 0x551bdc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x715584
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x467ef0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5b000]
push edi
jmp 0x467f0a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x467f11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x467f00
mov eax, 1
add ebx, ebx
jne 0x467f23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x467f34
jne 0x467f53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x467f53
dec eax
add ebx, ebx
jne 0x467f40
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x467f18
add ebx, ebx
jne 0x467f4f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x467fa5
xor ecx, ecx
sub eax, 3
jb 0x467f6b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x467fda
sar eax, 1
mov ebp, eax
jmp 0x467f76
add ebx, ebx
jne 0x467f76
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x467f44
inc ecx
add ebx, ebx
jne 0x467f84
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x467f44
add ebx, ebx
jne 0x467f91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x467f86
jne 0x467fa2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x467f86
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x467fc4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x467fb6
jmp 0x467f06
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x467fc4
add edi, ecx
jmp 0x467f06
pop esi
mov edi, esi
mov ecx, 0x91a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x467fe2
cmp byte [edi], 9
jne 0x467fe2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x467fe7
lea edi, [esi + 0x65000]
mov eax, dword [edi]
or eax, eax
je 0x46805f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb1530]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb1610]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x468014
mov ecx, edi
jns 0x468043
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb1618]
or eax, eax
je 0x468059
mov dword [ebx], eax
add ebx, 4
jmp 0x468031
call dword [esi + 0xb1614]
mov ebp, dword [esi + 0xb161c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x468093
sub esp, 0xffffff80
jmp 0x41382f
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x41bb80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0x10
push 1
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
push 0xb
push 0x73f028
mov eax, dword [ebp - 4]
push eax
call fcn.004739a1
add esp, 0xc
test eax, eax
jne 0x41bc7a
mov ecx, dword [ebp - 4]
add ecx, 0x1a
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0x77cc28
mov dword [ebp - 0xc], 0x77c3e8
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
je 0x41bc6a
mov ecx, dword [ebp - 4]
movzx edx, word [ecx]
cmp edx, 0x2c
jne 0x41bc2c
mov eax, 0x2e
mov ecx, dword [ebp - 8]
mov word [ecx], ax
mov edx, dword [ebp - 8]
add edx, 2
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov byte [eax], 0x2e
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
jmp 0x41bc5f
mov edx, dword [ebp - 4]
movzx eax, word [edx]
cmp eax, 0x20
je 0x41bc5f
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ax, word [edx]
mov word [ecx], ax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 8]
add ecx, 2
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
jmp 0x41bbf2
xor ecx, ecx
mov edx, dword [ebp - 8]
mov word [edx], cx
mov eax, dword [ebp - 0xc]
mov byte [eax], 0
jmp 0x41bc96
mov ecx, dword [ebp - 4]
add ecx, 2
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x18]
sub edx, 2
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0xa
ja 0x41bbc0
mov dword [ebp - 0x10], 0x77c3e8
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
movsx ecx, byte [eax]
test ecx, ecx
je 0x41bd04
mov edx, dword [ebp - 0x10]
movsx eax, byte [edx]
cmp eax, 0x2e
jne 0x41bcc4
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x41bcf9
mov edx, dword [ebp - 0x10]
movsx eax, byte [edx]
cmp eax, 0x30
jl 0x41bcf9
mov ecx, dword [ebp - 0x10]
movsx edx, byte [ecx]
cmp edx, 0x39
jg 0x41bcf9
mov eax, dword [ebp - 0x14]
imul ecx, dword [eax*4 + 0x75c304], 0xa
mov edx, dword [ebp - 0x10]
movsx eax, byte [edx]
lea ecx, [ecx + eax - 0x30]
mov edx, dword [ebp - 0x14]
mov dword [edx*4 + 0x75c304], ecx
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x41bca4
mov esp, ebp
pop ebp
ret
Function at 0x41c980
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495e3d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x75a440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.__vk2kill
mov eax, dword [ebp + 8]
push eax
call fcn.004102f0
add esp, 8
test eax, eax
je 0x41c9c4
mov byte [0x77c3e4], 1
push str.__newupdate
mov ecx, dword [ebp + 8]
push ecx
call fcn.004102f0
add esp, 8
test eax, eax
je 0x41ca27
push 0x77c628
lea ecx, [ebp - 0x28]
call fcn.004055b0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
push edx
call fcn.00412040
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406ed0
nop
push 0
push 0
call fcn.0041a880
add esp, 8
movzx eax, al
test eax, eax
jne 0x41ca23
mov eax, 3
jmp 0x41ca9d
xor eax, eax
jmp 0x41ca9d
call fcn.0041b8a0
test eax, eax
jne 0x41ca83
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
and ecx, 0xff
mov dword [0x77c3e0], ecx
cmp dword [0x77c3e0], 6
jb 0x41ca66
push 0x77d210
call fcn.004248c0
add esp, 4
call fcn.0041a090
nop
jmp 0x41ca81
push 0x10
push 0x73ef28
push 0x73ef58
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 5
jmp 0x41ca9d
jmp 0x41ca9b
push 0x77d2a0
call fcn.004248c0
add esp, 4
call fcn.00417e40
call fcn.0041a090
nop
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046c358
mov esp, ebp
pop ebp
ret

Function at 0x41cb20
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0x23
push 0x77c428
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x5c
push 0x77c428
call fcn.00412530
add esp, 8
push 0x73ee9c
push 0x100
push 0x77c428
call fcn.00473947
add esp, 0xc
push 0
push 0x77c428
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x77c428
push 0x100
push 0x77c628
call fcn.00478702
add esp, 0xc
push 0x73eeac
push 0x100
push 0x77c628
call fcn.00473947
add esp, 0xc
push 0x77c628
push 0x100
push 0x77c828
call fcn.00478702
add esp, 0xc
push 0x77c628
push 0x100
push 0x77ca28
call fcn.00478702
add esp, 0xc
push 0x73eeb0
push 0x100
push 0x77c628
call fcn.00473947
add esp, 0xc
push str.VKSaver.exe
push 0x100
push 0x77c828
call fcn.00473947
add esp, 0xc
push str.config.dat
push 0x100
push 0x77ca28
call fcn.00473947
add esp, 0xc
pop ebp
ret