joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e027
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fbbe2
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5415b0]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push esi
mov eax, dword [0x5415b0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x10]
push str.http:__6wan.teeqee.com_bot_recommend.html
call fcn.00404e83
xor ebx, ebx
mov dword [esp + 0x40], ebx
call fcn.004303ca
test al, al
jne 0x42e08b
push str.http:__cusbox.6wan.com_Home_Ad_recommendAd
lea ecx, [esp + 0x14]
call fcn.004028a2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov ebx, dword [ebp + 0xc]
lea edx, [esp + 0x18]
mov byte [esp + 0x40], 1
mov ecx, dword [esp + 0x10]
push ebx
call fcn.00413676
pop ecx
test al, al
je 0x42e0f2
cmp dword [esp + 0x2c], 0x10
lea ecx, [esp + 0x18]
mov edx, esi
cmovae ecx, dword [esp + 0x18]
call fcn.0042dec4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0x14]
add edx, ebx
sub edx, eax
test edx, edx
jle 0x42e0f2
mov ecx, esi
call fcn.0042e129
mov bl, al
jmp 0x42e0f4
xor bl, bl
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.00406ae3
lea ecx, [esp + 0x10]
call fcn.00403030
mov al, bl
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004d5e2a
mov esp, ebp
pop ebp
ret

Function at 0x42e129
Capabilities:
Create directory

Disassembly:
push 0x10
mov eax, 0x4fb0ff
call fcn.004e3337
mov dword [ebp - 0x1c], edx
mov edi, ecx
mov eax, dword [0x542750]
xor bl, bl
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push 0x547b18
push str._sadvertisement
push eax
call fcn.0040301c
add esp, 0xc
push 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [edi + 4]
sub eax, dword [edi]
push 0x2c
pop ecx
cdq
idiv ecx
mov ecx, eax
mov dword [ebp - 0x18], ecx
test ecx, ecx
jle 0x42e20b
xor esi, esi
mov edx, dword [edi]
mov eax, dword [esi + edx + 8]
cmp dword [eax - 8], 0
je 0x42e1fc
mov edx, eax
lea ecx, [ebp - 0x14]
call fcn.0042ebb1
mov byte [ebp - 4], 1
mov ecx, dword [edi]
add ecx, 0xc
add ecx, esi
mov eax, dword [ecx]
cmp dword [eax - 8], 0
jne 0x42e1c0
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push str._s_s.swf
push ecx
call fcn.0040301c
add esp, 0x10
mov ecx, dword [edi]
mov ecx, dword [ecx + esi + 0xc]
call fcn.00404b29
test eax, eax
je 0x42e1d3
mov bl, 1
jmp 0x42e1eb
mov eax, dword [edi]
push dword [ebp - 0x1c]
push dword [esi + eax + 0xc]
push dword [esi + eax + 8]
call dword [sym.imp.Http.dll_public:_static_bool___cdecl_NetTool::DownloadURL_wchar_t_const___wchar_t_const___long_int_]
add esp, 0xc
mov bl, al
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00403030
mov ecx, dword [ebp - 0x18]
jmp 0x42e1fe
mov bl, 1
add esi, 0x2c
dec ecx
mov dword [ebp - 0x18], ecx
jne 0x42e183
lea ecx, [ebp - 0x10]
call fcn.00403030
mov al, bl
call fcn.004e3305
ret
Function at 0x42fa14
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0x4fbd8c
call fcn.004e3337
mov edi, ecx
cmp dword [ebp + 0xc], 0
jne 0x42fa2f
xor al, al
jmp 0x42fb4a
mov ebx, dword [ebp + 8]
push str.http:__
push ebx
call fcn.004d7464
pop ecx
pop ecx
test eax, eax
je 0x42fa28
xor eax, eax
mov dword [ebp + 8], eax
lea eax, [edi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [edi]
cmp esi, dword [edi + 4]
jae 0x42fabf
mov eax, dword [esi]
mov ecx, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42fa83
test dx, dx
je 0x42fa7f
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42fa83
add eax, 4
add ecx, 4
test dx, dx
jne 0x42fa5d
xor eax, eax
jmp 0x42fa88
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42fab0
push ebx
mov ecx, esi
mov dword [ebp + 8], 1
call fcn.004028a2
push dword [ebp + 0xc]
lea ecx, [esi + 4]
call fcn.004028a2
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x42fab0
mov dword [esi + 8], eax
add esi, 0xc
cmp esi, dword [edi + 4]
jb 0x42fa59
mov eax, dword [ebp + 8]
test eax, eax
jne 0x42fb03
mov eax, dword [0x542750]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 0x10]
push dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
call fcn.004028a2
push ebx
lea ecx, [ebp - 0x18]
call fcn.004028a2
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.0042fd2e
lea ecx, [ebp - 0x14]
call fcn.00403030
lea ecx, [ebp - 0x18]
call fcn.00403030
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x42fb0d
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi + 0x30]
cmp eax, 2
jge 0x42fb48
inc eax
mov dword [edi + 0x30], eax
lea eax, [ebp + 0xc]
push eax
push 0
push edi
push 0x42fcc8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x42fb48
mov ecx, dword [edi + 0x30]
test ecx, ecx
jle 0x42fb48
mov dword [edi + ecx*4 + 0x38], eax
mov al, 1
call fcn.004e3305
ret 0x10

