joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008ad0f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
test esi, esi
jne 0x1008ad28
call fcn.1004d08e
mov esi, dword [eax + 0xc]
push 0x101ccf5c
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x1008ad7e
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x1008ad7d
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x1008ad5e
xor esi, esi
jmp 0x1008ad74
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.1008ad86
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x100fde5b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x100fde6c
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x100fde16
call fcn.100fca16

Function at 0x100fde71
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sar dh, 0x78
push ebp
and byte [ebp - 0x72c], 0
and byte [ebp - 0x72b], 0
invalid
test esi, edx
clc
invalid
invalid
Function at 0x1011fe55
Capabilities:
Get file system object information

Disassembly:
push 0x4cc
mov eax, 0x101bda3f
call fcn.101829ec
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.10017f50
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x101c48d0
call fcn.10021850
cmp eax, 0xffffffff
jne 0x1011ff20
push 0
push 0x101ccf18
lea ecx, [ebp - 0x4d0]
call fcn.10021850
cmp eax, 0xffffffff
jne 0x1011ff20
push 0
push 0x101c4844
lea ecx, [ebp - 0x4d0]
call fcn.10021850
cmp eax, 0xffffffff
jne 0x1011ff20
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.10017f50
mov edi, eax
pop ecx
mov dword [ebp - 0x4d4], edi
lea ecx, [edi + 0x10]
mov dword [ebp - 0x4d8], ecx
xor edx, edx
mov byte [ebp - 4], 1
push edx
lea eax, [ebp - 0x218]
push eax
push 0x104
push edx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x1011fefd
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.1018297b
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x4d4]
mov edi, eax
call fcn.10017170
jmp 0x1011ff58
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.100180d0
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.10017170
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x1011ff46
mov edi, dword [ebp - 0x4cc]
jmp 0x1011ff58
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.1018297b
mov ecx, ebx
call edi
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.10017170
mov eax, edi
call fcn.10182996
ret

Function at 0x101a3448
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.101a32c7

