joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100cb3e3
Capabilities:
Enumerate processes

Disassembly:
push 0x260
mov eax, 0x1010fb09
call fcn.10109fe9
mov eax, dword [ebp + 8]
test eax, eax
je 0x100cb4df
push eax
lea ecx, [ebp - 0x40]
call fcn.1001ab20
lea eax, [ebp - 0x40]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.100cc1be
mov edi, 0x22c
lea eax, [ebp - 0x26c]
push edi
push ebx
push eax
call fcn.100e23d0
add esp, 0x10
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x100cb4d0
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x26c], edi
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x100cb4c5
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
cmp word [ebp - 0x248], ax
jne 0x100cb46f
mov eax, ebx
jmp 0x100cb47c
lea eax, [ebp - 0x248]
push eax
call fcn.100f8658
pop ecx
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x28]
call fcn.1001a800
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.100cc1be
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.100cccd2
test eax, eax
je 0x100cb4e5
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.100ccb12
lea eax, [ebp - 0x26c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x100cb452
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.100ccb12
mov eax, esi
call fcn.10109f93
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x264]
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.100ccb12
jmp 0x100cb4d2
Function at 0x100cbfb9
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1016420c]
xor eax, ebp
mov dword [ebp - 4], eax
push str.FYunZip
push str.C:log_
lea eax, [ebp - 0x20c]
push str._s_s.test
push eax
call fcn.100ca74e
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.1001cd0b
mov esp, ebp
pop ebp
ret

Function at 0x100cc916
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, 0xe3
push edi
lea edi, [esi + 0x9c4]
mov ecx, dword [edi + 4]
xor ecx, dword [edi]
and ecx, 0x7fffffff
xor ecx, dword [edi]
lea edi, [edi + 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub ebx, 1
jne 0x100cc926
lea edi, [esi + 0xd50]
mov ebx, 0x18c
mov ecx, dword [edi + 4]
xor ecx, dword [edi]
and ecx, 0x7fffffff
xor ecx, dword [edi]
lea edi, [edi + 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd50]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub ebx, 1
jne 0x100cc966
mov ecx, dword [esi + 0x1380]
xor ecx, dword [esi + 4]
and ecx, 0x7fffffff
xor ecx, dword [esi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
and dword [esi], ebx
pop esi
pop ebx
ret

Function at 0x100cc9d6
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea edx, [ecx + 8]
mov esi, 0x270
mov ecx, dword [edx - 4]
xor ecx, dword [edx]
lea edx, [edx + 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x100cc9df
pop esi
ret

Function at 0x100cd49b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ecx + 4], edx
push edi
inc esi
lea edi, [ecx + 8]
mov ebx, 0x270
mov eax, edx
shr eax, 0x1e
xor edx, eax
imul edx, dword [ebp + 0xc]
add edx, esi
inc esi
mov dword [edi], edx
lea edi, [edi + 4]
cmp esi, ebx
jl 0x100cd4b2
pop edi
pop esi
mov dword [ecx], ebx
pop ebx
pop ebp
ret 8
Function at 0x100cd79f
Capabilities:
Check if file exists
Create directory
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc38
mov eax, dword [0x1016420c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, 0x208
lea eax, [ebp - 0x61c]
push ebx
xor esi, esi
mov edi, ecx
push esi
push eax
call fcn.100e23d0
push ebx
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.100e23d0
push ebx
lea eax, [ebp - 0xa2c]
push esi
push eax
call fcn.100e23d0
push ebx
lea eax, [ebp - 0xc34]
push esi
push eax
call fcn.100e23d0
push ebx
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.100e23d0
push ebx
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.100e23d0
add esp, 0x48
lea eax, [ebp - 0x414]
push esi
push 0x2b
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x414]
push str._shiqiang_
push eax
call fcn.100f85c5
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100cd858
push esi
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.100f8636
lea eax, [ebp - 0x20c]
push str.wnsoft.ini
push eax
call fcn.100f85c5
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x20c]
add esp, 0x10
mov ebx, str.Globals
push eax
push 0x104
lea eax, [ebp - 0x61c]
push eax
push 0x10112588
push str.OnlyIdentifier1
push ebx
call esi
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0x824]
push eax
push 0x10112588
push str.OnlyIdentifier2
push ebx
call esi
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0xa2c]
push eax
push 0x10112588
push str.OnlyIdentifier3
push ebx
call esi
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0xc34]
push eax
push 0x10112588
push str.OnlyIdentifier4
push ebx
call esi
lea eax, [ebp - 0x61c]
push eax
call fcn.100f8658
mov esi, eax
lea eax, [ebp - 0x824]
push eax
call fcn.100f8658
mov dword [ebp - 0xc38], eax
lea eax, [ebp - 0xa2c]
push eax
call fcn.100f8658
mov ebx, eax
lea eax, [ebp - 0xc34]
push eax
call fcn.100f8658
add esp, 0x10
test esi, esi
je 0x100cd9ae
cmp dword [ebp - 0xc38], 0
je 0x100cd9ae
test ebx, ebx
je 0x100cd9ae
test eax, eax
je 0x100cd9ae
lea eax, [ebp - 0x61c]
push eax
push dword [edi]
call fcn.100f8636
lea eax, [ebp - 0x824]
push eax
mov eax, dword [edi]
add eax, 0x208
push eax
call fcn.100f8636
lea eax, [ebp - 0xa2c]
push eax
mov eax, dword [edi]
add eax, 0x410
push eax
call fcn.100f8636
lea eax, [ebp - 0xc34]
push eax
mov eax, dword [edi]
add eax, 0x618
push eax
call fcn.100f8636
xor eax, eax
add esp, 0x20
inc eax
jmp 0x100cd9b0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001cd0b
mov esp, ebp
pop ebp
ret
Function at 0x100cddff
Capabilities:
Get mac address on windows

Disassembly:
push 0x48
mov eax, 0x1010fe09
call fcn.10109fe9
mov ebx, dword [ebp + 8]
push ebx
mov dword [ebp - 0x48], 4
call fcn.100f8658
push eax
push 0
push ebx
call fcn.100e23d0
push 0x288
call fcn.100e9b0d
mov esi, eax
add esp, 0x14
test esi, esi
je 0x100cddf2
lea eax, [ebp - 0x48]
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x100cdcbe
push esi
call fcn.100e9b18
push dword [ebp - 0x48]
call fcn.100e9b0d
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x100cddf2
lea eax, [ebp - 0x48]
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x100cddeb
and dword [ebp - 0x4c], eax
lea edi, [ebp - 0x2a]
push 6
pop ecx
mov word [ebp - 0x2c], ax
rep stosd dword es:[edi], eax
xor ecx, ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
and dword [ebp - 4], ecx
mov edi, esi
test esi, esi
je 0x100cddbc
movzx eax, byte [edi + 0x199]
push eax
movzx eax, byte [edi + 0x198]
push eax
movzx eax, byte [edi + 0x197]
push eax
movzx eax, byte [edi + 0x196]
push eax
movzx eax, byte [edi + 0x195]
push eax
movzx eax, byte [edi + 0x194]
push eax
lea eax, [ebp - 0x2c]
push str._02X_02X_02X_02X_02X_02X
push eax
call fcn.1001c070
lea eax, [edi + 0x10c]
push eax
call fcn.1010e76b
push 0x1014f41c
push eax
call fcn.100e2b30
add esp, 0x2c
test eax, eax
jne 0x100cddfa
cmp dword [edi + 0x1a0], 0x47
je 0x100cddfa
and dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp word [ebp - 0x2c], ax
je 0x100cdd7f
lea eax, [ebp - 0x2c]
push eax
call fcn.100f8658
pop ecx
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x44]
call fcn.1001a800
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x54]
call fcn.100ccfb6
push 0
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.100ccb12
mov edi, dword [edi]
test edi, edi
jne 0x100cdcf4
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
sub eax, ecx
push 0x18
cdq
pop ecx
idiv ecx
test eax, eax
je 0x100cdde3
push 0
lea ecx, [ebp - 0x54]
call fcn.100ce765
cmp dword [eax + 0x14], 8
jb 0x100cddda
mov eax, dword [eax]
push eax
push ebx
call fcn.100f8636
pop ecx
pop ecx
lea ecx, [ebp - 0x54]
call fcn.100ccb69
push esi
call fcn.100e9b18
pop ecx
call fcn.10109f93
ret 4
lea eax, [ebp - 0x2c]
jmp 0x100cddda
push ebp
mov ebp, esp
lea ecx, [ebp + 0xb]
pop ebp
jmp 0x100cdc59
Function at 0x100cde32
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa34
mov eax, dword [0x1016420c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x208
lea eax, [ebp - 0x414]
push esi
xor ebx, ebx
mov edi, ecx
push ebx
push eax
call fcn.100e23d0
push esi
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.100e23d0
push esi
lea eax, [ebp - 0x824]
push ebx
push eax
call fcn.100e23d0
push esi
lea eax, [ebp - 0xa2c]
push ebx
push eax
call fcn.100e23d0
push esi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.100e23d0
lea eax, [ebp - 0x20c]
push 0x1014f564
push eax
call fcn.100f8636
add esp, 0x44
lea eax, [ebp - 0x20c]
push 0x1014f578
push eax
call fcn.100f85c5
lea eax, [ebp - 0x20c]
push 0x101126e4
push eax
call fcn.100f85c5
add esp, 0x10
lea eax, [ebp - 0xa34]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x20c]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100cdf7b
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0xa30]
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0xa30], 0x104
push eax
push ebx
push ebx
push str.OnlyIdentifier1
push dword [ebp - 0xa34]
call esi
lea eax, [ebp - 0xa30]
push eax
lea eax, [ebp - 0x61c]
push eax
push ebx
push ebx
push str.OnlyIdentifier2
push dword [ebp - 0xa34]
call esi
lea eax, [ebp - 0xa30]
push eax
lea eax, [ebp - 0x824]
push eax
push ebx
push ebx
push str.OnlyIdentifier3
push dword [ebp - 0xa34]
call esi
lea eax, [ebp - 0xa30]
push eax
lea eax, [ebp - 0xa2c]
push eax
push ebx
push ebx
push str.OnlyIdentifier4
push dword [ebp - 0xa34]
call esi
push dword [ebp - 0xa34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x414]
push eax
call fcn.100f8658
mov esi, eax
lea eax, [ebp - 0x61c]
push eax
call fcn.100f8658
mov dword [ebp - 0xa30], eax
lea eax, [ebp - 0x824]
push eax
call fcn.100f8658
mov ebx, eax
lea eax, [ebp - 0xa2c]
push eax
call fcn.100f8658
add esp, 0x10
test esi, esi
je 0x100ce02b
cmp dword [ebp - 0xa30], 0
je 0x100ce02b
test ebx, ebx
je 0x100ce02b
test eax, eax
je 0x100ce02b
lea eax, [ebp - 0x414]
push eax
push dword [edi]
call fcn.100f8636
lea eax, [ebp - 0x61c]
push eax
mov eax, dword [edi]
add eax, 0x208
push eax
call fcn.100f8636
lea eax, [ebp - 0x824]
push eax
mov eax, dword [edi]
add eax, 0x410
push eax
call fcn.100f8636
lea eax, [ebp - 0xa2c]
push eax
mov eax, dword [edi]
add eax, 0x618
push eax
call fcn.100f8636
xor eax, eax
add esp, 0x20
inc eax
jmp 0x100ce02d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001cd0b
mov esp, ebp
pop ebp
ret
Function at 0x100ce03e
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x63c
mov eax, dword [0x1016420c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, dword [ebp + 8]
mov word [ebp - 0x18], ax
lea edi, [ebp - 0x16]
stosd dword es:[edi], eax
xor ebx, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x220]
mov edi, 0x208
push edi
push ebx
push eax
call fcn.100e23d0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x1014f434
call fcn.100f8658
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.100e988e
push edi
lea eax, [ebp - 0x630]
push ebx
push eax
call fcn.100e23d0
push edi
lea eax, [ebp - 0x428]
push ebx
push eax
call fcn.100e23d0
add esp, 0x28
mov dword [ebp - 0x634], ebx
mov ecx, 0x104
mov dword [ebp - 0x63c], ebx
lea eax, [ebp - 0x428]
mov dword [ebp - 0x638], ebx
push ecx
push eax
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x634]
push eax
push ecx
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x100ce12a
push dword [ebp - 0x634]
push str._08X
push esi
call fcn.1001c070
add esp, 0xc
jmp 0x100ce137
push 0x10112588
push esi
call fcn.100f8636
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001cd0b
mov esp, ebp
pop ebp
ret 4
Function at 0x100ce2f6
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x1016420c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x208
lea eax, [ebp - 0x20c]
push esi
xor ebx, ebx
mov edi, ecx
push ebx
push eax
call fcn.100e23d0
push esi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.100e23d0
add esp, 0x18
lea eax, [ebp - 0x20c]
push ebx
push 0x2b
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
push str._shiqiang_
push eax
call fcn.100f85c5
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x20c]
pop ecx
pop ecx
push eax
call esi
test eax, eax
jne 0x100ce379
push ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.100f8636
lea eax, [ebp - 0x414]
push str.wnsoft.ini
push eax
call fcn.100f85c5
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
je 0x100ce40e
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x414]
push eax
push dword [edi]
mov ebx, str.Globals
push str.OnlyIdentifier1
push ebx
call esi
lea eax, [ebp - 0x414]
push eax
mov eax, dword [edi]
add eax, 0x208
push eax
push str.OnlyIdentifier2
push ebx
call esi
lea eax, [ebp - 0x414]
push eax
mov eax, dword [edi]
add eax, 0x410
push eax
push str.OnlyIdentifier3
push ebx
call esi
lea eax, [ebp - 0x414]
push eax
mov eax, dword [edi]
add eax, 0x618
push eax
push str.OnlyIdentifier4
push ebx
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001cd0b
mov esp, ebp
pop ebp
ret
Function at 0x100ce5b7
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 8]
mov esi, 0xf003f
push eax
push esi
xor edi, edi
mov ebx, ecx
push edi
push 0x1014f5a8
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100ce6b5
push edi
lea eax, [ebp - 4]
push eax
push edi
push esi
push edi
push edi
push edi
push str.ShiQiang
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x100ce6b5
push dword [ebx]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
call esi
lea eax, [eax*2 + 2]
push eax
push dword [ebx]
push 1
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push str.OnlyIdentifier1
push dword [ebp - 4]
call edi
mov eax, dword [ebx]
add eax, 0x208
push eax
call esi
lea eax, [eax*2 + 2]
push eax
mov eax, dword [ebx]
add eax, 0x208
push eax
push 1
push 0
push str.OnlyIdentifier2
push dword [ebp - 4]
call edi
mov eax, dword [ebx]
add eax, 0x410
push eax
call esi
lea eax, [eax*2 + 2]
push eax
mov eax, dword [ebx]
add eax, 0x410
push eax
push 1
push 0
push str.OnlyIdentifier3
push dword [ebp - 4]
call edi
mov eax, dword [ebx]
add eax, 0x618
push eax
call esi
lea eax, [eax*2 + 2]
push eax
mov eax, dword [ebx]
add eax, 0x618
push eax
push 1
push 0
push str.OnlyIdentifier4
push dword [ebp - 4]
call edi
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 8]
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100d36e3
Capabilities:
Encode data using xor

Disassembly:
push 0x74
mov eax, 0x101106ff
call fcn.10109fe9
mov esi, ecx
mov dword [ebp - 0x4c], esi
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x100d3721
xor ebx, ebx
push ebx
call fcn.100ec5c7
mov dword [esi], eax
imul eax, dword [esi + 8], 0x3c
pop ecx
mov dword [esi + 4], edx
test eax, eax
jle 0x100d372f
push eax
push ebx
call fcn.100cb59f
cdq
add dword [esi], eax
pop ecx
adc dword [esi + 4], edx
jmp 0x100d372e
xor ebx, ebx
push ebx
call fcn.100ec5c7
mov dword [esi], eax
mov dword [esi + 4], edx
pop ecx
push 0x1869f
push 0x2710
call fcn.100cb59f
pop ecx
pop ecx
lea ecx, [esi + 0xa8]
mov edi, eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.100ca78f
cmp dword [ebp - 0x18], 0
mov dword [ebp - 4], ebx
je 0x100d3868
push str._rand
call fcn.100f8d70
pop ecx
push eax
push str._rand
lea ecx, [ebp - 0x28]
call fcn.1001a5b0
mov eax, edi
cdq
push edx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100cbc79
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.1001a4b0
push ebx
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.100ccabd
lea ecx, [ebp - 0x80]
call fcn.100175b0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10017790
lea ecx, [ebp - 0x80]
call fcn.100180e0
mov dword [ebp - 0x44], eax
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov dword [ebp - 0x48], ecx
je 0x100d3860
lea eax, [ecx + 1]
push eax
call fcn.1001cd3f
mov edi, eax
pop ecx
test edi, edi
je 0x100d3860
mov eax, dword [ebp - 0x48]
inc eax
push eax
push ebx
push edi
call fcn.100e23d0
push str.FengYun
call fcn.100f8d70
mov dword [ebp - 0x48], eax
add esp, 0x10
mov eax, dword [ebp - 0x44]
mov edx, ebx
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
je 0x100d3842
mov esi, ebx
mov ecx, dword [eax]
mov al, byte [ecx + edx]
xor al, byte [esi + str.FengYun]
inc esi
mov ecx, dword [ebp - 0x44]
mov byte [edx + edi], al
xor eax, eax
cmp esi, dword [ebp - 0x48]
cmovge esi, eax
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
inc edx
cmp edx, eax
mov eax, ecx
jb 0x100d3819
mov esi, dword [ebp - 0x4c]
push edi
mov ecx, esi
call fcn.100d34a2
push edi
test al, al
jne 0x100d3856
call fcn.1001cd48
jmp 0x100d385f
call fcn.1001cd48
mov byte [esi + 0xc], 1
pop ecx
lea ecx, [ebp - 0x80]
call fcn.10017680
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.100ccabd
call fcn.10109f93
ret
Function at 0x100d6666
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x10110c72
call fcn.10109fb5
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.100df949
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.100df97d
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x100d66a6
mov edi, 0xf003f
push edi
push esi
push 0x1014f394
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100d6706
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x100d66e1
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100d6706
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x10]
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x3c]
call fcn.100df95c
call fcn.10109f7e
ret 0xc
Function at 0x100d6b76
Capabilities:
Get common file path

Disassembly:
push 0x240
mov eax, 0x10110d02
call fcn.10109fe9
mov ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor esi, esi
mov dword [ebp - 0x24c], edi
push esi
push eax
call fcn.100e23d0
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0x19
push eax
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call esi
test eax, eax
je 0x100d6c6d
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x100d6bf2
lea eax, [ebp - 0x218]
push eax
call fcn.100f8658
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.1001a800
and dword [ebp - 4], 0
push 0x101126e4
call fcn.100f8658
pop ecx
push eax
push 0x101126e4
lea ecx, [ebp - 0x230]
call fcn.1001b4e0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push edi
cmovae eax, dword [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.100d6838
mov edi, eax
lea ecx, [ebp - 0x230]
push 0
push 1
test edi, edi
je 0x100d6c5e
call fcn.100ccb12
mov eax, edi
jmp 0x100d6d1f
or dword [ebp - 4], 0xffffffff
call fcn.100ccb12
mov edi, dword [ebp - 0x24c]
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call esi
test eax, eax
je 0x100d6d1d
and dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp word [ebp - 0x218], ax
je 0x100d6cb4
lea eax, [ebp - 0x218]
push eax
call fcn.100f8658
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.1001a800
mov esi, 0x101126e4
mov dword [ebp - 4], 1
push esi
call fcn.100f8658
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.1001b4e0
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push edi
cmovae eax, dword [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.100d6838
push 0
lea ecx, [ebp - 0x248]
mov esi, eax
push 1
call fcn.100ccb12
test esi, esi
je 0x100d6d1d
mov eax, esi
jmp 0x100d6d1f
xor eax, eax
call fcn.10109f93
ret 4