Function at 0x430006
Capabilities:
Read .ini file

Disassembly:
push 0xc
mov eax, 0x4fbe26
call fcn.004e3337
mov esi, ecx
mov eax, dword [0x542750]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push 0x547b18
push str._sUser.ini
push eax
call fcn.0040301c
add esp, 0xc
mov ebx, 0x50f824
push dword [ebp - 0x10]
push 0
push str.iconcount
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [0x542750]
mov dword [ebp - 0x18], ecx
lea edi, [eax + 1]
mov byte [ebp - 4], 1
push edi
lea eax, [ebp - 0x18]
push str.icon_d
push eax
call fcn.0040301c
add esp, 0xc
push dword [ebp - 0x10]
push esi
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push ebx
call esi
mov eax, dword [0x542750]
mov dword [ebp - 0x14], eax
push edi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push 0x51e100
push eax
call fcn.0040301c
add esp, 0xc
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push str.iconcount
push ebx
call esi
lea ecx, [ebp - 0x14]
call fcn.00403030
lea ecx, [ebp - 0x18]
call fcn.00403030
lea ecx, [ebp - 0x10]
call fcn.00403030
call fcn.004e3305
ret
Function at 0x4300c8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x2c
mov eax, 0x4fbe49
call fcn.004e336a
mov ebx, 0x547b18
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4301cf
mov edi, 0x1000
push edi
call fcn.004d5f08
pop ecx
mov esi, eax
lea eax, [ebp - 0x38]
push eax
push edi
push esi
push 4
push ebx
call dword [sym.imp.ADVAPI32.dll_GetFileSecurityW]
xor ebx, ebx
lea eax, [ebp - 0x34]
push ebx
push eax
push 4
push 1
push esi
mov dword [ebp - 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_ConvertSecurityDescriptorToStringSecurityDescriptorW]
push esi
call fcn.004d5e39
pop ecx
cmp dword [ebp - 0x34], ebx
je 0x4301cf
push dword [ebp - 0x34]
lea ecx, [ebp - 0x2c]
call fcn.0040b733
mov dword [ebp - 4], ebx
push dword [ebp - 0x34]
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
call edi
mov esi, str._A_OICI_FA___BU_
push esi
call fcn.0040b70c
pop ecx
push eax
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00430604
cmp eax, 0xffffffff
jne 0x4301c4
push 1
push ecx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0x28
push eax
lea ecx, [ebp - 0x2c]
call fcn.00430604
mov esi, eax
cmp esi, 0xffffffff
je 0x4301c4
push str._A_OICI_FA___BU_
call fcn.0040b70c
pop ecx
push eax
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00430500
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x30]
push ebx
push ecx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x30], ebx
cmovae eax, dword [ebp - 0x2c]
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
push dword [ebp - 0x30]
push 4
push 0x547b18
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
push dword [ebp - 0x30]
call edi
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040bb2a
call fcn.004e3319
ret

Function at 0x430476
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5415b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x54927c]
test eax, eax
jne 0x4304f2
push esi
mov esi, 0x114
push esi
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.004db6f0
add esp, 0xc
mov dword [ebp - 0x118], esi
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
pop esi
jne 0x4304dc
cmp dword [ebp - 0x110], 0
je 0x4304d8
cmp dword [ebp - 0x110], 1
jne 0x4304ea
push 2
jmp 0x4304ec
cmp dword [ebp - 0x114], 5
ja 0x4304ea
xor eax, eax
inc eax
jmp 0x4304ed
push 3
pop eax
mov dword [0x54927c], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d5e2a
mov esp, ebp
pop ebp
ret
Function at 0x430806
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
lea eax, [ebp - 4]
push edi
xor ebx, ebx
mov dword [ebp - 8], ecx
push eax
push ebx
push ebx
mov dword [ebp - 4], ebx
call esi
push dword [ebp - 4]
call fcn.004d5f08
pop ecx
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
push ebx
call esi
mov ebx, eax
test ebx, ebx
je 0x430893
mov esi, dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
test dword [edi + 0xc], 0x100000
je 0x43085d
push dword [ebp - 8]
push dword [edi + 4]
call fcn.004d7464
pop ecx
pop ecx
test eax, eax
jne 0x43088a
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
push ebx
call esi
push edi
call fcn.004d5e39
push dword [ebp - 4]
call fcn.004d5f08
pop ecx
pop ecx
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
push ebx
call esi
test eax, eax
jne 0x430843
jmp 0x430893
push dword [edi + 4]
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
test edi, edi
je 0x43089e
push edi
call fcn.004d5e39
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4308a5
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
lea eax, [ebp - 4]
push edi
xor ebx, ebx
push eax
push ebx
push ebx
mov dword [ebp - 4], ebx
call esi
push dword [ebp - 4]
call fcn.004d5f08
pop ecx
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
push ebx
call esi
mov esi, eax
test esi, esi
je 0x43091b
mov ebx, dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
test dword [edi + 0xc], 0x100000
jne 0x4308f0
push dword [edi + 4]
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
push esi
call ebx
push edi
call fcn.004d5e39
push dword [ebp - 4]
call fcn.004d5f08
pop ecx
pop ecx
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
push esi
call ebx
test eax, eax
jne 0x4308de
test edi, edi
je 0x430926
push edi
call fcn.004d5e39
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x431266
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
lea eax, [ebx + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 4]
mov esi, dword [ebx]
sub eax, esi
push 0x28
cdq
pop edi
idiv edi
test eax, eax
jle 0x4312fd
cmp esi, dword [ebx + 4]
je 0x4312fd
lea ecx, [esi + 0x14]
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
test eax, 0xfffffffc
jne 0x4312b4
cmp dword [esi], 0
je 0x4312bf
mov eax, dword [ecx]
sub eax, dword [ecx - 4]
sar eax, 2
cmp eax, dword [0x543e04]
jae 0x4312bf
add esi, edi
add ecx, edi
cmp esi, dword [ebx + 4]
jne 0x431292
jmp 0x4312fd
lea edi, [esi + 0xc]
push edi
lea ecx, [ebx + 0xc]
call fcn.00410937
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
push 0
test eax, eax
je 0x4312e9
push 0
push 0x10
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4312f1
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
lea eax, [ebp - 4]
mov ecx, ebx
push eax
call fcn.00431fef
lea eax, [ebx + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x431682
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x4fbfb8
call fcn.004e3337
mov esi, ecx
and dword [ebp - 4], 0
cmp dword [ebp + 0x10], 0
je 0x4316a2
xor edi, edi
inc edi
jmp 0x43175f
lea ebx, [esi + 0x18]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 4]
xor edi, edi
sub eax, dword [esi]
push 0x28
cdq
pop ecx
idiv ecx
xor edx, edx
test eax, eax
jle 0x4316eb
mov ecx, dword [esi]
cmp dword [ecx], edi
jne 0x4316cf
inc edx
add ecx, 0x28
cmp edx, eax
jl 0x4316c1
jmp 0x4316eb
imul eax, edx, 0x28
sub esp, 0x28
mov ecx, esp
add eax, dword [esi]
push eax
call fcn.00431632
push dword [ebp + 0xc]
mov ecx, esi
call fcn.004314fd
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
jne 0x43175f
push 0x14
call fcn.004d6a5a
mov esi, eax
xor ebx, ebx
pop ecx
test esi, esi
je 0x431724
mov eax, dword [0x542750]
mov dword [esi], eax
mov eax, dword [0x542750]
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], 1
jmp 0x431726
mov esi, ebx
lea eax, [ebp + 8]
mov ecx, esi
push eax
call fcn.00402a9f
lea eax, [ebp + 0xc]
push eax
lea ecx, [esi + 4]
call fcn.00402a9f
mov eax, dword [ebp + 0x10]
push ebx
push ebx
push esi
push 0x431e2a
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x18]
push ebx
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [ebp + 0xc]
call fcn.00403030
lea ecx, [ebp + 8]
call fcn.00403030
mov eax, edi
call fcn.004e3305
ret 0x14
Function at 0x431bbb
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x5415b0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x270], edx
push edi
push 0
push 0x1f0fff
mov dword [ebp - 0x26c], edi
mov dword [ebp - 0x268], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x431c32
and dword [ebp - 0x30], 0
lea edi, [ebp - 0x2c]
push 9
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
push 0x28
lea eax, [ebp - 0x30]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessMemoryInfo]
test eax, eax
je 0x431c25
mov ecx, dword [ebp - 0x270]
mov eax, dword [ebp - 0x24]
mov dword [ecx], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x26c]
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x431ca4
push 0x228
lea eax, [ebp - 0x260]
push 0
push eax
call fcn.004db6f0
add esp, 0xc
mov dword [ebp - 0x264], 0x22c
lea eax, [ebp - 0x264]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x431c89
cmp dword [ebp - 0x25c], edi
je 0x431c8f
lea eax, [ebp - 0x264]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x431c73
jmp 0x431c9d
mov ecx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x250]
mov dword [ecx], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.004d5e2a
mov esp, ebp
pop ebp
ret

Function at 0x431cb4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
lea ebx, [edi + 0x18]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [edi]
cmp esi, dword [edi + 4]
je 0x431cf6
mov eax, dword [ebp + 8]
cmp dword [esi + 0xc], eax
je 0x431cdf
add esi, 0x28
cmp esi, dword [edi + 4]
jne 0x431cd0
jmp 0x431cf6
push 0
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.00431fef
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
inc dword [edi + 0x30]
push 0
push 0
push 0x4ad
push dword [0x547b10]
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x431e8d
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 4]
sub eax, dword [esi]
push 0x28
cdq
pop ecx
idiv ecx
mov ebx, eax
test ebx, ebx
jle 0x431ede
xor edi, edi
mov eax, dword [esi]
push dword [eax + edi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x431ed8
mov eax, dword [esi]
push 0
push 1
push 0x10
push dword [edi + eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
add edi, 0x28
dec ebx
jne 0x431eb6
push dword [esi + 4]
push dword [esi]
call fcn.0042352c
mov eax, dword [esi]
mov dword [esi + 4], eax
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.004321c6
test eax, eax
je 0x431f26
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x431ef7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4321c6
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x664
mov eax, dword [0x5415b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
push edi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4322ca
push 0x228
lea eax, [ebp - 0x65c]
push edi
push eax
call fcn.004db6f0
add esp, 0xc
mov dword [ebp - 0x660], 0x22c
lea eax, [ebp - 0x660]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
push 0x424
mov esi, eax
lea eax, [ebp - 0x42c]
push edi
push eax
call fcn.004db6f0
add esp, 0xc
mov dword [ebp - 0x430], 0x428
lea ecx, [ebp - 0x664]
push 0x520ce8
call fcn.00404e83
test esi, esi
je 0x4322b8
push dword [ebp - 0x658]
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x43229e
lea eax, [ebp - 0x430]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x664]
call fcn.004d6cd4
pop ecx
pop ecx
test eax, eax
jne 0x43229e
cmp dword [ebp - 0x428], edi
jne 0x4322b2
lea eax, [ebp - 0x660]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x432254
jmp 0x4322b8
mov edi, dword [ebp - 0x428]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x664]
call fcn.00403030
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d5e2a
mov esp, ebp
pop ebp
ret
Function at 0x432354
Capabilities:
Set registry value

Disassembly:
push 0x1c
mov eax, 0x4fc0b9
call fcn.004e3337
mov esi, ecx
test esi, esi
je 0x432451
push esi
lea ecx, [ebp - 0x1c]
call fcn.00404e83
and dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
push esi
call fcn.00404e83
push dword [0x543e38]
mov esi, dword [ebp - 0x1c]
mov ebx, 0x520e98
push esi
push str.hwid
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [0x542750]
mov dword [ebp - 0x18], eax
push str.kw.ini
push 0x547f70
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push 0x50de04
push eax
call fcn.0040301c
and dword [ebp - 0x24], 0
lea ecx, [ebp - 0x28]
add esp, 0x10
mov dword [ebp - 0x28], vtable.CIniFile.0
push dword [ebp - 0x18]
call fcn.0043092d
push dword [ebp - 0x24]
push esi
push str.hwid
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
push 0x20006
push ebx
push str.Software6wanGame
push SysReAllocStringLen
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x432431
mov eax, dword [esi - 8]
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push ebx
push str.hwid
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x28]
call fcn.00430a58
lea ecx, [ebp - 0x18]
call fcn.00403030
lea ecx, [ebp - 0x20]
call fcn.00403030
lea ecx, [ebp - 0x1c]
call fcn.00403030
call fcn.004e3305
ret
Function at 0x432457
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push 0x224
mov eax, 0x4fc0df
call fcn.004e336a
mov edi, ecx
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push ebx
push eax
mov dword [ebp - 0x230], ebx
call fcn.004db6f0
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x21c]
add esp, 0xc
push dword [0x543e38]
push 0x104
push eax
mov eax, 0x50e6f0
push eax
push str.hwid
push 0x520e98
call esi
cmp word [ebp - 0x21c], bx
je 0x4324c9
xor esi, esi
inc esi
jmp 0x4325e1
mov eax, dword [0x542750]
mov dword [ebp - 0x220], eax
push str.kw.ini
push 0x547f70
lea eax, [ebp - 0x220]
mov dword [ebp - 4], ebx
push 0x50de04
push eax
call fcn.0040301c
add esp, 0x10
mov dword [ebp - method.CIniFile.virtual_0], vtable.CIniFile.0
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x224], ebx
push dword [ebp - 0x220]
call fcn.0043092d
push dword [ebp - 0x224]
lea eax, [ebp - 0x21c]
push 0x104
push eax
push 0x50e6f0
push str.hwid
push 0x520e98
call esi
xor eax, eax
lea ecx, [ebp - 0x228]
mov esi, ebx
inc eax
cmp word [ebp - 0x21c], si
cmovne esi, eax
call fcn.00430a58
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.00403030
test esi, esi
jne 0x4325e1
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], ebx
push eax
push 0x20019
push ebx
push str.Software6wanGame
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4325e1
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x224], 1
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x22c], 0x208
push eax
lea eax, [ebp - 0x224]
push eax
push ebx
push str.hwid
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [ebp - 0x21c], si
push 1
pop eax
cmovne esi, eax
test esi, esi
lea ecx, [ebp - 0x21c]
mov eax, 0x50e6f0
cmove ecx, eax
push ecx
mov ecx, edi
call fcn.00404e83
mov eax, edi
call fcn.004e3319
ret
Function at 0x432726
Capabilities:
Get common file path
Read .ini file

Disassembly:
push 0xc
mov eax, 0x4fc117
call fcn.004e3337
push 0x208
xor ebx, ebx
mov esi, 0x547b18
push ebx
push esi
call fcn.004db6f0
add esp, 0xc
push ebx
push 0x23
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [esi - 2]
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x432756
push 5
pop ecx
mov esi, 0x520f04
rep movsd dword es:[edi], dword [esi]
call fcn.004301d5
mov ecx, 0x547b18
lea edi, [ecx - 2]
mov ax, word [edi + 2]
lea edi, [edi + 2]
cmp ax, bx
jne 0x432779
mov eax, dword [0x50f2c8]
mov dword [edi], eax
mov eax, dword [0x542750]
mov dword [ebp - 0x14], eax
push str.AllUser.ini
push ecx
mov esi, 0x50de04
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.0040301c
add esp, 0x10
mov ecx, 0x543e34
push dword [ebp - 0x14]
call fcn.0043092d
mov eax, dword [0x542750]
mov dword [ebp - 0x10], eax
push str.Channel.ini
push 0x547f70
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push esi
push eax
call fcn.0040301c
add esp, 0x10
push dword [ebp - 0x10]
push 0x104
push 0x5478e8
push str.dzb6wan
push str.name
push 0x520f64
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x10]
call fcn.00403030
lea ecx, [ebp - 0x14]
call fcn.00403030
call fcn.004e3305
ret