joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10022140
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
ret

Function at 0x100233b7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10048ff4]
jne 0x100233c1
repz ret
jmp fcn.100289ed

Function at 0x10035738
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10027796
and dword [ebp - 4], 0
cmp dword [0x1004b764], 0
mov ebx, eax
jne 0x100357e9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1003589a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1003589a
push eax
call fcn.10027724
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1004b764], eax
call esi
push eax
call fcn.10027724
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1004b768], eax
call esi
push eax
call fcn.10027724
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1004b76c], eax
call esi
push eax
call fcn.10027724
pop ecx
mov dword [0x1004b774], eax
test eax, eax
je 0x100357e9
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10027724
pop ecx
mov dword [0x1004b770], eax
mov eax, dword [0x1004b770]
cmp eax, ebx
je 0x10035841
cmp dword [0x1004b774], ebx
je 0x10035841
push eax
call fcn.1002779f
push dword [0x1004b774]
mov esi, eax
call fcn.1002779f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10035841
test edi, edi
je 0x10035841
call esi
test eax, eax
je 0x10035838
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10035838
test byte [ebp - 0xc], 1
jne 0x10035841
or dword [ebp + 0x10], 0x200000
jmp 0x1003587a
mov eax, dword [0x1004b768]
cmp eax, ebx
je 0x1003587a
push eax
call fcn.1002779f
pop ecx
test eax, eax
je 0x1003587a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1003587a
mov eax, dword [0x1004b76c]
cmp eax, ebx
je 0x1003587a
push eax
call fcn.1002779f
pop ecx
test eax, eax
je 0x1003587a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1004b764]
call fcn.1002779f
pop ecx
test eax, eax
je 0x1003589a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1003589c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405d9a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c574], 0
push esi
jne 0x405dd1
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405dab
mov dword [ecx*4 + 0x42c570], eax
inc ecx
cmp ecx, 0x100
jl 0x405da6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e02
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c570]
xor eax, esi
inc ecx
dec edx
jne 0x405de4
pop edi
not eax
pop esi
ret 0xc

Function at 0x431006
Capabilities:
Encode data using xor

Disassembly:
call 0x43100c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x15a12e73
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x1cf80a21
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401ff0
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b0a5
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x5a4e60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x41e]
mov dword [ebp - 4], 0
push ecx
mov word [ebp - 0x420], ax
call fcn.00525e90
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x216]
push eax
mov word [ebp - 0x218], dx
call fcn.00525e90
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x218]
push edx
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x57cb60
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00523249
lea ecx, [ebp - 0x218]
add esp, 0xc
push ecx
call fcn.00523c87
add esp, 4
push str.GameLogin
lea edx, [ebp - 0x218]
push 0x104
push edx
call fcn.00523249
lea eax, [ebp - 0x218]
add esp, 0xc
push eax
call fcn.00523c87
add esp, 4
lea ecx, [ebp - 0x420]
push 0x5c
push ecx
call fcn.0052321b
push eax
lea edx, [ebp - 0x218]
push 0x104
push edx
call fcn.00523249
add esp, 0x14
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.005239c1
add esp, 8
test eax, eax
je 0x402132
push 0
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x218]
call fcn.0040bb60
push str._Qs2657D
lea edx, [ebp - 0x218]
mov ecx, 0x57cb84
call fcn.0040bda0
push str._uninst
lea edx, [ebp - 0x218]
mov ecx, 0x57cba8
call fcn.0040bda0
lea ecx, [ebp - 0x218]
call fcn.00403670
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00523022
mov esp, ebp
pop ebp
ret
Function at 0x4021a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5a4e60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push str.Software2657GameLoginQs2657
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4021ef
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00523022
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx eax, word [ebp - 6]
mov dword [ebp - 0x1c], eax
call fcn.00523cb9
mov ecx, 7
sub ecx, dword [ebp - 0x1c]
xor edx, edx
add eax, ecx
mov ecx, 7
div ecx
mov byte [ebp - 0x15], dl
call fcn.00523cb9
mov ecx, dword [ebp - 0x1c]
mov edx, 7
sub edx, ecx
add eax, edx
xor edx, edx
mov esi, 7
div esi
mov eax, ecx
mov ecx, esi
and eax, 0xffffff
movzx esi, byte [ebp - 0x15]
mov bl, dl
xor edx, edx
div ecx
mov ecx, edx
cmp ecx, esi
jne 0x402263
lea eax, [ecx + 6]
mov ecx, 7
xor edx, edx
div ecx
mov ecx, edx
cmp byte [ebp - 0x15], bl
jne 0x402276
movzx eax, bl
inc eax
cdq
mov edi, 7
idiv edi
mov bl, dl
shl ecx, 8
push 4
or ecx, esi
lea eax, [ebp - 0x1c]
push eax
movzx edx, bl
shl ecx, 8
push 3
or ecx, edx
push 0
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x20]
push str.DisableDays
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00523022
mov esp, ebp
pop ebp
ret
Function at 0x4022c0
Capabilities:
Create thread
Delete registry key
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a0
mov eax, dword [0x5a4e60]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push str.Software2657GameLoginQs2657
push reloc.OLEAUT32.dll_SysReAllocString
mov edi, ecx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
call fcn.00402480
call fcn.00402580
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x28e]
push ecx
mov word [ebp - 0x290], ax
call fcn.00525e90
add esp, 0xc
xor edx, edx
push 0x3e
push edx
lea eax, [ebp - 0x86]
push eax
mov word [ebp - 0x88], dx
call fcn.00525e90
add esp, 0xc
xor ecx, ecx
push 0x3e
push ecx
lea edx, [ebp - 0x46]
push edx
mov word [ebp - 0x48], cx
call fcn.00525e90
add esp, 0xc
push str.UnInst
lea eax, [ebp - 0x88]
push 0x20
push eax
call fcn.005231b8
add esp, 0xc
lea ecx, [ebp - 0x290]
push ecx
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.2657GameLoginStatistic.ini
lea edx, [ebp - 0x290]
push 0x104
push edx
call fcn.00523249
add esp, 0xc
lea eax, [ebp - 0x290]
push eax
push 0x20
lea ecx, [ebp - 0x48]
push ecx
push 0x57cd60
lea edx, [ebp - 0x88]
push edx
push 0x57cd64
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x48]
push eax
call fcn.00523a4c
add esp, 4
lea esi, [eax + 1]
push esi
push 0x57cd74
lea ecx, [ebp - 0x48]
push 0x20
push ecx
call fcn.0052350d
add esp, 0x10
lea edx, [ebp - 0x290]
push edx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x88]
push ecx
push 0x57cd64
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push esi
push str.http:__client.5054399.com_uninstall.htm_tagqs2657ver3.0.0.1
push str._scount_u
lea edx, [ebp - 0x690]
push 0x200
push edx
call fcn.0052350d
add esp, 0x14
lea ecx, [ebp - 0x69c]
push ecx
push 0
lea edx, [ebp - 0x698]
push edx
push 0x4033c0
push 0
lea eax, [ebp - 0x690]
push 0
mov dword [ebp - 0x698], eax
mov dword [ebp - 0x694], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [edi + 0x1030]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [edi + 0x1030]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
mov edi, 0x57c8c8
mov edx, str.2657__
xor ecx, ecx
call fcn.00403760
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
xor ecx, ebp
pop esi
call fcn.00523022
mov esp, ebp
pop ebp
ret
Function at 0x402480
Capabilities:
Delete directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b075
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x5a4e60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
xor eax, eax
mov dword [ebp - 4], 0
cmp eax, 0x57cb84
je 0x4024d3
mov esi, 0x57cb84
call fcn.0040bd00
call fcn.0040bee0
xor ecx, ecx
cmp ecx, 0x57cba8
je 0x4024e7
mov esi, 0x57cba8
call fcn.0040bee0
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x216]
push eax
mov word [ebp - 0x218], dx
call fcn.00525e90
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0
push 0
push 0x17
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x57cd7c
lea edx, [ebp - 0x218]
push 0x104
push edx
call fcn.00523249
lea eax, [ebp - 0x218]
add esp, 0xc
push eax
call fcn.0040a470
add esp, 4
test eax, eax
jne 0x402553
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00523022
mov esp, ebp
pop ebp
ret
Function at 0x402580
Capabilities:
Create process on windows
Get common file path
Self delete

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd84
mov eax, dword [0x5a4e60]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x44
lea eax, [ebp - 0xd80]
push 0
push eax
call fcn.00525e90
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
xor ecx, ecx
push 0x104
mov dword [ebp - 0xd80], 0x44
mov dword [ebp - 0xd54], 1
mov word [ebp - 0xd50], cx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x218]
push eax
push 0
push str.DelSelf
mov ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push str..bat
lea edx, [ebp - 0x218]
push 0x104
push edx
call fcn.00523cda
add esp, 0xc
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x402784
lea ecx, [ebp - 0x110]
push 0x5c
push ecx
call fcn.00523d50
add esp, 8
test eax, eax
je 0x402651
lea edx, [ebp - 0x110]
sub eax, edx
push eax
mov eax, edx
push eax
push 0x104
lea ecx, [ebp - 0x320]
push ecx
jmp 0x40267d
lea eax, [ebp - 0x110]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402660
sub eax, edx
push eax
lea edx, [ebp - 0x110]
push edx
push 0x104
lea eax, [ebp - 0x320]
push eax
call fcn.00523d7d
add esp, 0x10
push 0x104
lea ecx, [ebp - 0x528]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x320]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x528]
push eax
call fcn.0040a470
add esp, 4
push 0
cmp eax, 1
jle 0x4026e8
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x110]
push edx
mov eax, edx
push eax
push 1
push str.cd_r_n:delexe_r_nping__n__d_127.0.0.1_r_ndel___s__r_nif_exist___s__goto_:delexe_r_ndel___s__r_n
lea ecx, [ebp - 0xd28]
push 0x800
push ecx
call fcn.00523362
add esp, 0x20
jmp 0x40271e
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x320]
push eax
mov ecx, eax
push ecx
lea edx, [ebp - 0x110]
push edx
mov eax, edx
push eax
push 1
push str.cd_r_n:delexe_r_nping__n__d_127.0.0.1_r_ndel___s__r_nif_exist___s__goto_:delexe_r_ndel___s___Q__F__A_r_nrd___s__r_ndel___s__r_n
lea ecx, [ebp - 0xd28]
push 0x800
push ecx
call fcn.00523362
add esp, 0x28
lea edx, [ebp - 0xd28]
push edx
lea eax, [ebp - 0x218]
call fcn.004027a0
lea eax, [ebp - 0xd38]
push eax
lea ecx, [ebp - 0xd80]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x402784
mov eax, dword [ebp - 0xd34]
push 0xfffffffffffffff1
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [ebp - 0xd34]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0xd38]
push edx
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00523022
mov esp, ebp
pop ebp
ret
Function at 0x4027a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
push 0
push 4
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4027cb
or eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4027d1
push ebx
push edi
push 2
push 0
push 0
sub eax, edx
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x402816
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
je 0x402816
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop ebx
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp + 8]
push 0
lea ecx, [ebp - 4]
push ecx
push edi
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40284e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop ebx
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x402a50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x5a4e60]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x28]
push ecx
push 0
push 0x20019
push 0
push 0
push 0
push str.Software2657GameLoginQs2657
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x402b1f
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
xor edx, edx
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x14]
push ecx
mov word [ebp - 0x14], dx
lea edx, [ebp - 0x2c]
push edx
push 0
push 0x57ce80
push eax
mov dword [ebp - 0x30], 0x10
mov dword [ebp - 0x2c], 3
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov ax, word [ebp - 0x14]
cmp ax, word [ebp - 0x24]
jne 0x402afe
mov cx, word [ebp - 0x12]
cmp cx, word [ebp - 0x22]
jne 0x402afe
mov dx, word [ebp - 0xe]
cmp dx, word [ebp - 0x1e]
je 0x402b1f
movzx esi, word [ebp - 0x20]
call fcn.00402b30
test eax, eax
jne 0x402b1f
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00523022
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00523022
mov esp, ebp
pop ebp
ret
Function at 0x402b30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0x20019
push 0
push 0
push 0
push str.Software2657GameLoginQs2657
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x402b65
xor eax, eax
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0xc]
push edx
mov edx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
push str.DisableDays
push edx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], 3
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
test eax, eax
je 0x402b5f
movzx ecx, al
cmp esi, ecx
je 0x402bc5
mov edx, eax
shr edx, 8
movzx ecx, dl
cmp esi, ecx
je 0x402bc5
shr eax, 0x10
movzx edx, al
cmp esi, edx
jne 0x402b5f
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4031e0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x5a4e60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, str.NewQs2657.exe
lea edi, [ebp - 0x20c]
mov esi, ecx
call fcn.0040a3d0
lea edi, [esi + 0xb8]
add esi, 0xc30
push esi
lea eax, [edi + 0x550]
push 0x200
push eax
call fcn.005231b8
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [edi + 0x950]
push 0x104
push edx
call fcn.005231b8
mov eax, dword [edi]
mov edx, dword [eax + 0x170]
add esp, 0x18
mov ecx, edi
call edx
cmp eax, 1
je 0x403276
push 4
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00523022
mov esp, ebp
pop ebp
ret
mov ebx, str.OldQs2657.exe
lea edi, [ebp - 0x61c]
call fcn.0040a3d0
push 0x104
lea ecx, [ebp - 0x414]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 1
mov edx, edi
push edx
lea eax, [ebp - 0x414]
push eax
call esi
push 1
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x20c]
push edx
call esi
push 4
push 0
mov eax, edi
push eax
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00523022
mov esp, ebp
pop ebp
ret

Function at 0x4032e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5a4e60]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push str.Software2657GameLoginQs2657
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x403329
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00523022
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov ecx, dword [ebp - 0x18]
push 0x10
lea eax, [ebp - 0x14]
push eax
push 3
push 0
push 0x57ce80
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.00523022
mov esp, ebp
pop ebp
ret

Function at 0x403370
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea ecx, [ebp - 4]
push ecx
push 0
lea edx, [ebp - 0xc]
push edx
push 0x4033c0
push 0
push 0
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [esi + 0x1030]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x1030]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, 1
mov esp, ebp
pop ebp
ret