joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421fa0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.00496d60
mov eax, dword [0x596634]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x4004]
push edi
mov edi, dword [ebp + 0x10]
push 0x4000
push 0
push eax
call fcn.004dcfa0
add esp, 0xc
mov dword [ebp - 0x4008], 0
test esi, esi
je 0x422098
test edi, edi
je 0x422098
lea eax, [ebp - 0x4008]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x422098
cmp eax, 0x3fff
ja 0x422098
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x422098
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x400c]
push eax
push 0x54e950
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x422098
mov esi, dword [ebp + 0x14]
lea eax, [esi + esi]
push eax
push 0
push edi
call fcn.004dcfa0
mov ecx, dword [ebp - 0x400c]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
lea eax, [esi - 1]
push eax
push edi
call fcn.00424790
add esp, 0x28
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00496d46
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00496d46
mov esp, ebp
pop ebp
ret 0x10

Function at 0x422110
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x422135
test byte [ebp - 4], 7
je 0x422135
mov eax, 1
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x422460
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x536b08
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x596634]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], 0
test esi, esi
je 0x422502
cmp word [esi], di
je 0x422502
test eax, eax
je 0x4224be
cmp word [eax], di
je 0x4224be
push edi
push edi
push eax
push esi
push edi
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
js 0x422502
jmp 0x4224fd
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004dcfa0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push 0
push 0x104
push eax
push esi
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
js 0x422502
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, 1
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x422533
mov dword [ebp - 0x424], edi
lea edx, [ebp - 0x424]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x422533
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00496d46
mov esp, ebp
pop ebp
ret 0x30
Function at 0x42b3d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x596634]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [ebp + 8]
mov eax, dword [ebp + 0x48]
push esi
movups xmmword [ebp - 0x48], xmm0
mov esi, dword [ebp + 0x8c]
movups xmm0, xmmword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x90]
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x4c], esi
mov dword [edi + 0x40], esi
movups xmm0, xmmword [ebp + 0x28]
movups xmmword [ebp - 0x28], xmm0
movups xmm0, xmmword [ebp + 0x38]
movups xmmword [ebp - 0x18], xmm0
movups xmm0, xmmword [ebp + 0x4c]
movups xmmword [ebp - 0x8c], xmm0
movups xmm0, xmmword [ebp + 0x5c]
movups xmmword [ebp - 0x7c], xmm0
movups xmm0, xmmword [ebp + 0x6c]
movups xmmword [ebp - 0x6c], xmm0
movups xmm0, xmmword [ebp + 0x7c]
movups xmmword [ebp - 0x5c], xmm0
test esi, esi
jle 0x42b554
cmp esi, 0x40
jb 0x42b53d
lea edx, [esi - 1]
lea ecx, [ebp + esi - 0x49]
add edx, edi
cmp edi, ecx
ja 0x42b477
lea ecx, [ebp - 0x48]
cmp edx, ecx
jae 0x42b53d
lea ecx, [ebp + esi - 0x8d]
cmp edi, ecx
ja 0x42b490
lea ecx, [ebp - 0x8c]
cmp edx, ecx
jae 0x42b53d
mov ecx, esi
push ebx
and ecx, 0x8000003f
jns 0x42b4a0
dec ecx
or ecx, 0xffffffc0
inc ecx
mov ebx, esi
lea edx, [edi + 0x20]
sub ebx, ecx
mov dword [ebp - 0x98], edx
mov esi, edi
lea ecx, [ebp - 0x38]
sub esi, ecx
sub ecx, edi
mov dword [ebp - 0x90], ecx
lea ecx, [ebp - 0x7c]
sub ecx, edi
mov edi, dword [ebp - 0x90]
mov dword [ebp - 0x94], ecx
nop dword [eax]
movups xmm0, xmmword [ebp + eax - 0x48]
lea ecx, [ebp - 0x38]
add edx, eax
movups xmm1, xmmword [ebp + eax - 0x8c]
add ecx, eax
pxor xmm1, xmm0
movups xmm0, xmmword [ecx]
movups xmmword [esi + ecx], xmm1
mov ecx, dword [ebp - 0x94]
movups xmm1, xmmword [ebp + eax - 0x7c]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 0x6c]
movups xmmword [edx - 0x10], xmm1
movups xmm1, xmmword [ebp + eax - 0x28]
add eax, 0x40
pxor xmm1, xmm0
movups xmm0, xmmword [edi + edx]
movups xmmword [edx], xmm1
movups xmm1, xmmword [ecx + edx]
pxor xmm1, xmm0
movups xmmword [edx + 0x10], xmm1
mov edx, dword [ebp - 0x98]
cmp eax, ebx
jl 0x42b4d0
mov esi, dword [ebp - 0x9c]
mov edi, dword [ebp - 0xa0]
pop ebx
cmp eax, esi
jge 0x42b554
mov cl, byte [ebp + eax - 0x8c]
xor cl, byte [ebp + eax - 0x48]
mov byte [edi + eax], cl
inc eax
cmp eax, esi
jl 0x42b541
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00496d46
mov esp, ebp
pop ebp
ret
Function at 0x42f5e0
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp dword [edi + 4], 0
je 0x42f5f6
mov eax, 1
pop edi
pop ebp
ret 4
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x42f6b4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42f6b4
push esi
call fcn.00474780
add esp, 4
test eax, eax
je 0x42f6b4
cmp dword [edi + 0xc], 0
jne 0x42f687
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0xc], eax
test eax, eax
je 0x42f6ab
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpInit
push eax
call esi
push str.HttpUninit
push dword [edi + 0xc]
mov dword [edi + 0x10], eax
call esi
push str.zlib_uncompress
push dword [edi + 0xc]
mov dword [edi + 0x14], eax
call esi
push str.zlib_compress
push dword [edi + 0xc]
mov dword [edi + 0x1c], eax
call esi
push str.zlib_compressBound
push dword [edi + 0xc]
mov dword [edi + 0x20], eax
call esi
mov dword [edi + 0x24], eax
mov eax, dword [edi + 0x10]
test eax, eax
je 0x42f687
call eax
mov dword [edi + 0x18], eax
cmp dword [edi + 0x14], 0
je 0x42f6ab
cmp dword [edi + 0x10], 0
je 0x42f6ab
cmp dword [edi + 0x18], 0
je 0x42f6ab
pop esi
mov dword [edi + 4], 1
mov eax, 1
pop edi
pop ebp
ret 4
mov eax, dword [edi + 4]
pop esi
pop edi
pop ebp
ret 4
pop esi
xor eax, eax
pop edi
pop ebp
ret 4
Function at 0x430ee0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x430f33
push edi
push ebx
call fcn.00454da0
mov edi, dword [ebp + 0xc]
push edi
push ebx
push str.call_exe_begin__path__s__cmd__s_
call fcn.0043c1e0
add esp, 0xc
push dword [ebp + 0x18]
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 1
push edi
push ebx
call fcn.00454fa0
push dword [ebp + 0x14]
push edi
push ebx
push eax
push str.call_exe_return___d___path__s___cmd__s___sync__d_
call fcn.0043c1e0
add esp, 0x14
pop edi
pop ebx
pop ebp
ret

