joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4921e5
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x4aaba8
call fcn.00482ac0
xor edi, edi
xor ebx, ebx
inc ebx
cmp dword [0x4ceae4], edi
jne 0x492229
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x492214
mov dword [0x4ceae4], ebx
jmp 0x492229
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x492229
mov dword [0x4ceae4], 2
mov eax, dword [0x4ceae4]
cmp eax, ebx
jne 0x492249
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x49230c
cmp eax, 2
je 0x492252
cmp eax, edi
jne 0x49227a
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
cmp dword [ebp + 0x18], edi
jne 0x492265
mov eax, dword [0x4ce9d8]
mov dword [ebp + 0x18], eax
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x24], eax
cmp eax, edi
jne 0x492281
xor eax, eax
jmp 0x49230c
mov dword [ebp - 4], edi
add eax, 3
and eax, 0xfffffffc
call fcn.0047d7e0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0x28], esi
or dword [ebp - 4], 0xffffffff
jmp 0x4922b4
cmp esi, edi
jne 0x4922ca
push dword [ebp - 0x24]
call fcn.0047f8c3
pop ecx
mov esi, eax
cmp esi, edi
je 0x49227a
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x24]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x4922fd
cmp dword [ebp + 0x14], edi
jne 0x4922e7
push edi
push edi
jmp 0x4922ed
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push esi
push ebx
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], edi
je 0x492309
push esi
call fcn.0047f7ab
pop ecx
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0x34]
call fcn.00482afb
ret
Function at 0x492315
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x4aabb8
call fcn.00482ac0
xor esi, esi
cmp dword [0x4ceae8], esi
jne 0x492359
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x492344
mov dword [0x4ceae8], edi
jmp 0x492359
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x492359
mov dword [0x4ceae8], 2
mov eax, dword [0x4ceae8]
cmp eax, 2
je 0x49243a
cmp eax, esi
je 0x49243a
cmp eax, 1
jne 0x49239e
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x492387
mov eax, dword [0x4ce9d8]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x4923a5
xor eax, eax
jmp 0x49244c
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.0047d7e0
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x4923db
cmp edi, esi
jne 0x4923f6
lea eax, [ebx + ebx]
push eax
call fcn.0047f8c3
pop ecx
mov edi, eax
cmp edi, esi
je 0x49239e
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x492429
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x492413
push esi
push esi
jmp 0x492419
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x492435
push edi
call fcn.0047f7ab
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x49244c
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.00482afb
ret
Function at 0x493360
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x49336b
xor eax, eax
ret
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
cmp esi, 8
not eax
jb 0x493460
push ebx
push edi
mov edi, esi
shr edi, 3
xor edx, edx
mov dl, byte [ecx]
mov ebx, eax
shr ebx, 8
sub esi, 8
xor edx, eax
and edx, 0xff
mov eax, dword [edx*4 + 0x4aac48]
xor eax, ebx
xor edx, edx
mov dl, byte [ecx + 1]
inc ecx
xor edx, eax
and edx, 0xff
mov edx, dword [edx*4 + 0x4aac48]
shr eax, 8
xor edx, eax
xor eax, eax
mov al, byte [ecx + 1]
inc ecx
xor eax, edx
and eax, 0xff
mov eax, dword [eax*4 + 0x4aac48]
shr edx, 8
xor eax, edx
xor edx, edx
mov dl, byte [ecx + 1]
inc ecx
xor edx, eax
and edx, 0xff
mov edx, dword [edx*4 + 0x4aac48]
shr eax, 8
xor edx, eax
xor eax, eax
mov al, byte [ecx + 1]
inc ecx
xor eax, edx
and eax, 0xff
mov eax, dword [eax*4 + 0x4aac48]
shr edx, 8
xor eax, edx
xor edx, edx
mov dl, byte [ecx + 1]
inc ecx
xor edx, eax
and edx, 0xff
mov edx, dword [edx*4 + 0x4aac48]
shr eax, 8
xor edx, eax
xor eax, eax
mov al, byte [ecx + 1]
inc ecx
xor eax, edx
and eax, 0xff
mov eax, dword [eax*4 + 0x4aac48]
shr edx, 8
xor eax, edx
xor edx, edx
mov dl, byte [ecx + 1]
inc ecx
xor edx, eax
and edx, 0xff
mov edx, dword [edx*4 + 0x4aac48]
shr eax, 8
xor eax, edx
inc ecx
dec edi
jne 0x493386
pop edi
pop ebx
test esi, esi
je 0x493480
xor edx, edx
mov dl, byte [ecx]
xor edx, eax
and edx, 0xff
mov edx, dword [edx*4 + 0x4aac48]
shr eax, 8
xor eax, edx
inc ecx
dec esi
jne 0x493464
not eax
pop esi
ret
Function at 0x401d31
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x45f010], 0
push ebx
push esi
push edi
mov ebx, edx
mov edi, ecx
je 0x401d46
call fcn.00401ce5
or esi, 0xffffffff
mov edx, 0xff
cmp edi, 8
jl 0x401dfa
mov ecx, edi
shr ecx, 3
imul eax, ecx, 0xfffffff8
add edi, eax
movzx eax, byte [ebx]
xor eax, esi
shr esi, 8
and eax, edx
xor esi, dword [eax*4 + 0x460690]
movzx eax, byte [ebx + 1]
xor eax, esi
shr esi, 8
and eax, edx
xor esi, dword [eax*4 + 0x460690]
movzx eax, byte [ebx + 2]
xor eax, esi
shr esi, 8
and eax, edx
xor esi, dword [eax*4 + 0x460690]
movzx eax, byte [ebx + 3]
xor eax, esi
shr esi, 8
and eax, edx
xor esi, dword [eax*4 + 0x460690]
movzx eax, byte [ebx + 4]
xor eax, esi
shr esi, 8
and eax, edx
xor esi, dword [eax*4 + 0x460690]
movzx eax, byte [ebx + 5]
xor eax, esi
shr esi, 8
and eax, edx
xor esi, dword [eax*4 + 0x460690]
movzx eax, byte [ebx + 6]
xor eax, esi
shr esi, 8
and eax, edx
xor esi, dword [eax*4 + 0x460690]
movzx eax, byte [ebx + 7]
add ebx, 8
xor eax, esi
shr esi, 8
and eax, edx
xor esi, dword [eax*4 + 0x460690]
dec ecx
jne 0x401d61
test edi, edi
je 0x401e13
movzx eax, byte [ebx]
xor eax, esi
shr esi, 8
and eax, edx
xor esi, dword [eax*4 + 0x460690]
inc ebx
dec edi
jne 0x401dfe
not esi
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x401e21
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push 2
pop esi
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
xor edi, edi
push edi
call dword [sym.imp.msvcrt.dll__get_heap_handle]
push eax
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
push 0x804
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
push esi
call dword [sym.imp.msvcrt.dll___set_app_type]
call dword [sym.imp.msvcrt.dll___p__fmode]
mov dword [eax], edi
call dword [sym.imp.msvcrt.dll___p__commode]
mov dword [esp], 0x30000
push 0x10000
mov dword [eax], edi
call dword [sym.imp.msvcrt.dll__controlfp]
push 0x44de00
push edi
call dword [sym.imp.msvcrt.dll__wsetlocale]
mov esi, dword [sym.imp.msvcrt.dll__initterm]
push 0x44d8f4
push 0x44d8f0
call esi
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
push edi
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], edi
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], edi
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
call dword [sym.imp.msvcrt.dll___p___argc]
mov eax, dword [eax]
mov dword [0x45f170], eax
call dword [sym.imp.msvcrt.dll___p___argv]
mov eax, dword [eax]
mov dword [0x45f178], eax
call dword [sym.imp.msvcrt.dll___p___wargv]
push 0x44d8ec
push 0x44d8b4
mov eax, dword [eax]
mov dword [0x45f174], eax
call esi
add esp, 0x34
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push ecx
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, eax
call fcn.004358ac
push eax
call dword [sym.imp.msvcrt.dll_exit]
int3
Function at 0x40210c
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov ebx, ecx
lea ecx, [ebp - 4]
push edi
push ebx
call fcn.004022cb
mov esi, dword [ebp - 4]
xor edi, edi
cmp dword [esi - 0xc], edi
je 0x4021b9
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x402140
test al, 0x10
je 0x4021b9
inc edi
jmp 0x4021b9
push 0x44de18
push 0x44de1c
lea ecx, [ebp - 4]
call fcn.004022ec
push 0x5c
lea ecx, [ebp - 4]
call fcn.004024e6
mov esi, dword [ebp - 4]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4021b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x4021b9
push 0x5c
lea ecx, [ebp - 4]
call fcn.004024a3
cmp eax, 0xffffffff
je 0x4021b9
push eax
push edi
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
call fcn.00402539
mov ecx, dword [eax]
call fcn.0040210c
mov ecx, dword [ebp - 8]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
call fcn.0040169b
inc bl
jne 0x4021b9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.0040169b
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4021ca
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov ebx, ecx
lea ecx, [ebp - 4]
push edi
push ebx
call fcn.004025b6
mov esi, dword [ebp - 4]
xor edi, edi
cmp dword [esi - 0xc], edi
je 0x4022ba
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402205
test al, 0x10
je 0x4022ba
inc edi
jmp 0x4022ba
push 0x44de08
push 0x44de20
lea ecx, [ebp - 4]
call fcn.004025d7
mov esi, dword [ebp - 4]
mov ebx, edi
push 0x5c
mov eax, esi
pop edx
movzx ecx, word [esi]
test cx, cx
je 0x402260
cmp cx, dx
jne 0x402236
test ebx, ebx
jne 0x402238
mov ebx, eax
jmp 0x402238
mov ebx, edi
add eax, 2
movzx ecx, word [eax]
test cx, cx
jne 0x402229
test ebx, ebx
je 0x402260
sub ebx, esi
lea ecx, [ebp - 4]
sar ebx, 1
push ebx
call fcn.00401ad3
push ebx
lea ecx, [ebp - 4]
call fcn.00401bca
mov esi, dword [ebp - 4]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4022b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x4022ba
push 0x5c
lea ecx, [ebp - 4]
call fcn.00402779
cmp eax, 0xffffffff
je 0x4022ba
push eax
push edi
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
call fcn.004027b1
mov ecx, dword [eax]
call fcn.004021ca
mov ecx, dword [ebp - 8]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
call fcn.0040169b
inc bl
jne 0x4022ba
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.0040169b
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402dbb
Capabilities:
Get file version info

