joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47e896
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0
push 0x80
push 2
push 0
xor ebx, ebx
inc ebx
push ebx
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 8], esi
cmp esi, 0xffffffff
jne 0x47e8cc
xor eax, eax
jmp 0x47e97d
call fcn.00486466
test al, al
je 0x47e8ed
pop eax
pop esi
pop edx
push esp
push edi
pop edi
pop ebx
push eax
pop eax
push edx
push ebp
push esi
pop ebx
push edx
push ebx
pop ecx
push ecx
push ebp
mov esi, dword [ebp - 8]
xor ebx, ebx
inc ebx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00486397
test al, al
je 0x47e932
push eax
push ecx
push ebp
pop edi
pop edi
pop esi
pop esi
pop edi
pop esi
push eax
push esp
push edi
pop esp
push eax
push eax
push eax
push esp
push esi
push edi
pop esi
pop esp
push ebp
pop ecx
pop esp
pop edx
pop ecx
pop ebp
call fcn.004861f9
test al, al
je 0x47e950
push ecx
pop edi
push ecx
pop edi
push eax
push ebx
pop ecx
push eax
push ebp
pop edx
push ebp
pop esp
push ebx
push esi
pop esp
pop esi
push esp
pop esp
push eax
pop esi
push ecx
call fcn.00486352
test al, al
je 0x47e96b
push ebx
pop eax
push esi
pop esi
push ebp
pop esp
pop eax
push esp
pop eax
push edi
push edi
pop eax
pop esp
push ebp
push edx
push esi
push ebx
push eax
cmp dword [ebp - 8], 0
je 0x47e979
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 4]
je 0x47e97b
xor ebx, ebx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47ea82
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.004a6baf
mov dword [ebp - 8], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004482ea
push dword [ebp + 8]
mov edi, eax
push edi
mov dword [ebp - 4], edi
call fcn.004a6b8d
add esp, 0x10
call fcn.00486535
test al, al
je 0x47ead5
push edx
push ebp
pop esp
pop edx
push esi
pop esi
pop edx
push eax
pop edx
pop ebx
pop ebx
pop esp
pop edx
push edi
push esp
push edi
mov eax, dword [ebp - 8]
xor esi, esi
xor ebx, ebx
inc esi
mov dword [ebp - 0xc], ebx
test eax, eax
js 0x47eb9f
cmp word [edi + ebx*2], 0x5c
jne 0x47eb90
call fcn.00486283
test al, al
je 0x47eb10
push ebp
pop ebp
push eax
push esp
pop ebp
push ebx
pop ebp
push esi
pop ebx
push edi
pop eax
pop esp
push esi
push eax
push ebp
pop eax
pop esi
push ecx
push ebx
push edx
call fcn.004860a0
test al, al
je 0x47eb3a
push ebp
push ecx
push edi
push edx
push ebx
push ecx
pop esp
pop ebx
pop ebp
pop edx
pop ecx
pop edi
pop ebx
push esp
push eax
push edi
pop ebx
push edi
pop ebx
push eax
pop edx
push ebp
pop ecx
pop eax
pop eax
pop ebx
push ebx
pop ebx
push esp
push ebp
mov edi, dword [ebp - 4]
call fcn.0048616f
test al, al
je 0x47eb65
push esi
push esp
push esp
push eax
pop ebx
pop esi
push ebp
push ecx
push eax
push esp
push esp
push edi
pop ebp
pop ebx
push edi
pop ecx
pop esi
push edi
push ecx
push esp
pop ebp
pop ecx
pop ebp
push eax
pop ebp
pop edi
push ecx
pop ebp
pop eax
pop ecx
push ecx
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
xor eax, eax
push edi
movzx esi, word [edi + ebx*2]
mov word [edi + ebx*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47eb89
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x47ebaf
mov eax, dword [ebp - 8]
mov word [edi + ebx*2], si
inc ebx
mov dword [ebp - 0xc], ebx
cmp ebx, eax
jle 0x47eae8
xor esi, esi
inc esi
push edi
call fcn.004482f3
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
jmp 0x47eb9f
Function at 0x47ee13
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x6610e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20c]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x218], eax
xor eax, eax
push eax
push 0x1a
push ecx
push eax
mov dword [ebp - 0x210], ebx
call fcn.0047f7db
lea eax, [ebp - 0x20c]
push eax
call fcn.004a6baf
add esp, 0x14
mov dword [ebp - 0x214], eax
call fcn.00486016
test al, al
je 0x47ee8a
pop esp
push ecx
pop ebx
push ecx
pop ecx
pop edi
pop ecx
pop esi
push ebx
pop esp
pop ecx
push esi
push edx
push edx
push ebx
push edi
push ebx
push esi
pop esp
pop edx
push ebp
pop eax
push ebx
push edx
push ebp
mov ebx, dword [ebp - 0x210]
cmp dword [ebp - 0x214], 0
je 0x47ef96
mov esi, 0x64a880
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004b0beb
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004b0beb
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004b0beb
add esp, 0x18
call fcn.004865bf
test al, al
je 0x47eeea
pop ebx
pop ecx
push ecx
push edx
pop ebp
push edx
pop esp
push ecx
pop ecx
push esp
push ecx
push esp
pop esi
pop eax
push esp
push ebp
push edi
pop ecx
pop ebx
push ebp
pop edi
push ebx
push esi
push ebx
push ebx
pop ebp
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47ef08
lea eax, [ebp - 0x20c]
push eax
call fcn.0047ea82
pop ecx
call fcn.004860e5
test al, al
je 0x47ef25
push ebp
push eax
pop ecx
push edx
pop ecx
pop ebx
pop ecx
pop ebp
push esp
push edi
pop ebx
pop esi
pop ebp
pop edx
push esp
push ebp
push edx
pop edi
pop eax
push esi
call fcn.00486397
test al, al
je 0x47ef4a
pop edi
push edi
pop esp
pop edi
push ebp
push edi
push ebx
pop esi
pop esi
pop edi
pop ebp
push ecx
push edx
pop ebx
pop ebx
pop eax
push ebp
pop esi
push edx
pop esi
pop edi
push esi
push ebp
pop ebp
push eax
pop edi
pop edx
push edi
call fcn.004865bf
test al, al
je 0x47ef68
push esp
pop edx
push edi
pop ebp
pop eax
push ebp
push ecx
pop esi
push esp
pop edi
pop ecx
pop edx
push edx
pop ecx
push esp
push ebx
pop edx
pop edi
push edx
push edi
push ebp
cmp word [ebp - 0x20c], 0
jne 0x47ef76
xor eax, eax
jmp 0x47ef83
lea eax, [ebp - 0x20c]
push eax
call fcn.004a6baf
pop ecx
mov ecx, dword [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00401ea0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00447f5d
mov esp, ebp
pop ebp
ret
Function at 0x47f1f2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6610e4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x6716cc], 0
push ebx
push esi
push edi
je 0x47f27a
call fcn.004860e5
test al, al
je 0x47f22e
push ebp
push eax
pop ecx
push edx
pop ecx
pop ebx
pop ecx
pop ebp
push esp
push edi
pop ebx
pop esi
pop ebp
pop edx
push esp
push ebp
push edx
pop edi
pop eax
push esi
call fcn.00486397
test al, al
je 0x47f253
pop edi
push edi
pop esp
pop edi
push ebp
push edi
push ebx
pop esi
pop esi
pop edi
pop ebp
push ecx
push edx
pop ebx
pop ebx
pop eax
push ebp
pop esi
push edx
pop esi
pop edi
push esi
push ebp
pop ebp
push eax
pop edi
pop edx
push edi
call fcn.004865bf
test al, al
je 0x47f371
push esp
pop edx
push edi
pop ebp
pop eax
push ebp
push ecx
pop esi
push esp
pop edi
pop ecx
pop edx
push edx
pop ecx
push esp
push ebx
pop edx
pop edi
push edx
push edi
push ebp
jmp 0x47f371
call fcn.004865bf
test al, al
je 0x47f29e
pop edx
push ecx
pop edi
push esi
pop ebp
push ebp
push esp
pop ebp
push ebx
push ecx
push ecx
pop esi
push ebp
push ebp
pop esp
push eax
pop edi
push esp
push ebx
push ebp
push eax
pop ecx
pop ebx
pop edi
pop esp
pop esi
pop ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004a2e40
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x47f30e
lea eax, [ebp - 0x20c]
push eax
call fcn.004b4db2
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.004a4c0d
pop ecx
pop ecx
test eax, eax
jne 0x47f307
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.004a4c0d
pop ecx
pop ecx
test eax, eax
je 0x47f30e
mov byte [0x6716cc], 1
call fcn.00486421
test al, al
je 0x47f329
pop ecx
push ecx
push esi
push edx
push eax
pop esi
push eax
push ebx
pop ebx
push esi
push eax
push eax
push edi
push ebp
pop esi
push esp
pop eax
push esp
call fcn.004860e5
test al, al
je 0x47f34d
push edx
push esi
push esi
push edi
push esi
push edi
pop edi
push esi
push ecx
push esp
push esp
push edx
push ecx
pop esp
push esp
push ebx
pop edi
pop edx
pop ebp
pop ebx
pop esi
push esp
pop ebx
pop edx
pop eax
pop esi
push ebx
call fcn.004860e5
test al, al
je 0x47f371
push ebx
pop ebp
pop edi
push esi
pop esp
pop ecx
pop ebx
pop edi
pop eax
pop edi
pop edi
push edx
pop eax
pop ecx
push eax
push edi
push ecx
pop edi
pop esi
push ebp
push esp
push esi
push edx
push edi
push esi
push edx
push ebp
mov ecx, dword [ebp - 4]
mov al, byte [0x6716cc]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00447f5d
mov esp, ebp
pop ebp
ret
Function at 0x480460
Capabilities:
Set registry value

Disassembly:
push 0x2c
mov eax, 0x5dd7e1
call fcn.00447fa5
xor esi, esi
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.00495caf
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], esi
call fcn.00495ce3
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x480499
mov edi, 0xf003f
push edi
push esi
push 0x5e4d7c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x480509
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push 0x5e1980
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4804d6
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x480509
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x38]
call fcn.00495cc2
call fcn.00447f6e
ret 8
Function at 0x480a14
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x5dd8a5
call fcn.00447fa5
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.00495caf
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.00495ce3
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x480a54
mov edi, 0xf003f
push edi
push esi
push 0x5e4d7c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x480ab6
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push 0x5e1980
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x480a91
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x480ab6
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x3c]
call fcn.00495cc2
call fcn.00447f6e
ret 8

Function at 0x480bd1
Capabilities:
Read .ini file

Disassembly:
push 0x82c
mov eax, 0x5dd8e2
call fcn.00447fd9
mov edi, ecx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x830], eax
mov eax, dword [ebp + 0x10]
push 0x800
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x810]
push ecx
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x838], esi
mov dword [ebp - 0x834], ecx
call fcn.004a2e40
lea eax, [edi + 0x8c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x480c2e
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push ebx
push dword [ebp - 0x82c]
push dword [ebp - 0x830]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.00401d40
and dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x834], 1
jb 0x480c74
mov eax, dword [esi]
jmp 0x480c76
mov eax, esi
push ebx
push eax
call fcn.004ab16b
pop ecx
pop ecx
test eax, eax
jne 0x480cc2
cmp byte [edi + 5], 0
lea eax, [ebp - 0x828]
push ebx
push dword [ebp - 0x82c]
mov ecx, edi
push dword [ebp - 0x830]
push eax
je 0x480ca6
call fcn.00480ade
jmp 0x480cab
call fcn.00480b98
push eax
mov ecx, esi
call fcn.00403900
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.00401de0
mov eax, esi
call fcn.00447f83
ret 0x10
Function at 0x4818de
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa44
mov eax, dword [0x6610e4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
xor esi, esi
lea eax, [ebp - 0x20c]
push esi
push eax
mov edi, ecx
call fcn.004a2e40
lea eax, [edi + 0x2c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x481917
mov eax, dword [eax]
push str.Config
push eax
lea eax, [ebp - 0x20c]
push 0x5e2820
push eax
call fcn.00421690
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48194f
lea eax, [ebp - 0x20c]
push eax
call fcn.0047ea82
pop ecx
push 0x208
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.004a2e40
push str.UseVestige.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x5e46d0
push eax
call fcn.00421690
add esp, 0x1c
cmp word [ebp - 0x414], si
jne 0x48198e
mov eax, esi
jmp 0x48199b
lea eax, [ebp - 0x414]
push eax
call fcn.004a6baf
pop ecx
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [edi + 0x8c]
call fcn.00401ea0
push 0x208
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.004a2e40
push str.Cache.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push 0x5e46d0
push eax
call fcn.00421690
add esp, 0x1c
cmp word [ebp - 0x61c], si
jne 0x4819ed
mov eax, esi
jmp 0x4819fa
lea eax, [ebp - 0x61c]
push eax
call fcn.004a6baf
pop ecx
push eax
lea eax, [ebp - 0x61c]
push eax
lea ecx, [edi + 0xa4]
call fcn.00401ea0
push 0x208
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.004a2e40
lea eax, [ebp - 0xa44]
push 0x5e1b44
push eax
call fcn.0047f387
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x481a3b
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x824]
push 0x64a88c
push eax
call fcn.00421690
add esp, 0xc
lea ecx, [ebp - 0xa44]
push esi
push 1
call fcn.00401de0
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x481a7c
lea eax, [ebp - 0x824]
push eax
call fcn.0047ea82
pop ecx
push 0x208
lea eax, [ebp - 0xa2c]
push esi
push eax
call fcn.004a2e40
push str.Cache.ini
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0xa2c]
push 0x5e46d0
push eax
call fcn.00421690
add esp, 0x1c
cmp word [ebp - 0xa2c], si
je 0x481ac6
lea eax, [ebp - 0xa2c]
push eax
call fcn.004a6baf
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0xa2c]
push eax
lea ecx, [edi + 0xbc]
call fcn.00401ea0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00447f5d
mov esp, ebp
pop ebp
ret
Function at 0x481f27
Capabilities:
Read .ini file

Disassembly:
push 0x23c
mov eax, 0x5dd97f
call fcn.00447fd9
mov ebx, ecx
call fcn.00480ac6
lea edi, [ebx + 0xd4]
push eax
mov ecx, edi
call fcn.00401e50
mov esi, str.WanNengWBInfo.ini
push esi
call fcn.004a6baf
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00403b60
push str.guanf
push str.Spreader
push str.AppInfo
lea eax, [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.00480b6e
and dword [ebp - 4], 0
lea esi, [ebx + 0xec]
lea eax, [ebp - 0x248]
cmp esi, eax
je 0x481f9d
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.004020b0
push str.guanf
mov ecx, esi
call fcn.00421654
test eax, eax
jne 0x482019
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004a2e40
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x481fca
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
mov edi, str.guanf
push eax
push edi
push str.Spreader
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x481ffb
xor eax, eax
jmp 0x482008
lea eax, [ebp - 0x218]
push eax
call fcn.004a6baf
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00401ea0
jmp 0x48201e
mov edi, str.guanf
push edi
mov ecx, esi
call fcn.00421654
test eax, eax
jne 0x4820e1
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004a2e40
add esp, 0xc
lea eax, [ebx + 0x5c]
lea ecx, [ebp - 0x230]
push eax
call fcn.00403980
push str.WanNengWBInfo.ini
mov byte [ebp - 4], 1
call fcn.004a6baf
pop ecx
push eax
push str.WanNengWBInfo.ini
lea ecx, [ebp - 0x230]
call fcn.00403b60
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
push str.Spreader
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x4820b2
xor eax, eax
jmp 0x4820bf
lea eax, [ebp - 0x218]
push eax
call fcn.004a6baf
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00401ea0
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.00401de0
push edi
mov ecx, esi
call fcn.00421654
test eax, eax
jne 0x48211d
push edi
push str.Spreader
push str.AppInfo
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.00480bd1
push eax
mov ecx, esi
call fcn.00403900
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00401de0
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.00401de0
call fcn.00447f83
ret
Function at 0x482e17
Capabilities:
Enumerate processes

Disassembly:
push 0x280
mov eax, 0x5dda3a
call fcn.00447fd9
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x28c], ebx
test eax, eax
je 0x483004
push eax
lea ecx, [ebp - 0x40]
call fcn.00401d40
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push eax
call fcn.00489269
mov edi, 0x22c
lea eax, [ebp - 0x284]
push edi
push 0
push eax
call fcn.004a2e40
add esp, 0x10
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x28c], esi
cmp esi, 0xffffffff
je 0x482ff4
call fcn.00486397
test al, al
je 0x482e99
pop eax
pop ecx
push ebp
push edi
pop ecx
push esp
pop edx
pop ebp
pop edx
pop esp
push eax
push ebx
push ebx
push edx
push esp
push edx
lea eax, [ebp - 0x284]
mov dword [ebp - 0x284], edi
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x482f71
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp word [ebp - 0x260], ax
je 0x482ed8
lea eax, [ebp - 0x260]
push eax
call fcn.004a6baf
pop ecx
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401ea0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.00489269
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00422ad9
test eax, eax
je 0x482f2c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004885e4
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x40]
or ebx, 1
call fcn.00422ad9
mov byte [ebp - 0x285], 0
test eax, eax
jne 0x482f33
mov byte [ebp - 0x285], 1
test bl, 1
je 0x482f47
push 0
push 1
lea ecx, [ebp - 0x58]
and ebx, 0xfffffffe
call fcn.00401de0
cmp byte [ebp - 0x285], 0
jne 0x48300a
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00401de0
lea eax, [ebp - 0x284]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x482eb1
call fcn.004864ab
test al, al
je 0x482fa1
push esp
push edi
pop ebx
pop ecx
pop esp
pop ebx
pop ebx
push ecx
pop ebp
pop eax
pop ebp
push ebx
pop ebx
pop edx
push ebp
push ebx
pop edi
pop eax
push ebx
push edx
pop edx
pop eax
pop edi
push ebp
pop edx
push ebp
push ebx
pop ebp
push ebx
pop edx
pop esi
call fcn.00485f47
test al, al
je 0x482fc3
pop edx
push ecx
push ebp
pop edx
push esp
push esp
push edx
push esi
pop eax
push esi
pop ebx
pop ecx
pop esi
pop ebx
push edi
pop edi
push ecx
push esi
pop edi
pop edi
push ecx
push esp
pop ebp
push ebp
push edi
call fcn.004861f9
test al, al
je 0x482fe8
pop edx
push ecx
pop ebp
pop ebx
pop ebp
pop eax
pop ebx
push edi
push edx
push esi
pop edi
push eax
push edx
push edi
push esi
push esp
pop ebp
push ecx
push edx
pop eax
pop ebp
pop esi
push ecx
pop ecx
push ebx
pop edi
push edi
pop ebp
push dword [ebp - 0x28c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00401de0
mov eax, esi
call fcn.00447f83
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x27c]
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.00401de0
jmp 0x482ff6
Function at 0x484f13
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x244
mov eax, 0x5ddeb8
call fcn.00447fd9
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
and dword [ebp - 0x24c], 0
push 0x208
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a2e40
add esp, 0xc
call fcn.004862c8
test al, al
je 0x484f66
push eax
push esi
push esi
push esi
pop esp
pop eax
pop esi
push ecx
push edi
push ecx
pop edx
push ecx
pop esp
pop esp
push ecx
pop edi
pop ebp
pop ebp
push 0x104
lea eax, [ebp - 0x218]
xor esi, esi
push eax
push esi
jmp 0x48506e
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x485060
call fcn.00486397
test al, al
je 0x484fb0
pop eax
pop ecx
push ebp
push edi
pop ecx
push esp
pop edx
pop ebp
pop edx
pop esp
push eax
push ebx
push ebx
push edx
push esp
push edx
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x484fe0
lea eax, [ebp - 0x218]
push eax
call fcn.004a6baf
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00401ea0
and dword [ebp - 4], 0
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00489430
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
call fcn.00401de0
cmp dword [ebp - 0x234], 0x10
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
push dword [ebp - 0x250]
call fcn.00484b23
pop ecx
pop ecx
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
push 0
push 1
call fcn.00422a84
push 0x104
lea eax, [ebp - 0x218]
inc esi
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x484f7a
call fcn.00447f83
ret
Function at 0x489ced
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6610e4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004a2e40
push 0x5e1980
lea eax, [ebp - 0x20c]
push str.C:log_s.log
push eax
call fcn.00421690
add esp, 0x18
call fcn.00485f02
test al, al
je 0x489d47
pop ebp
push ecx
push ebx
push ebp
pop edx
pop edi
push edx
push esp
push esi
pop ebp
push edx
push edx
pop ecx
pop esp
pop esp
pop esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
neg eax
pop edi
sbb eax, eax
xor ecx, ebp
neg eax
pop esi
call fcn.00447f5d
mov esp, ebp
pop ebp
ret