joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449100
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4795a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00472447
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00448aa0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00472375
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0046ec33
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0046ec33
push 1
push 0
push 0
mov ecx, esi
call fcn.0046ebdb
push 1
push 0
push 1
mov ecx, esi
call fcn.0046ebdb
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004724b9
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x449280
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4795c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00472447
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00448aa0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00472375
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x449344
cmp dword [esp + 0x40], 1
jne 0x449342
cmp ecx, eax
jge 0x449344
mov eax, ecx
cmp eax, 0xc8
jge 0x449350
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00449100
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004724b9
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x449ad0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x479633
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0046d053
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004726ef
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00473c0b
test eax, eax
je 0x449bec
mov ecx, dword [esp + 0x3c]
call fcn.0047271c
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x449bb0
push edi
mov ecx, esi
call fcn.0046fd81
mov ecx, esi
call fcn.00449d50
cmp dword [esp + 0x38], 1
jne 0x449be5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0046febc
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x44c620
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x44c653
push esi
call fcn.0044f710
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44c64c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x44c6d9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x44c6c2
mov eax, dword [esi + 8]
test eax, eax
je 0x44c677
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44c6be
cmp eax, 2
je 0x44c6c2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44c66a
cmp eax, 3
je 0x44c69d
cmp eax, 1
jne 0x44c66a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44c66a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44c66a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0044c700
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x44c6e8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0044c700
add esp, 4
pop esi
ret
Function at 0x458540
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x458589
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x458a00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x479ae0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004585b0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00458630
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00458630
lea ecx, [esi + 0xc]
call fcn.0046ba2d
lea ecx, [esi + 0x10]
call fcn.0046ba2d
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00459bc0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00459bc0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00459bc0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0046baa2
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0046baa2
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x459db0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x459e16
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x459e16
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x459df7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x46de49
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46de81
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046befd
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046bed5
jmp 0x46de8d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46f53b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46f57d
call fcn.004750ab
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46f57d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46f574
xor eax, eax
jmp 0x46f585
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046f58b
pop edi
pop esi
pop ebx
ret 4

Function at 0x4755db
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x475609
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x475627
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00475541
jmp 0x475627
mov eax, dword [esi + 0x14]
test eax, eax
je 0x475627
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00475541
test edi, edi
mov eax, edi
jne 0x475611
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0xd06058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00d061a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xd0607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd0606a
add dl, dl
jne 0xd06089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd060dc
xor eax, eax
add dl, dl
jne 0xd06096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd0617d
add dl, dl
jne 0xd060a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd060b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd060bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd060c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xd060d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xd06075
mov eax, 1
add dl, dl
jne 0xd060ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd060f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd060e1
sub eax, ebx
mov ebx, 1
jne 0xd06128
mov ecx, 1
add dl, dl
jne 0xd0610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xd06119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd06105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd06075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xd0613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xd0614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd06136
cmp eax, 0x7d00
jae 0xd0616d
cmp eax, 0x500
jb 0xd06168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd06075
cmp eax, 0x7f
ja 0xd06170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd06075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xd0619e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xd06075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401050
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43624e
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4433ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [0x44600c], edi
xor ebx, ebx
mov dword [ebp - 4], ebx
lea esi, [edi + 0x38]
lea eax, [esi + 4]
mov dword [edi], str.wjplay
mov dword [edi + 4], str.wjplay.exe
mov dword [edi + 8], 0x43a490
mov dword [edi + 0xc], 0x43a49c
mov dword [edi + 0x10], str.PlayerUpdate.exe
mov dword [edi + 0x2c], 0xa
mov byte [edi + 0x30], 1
mov dword [edi + 0x34], ebx
mov dword [esi], eax
mov byte [eax], bl
push str.C:Program_Fileswjplay
or eax, 0xffffffff
call fcn.00410060
lea esi, [edi + 0x8c]
lea eax, [esi + 4]
mov dword [edi + 0x7c], 0x1010101
mov byte [edi + 0x80], 1
mov dword [edi + 0x84], ebx
mov dword [edi + 0x88], ebx
mov dword [esi], eax
mov byte [eax], bl
push str.huvs__.uts.icl522__km.wj3_32513__77_keord
or eax, 0xffffffff
call fcn.00410060
lea eax, [edi + 0xd0]
mov dword [ebp - 0x10], eax
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
push eax
mov byte [ebp - 4], 3
call fcn.00404ad0
mov byte [ebp - 4], 4
push 0x58
mov dword [edi + 0xe8], ebx
call fcn.0041b7ee
add esp, 4
cmp eax, ebx
je 0x4011e6
mov dword [edi + 0xe4], eax
mov dword [eax], eax
mov eax, dword [edi + 0xe4]
mov dword [eax + 4], eax
mov eax, dword [edi + 0xe4]
mov dword [eax + 8], eax
mov eax, dword [edi + 0xe4]
mov byte [eax + 0x54], 1
mov ecx, dword [edi + 0xe4]
mov byte [ecx + 0x55], 1
mov byte [ebp - 4], 5
mov edx, dword [esi]
xor eax, eax
mov ecx, edx
cmp byte [edx], bl
je 0x401183
xor byte [ecx], al
inc eax
inc ecx
cmp eax, 5
jne 0x40117f
xor eax, eax
cmp byte [ecx], bl
jne 0x401174
push edx
or eax, 0xffffffff
call fcn.00410060
push 0xa0
call fcn.0041b7ee
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 6
cmp eax, ebx
je 0x4011ac
push eax
call fcn.00411de0
jmp 0x4011ae
xor eax, eax
push ebx
lea edx, [ebp - 0x2c]
mov dword [edi + 0x34], eax
push edx
lea eax, [edi + 0x14]
push eax
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
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
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.0041b530
push 0x43fcd8
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.0041d422
int3
Function at 0x401970
Capabilities:
Check if file exists
Create directory
Create thread
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [0x44600c]
mov eax, dword [esi + 0x38]
push 0x43a924
push eax
call fcn.0041c82d
add esp, 8
test eax, eax
je 0x401997
sub eax, dword [esi + 0x38]
cmp eax, 1
je 0x4019ad
mov esi, dword [0x44600c]
push str.C:Program_Fileswjplay
add esi, 0x38
or eax, 0xffffffff
call fcn.00410060
mov eax, dword [0x44600c]
mov eax, dword [eax + 0x38]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push eax
call edi
test eax, eax
je 0x4019da
mov ecx, dword [0x44600c]
mov edx, dword [ecx + 0x38]
push 0x80
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [0x44600c]
mov eax, dword [eax + 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x401a11
mov esi, dword [0x44600c]
push str.C:Program_Fileswjplay
add esi, 0x38
or eax, 0xffffffff
call fcn.00410060
mov ecx, dword [0x44600c]
mov edx, dword [ecx + 0x38]
push 0
push edx
call edi
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [0x44600c]
mov edx, dword [ecx + 0x20]
push 1
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x4c
call fcn.0041b7ee
add esp, 4
pop edi
test eax, eax
je 0x401a49
lea ecx, [eax + 8]
mov dword [eax + 4], ecx
mov byte [ecx], 0
mov ecx, eax
jmp 0x401a4b
xor ecx, ecx
mov eax, dword [0x44600c]
mov edx, dword [eax + 0x20]
mov dword [eax + 0x88], ecx
mov dword [ecx], edx
mov ecx, dword [eax + 0x38]
mov esi, dword [eax + 0x88]
push ecx
add esi, 4
or eax, 0xffffffff
call fcn.00410060
push 0x18
call fcn.0041b7ee
add esp, 4
test eax, eax
je 0x401a95
mov word [eax + 8], 0
mov dword [eax], vtable.ThreadCopy.0
mov dword [eax + 0x14], 0
mov esi, eax
jmp 0x401a97
xor esi, esi
mov eax, dword [0x44600c]
mov dword [eax + 0x84], esi
cmp byte [esi + 8], 0
jne 0x401ae1
mov edx, dword [eax + 0x88]
lea eax, [esi + 0x10]
push eax
push 0
push esi
push 0x403bf0
push 0
push 0
mov dword [esi + 0xc], edx
call fcn.0041b933
add esp, 0x18
mov dword [esi + 4], eax
test eax, eax
je 0x401ae1
cmp byte [esi + 9], 0
je 0x401add
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esi + 8], 1
mov ecx, dword [0x44600c]
mov edx, dword [ecx + 0x20]
push 0x43
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
pop esi
pop ebp
ret
Function at 0x402400
Capabilities:
Terminate process

Disassembly:
push ecx
push esi
push edi
call fcn.004024b0
mov eax, dword [0x44600c]
mov ecx, dword [eax + 8]
push ecx
call fcn.00415bb0
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 0x402432
push 0
push eax
call edi
mov edx, dword [0x44600c]
mov eax, dword [edx + 4]
push eax
call fcn.00415bb0
push eax
push 0
push 1
call esi
test eax, eax
je 0x402451
push 0
push eax
call edi
mov ecx, dword [0x44600c]
mov edx, dword [ecx + 0x10]
push edx
call fcn.00415bb0
push eax
push 0
push 1
call esi
test eax, eax
je 0x402470
push 0
push eax
call edi
push str.WujiPlayer.exe
call fcn.00415bb0
push eax
push 0
push 1
call esi
test eax, eax
je 0x40248a
push 0
push eax
call edi
push 0x43a490
call fcn.00415bb0
push eax
push 0
push 1
call esi
test eax, eax
je 0x4024a4
push 0
push eax
call edi
pop edi
pop esi
pop ecx
ret

Function at 0x4024b0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4433ec]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4024f6
lea ecx, [ebp - 0x20]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x402506
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b499
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push 0
push 0
push 0x10
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
push 0
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x402554
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b499
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.0041b499
mov esp, ebp
pop ebp
ret

Function at 0x403c10
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 0x403c42
cmp byte [esi + 9], 0
jne 0x403c42
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 0x403c51
push esi
call fcn.0041b77e
add esp, 4
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x403c60
Capabilities:
Terminate thread

Disassembly:
cmp byte [esi + 8], 0
je 0x403c86
cmp byte [esi + 9], 0
jne 0x403c86
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
ret
Function at 0x405b30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x43ab30
mov esi, eax
push 0x6e
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
push eax
call fcn.0041b11f
mov edi, eax
lea eax, [esi + 1]
push eax
push 0
push edi
call fcn.00423450
mov eax, dword [ebp - 4]
push esi
push eax
push edi
call fcn.0041d980
mov esi, dword [ebp + 8]
add esp, 0x1c
push edi
or eax, 0xffffffff
call fcn.00410060
push edi
call fcn.0041bf73
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4354f6
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
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
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
mov edi, ecx
call fcn.00423450
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, dword [edi + 0xcc]
lea edx, [ebp - 0x1a4]
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x1a8]
mov dword [ebp - 0x1a8], edx
mov byte [ebp - 0x1a4], 0
call fcn.00410060
lea edx, [ebp - 0x118]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x15c]
push edx
or eax, 0xffffffff
lea esi, [ebp - 0x160]
mov dword [ebp - 0x160], ecx
mov byte [ebp - 0x15c], 0
call fcn.00410060
mov eax, esi
push eax
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 1
call fcn.00410600
test al, al
je 0x405dce
mov ecx, dword [edi + 0x110]
mov edx, dword [ebp - 0x160]
push 5
push 0x43a501
push ecx
push edx
push str.OPEN
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
add edi, 0x44
call fcn.004134f0
mov eax, dword [ebp - 0x160]
lea ecx, [ebp - 0x15c]
cmp eax, ecx
je 0x405de7
push eax
call fcn.0041be61
add esp, 4
mov eax, dword [ebp - 0x1a8]
lea edx, [ebp - 0x1a4]
cmp eax, edx
je 0x405e00
push eax
call fcn.0041be61
add esp, 4
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.0041b499
mov esp, ebp
pop ebp
ret