Function at 0x431070
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x596634]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x420], eax
push esi
mov esi, dword [ebp + 0x10]
test eax, eax
je 0x43120c
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
je 0x43120b
push 0x208
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], 0
push 0
push eax
call fcn.004dcfa0
add esp, 0xc
mov dword [ebp - 0x41c], 0x208
cmp dword [ebp + 0xc], 0
lea eax, [ebp - 0x418]
push eax
push 0xf003f
push 0
je 0x4310ef
push str.Softwareludashi_file_list
jmp 0x4310f4
push str.SoftwareLdsLite_file_list
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4311ff
push ebx
xor ebx, ebx
lea eax, [ebp - 0x424]
push ebx
push ebx
push eax
push ebx
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x414]
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x4311fe
nop word [eax + eax]
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x41c], 0x208
push 0
push eax
inc ebx
call fcn.004dcfa0
push dword [ebp - 0x420]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0050799f
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x4311ce
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x4311ce
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
lea eax, [ebp - 0x20c]
push esi
push eax
je 0x4311c6
call fcn.004364c0
jmp 0x4311cb
call fcn.00436050
add esp, 8
push 0
push 0
lea eax, [ebp - 0x424]
push eax
push 0
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x414]
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x431140
pop ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00496d46
mov esp, ebp
pop ebp
ret
Function at 0x431260
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538184
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x596634]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x494], esi
mov dword [ebp - 0x48c], 0
mov dword [ebp - 0x488], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
cmp dword [edi + 0x10], 0
mov esi, 1
mov dword [ebp - 4], 0
je 0x4314b4
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4312dd
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4314b4
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004dcfa0
add esp, 0xc
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x43130c
mov eax, dword [edi]
push 0x5508c8
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x4314b4
lea eax, [ebp - 0x480]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x484], eax
test eax, eax
je 0x4314b4
nop dword [eax]
test byte [ebp - 0x480], 0x10
mov dword [ebp - 0x490], esi
jne 0x431497
mov edx, dword [edi + 0x10]
xor eax, eax
or esi, 2
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x454]
mov dword [ebp - 0x48c], esi
mov dword [ebp - 4], 1
lea esi, [eax + 2]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4313a0
sub eax, esi
lea ecx, [ebp - 0x230]
sar eax, 1
add eax, edx
push eax
call fcn.00437400
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4313c7
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x230]
push eax
call fcn.004370b0
lea ecx, [ebp - 0x454]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4313e0
sub ecx, edx
lea eax, [ebp - 0x454]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.004370b0
mov ecx, dword [ebp - 0x488]
mov eax, dword [ecx + 4]
cmp dword [ecx + 8], eax
je 0x43143b
movups xmm0, xmmword [ebp - 0x230]
mov edx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x220]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [ecx + 4], 0x18
mov word [ebp - 0x230], ax
jmp 0x43144e
lea edx, [ebp - 0x230]
push edx
push eax
call fcn.0042ffd0
mov edx, dword [ebp - 0x21c]
mov esi, dword [ebp - 0x490]
and esi, 0xfffffffd
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x431491
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x431487
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4314d5
push edx
push ecx
call fcn.00496936
add esp, 8
mov eax, dword [ebp - 0x484]
lea ecx, [ebp - 0x480]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4314b4
mov eax, dword [ebp - 0x484]
jmp 0x431350
mov eax, dword [ebp - 0x488]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00496d46
mov esp, ebp
pop ebp
ret
call fcn.004e8718
int3
Function at 0x432090
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538298
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x596634]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp word [0x59b7c8], 0
jne 0x43214f
cmp dword [ebp + 0xc], 0
mov ecx, str.SOFTWARELudashi
mov eax, str.SOFTWARELdsLite
mov dword [ebp - 0x10], 0
cmove eax, ecx
lea ecx, [ebp - 0x10]
push ecx
push 0x20219
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43214f
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
push 0x59b7c8
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x200
push eax
push 0
push str.InstallDate
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x432144
mov eax, dword [ebp - 0x18]
cmp eax, 1
je 0x43212d
cmp eax, 2
jne 0x432144
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x43213c
test al, 1
jne 0x432144
shr eax, 1
jmp 0x432144
xor eax, eax
mov word [0x59b7c8], ax
test esi, esi
je 0x43214f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.004126e0
mov ecx, eax
test ecx, ecx
je 0x4321b4
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
push 0x59b7c8
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0041d980
test al, al
jne 0x4321a2
mov ecx, 0x59b7c8
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432186
sub ecx, edx
sar ecx, 1
push ecx
push 0x59b7c8
mov ecx, esi
call fcn.0040de70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040af60
int3
Function at 0x4324a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538322
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x596634]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x42c], 1
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x208
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x424], 1
mov dword [ebp - 0x428], 0x104
call fcn.004dcfa0
add esp, 0xc
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x42c]
push eax
push str.local_m2
push 0x5521b8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x43257e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432560
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00428460
cmp dword [esi + 0x10], 0
jne 0x4325fa
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004dcfa0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.004981e0
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4325b4
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00428460
cmp dword [esi + 0x14], 8
mov eax, esi
mov ecx, dword [esi + 0x10]
jb 0x4325df
mov eax, dword [esi]
add ecx, ecx
push ecx
push eax
push 1
push str.local_m2
push 0x5521b8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00496d46
mov esp, ebp
pop ebp
ret
Function at 0x432be0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538462
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x596634]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
mov dword [ebp - 0x240], esi
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x23c], 0
call fcn.004dcfa0
add esp, 0xc
mov dword [ebp - 0x238], 1
mov dword [ebp - 0x234], 0x208
call fcn.004126e0
mov ecx, eax
test ecx, ecx
je 0x432d69
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
cmp dword [ebp + 0xc], 0
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
mov dword [ebp - 0x23c], 1
je 0x432c8a
push 1
jmp 0x432c8c
push 2
push eax
call fcn.00432d80
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x432c9d
mov eax, dword [eax]
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x238]
push ecx
push str.VendorID
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [ebp - 0x230]
call fcn.004218e0
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432cd7
sub ecx, edx
sar ecx, 1
je 0x432d4d
push ecx
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.0040de70
mov ecx, esi
call fcn.00436ab0
mov ecx, esi
call fcn.004369b0
mov eax, dword [esi]
mov ecx, 0x550c80
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x432d36
test dx, dx
je 0x432d32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x432d36
add eax, 4
add ecx, 4
test dx, dx
jne 0x432d10
xor eax, eax
jmp 0x432d3b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x432d4d
push 7
push 0x54fdd0
mov ecx, esi
call fcn.0040de70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00496d46
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040af60
int3
Function at 0x4332d0
Capabilities:
Check if file exists
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x596634]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004dcfa0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.LudashiComputerZ.set
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43339d
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004dcfa0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0x414]
push eax
push 0x54ea3c
push str.open_time
push str.Feedback
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433376
sub ecx, edx
sar ecx, 1
cmp ecx, 2
jbe 0x43339d
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00496d46
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00496d46
mov esp, ebp
pop ebp
ret
Function at 0x4348e0
Capabilities:
Check if file exists
Parse pe header
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x434978
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x434978
push ebx
push edi
xor edi, edi
push edi
push edi
push edi
push 2
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43496a
push edi
push edi
push edi
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x434963
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43495c
mov ecx, dword [eax + 0x3c]
mov edx, 1
cmp dword [eax + ecx], 0x4550
cmove edi, edx
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop ebx
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x434990
Capabilities:
Check os version

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x596634]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x594f2c]
test ecx, ecx
js 0x4349d8
xor eax, eax
test ecx, ecx
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00496d46
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x118
xorps xmm0, xmm0
mov dword [0x594f2c], 0
lea eax, [ebp - 0x124]
movaps xmmword [ebp - 0x160], xmm0
push 0
push eax
movaps xmmword [ebp - 0x150], xmm0
mov dword [ebp - 0x140], 0
call fcn.004dcfa0
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x434a49
lea eax, [ebp - 0x128]
mov dword [ebp - 0x128], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x434aa0
push str.GetNativeSystemInfo
push 0x54f378
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x434aa0
lea ecx, [ebp - 0x160]
push ecx
call eax
mov ax, word [ebp - 0x160]
cmp ax, 9
je 0x434a80
cmp ax, 6
jne 0x434aa0
mov dword [0x594f2c], 1
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00496d46
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00496d46
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret