joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411c40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [esi + 4]
mov dword [esi], eax
mov byte [eax], 0
push str.20010101
or eax, 0xffffffff
call fcn.00410130
lea ecx, [ebp - 0xac]
call fcn.00402310
push str.Datauser2.ini
lea eax, [ebp - 0xac]
call fcn.00410030
mov eax, dword [ebp - 0xac]
push eax
push 0x63
lea ecx, [ebp - 0x68]
push ecx
push str.20010101
push str.PUBLICDATE
push 0x43ab00
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x68]
push edx
or eax, 0xffffffff
call fcn.00410130
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xa8]
cmp eax, ecx
je 0x411ccd
push eax
call fcn.0041bdf1
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041b429
mov esp, ebp
pop ebp
ret

Function at 0x411ce0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0xc
mov esi, ecx
mov dword [ebp - 0x1c], 0
call fcn.0041b0af
push 0xa
mov edi, eax
call fcn.0041b0af
add esp, 8
push 0xa
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0xc
push edi
push 0x43bcb4
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
push 0x43bcb8
push ecx
call fcn.0041b9e0
lea eax, [esi + 4]
add esp, 0xc
lea edx, [ebp - 0x18]
mov dword [esi], eax
mov byte [eax], 0
push edx
or eax, 0xffffffff
call fcn.00410130
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041b429
mov esp, ebp
pop ebp
ret
Function at 0x411d70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ec
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x1e4]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x411e1c
lea ecx, [ebp - 0x1ec]
push ecx
mov ecx, dword [ebp - 0x1e4]
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x1e8]
push eax
push 0
push 0x43bcec
push ecx
mov dword [ebp - 0x1ec], 0xff
mov dword [ebp - 0x1e8], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x411e0f
lea eax, [edi + 4]
mov dword [edi], eax
mov byte [eax], 0
push 0x43a501
or eax, 0xffffffff
mov esi, edi
call fcn.00410130
mov eax, edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b429
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x1e4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x1e0]
push eax
mov dword [ebp - 0x1e0], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x411de7
lea edx, [ebp - 0x108]
lea ecx, [ebp - 0x148]
push edx
or eax, 0xffffffff
lea esi, [ebp - 0x14c]
mov dword [ebp - 0x14c], ecx
mov byte [ebp - 0x148], 0
call fcn.00410130
lea eax, [edi + 4]
mov dword [edi], eax
mov byte [eax], 0
mov eax, dword [ebp - 0x14c]
push eax
or eax, 0xffffffff
mov esi, edi
call fcn.00410130
mov eax, dword [ebp - 0x14c]
lea ecx, [ebp - 0x148]
cmp eax, ecx
je 0x411e91
push eax
call fcn.0041bdf1
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
pop esi
call fcn.0041b429
mov esp, ebp
pop ebp
ret

Function at 0x411f50
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push eax
mov esi, ecx
or eax, 0xffffffff
call fcn.00410130
mov ecx, dword [esi + 0x48]
mov edx, dword [esi + 0x44]
lea eax, [esi + 0x44]
push ecx
push edx
lea ecx, [ebp - 0x54]
push ecx
push eax
call fcn.00413210
call fcn.00402400
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x4c]
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x50]
mov dword [ebp - 0x50], edx
mov byte [ebp - 0x4c], 0
call fcn.00410130
push str.WJNews.exe
mov eax, esi
call fcn.00410030
mov ecx, dword [ebp - 0x50]
push 0x43bd04
push ecx
call fcn.0041cca7
add esp, 8
test eax, eax
je 0x411fe1
push eax
call fcn.0041cd2b
mov edx, dword [ebp - 0x50]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x4c]
cmp eax, ecx
je 0x411ff4
push eax
call fcn.0041bdf1
add esp, 4
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
cmp eax, edx
je 0x412007
push eax
call fcn.0041bdf1
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0041b429
mov esp, ebp
pop ebp
ret 0x44
Function at 0x412020
Capabilities:
Check if file exists
Create directory
Extract resource via kernel32 functions
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435ce8
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x144], eax
push 0x43bd10
push 0x66
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x41215e
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
push esi
test ebx, ebx
jne 0x41209a
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 0xc]
lea edx, [ebp + 0x10]
cmp eax, edx
jmp 0x412166
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x41215e
push edi
call fcn.0041b0af
add esp, 4
mov dword [0x445fcc], eax
test eax, eax
je 0x4120d6
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [0x445fcc]
push eax
push edx
call fcn.0041d910
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push 0x12c
lea eax, [ebp - 0x140]
push 0
push eax
call fcn.004233e0
add esp, 0xc
push edi
call fcn.00419cf0
mov edi, eax
add esp, 4
test edi, edi
je 0x412159
push 0xffffffffffffffff
lea edx, [ebp - 0x140]
call fcn.00419d60
add esp, 4
test eax, eax
jne 0x412159
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x412131
mov edx, dword [ebp + 0xc]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
sub esp, 0x44
lea ecx, [ebp + 0xc]
mov eax, esp
mov dword [ebp - 0x148], esp
push ecx
call fcn.0040ffe0
mov edx, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x144]
push edx
mov edx, edi
call fcn.00412190
call fcn.00419da0
mov eax, dword [ebp + 0xc]
lea ecx, [ebp + 0x10]
cmp eax, ecx
je 0x412171
push eax
call fcn.0041bdf1
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b429
mov esp, ebp
pop ebp
ret 0x48
Function at 0x412190
Capabilities:
Create directory
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435cb0
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, edx
mov dword [ebp - 0x18c], edi
mov dword [ebp - 0x190], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [edi + 0x98]
cmp eax, ebx
je 0x4121ee
mov ecx, dword [ebp + 8]
push ebx
push ecx
push 0x52c
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
cmp dword [ebp + 8], ebx
jle 0x412377
jmp 0x412206
mov esi, dword [ebp - 0x190]
push 0x12c
lea edx, [ebp - 0x188]
push 0
push edx
call fcn.004233e0
add esp, 0xc
test esi, esi
jne 0x41222c
mov dword [0x445ffc], 0x10000
jmp 0x412251
cmp dword [esi], 1
je 0x41223d
mov dword [0x445ffc], 0x80000
jmp 0x412251
mov ecx, dword [esi + 4]
push ebx
lea edx, [ebp - 0x188]
call fcn.004192a0
mov dword [0x445ffc], eax
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0
test edi, edi
jne 0x412267
mov edi, 0x43a501
mov ecx, edi
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x412270
sub ecx, esi
mov esi, ecx
cmp esi, 0x3f
jl 0x412298
lea eax, [esi + 1]
push eax
push 0
mov dword [ebp - 0x58], 0
call fcn.0041c895
add esp, 8
mov dword [ebp - 0x58], eax
push esi
push edi
push eax
call fcn.0041c5e5
mov ecx, dword [ebp - 0x58]
add esp, 0xc
mov byte [esi + ecx], 0
push 0x43a910
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00410030
lea edx, [ebp - 0x184]
push edx
lea eax, [ebp - 0x58]
call fcn.00410030
test byte [ebp - 0x80], 0x10
je 0x4122dc
mov eax, dword [ebp - 0x58]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [ebp - 0x190]
test eax, eax
jne 0x4122f2
mov dword [0x445ffc], 0x10000
jmp 0x412315
cmp dword [eax], 1
je 0x412303
mov dword [0x445ffc], 0x80000
jmp 0x412315
mov edx, dword [ebp - 0x58]
mov ecx, dword [eax + 4]
push edx
push ebx
call fcn.004199d0
mov dword [0x445ffc], eax
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x412331
mov ecx, dword [ebp - 0x58]
and eax, 0xfffffffe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov edx, dword [ebp - 0x18c]
mov eax, dword [edx + 0x98]
test eax, eax
je 0x412350
push 0
push ebx
push 0x52d
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x54]
cmp eax, ecx
je 0x412367
push eax
call fcn.0041bdf1
add esp, 4
inc ebx
cmp ebx, dword [ebp + 8]
jl 0x412200
mov edi, dword [ebp - 0x18c]
mov eax, dword [edi + 0x98]
test eax, eax
je 0x412391
push 0
push 0
push 0x52e
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [ebp + 0xc]
lea edx, [ebp + 0x10]
cmp eax, edx
je 0x4123a4
push eax
call fcn.0041bdf1
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b429
mov esp, ebp
pop ebp
ret 0x48
Function at 0x4129d0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x90]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x412acb
mov edx, dword [0x44600c]
push esi
push edi
lea ecx, [ebp - 0x88]
mov byte [ebp - 0x88], al
mov eax, dword [edx + 4]
mov dword [ebp - 0x8c], ecx
mov ecx, dword [ebx]
push eax
push ecx
push str.__s_s___mini
lea edi, [ebp - 0x8c]
call fcn.00410620
add esp, 0xc
lea edx, [ebp - 0x44]
push str.wjplay
or eax, 0xffffffff
lea esi, [ebp - 0x48]
mov dword [ebp - 0x48], edx
mov byte [ebp - 0x44], 0
call fcn.00410130
mov eax, dword [ebx + 0x54]
push eax
mov eax, esi
call fcn.00410030
mov edx, dword [ebp - 0x8c]
mov eax, edx
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412a70
mov ecx, dword [ebp - 0x48]
sub eax, esi
push eax
push edx
mov edx, dword [ebp - 0x90]
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x90]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x44]
pop edi
pop esi
cmp eax, ecx
je 0x412ab2
push eax
call fcn.0041bdf1
add esp, 4
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x88]
cmp eax, edx
je 0x412acb
push eax
call fcn.0041bdf1
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b429
mov esp, ebp
pop ebp
ret
Function at 0x412ae0
Capabilities:
Persist via run registry key
Read .ini file
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x138]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x412c5e
mov edx, dword [ebx]
push esi
push edi
lea ecx, [ebp - 0xec]
mov byte [ebp - 0xec], al
push edx
or eax, 0xffffffff
lea esi, [ebp - 0xf0]
mov dword [ebp - 0xf0], ecx
call fcn.00410130
push 0x43a988
mov eax, esi
call fcn.00410030
mov eax, dword [ebp - 0xf0]
push eax
push 0x63
lea ecx, [ebp - 0x68]
push ecx
push 0x43a490
push str.RunSetup
push str.SysConfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebx]
lea eax, [ebp - 0x68]
push eax
push ecx
lea edx, [ebp - 0x130]
push str.__s_s___mini
lea edi, [ebp - 0x134]
mov dword [ebp - 0x134], edx
mov byte [ebp - 0x130], 0
call fcn.00410620
add esp, 0xc
lea edx, [ebp - 0xa8]
push str.wjplay
or eax, 0xffffffff
lea esi, [ebp - 0xac]
mov dword [ebp - 0xac], edx
mov byte [ebp - 0xa8], 0
call fcn.00410130
push str._News
mov eax, esi
call fcn.00410030
mov eax, dword [ebx + 0x54]
push eax
mov eax, esi
call fcn.00410030
mov edx, dword [ebp - 0x134]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412be1
mov ecx, dword [ebp - 0xac]
sub eax, esi
push eax
push edx
mov edx, dword [ebp - 0x138]
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x138]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xa8]
pop edi
pop esi
cmp eax, ecx
je 0x412c2c
push eax
call fcn.0041bdf1
add esp, 4
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
cmp eax, edx
je 0x412c45
push eax
call fcn.0041bdf1
add esp, 4
mov eax, dword [ebp - 0xf0]
lea ecx, [ebp - 0xec]
cmp eax, ecx
je 0x412c5e
push eax
call fcn.0041bdf1
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b429
mov esp, ebp
pop ebp
ret
Function at 0x413750
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp byte [esi + 8], 0
mov dword [esi], vtable.ArkThread.0
je 0x413782
cmp byte [esi + 9], 0
jne 0x413782
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esi + 9], 1
test byte [ebp + 8], 1
je 0x413791
push esi
call fcn.0041b70e
add esp, 4
mov eax, esi
pop esi
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x435e19
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x4433ec]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push esi
push edi
mov eax, dword [0x4433ec]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], esi
call fcn.00413940
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0xcc], 0
call fcn.00415c30
lea ecx, [esp + 0x1c]
push ecx
call fcn.00414340
lea ebx, [esp + 0x1c]
call fcn.00414520
call fcn.00414630
push 0xa0
call fcn.0041b77e
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0xc8], 1
test eax, eax
je 0x413844
push eax
call fcn.00411eb0
jmp 0x413846
xor eax, eax
mov byte [esp + 0xc8], 0
mov dword [edi + 0x14], eax
mov edx, dword [esi]
mov dword [eax + 0x98], edx
sub esp, 0x44
mov esi, esp
lea eax, [esi + 4]
mov dword [esi], eax
mov byte [eax], 0
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 4]
mov dword [esp + 0x58], esp
push ecx
or eax, 0xffffffff
call fcn.00410130
mov ecx, dword [edi + 0x14]
call fcn.00411f50
mov edi, dword [edi + 0x14]
mov ecx, dword [edi]
mov eax, ecx
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x413890
sub eax, esi
je 0x4138d6
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4138b4
mov edx, dword [edi]
push 0
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
mov ecx, dword [edi]
sub esp, 0x44
mov esi, esp
lea eax, [esi + 4]
mov dword [esp + 0x58], esp
mov dword [esi], eax
mov byte [eax], 0
push ecx
or eax, 0xffffffff
call fcn.00410130
push edi
call fcn.00412020
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x74]
cmp eax, ecx
je 0x4138eb
push eax
call fcn.0041bdf1
add esp, 4
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x30]
cmp eax, edx
je 0x413900
push eax
call fcn.0041bdf1
add esp, 4
lea eax, [esp + 0x1c]
push eax
call fcn.004132f0
xor eax, eax
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.0041b429
mov esp, ebp
pop ebp
ret 4
Function at 0x414340
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4359db
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0x104
xor ebx, ebx
lea ecx, [ebp - 0x220]
push ebx
push ecx
mov dword [ebp - 0x274], eax
call fcn.004233e0
add esp, 0xc
lea edx, [ebp - 0x26c]
push edx
push 0x19
push ebx
mov dword [ebp - 0x26c], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x4144fb
mov ecx, dword [ebp - 0x26c]
mov edi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea eax, [ebp - 0x220]
push eax
push ecx
call edi
mov edx, dword [ebp - 0x26c]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 0x264]
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x268], eax
push ecx
or eax, 0xffffffff
lea esi, [ebp - 0x268]
mov byte [ebp - 0x264], bl
call fcn.00410130
push 0x43a910
mov eax, esi
call fcn.00410030
push 0x43c0c0
mov eax, esi
call fcn.00410030
push 0x43bd14
mov eax, esi
call fcn.00410030
mov edx, dword [ebp - 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x268]
lea ecx, [ebp - 0x264]
cmp eax, ecx
je 0x414440
push eax
call fcn.0041bdf1
add esp, 4
push 0x104
lea edx, [ebp - 0x118]
push ebx
push edx
call fcn.004233e0
add esp, 0xc
lea eax, [ebp - 0x270]
push eax
push 2
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x4144fb
mov edx, dword [ebp - 0x270]
lea ecx, [ebp - 0x118]
push ecx
push edx
call edi
mov eax, dword [ebp - 0x270]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea edx, [ebp - 0x118]
lea ecx, [ebp - 0x264]
push edx
or eax, 0xffffffff
lea esi, [ebp - 0x268]
mov dword [ebp - 0x268], ecx
mov byte [ebp - 0x264], bl
call fcn.00410130
push 0x43a910
mov eax, esi
mov dword [ebp - 4], ebx
call fcn.00410030
push 0x43c0c0
mov eax, esi
call fcn.00410030
mov eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x274]
push eax
call fcn.00415870
mov eax, dword [ebp - 0x268]
lea ecx, [ebp - 0x264]
cmp eax, ecx
je 0x4144f7
push eax
call fcn.0041bdf1
add esp, 4
mov al, 1
jmp 0x4144fd
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b429
mov esp, ebp
pop ebp
ret 4
Function at 0x414520
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4359a8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx]
mov ecx, dword [ebx + 4]
sub ecx, esi
mov eax, 0x78787879
imul ecx
sar edx, 5
mov eax, edx
xor edi, edi
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x60], edi
je 0x414609
mov dword [ebp - 0x5c], edi
jmp 0x414574
xor edi, edi
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x58], ecx
mov byte [ebp - 0x54], 0
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 4], edi
mov esi, dword [edx + esi]
mov eax, dword [ebx + 0x54]
push esi
push eax
push 0x43a9bc
lea edi, [ebp - 0x58]
call fcn.00410620
mov esi, dword [ebp - 0x58]
mov eax, esi
add esp, 0xc
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4145a4
sub eax, edi
cmp byte [eax + esi - 1], 0x5c
push esi
jne 0x4145be
mov ecx, ebx
call fcn.00415870
jmp 0x4145c4
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x54]
cmp eax, ecx
je 0x4145de
push eax
call fcn.0041bdf1
add esp, 4
mov esi, dword [ebx]
mov ecx, dword [ebx + 4]
mov edi, dword [ebp - 0x60]
add dword [ebp - 0x5c], 0x44
sub ecx, esi
mov eax, 0x78787879
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
mov dword [ebp - 0x60], edi
cmp edi, eax
jb 0x414572
mov al, 1
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.0041b429
mov esp, ebp
pop ebp
ret
Function at 0x415c30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push str.wjplay.exe
call fcn.004024b0
mov esi, dword [sym.imp.KERNEL32.dll_OpenProcess]
push eax
push 0
push 1
call esi
mov edi, dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x415c5b
push 0
push eax
call edi
push str.PlayerUpdate.exe
call fcn.004024b0
push eax
push 0
push 1
call esi
test eax, eax
je 0x415c75
push 0
push eax
call edi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
push eax
call fcn.004024b0
push eax
push 0
push 1
call esi
test eax, eax
je 0x415c91
push 0
push eax
call edi
push str.WujiPlayer.exe
call fcn.004024b0
push eax
push 0
push 1
call esi
test eax, eax
je 0x415cab
push 0
push eax
call edi
push 0x43a490
call fcn.004024b0
push eax
push 0
push 1
call esi
test eax, eax
je 0x415cc5
push 0
push eax
call edi
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
pop ebp
ret 4
Function at 0x417a90
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x417a97
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x417b6d
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43dbe8]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43dbe8]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43dbe8]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43dbe8]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43dbe8]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43dbe8]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43dbe8]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x43dbe8]
add ecx, 8
sub edx, 8
dec esi
jne 0x417ab0
pop edi
test edx, edx
je 0x417b8a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x43dbe8]
inc ecx
dec edx
jne 0x417b71
not eax
pop esi
ret

Function at 0x4181f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ebx
imul esi, dword [ebp + 0xc]
cmp byte [edi], 0
je 0x418226
mov ecx, dword [ebp + 8]
mov edx, dword [edi + 4]
push 0
lea eax, [ebp + 0xc]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41821c
mov byte [edi + 8], 1
mov eax, dword [ebp + 0xc]
xor edx, edx
div ebx
pop esi
pop ebp
ret
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x14]
lea edx, [ecx + esi]
cmp edx, eax
jbe 0x418237
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x10]
add eax, ecx
mov ecx, dword [ebp + 8]
push esi
push eax
push ecx
call fcn.0041d910
add dword [edi + 0x18], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div ebx
pop esi
pop ebp
ret

Function at 0x418260
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [esi], 0
push edi
mov edi, 1
je 0x418293
mov edx, dword [esi + 4]
push 0
lea eax, [ebp - 8]
push eax
push edi
lea ecx, [ebp - 1]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41828e
mov byte [esi + 8], 1
mov edi, dword [ebp - 8]
jmp 0x4182be
mov eax, dword [esi + 0x14]
push ebx
mov ebx, dword [esi + 0x18]
lea ecx, [ebx + 1]
cmp ecx, eax
jbe 0x4182a5
sub eax, ebx
mov edi, eax
mov edx, dword [esi + 0x10]
push edi
add edx, ebx
push edx
lea eax, [ebp - 1]
push eax
call fcn.0041d910
add esp, 0xc
add ebx, edi
mov dword [esi + 0x18], ebx
pop ebx
cmp edi, 1
pop edi
jne 0x4182d3
movzx ecx, byte [ebp - 1]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x4182cd
cmp byte [esi + 8], 0
je 0x4182cd
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret