joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452360
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x4d1815
call fcn.004cdff0
sub esp, 0x224
push ebx
push esi
push edi
xor esi, esi
push 0x206
lea eax, [ebp - 0x22e]
push esi
push eax
mov edi, ecx
mov dword [ebp - 0x18], esi
mov word [ebp - 0x230], si
call fcn.00489f10
xor ecx, ecx
add esp, 0xc
inc ecx
lea edx, [ebp - 0x14]
mov eax, edi
call fcn.00408bc7
push 0x4e6a40
push eax
mov dword [ebp - 4], esi
call fcn.00407b50
mov ebx, eax
neg ebx
sbb bl, bl
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
inc bl
call fcn.00407fe5
test bl, bl
je 0x452536
mov ebx, 0x4eb2f4
push ebx
call fcn.0048a91e
mov esi, str.SystemRoot_
push esi
mov dword [ebp - 0x1c], eax
call fcn.0048a91e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x10]
mov eax, edi
call fcn.00408bc7
push ebx
push eax
mov dword [ebp - 4], 1
call fcn.00407b50
mov ebx, eax
neg ebx
sbb bl, bl
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
inc bl
call fcn.00407fe5
test bl, bl
je 0x45244f
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
sub ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
push eax
mov eax, edi
call fcn.00408b77
mov dword [ebp - 4], 2
call fcn.00407526
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
jmp 0x452505
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
mov eax, edi
call fcn.00408bc7
push esi
push eax
mov dword [ebp - 4], 3
call fcn.00407b50
mov ebx, eax
neg ebx
sbb bl, bl
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
inc bl
call fcn.00407fe5
test bl, bl
je 0x45250d
push 0x104
lea eax, [ebp - 0x230]
push eax
push str._SystemRoot_
call dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsW]
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
sub ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x24]
push eax
inc ecx
mov eax, edi
call fcn.00408b77
mov esi, eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], 4
call fcn.0040826f
lea ecx, [ebp - 0x20]
push esi
push ecx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00408c03
pop ecx
pop ecx
mov byte [ebp - 4], 6
call fcn.00407526
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00407fe5
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.00407fe5
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.00407fe5
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
cmp ecx, 3
jg 0x452520
mov esi, edi
call fcn.0040822f
jmp 0x45253d
cmp ecx, 1
jge 0x45252f
push 0x80070057
call fcn.00408113
cmp word [eax + 2], 0x3a
jne 0x452517
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x45254f
Capabilities:
Terminate process

Disassembly:
push esi
push dword [esp + 8]
push 0
push 1
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
test esi, esi
je 0x452579
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
inc eax
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x45291f
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x418
push esi
push edi
lea eax, [esp + 0xc]
push eax
push 0xf003f
xor esi, esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x4529a5
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x45296a
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x10]
call fcn.0045291f
cmp eax, esi
pop ecx
pop ecx
mov dword [esp + 0x14], eax
jne 0x4529ab
lea eax, [esp + 0x18]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push esi
push dword [esp + 0x28]
mov dword [esp + 0x30], 0x200
call edi
test eax, eax
je 0x452952
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
jmp 0x4529a5
Function at 0x453ebb
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
cmp dword [esp + 8], ecx
jle 0x453ed3
mov eax, dword [esp + 4]
add eax, ecx
xor byte [eax], 0x88
inc ecx
cmp ecx, dword [esp + 8]
jl 0x453ec3
ret 8

Function at 0x453fc0
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x4d27dc
call fcn.004cdff0
sub esp, 0x10
mov eax, dword [0x50c868]
or dword [ebp - 0x18], 0xffffffff
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x50c868
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x14]
push eax
push ecx
push edi
call fcn.00451456
push edi
mov ebx, eax
call fcn.0048efb3
add esp, 0x10
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
movzx eax, word [esi + 0x34]
push edx
push dword [ebp - 0x14]
push ebx
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str._s_d__x__x__x.ich
call fcn.00408eea
mov ebx, dword [esi + 0x1c]
mov esi, dword [esi + 0x14]
add esp, 0x18
push edi
push edi
push 2
push edi
push 1
push 0x40000000
push dword [ebp - 0x10]
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x1c], eax
je 0x45408e
push edi
lea ecx, [ebp + 8]
push ecx
push ebx
push esi
push eax
mov dword [ebp + 8], edi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x45407d
cmp dword [ebp + 8], ebx
jne 0x45407d
mov dword [ebp - 0x14], 1
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp - 0x14], edi
je 0x45408e
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00407fe5
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4545f3
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4d241f
call fcn.004cdff0
sub esp, 0x214
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
push 0x206
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x21e]
push ebx
mov dword [ebp - 0x18], ebx
push eax
mov word [ebp - 0x220], bx
call fcn.00489f10
add esp, 0xc
mov ecx, 0x50c868
call fcn.004082b2
xor edi, edi
inc edi
push edi
push 0x23
lea eax, [ebp - 0x220]
push eax
mov dword [ebp - 4], ebx
push ebx
mov dword [ebp - 0x18], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, ebx
lea eax, [ebp - 0x220]
jne 0x4546bf
push 0x104
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryW]
cmp eax, ebx
je 0x454719
lea eax, [ebp - 0x220]
push eax
push esi
call fcn.0040849e
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
mov eax, esi
call fcn.00408b77
mov dword [ebp - 4], edi
mov edi, 0x4e6a40
push edi
push eax
call fcn.00407b50
test eax, eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
setne byte [ebp - 0xd]
add eax, 0xfffffff0
call fcn.00407fe5
cmp byte [ebp - 0xd], bl
je 0x4546b8
push edi
push esi
call fcn.00408995
push str.All_UsersApplication_Data_
jmp 0x454700
push eax
push esi
call fcn.0040849e
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
mov eax, esi
call fcn.00408b77
mov edi, 0x4e6a40
push edi
push eax
mov dword [ebp - 4], 2
call fcn.00407b50
test eax, eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
setne byte [ebp - 0xd]
add eax, 0xfffffff0
call fcn.00407fe5
cmp byte [ebp - 0xd], bl
je 0x454706
push edi
push esi
call fcn.00408995
push str.sysoptasst_askich_
push esi
call fcn.00408995
push dword [esi]
call fcn.004088b3
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x454b28
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], ecx
je 0x454bc3
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 4]
push edx
push ecx
lea edx, [ebp - 8]
push edx
push ecx
mov ebx, str.svrid
push ebx
push eax
call edi
cmp dword [ebp - 8], 1
je 0x454b6a
cmp dword [ebp - 8], 2
jne 0x454bc1
push esi
mov esi, dword [ebp + 0xc]
call fcn.0040822f
mov eax, dword [ebp - 4]
shr eax, 1
inc eax
push eax
call fcn.00408130
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push 0
push ebx
push dword [eax]
call edi
test eax, eax
jne 0x454bc0
mov eax, dword [ebp - 4]
shr eax, 1
and word [esi + eax*2], 0
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x454bb2
push eax
call fcn.0048a91e
pop ecx
mov edx, esi
call fcn.004080e0
mov dword [ebp - 0xc], 1
pop esi
pop edi
pop ebx
mov eax, dword [ebp - 0xc]
leave
ret 8
Function at 0x454bca
Capabilities:
Set registry value

Disassembly:
push edi
xor edi, edi
cmp dword [esi], edi
je 0x454bf9
push dword [esp + 8]
call fcn.0048a91e
pop ecx
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0xc]
push 1
push edi
push str.svrid
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x454bf9
inc edi
mov eax, edi
pop edi
ret 4
Function at 0x455347
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4d33f3
call fcn.004cdff0
sub esp, 0xe0
mov eax, dword [0x50c868]
push ebx
push esi
push edi
mov edi, 0x50c868
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 0x24], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], ebx
mov eax, dword [0x50c868]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push 0xc6
lea eax, [ebp - 0xea]
push ebx
mov byte [ebp - 4], 1
push eax
mov word [ebp - 0xec], bx
call fcn.00489f10
mov eax, dword [0x50c868]
add esp, 0xc
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
mov eax, dword [0x50c868]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 3
call fcn.00408953
pop ecx
lea edi, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00407526
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00407fe5
mov eax, edi
call fcn.00407567
mov eax, edi
lea edi, [ebp - 0x20]
call fcn.00407526
push str.ressrcchsuplive.svr
lea eax, [ebp - 0x18]
push eax
call fcn.00408995
push str.ressrcchs_asmain.ini
mov eax, edi
push eax
call fcn.00408995
push dword [ebp - 0x18]
lea eax, [ebp - 0xec]
push 0x64
push eax
mov esi, 0x4e6a7c
push esi
push str.Version
push str.Common
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringW]
cmp eax, ebx
je 0x455532
lea eax, [ebp - 0xec]
push eax
call fcn.0048a91e
pop ecx
lea ecx, [ebp - 0xec]
mov ebx, eax
push ecx
lea eax, [ebp - 0x10]
call fcn.00408058
lea eax, [ebp - 0x10]
call fcn.00407567
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
lea eax, [ebp - 0x1c]
push eax
push 2
pop edx
lea eax, [ebp - 0x10]
call fcn.00408af9
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00407526
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00407fe5
push esi
push 0x4e6a68
mov eax, edi
push eax
call fcn.0045257d
push esi
push 0x4eba3c
mov eax, edi
push eax
call fcn.0045257d
push dword [ebp - 0x20]
lea eax, [ebp - 0xec]
push 0x64
push eax
push esi
push 0x4eb694
push str.infos
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringW]
test eax, eax
je 0x455532
lea eax, [ebp - 0xec]
push eax
call fcn.0048a91e
pop ecx
lea ecx, [ebp - 0xec]
mov ebx, eax
push ecx
lea eax, [ebp - 0x10]
call fcn.00408058
lea eax, [ebp - 0x1c]
push eax
push 6
pop ecx
lea eax, [ebp - 0x10]
call fcn.00408b77
mov byte [ebp - 4], 6
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
mov eax, edi
call fcn.00408f7c
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00407fe5
push dword [ebp - 0x14]
call fcn.0048b302
pop ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00407fe5
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00407fe5
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00407fe5
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00407fe5
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4559df
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
push 0x2021f
push str.CLSID2E79D13E_7339_4661_92EA_93AD506EF2E2Implemented_Categories32C1137B_5DAB_4004_993F_46C7C3F7B560
xor edi, edi
push SysReAllocString
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
call fcn.00455caf
test eax, eax
je 0x455a17
cmp dword [ebp - 4], edi
je 0x455a13
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x455a87
push dword [esi + 0xc]
lea eax, [ebp - 4]
push 0x4eb7c4
push eax
call fcn.00455c75
test eax, eax
jne 0x455a05
push dword [esi + 0x10]
lea eax, [ebp - 4]
push 0x4ebadc
push eax
call fcn.00455c75
mov eax, dword [esi]
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x4eb3dc
push dword [ebp - 4]
call edi
mov eax, dword [esi + 8]
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.user_type
push dword [ebp - 4]
call edi
cmp dword [ebp - 4], 0
je 0x455a84
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
leave
ret

Function at 0x455c57
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push 4
push 0
push dword [esp + 0x18]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 0xc
Function at 0x456f4b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0x10
mov esi, eax
mov eax, dword [ebp + 0x14]
pop edi
cmp dword [ebp + 0xc], edi
mov dword [ebp - 4], eax
jb 0x45700f
mov eax, dword [ebp + 0xc]
shr eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov edx, esi
sub ecx, eax
sub edx, eax
mov dword [ebp - 4], 4
mov ebx, dword [ecx + eax]
xor ebx, dword [eax]
mov dword [edx + eax], ebx
add eax, 4
dec dword [ebp - 4]
jne 0x456f83
push dword [ebp + 0x10]
push esi
push esi
call fcn.00456462
sub dword [ebp + 0xc], edi
add dword [ebp + 8], edi
mov dword [ebp - 4], esi
add esp, 0xc
add esi, edi
dec dword [ebp - 8]
jne 0x456f70
jmp 0x45700f
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
sub edx, eax
mov dword [ebp - 8], edx
mov edx, esi
xor ecx, ecx
sub edx, eax
cmp ecx, dword [ebp + 0xc]
jae 0x456fd9
mov ebx, dword [ebp - 8]
mov bl, byte [eax + ebx]
xor bl, byte [eax]
inc ecx
mov byte [eax + edx], bl
inc eax
cmp ecx, edi
jb 0x456fc3
cmp ecx, edi
jae 0x456ff2
mov ebx, dword [ebp - 4]
mov eax, edi
sub ebx, esi
lea edx, [ecx + esi]
sub eax, ecx
mov cl, byte [ebx + edx]
mov byte [edx], cl
inc edx
dec eax
jne 0x456fe9
push dword [ebp + 0x10]
push esi
push esi
call fcn.00456462
add esp, 0xc
cmp dword [ebp + 0xc], edi
mov dword [ebp - 4], esi
jbe 0x457015
sub dword [ebp + 0xc], edi
add dword [ebp + 8], edi
add esi, edi
cmp dword [ebp + 0xc], 0
jne 0x456fb2
push edi
push dword [ebp - 4]
push dword [ebp + 0x14]
call fcn.0048bbc0
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret
Function at 0x457029
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, eax
cmp esi, ebx
push edi
je 0x457098
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
push 0x10
pop edi
cmp eax, edi
jb 0x457086
shr eax, 4
mov dword [esp + 0xc], eax
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call fcn.004569dd
add esp, 0xc
mov ecx, esi
push 4
mov eax, ebx
sub ecx, ebx
pop edx
mov esi, dword [ecx + eax]
xor dword [eax], esi
add eax, 4
dec edx
jne 0x45706a
mov esi, dword [ebp + 8]
sub dword [ebp + 0xc], edi
add dword [ebp + 8], edi
add ebx, edi
dec dword [esp + 0xc]
jne 0x457052
push edi
push esi
push dword [ebp + 0x14]
call fcn.0048bbc0
add esp, 0xc
jmp 0x457119
cmp dword [ebp + 0xc], 0x10
jb 0x457116
lea eax, [esp + 0x18]
mov edi, ebx
sub edi, eax
sub esi, eax
mov eax, dword [ebp + 0xc]
shr eax, 4
mov dword [esp + 0x10], eax
shl eax, 4
add ebx, eax
push dword [ebp + 0x10]
lea eax, [esp + 0x1c]
push eax
push dword [ebp + 8]
call fcn.004569dd
add esp, 0xc
and dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
shl eax, 2
mov edx, dword [esp + eax + 0x18]
lea ecx, [esi + eax]
mov ecx, dword [esp + ecx + 0x18]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 0x14]
add ecx, eax
xor edx, dword [ecx]
add eax, edi
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 4
mov dword [esp + eax + 0x18], edx
mov eax, dword [esp + 0x14]
mov dword [ecx], eax
jb 0x4570cf
push 0x10
pop eax
sub dword [ebp + 0xc], eax
add dword [ebp + 8], eax
add esi, eax
add edi, eax
dec dword [esp + 0x10]
jne 0x4570b7
push 0x10
pop edi
cmp dword [ebp + 0xc], 0
je 0x4571b7
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x18]
sub eax, ecx
mov dword [esp + 0x14], eax
mov eax, ecx
sub ebx, eax
mov dword [esp + 0xc], ebx
sub esi, eax
push dword [ebp + 0x10]
lea eax, [esp + 0x1c]
push eax
push dword [ebp + 8]
call fcn.004569dd
add esp, 0xc
xor eax, eax
cmp eax, dword [ebp + 0xc]
jae 0x457182
mov bl, byte [esp + eax + 0x18]
mov edi, dword [esp + 0xc]
lea ecx, [esi + eax]
mov dl, byte [esp + ecx + 0x18]
mov ecx, dword [esp + 0x14]
add ecx, eax
lea ecx, [esp + ecx + 0x18]
xor bl, byte [ecx]
add edi, eax
mov byte [esp + edi + 0x18], bl
push 0x10
inc eax
pop edi
cmp eax, edi
mov byte [ecx], dl
jb 0x457152
cmp dword [ebp + 0xc], edi
jbe 0x45719b
sub dword [ebp + 0xc], edi
add dword [ebp + 8], edi
add dword [esp + 0xc], edi
add esi, edi
cmp dword [ebp + 0xc], 0
jne 0x45713d
jmp 0x4571b7
cmp eax, edi
jae 0x4571b7
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
lea edx, [eax + ecx]
sub esi, ecx
mov ecx, edi
sub ecx, eax
mov al, byte [esi + edx]
mov byte [edx], al
inc edx
dec ecx
jne 0x4571ae
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x457ab7
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4d27dc
call fcn.004cdff0
sub esp, 0xc
push ebx
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push dword [ebp + 8]
xor edi, edi
push eax
mov dword [ebp - 0x14], edi
call fcn.00457b41
add esp, 0xc
mov dword [ebp - 4], edi
cmp dword [esi], edi
je 0x457b1e
mov eax, esi
push dword [eax]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040b01a
pop ecx
pop ecx
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, eax
mov eax, dword [ebp - 0x18]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.00407fe5
test bl, bl
jne 0x457b25
inc edi
lea eax, [esi + edi*4]
cmp dword [eax], 0
jne 0x457ae6
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00407fe5
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x457f0f
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4d27dc
call fcn.004cdff0
push ecx
push ecx
push esi
push edi
lea eax, [ebp - 0x10]
push eax
xor esi, esi
xor edi, edi
mov dword [ebp - 0x14], str.QQPCRTP
call fcn.00457f7c
pop ecx
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], esi
je 0x457f64
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x457f61
push dword [ebp + esi*4 - 0x14]
call fcn.0040a9da
test eax, eax
pop ecx
jne 0x457f5e
inc esi
cmp esi, 1
jb 0x457f48
jmp 0x457f61
xor edi, edi
inc edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00407fe5
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x458285
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor esi, esi
push esi
push esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
xor ebx, ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jge 0x4582a7
xor eax, eax
inc eax
jmp 0x458311
cmp dword [edi], esi
je 0x4582b0
xor ebx, ebx
inc ebx
jmp 0x4582f5
lea eax, [ebp - 8]
push eax
push 0x4ec468
push 1
push esi
push 0x4ec458
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x4582cf
push 2
jmp 0x4582f4
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
jge 0x4582e4
push 3
jmp 0x4582f4
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x1c]
test eax, eax
jge 0x4582f5
push 4
pop ebx
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x458302
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
cmp eax, esi
je 0x45830f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x45866e
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov eax, 0x4d4c56
call fcn.004cdff0
sub esp, 0x280
push ebx
push esi
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
xor edi, edi
push eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
call fcn.0040826f
push edi
push 2
mov dword [ebp - 4], edi
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x20], esi
jne 0x4586cb
push 0xfffffffffffffffe
pop esi
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00407fe5
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
push 0x228
lea eax, [ebp - 0x288]
push edi
push eax
call fcn.00489f10
add esp, 0xc
lea eax, [ebp - 0x28c]
push eax
push esi
mov dword [ebp - 0x28c], 0x22c
call sub.KERNEL32.DLL_Process32FirstW
test eax, eax
jne 0x458706
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0xfffffffffffffffd
jmp 0x4586ac
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004521be
mov byte [ebp - 4], 1
jmp 0x458720
xor edi, edi
mov eax, dword [ebp - 0x284]
cmp eax, dword [ebp - 0x24]
je 0x458813
cmp eax, edi
je 0x458813
cmp eax, 4
je 0x458813
push eax
push edi
push 0x1f0fff
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov ebx, eax
cmp ebx, edi
je 0x458813
mov eax, dword [0x50c868]
mov ecx, 0x50c868
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
mov byte [ebp - 4], 2
call fcn.00458cd2
test eax, eax
push ebx
je 0x458795
lea eax, [ebp - 0x2c]
push eax
lea edi, [ebp - 0x5c]
call fcn.00452228
lea edi, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.00407526
mov eax, dword [ebp - 0x2c]
jmp 0x4587b1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004522ce
lea edi, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.00407526
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.00407fe5
mov esi, dword [ebp + 8]
mov ecx, dword [esi - 0xc]
test ecx, ecx
je 0x458800
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx - 0xc]
cmp ecx, eax
jl 0x458800
push eax
push esi
push edx
call fcn.0048ecb5
add esp, 0xc
test eax, eax
jne 0x458800
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
cmp eax, 1
je 0x4587fa
push dword [ebp - 0x284]
call fcn.0045254f
cmp eax, 1
pop ecx
jne 0x4587fd
inc dword [ebp - 0x14]
inc dword [ebp - 0x18]
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
call fcn.00407fe5
lea eax, [ebp - 0x28c]
push eax
push dword [ebp - 0x20]
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x45871e
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x45883f
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
lea esi, [ebp - 0x3c]
call fcn.0044ddd0
lea esi, [ebp - 0x5c]
call fcn.004520e4
mov esi, dword [ebp - 0x14]
jmp 0x4586ad