Function at 0x101a8f8b
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.101a8c4b
Function at 0x419769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x41d190
cmp edx, dword [eax]
je 0x41978b
add eax, 8
inc ecx
cmp eax, 0x41d220
jl 0x41977c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x41d190]
jne 0x4198b9
mov eax, dword [0x41dbb0]
cmp eax, 1
je 0x419893
test eax, eax
jne 0x4197bc
cmp dword [0x41d0e4], 1
je 0x419893
cmp edx, 0xfc
je 0x4198b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4197f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0041a670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0041a490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x419836
lea eax, [ebp - 0x1a4]
push eax
call fcn.0041a490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41c45c
push edi
call fcn.0041af00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0041a670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0041a680
lea eax, [ebp - 0xa0]
push 0x41c43c
push eax
call fcn.0041a680
push dword [esi + 0x41d194]
lea eax, [ebp - 0xa0]
push eax
call fcn.0041a680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0041ae75
add esp, 0x2c
pop edi
jmp 0x4198b9
lea eax, [ebp + 8]
lea esi, [esi + 0x41d194]
push 0
push eax
push dword [esi]
call fcn.0041a490
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x30a95c54
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x4f5d29ce
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x1000de60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1000deb9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1000deb9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x1000deaa
cmp esi, edx
jae 0x1000deb9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x1000de98
cmp esi, edx
jae 0x1000deb9
cmp word [esi], 0
je 0x1000deb9
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x10011330
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10086f9a
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100b52f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0xf
mov byte [esi + 0x18], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0xf
mov byte [esi + 0x30], 0
mov byte [ebp - 4], 2
lea eax, [esi + 0x50]
mov dword [esi + 0x48], 0
push eax
mov dword [esi + 0x4c], vtable._BaseModule::CCriticalSection.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 3
lea ecx, [esi + 0x68]
call fcn.10011220
mov byte [ebp - 4], 4
lea ecx, [esi + 0x6c]
call fcn.10011220
mov byte [ebp - 4], 5
lea ecx, [esi + 0x70]
call fcn.10011220
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10013d60
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x10013dc9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x10013de5
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpInit
push eax
call esi
push str.HttpUninit
push dword [edi]
mov dword [edi + 4], eax
call esi
push str.zlib_uncompress
push dword [edi]
mov dword [edi + 8], eax
call esi
push str.zlib_compress
push dword [edi]
mov dword [edi + 0x10], eax
call esi
push str.zlib_compressBound
push dword [edi]
mov dword [edi + 0x14], eax
call esi
mov dword [edi + 0x18], eax
mov eax, dword [edi + 4]
pop esi
test eax, eax
je 0x10013dc9
call eax
mov dword [edi + 0xc], eax
cmp dword [edi + 8], 0
je 0x10013de5
cmp dword [edi + 4], 0
je 0x10013de5
cmp dword [edi + 0xc], 0
je 0x10013de5
mov eax, 1
pop edi
pop ebp
ret 4
xor eax, eax
pop edi
pop ebp
ret 4
Function at 0x10019de0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x1c], 0
push ebx
push esi
push edi
mov esi, ecx
jne 0x10019fed
mov edi, dword [ebp + 0xc]
cmp edi, 1
jne 0x10019e10
push dword [ebp + 0x14]
mov dword [esi + 0x28], edi
call fcn.10014580
mov ebx, dword [ebp + 0x18]
mov dword [ebx], eax
jmp 0x10019eb3
cmp edi, 0x10
jne 0x10019e5c
call fcn.10013be0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x18]
lea ecx, [esi + 0x2c]
call fcn.1001cd10
lea ecx, [esi + 0x50]
call fcn.10009560
call fcn.1001f990
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
lea eax, [edi - 0xf]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x113
jne 0x10019ec7
mov ebx, dword [ebp + 0x10]
mov dword [esi + 0x28], 1
cmp ebx, 2
jne 0x10019e7a
call fcn.10019010
jmp 0x10019eaa
cmp ebx, 0x64
jb 0x10019ea0
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push ebx
push str.Kill_timer_id_u__start_to_request_all_php_cfg
call fcn.1001f5a0
add esp, 8
mov ecx, esi
call fcn.10018e60
jmp 0x10019eaa
cmp ebx, 4
jne 0x10019eaa
call fcn.10018f40
mov ebx, dword [ebp + 0x18]
mov dword [ebx], 0
cmp dword [esi + 0x28], 0
je 0x10019eca
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ebx, dword [ebp + 0x18]
cmp edi, dword [esi + 0x27c]
jne 0x10019f18
call fcn.10013be0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x18]
lea ecx, [esi + 0x2c]
call fcn.1001cd10
lea ecx, [esi + 0x50]
call fcn.10009560
call fcn.1001f990
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop edi
pop esi
mov dword [ebx], 0
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x401
jne 0x10019fed
push str.OnStartUpdateSlowCfg
call fcn.1001f5a0
add esp, 4
push 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
lea eax, [ebp + 0xc]
mov dword [ebp + 0x18], 0
push eax
lea eax, [ebp + 0x18]
mov dword [ebp + 0x14], 4
push eax
lea eax, [ebp + 0x14]
mov dword [ebp + 0xc], 4
push eax
push str.slowcfg_test
push str.SOFTWARELudashi
push 0x80000001
mov edi, 0x6ddd00
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10019fba
cmp dword [ebp + 0x18], eax
jbe 0x10019fba
mov dword [ebp + 0x1c], eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 4]
mov dword [ebp + 0x10], 4
push eax
push str.slowcfg_test
push str.SOFTWARELudashi
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor edi, edi
test eax, eax
cmove edi, dword [ebp + 0x1c]
push 0
push edi
push 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, esi
mov dword [esi + 0x280], 1
call fcn.10018f40
pop edi
pop esi
mov dword [ebx], 0
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x1001df00
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10089363
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100b52f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
cmp dword [esi + 8], 0
je 0x1001df9e
cmp dword [esi + 4], 0
je 0x1001df9e
push 0
push 0
push 0x12
push dword [esi]
mov dword [esi + 0xc], 1
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
cmp dword [esi + 8], 0
mov dword [ebp - 0x10], eax
je 0x1001df9e
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax]
call ebx
sub eax, dword [ebp - 0x10]
cmp eax, 0x1f4
jae 0x1001df86
push 0xa
call edi
cmp dword [esi + 8], 0
jne 0x1001df70
cmp dword [esi + 8], 0
je 0x1001df9e
push 0x1f4
push str.CWorkThread::Stop__wait_thread_stop_timeout___d
call fcn.1001f5a0
add esp, 8
mov dword [ebp - 4], 0xffffffff
add esi, 0x10
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x1001dfce
mov edx, dword [ecx]
cmp ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esi + 0x24], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001e0b0
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100893e8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x100b52f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 1
cmp dword [esi + 4], ecx
je 0x1001e0f2
xor edi, edi
jmp 0x1001e189
lea eax, [ebp - 0x38]
mov dword [esi + 8], 0
push eax
lea ecx, [esi + 0x10]
mov dword [esi + 0xc], 0
call fcn.10007940
push esi
push 0
push esi
push 0x1001e1d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
test eax, eax
jne 0x1001e13e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CWorkThread::Start__CreateThread_failed__errno_d
call fcn.1001f5a0
add esp, 8
xor edi, edi
jmp 0x1001e186
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
cmp dword [esi + 8], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
jne 0x1001e181
call ebx
sub eax, dword [ebp - 0x10]
cmp eax, edi
jae 0x1001e169
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 8], 0
je 0x1001e152
cmp dword [esi + 8], 0
jne 0x1001e181
push edi
push str.CWorkThread::Start__wait_thread_running_timeout___d
call fcn.1001f5a0
add esp, 8
xor edi, edi
jmp 0x1001e186
mov edi, 1
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x1001e1ac
mov esi, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov dword [ebp - 0x14], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1001ec30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10089536
mov eax, dword fs:[0]
push eax
sub esp, 0x638
mov eax, dword [0x100b52f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [ebp - 0x644]
call fcn.1003dbb0
push 1
lea ecx, [ebp - 0x644]
mov dword [ebp - 4], 0
call fcn.10042430
push 0
lea eax, [ebp - 0x640]
push eax
lea ecx, [ebp - 0x644]
call fcn.1003f6e0
lea ecx, [ebp - 0x644]
mov byte [ebp - 4], 1
call fcn.10043eb0
cmp dword [ebp - 0x62c], 8
lea eax, [ebp - 0x640]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
cmovae eax, dword [ebp - 0x640]
push 0x10091cac
push eax
lea eax, [ebp - 0x218]
push eax
call esi
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1005fb60
add esp, 0xc
lea eax, [ebp - 0x218]
push str.ConfigCenter.log.on
push eax
lea eax, [ebp - 0x420]
push eax
call esi
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0x208
mov dword [0x100b90a0], eax
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.1005fb60
add esp, 0xc
lea eax, [ebp - 0x628]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
push str._cfgcenter.log
push esi
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
push esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1001ed63
sub eax, edx
lea ecx, [edi + 0x2c]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.1000cfa0
mov edx, dword [ebp - 0x62c]
cmp edx, 8
jb 0x1001edbe
mov ecx, dword [ebp - 0x640]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001edb4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001ee01
push edx
push ecx
call fcn.10052cd6
add esp, 8
xor eax, eax
mov dword [ebp - 0x630], 0
lea ecx, [ebp - 0x644]
mov dword [ebp - 0x62c], 7
mov word [ebp - 0x640], ax
call fcn.1003e490
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.10053047
mov esp, ebp
pop ebp
ret
call fcn.10062c39
int3
Function at 0x1001f880
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 8], 0
jne 0x1001f8a4
lea eax, [esi + 0xc]
push eax
push 0
push esi
push 0x1001f910
push 0
push 0
call fcn.1006e800
add esp, 0x18
mov dword [esi + 8], eax
pop esi
ret

Function at 0x100231a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c8
mov eax, dword [0x100b52f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c4], eax
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x4c0], ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
je 0x1002327f
test ebx, ebx
je 0x1002327f
lea eax, [ebp - 0x4bc]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x1002327f
mov ax, word [ebp - 0x4bc]
xor esi, esi
test ax, ax
je 0x1002327f
xor ecx, ecx
movzx edx, ax
nop dword [eax + eax]
mov ax, word [ebp + ecx - 0x4ba]
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0xd4]
push 0x64
push eax
lea eax, [ebp - 0xc]
mov word [ebp - 0xc], dx
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x1002326a
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov dword [ebp - 0x4c8], eax
lea eax, [ebp - 0xd4]
push eax
push dword [ebp - 0x4c4]
call fcn.1006f04a
add esp, 0xc
test eax, eax
je 0x10023292
add esi, 4
lea ecx, [esi + esi]
movzx eax, word [ebp + ecx - 0x4bc]
mov edx, eax
test ax, ax
jne 0x10023210
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10053047
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x100232e9
cmp edi, 0x7fffffff
ja 0x100232e0
mov ecx, ebx
mov esi, 0x7ffffffe
lea ebx, [ebp - 0xc]
sub esi, edi
mov edx, edi
sub ebx, ecx
nop
lea eax, [esi + edx]
test eax, eax
je 0x100232cb
movzx eax, word [ebx + ecx]
test ax, ax
je 0x100232cb
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x100232b0
mov ebx, dword [ebp - 0x4c0]
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
jmp 0x100232e9
test edi, edi
je 0x100232e9
xor eax, eax
mov word [ebx], ax
xor ecx, ecx
test edi, edi
je 0x100232f7
cmp edi, 0x7fffffff
jbe 0x100232fc
mov ecx, 0x80070057
test ecx, ecx
js 0x1002332e
mov esi, edi
mov eax, ebx
test edi, edi
je 0x10023316
cmp word [eax], 0
je 0x10023316
add eax, 2
sub esi, 1
jne 0x10023308
xor eax, eax
mov ecx, 0x80070057
test esi, esi
cmovne ecx, eax
mov eax, edi
sub eax, esi
neg esi
sbb esi, esi
and esi, eax
jmp 0x10023330
xor esi, esi
test ecx, ecx
js 0x10023386
mov edx, edi
lea ecx, [ebx + esi*2]
sub edx, esi
je 0x10023379
mov eax, edx
sub eax, edi
mov edi, dword [ebp - 0x4c4]
add eax, 0x7ffffffe
add esi, eax
mov eax, dword [ebp - 0x4c8]
add eax, eax
sub eax, ecx
add edi, eax
nop word [eax + eax]
test esi, esi
je 0x10023379
movzx eax, word [edi + ecx]
test ax, ax
je 0x10023379
mov word [ecx], ax
dec esi
add ecx, 2
sub edx, 1
jne 0x10023360
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10053047
mov esp, ebp
pop ebp
ret
Function at 0x10026150
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10089f40
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x100b52f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.1000a780
mov ecx, eax
test ecx, ecx
je 0x100262e1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x14]
push str.5c317c3c_41c7_4958_a68f_125d084b4d59
mov dword [ebp - 0x14], eax
call fcn.10009430
test al, al
jne 0x100261b1
push 0x24
push str.5c317c3c_41c7_4958_a68f_125d084b4d59
lea ecx, [ebp - 0x14]
call fcn.1000cfa0
mov dword [ebp - 4], 0
call fcn.1000a780
mov ecx, eax
test ecx, ecx
je 0x100262eb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x10]
push str.BuEtlJLQJfdHbKFHfXrYcDTGPYgSNmPGdXzOUvijgNw
mov dword [ebp - 0x10], eax
call fcn.10009430
test al, al
jne 0x100261f2
push 0x2c
push str.BuEtlJLQJfdHbKFHfXrYcDTGPYgSNmPGdXzOUvijgNw
lea ecx, [ebp - 0x10]
call fcn.1000cfa0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100542b0
add esp, 0xc
mov eax, dword [eax]
test eax, eax
je 0x10026275
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push ecx
push 0x20019
push 0
push eax
push 0x80000002
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10026275
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
push 0
push str.level
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x1c]
test esi, esi
je 0x1002627a
mov edi, 0x64
mov edx, dword [ebp - 0x28]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10026297
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100262b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x100262c9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp edi, 0x64
sbb eax, eax
neg eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10002fe0
push 0x80004005
call fcn.10002fe0
int3