Disassembly:
sub esp, 0x10
push ebx
mov eax, edx
xor ebx, ebx
push ebp
mov ebp, ecx
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x1c]
push edi
mov dword [eax], ebx
lea eax, [esp + 0xc]
push eax
push ebp
mov dword [esp + 0x14], ebx
mov dword [ecx], ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x402e52
push esi
push edi
call dword [sym.imp.msvcrt.dll_malloc]
pop ecx
mov esi, eax
push esi
push edi
push dword [esp + 0x18]
push ebp
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x402e45
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebx
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
push eax
push 0x44de08
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x402e45
cmp dword [esp + 0x14], ebx
je 0x402e45
mov ecx, dword [esp + 0x18]
mov bl, 1
mov edx, dword [esp + 0x1c]
mov eax, dword [ecx + 8]
mov dword [edx], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
test esi, esi
je 0x402e51
push esi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
pop esi
pop edi
pop ebp
mov al, bl
pop ebx
add esp, 0x10
ret
Function at 0x4033ef
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x298
push ebx
push ebp
push esi
push edi
xor eax, eax
mov edi, ecx
push 0x206
push eax
lea eax, [esp + 0xaa]
push eax
call sub.msvcrt.dll_memset
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
xor eax, eax
xor ebp, ebp
mov word [esp + 0xa0], ax
inc ebp
lea eax, [esp + 0x10]
mov dword [esp + 0x14], ebp
push eax
lea eax, [esp + 0xa4]
mov ebx, 0x208
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], ebx
push eax
push 0x44dec8
push str.SoftwareKingsoftLBMINI
push SysReAllocStringLen
call esi
cmp word [esp + 0xa0], 0
jne 0x403597
xor eax, eax
mov dword [esp + 0x14], ebp
mov word [esp + 0xa0], ax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0xa4]
mov dword [esp + 0x14], ebx
push eax
lea eax, [esp + 0x1c]
push eax
push 0x44dec8
push str.SOFTWAREliebao
push reloc.OLEAUT32.dll_SysReAllocString
call esi
cmp word [esp + 0xa0], 0
jne 0x403597
xor eax, eax
mov dword [esp + 0x14], ebp
mov word [esp + 0xa0], ax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0xa4]
mov dword [esp + 0x14], ebx
push eax
lea eax, [esp + 0x1c]
push eax
push 0x44dec8
push str.CLSIDDA3CB2BC_1CCA_412d_BC7C_4DFB532D2223Implemented_CategoriesD7BD91AA_CB34_4eae_A9D1_2DB9A7C6815C
push SysReAllocStringLen
call esi
cmp word [esp + 0xa0], 0
jne 0x403597
xor eax, eax
mov dword [esp + 0x10], ebx
mov word [esp + 0xa0], ax
mov ebx, SysReAllocStringLen
lea eax, [esp + 0x10]
mov dword [esp + 0x14], ebp
push eax
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0x1c]
push eax
push str.idex
push str.CLSID9B7A98EC_7EF9_468c_ACC8_37C793DBD7E0Implemented_CategoriesA5F7140E_4311_4ef9_AABC_F55941B5EBE5
push ebx
call esi
cmp word [esp + 0xa0], 0
jne 0x403558
lea ecx, [esp + 0x18]
call fcn.0040308c
mov esi, dword [esp + 0x18]
lea eax, [esp + 0xa0]
push dword [esi - 0xc]
push esi
push eax
call dword [sym.imp.msvcrt.dll_wcsncpy]
add esp, 0xc
lea ecx, [esi - 0x10]
call fcn.0040169b
lea ecx, [esp + 0xa0]
xor esi, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x403564
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [esp + 0xa4]
push eax
push ebp
push 0x44dec8
push str.CLSIDDA3CB2BC_1CCA_412d_BC7C_4DFB532D2223Implemented_CategoriesD7BD91AA_CB34_4eae_A9D1_2DB9A7C6815C
push ebx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x403599
xor esi, esi
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x1c]
push 3
lea eax, [esp + 0xa4]
push eax
call fcn.004038e2
push dword [esp + 0x1c]
mov ecx, edi
call fcn.00402892
lea eax, [esp + 0x20]
cmp dword [esp + 0x1c], eax
je 0x4035d4
push dword [esp + 0x1c]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
mov eax, dword [edi]
cmp dword [eax - 0xc], esi
jne 0x4035e7
push 0x44e0e8
mov ecx, edi
call fcn.00402892
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x298
ret
Function at 0x4035f4
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
cmp word [0x460a90], 0
je 0x403611
mov eax, 0x460a90
jmp 0x40369c
push ebx
push esi
push edi
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ebx, 0x104
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edi, 0x460a90
test eax, eax
je 0x403697
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_wcschr]
pop ecx
pop ecx
push esi
push esi
push esi
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [ebp - 4]
push esi
push eax
push esi
push esi
lea eax, [ebp - 0x20c]
mov dword [ebp - 4], esi
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x403697
push dword [ebp - 4]
push 0x44e0ec
push ebx
push edi
call fcn.0040203a
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4036a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x218
push ebx
push ebp
push esi
push edi
push 0x206
lea eax, [esp + 0x26]
mov ebp, ecx
push 0
push eax
call sub.msvcrt.dll_memset
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
xor eax, eax
mov dword [esp + 0x18], 0x208
mov word [esp + 0x20], ax
mov edi, 0x44e0f4
lea eax, [esp + 0x18]
xor ebx, ebx
push eax
lea eax, [esp + 0x24]
inc ebx
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
push eax
push edi
push str.SoftwareKingsoftLBMINI
push SysReAllocStringLen
call esi
cmp word [esp + 0x20], 0
jne 0x403748
xor eax, eax
mov dword [esp + 0x18], 0x208
mov word [esp + 0x20], ax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x18], ebx
push eax
lea eax, [esp + 0x1c]
push eax
push edi
push str.SOFTWAREliebao
push reloc.OLEAUT32.dll_SysReAllocString
call esi
cmp word [esp + 0x20], 0
jne 0x403748
mov ecx, ebp
call fcn.004033ef
jmp 0x4037ed
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
call fcn.004025b6
call fcn.004035f4
push eax
lea ecx, [esp + 0x14]
call fcn.004037f8
test eax, eax
je 0x4037d6
call fcn.004035f4
mov esi, eax
mov ecx, esi
call fcn.00401bae
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.00401b24
lea ecx, [esp + 0x1c]
call fcn.0040308c
mov edi, dword [esp + 0x10]
mov eax, dword [edi - 0xc]
add eax, eax
push eax
push edi
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0x44e0f4
push str.SoftwareKingsoftLBMINI
push SysReAllocStringLen
call ebx
mov esi, dword [esp + 0x1c]
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push 1
push 0x44dec8
push str.SoftwareKingsoftLBMINI
push SysReAllocStringLen
call ebx
lea ecx, [esi - 0x10]
call fcn.0040169b
jmp 0x4037da
mov edi, dword [esp + 0x10]
mov ecx, ebp
call fcn.004033ef
lea ecx, [edi - 0x10]
mov esi, eax
call fcn.0040169b
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret
Function at 0x4042be
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
push edi
push 0x58
lea eax, [ebp - 0x5c]
mov esi, edx
push 0
push eax
mov edi, ecx
call sub.msvcrt.dll_memset
push dword [ebp + 8]
and dword [ebp - 0x48], 0
lea ecx, [ebp - 0x5c]
and dword [ebp - 0x4c], 0
mov edx, esi
mov dword [ebp - 0x5c], 0x67452301
mov dword [ebp - 0x58], 0xefcdab89
mov dword [ebp - 0x54], 0x98badcfe
mov dword [ebp - 0x50], 0x10325476
call fcn.0040431b
add esp, 0x10
lea ecx, [ebp - 0x5c]
mov edx, edi
call fcn.004043b8
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x404ce0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov dword [ebp - 4], ebx
cmp dword [ebp + 8], 0xffffffff
je 0x404d07
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, dword [ebp + 8]
jae 0x404d71
lea ebx, [edi + 4]
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi + 0x24], esi
je 0x404d54
lea ecx, [edi + 0x1c]
mov edx, dword [ecx]
test edx, edx
je 0x404d81
mov eax, dword [edx]
mov esi, dword [edx + 8]
mov dword [ecx], eax
test eax, eax
je 0x404d32
and dword [eax + 4], 0
jmp 0x404d36
and dword [ecx + 4], 0
mov eax, dword [ecx + 0x10]
mov dword [edx], eax
dec dword [ecx + 8]
mov dword [ecx + 0x10], edx
jne 0x404d48
call fcn.00404e09
push dword [edi + 0x24]
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x404d76
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ebx, dword [ebp - 4]
jmp 0x404cf4
xor eax, eax
inc eax
jmp 0x404d78
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, 0x80004005
call fcn.0040167c
int3

Function at 0x404e59
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
xor eax, eax
mov esi, ecx
push 0x206
push eax
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x208]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push esi
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x404eb5
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
lea eax, [ebp - 0x208]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.rundll32.exe
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 1
push 0
push str.shell32.dll__Control_RunDLL_Inetcpl.cpl__0
lea eax, [ebp - 0x208]
push eax
push 0x44f7e0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret
Function at 0x404f44
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
xor ecx, ecx
add eax, eax
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov word [eax], cx
lea ecx, [ebp + 0x10]
push ecx
push eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
push str.SoftwareKingsoftLBMINI
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x404f7d
inc eax
cmp dword [ebp + 0xc], eax
je 0x404f7f
xor eax, eax
pop ebp
ret

Function at 0x404f81
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
lea edi, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x404f8a
sub esi, edi
sar esi, 1
lea eax, [esi + esi]
push eax
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
push edx
push ecx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
pop edi
sbb eax, eax
inc eax
pop esi
ret

Function at 0x4063e1
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esi], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push str.IsWow64Process
push str.kernel32.dll
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x40641a
mov eax, ebx
jmp 0x406435
lea ecx, [ebp - 4]
mov dword [ebp - 4], ebx
push ecx
push edi
call eax
test eax, eax
jne 0x40642d
push 2
pop eax
jmp 0x406435
xor eax, eax
cmp dword [ebp - 4], eax
setne al
push 0x118
mov dword [esi + 4], eax
lea eax, [ebp - 0x11c]
push ebx
push eax
mov dword [ebp - 0x120], 0x11c
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x11c]
push 5
pop edx
cmp eax, edx
jne 0x40648a
cmp dword [ebp - 0x118], ebx
jbe 0x4064d0
xor eax, eax
cmp dword [ebp - 0x118], 1
setne al
inc eax
mov dword [esi], eax
jmp 0x4064d0
push 6
pop ecx
cmp eax, ecx
jne 0x4064b9
mov eax, dword [ebp - 0x118]
sub eax, ebx
je 0x4064b1
dec eax
je 0x4064a9
dec eax
je 0x4064a5
mov dword [esi], ecx
jmp 0x4064d0
mov dword [esi], edx
jmp 0x4064d0
mov dword [esi], 4
jmp 0x4064d0
mov dword [esi], 3
jmp 0x4064d0
cmp eax, 0xa
jne 0x4064c6
mov dword [esi], 7
jmp 0x4064d0
cmp eax, ecx
jbe 0x4064d0
mov dword [esi], 8
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret