joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4482a7
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov dword [ebp - 0x228], ecx
mov eax, dword [ebp - 0x228]
cmp dword [eax + 0x18], 0
jne 0x4482cd
mov ecx, dword [ebp - 0x228]
call fcn.0044586a
mov ecx, dword [ebp - 0x228]
cmp dword [ecx + 0x18], 0
jne 0x4482e0
xor eax, eax
jmp 0x44838c
push 0x514190
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 0xc], 0
lea edx, [ebp - 0x214]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x228]
call fcn.00447564
test eax, eax
jne 0x448314
xor eax, eax
jmp 0x44838c
lea edx, [ebp - 0x214]
push edx
call dword [sym.imp.ntdll.dll__wcsupr]
add esp, 4
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.ntdll.dll_wcslen]
add esp, 4
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x21c], ecx
push 0
lea edx, [ebp - 0x218]
push edx
push 4
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x214]
push edx
push 0x22201c
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x448378
xor eax, eax
jmp 0x44838c
push str._CSpecialModuleKiller::DelRegKey___n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
cmp dword [ebp - 4], 0
sete al
mov esp, ebp
pop ebp
ret 8

Function at 0x448392
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov dword [ebp - 0x210], ecx
mov eax, dword [ebp - 0x210]
cmp dword [eax + 0x18], 0
jne 0x4483b8
mov ecx, dword [ebp - 0x210]
call fcn.0044586a
mov ecx, dword [ebp - 0x210]
cmp dword [ecx + 0x18], 0
jne 0x4483cb
xor eax, eax
jmp 0x448486
lea edx, [ebp - 0x208]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x210]
call fcn.00447564
test eax, eax
jne 0x4483f0
xor eax, eax
jmp 0x448486
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.ntdll.dll__wcsupr]
add esp, 4
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax + 0x24]
add ecx, 1
mov edx, dword [ebp - 0x210]
mov dword [edx + 0x24], ecx
mov eax, dword [ebp - 0x210]
cmp dword [eax + 0x24], 0x64
jl 0x448425
xor eax, eax
jmp 0x448486
push 0x5141e0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
lea ecx, [ebp - 0x20c]
push ecx
push 0
push 0
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.ntdll.dll_wcslen]
add esp, 4
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0x208]
push ecx
push 0x222010
mov edx, dword [ebp - 0x210]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x448476
xor eax, eax
jmp 0x448486
push 0x514218
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x44848c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov dword [ebp - 0x210], ecx
mov eax, dword [ebp - 0x210]
cmp dword [eax + 0x18], 0
jne 0x4484b2
mov ecx, dword [ebp - 0x210]
call fcn.0044586a
mov ecx, dword [ebp - 0x210]
cmp dword [ecx + 0x18], 0
jne 0x4484c5
xor eax, eax
jmp 0x448585
push 0x104
lea edx, [ebp - 0x208]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.ntdll.dll_strlen
add esp, 4
add eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.ntdll.dll__wcsupr]
add esp, 4
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax + 0x24]
add ecx, 1
mov edx, dword [ebp - 0x210]
mov dword [edx + 0x24], ecx
mov eax, dword [ebp - 0x210]
cmp dword [eax + 0x24], 0x64
jl 0x448524
xor eax, eax
jmp 0x448585
push 0x514250
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
lea ecx, [ebp - 0x20c]
push ecx
push 0
push 0
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.ntdll.dll_wcslen]
add esp, 4
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0x208]
push ecx
push 0x222010
mov edx, dword [ebp - 0x210]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x448575
xor eax, eax
jmp 0x448585
push str._CSpecialModuleKiller::ProtectRegKeyNormalFormat___n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x44858b
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov dword [ebp - 4], 0
push 0x5142c0
push SysStringLen
call fcn.00445886
mov ecx, eax
call fcn.00448392
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.00445886
mov ecx, eax
call fcn.00445ff5
lea eax, [ebp - 0x110]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionImage_File_Execution_Options
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
jne 0x448763
mov dword [ebp - 0x114], 0
mov ecx, 1
test ecx, ecx
je 0x448756
push 0x104
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
je 0x448640
jmp 0x448756
call fcn.0042cc7c
test eax, eax
je 0x44868b
push str.DllNXOptions
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x448675
push str.IEInstal.exe
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x448689
mov ecx, dword [ebp - 0x114]
add ecx, 1
mov dword [ebp - 0x114], ecx
jmp 0x4485ff
jmp 0x4486b5
push str.Your_Image_File_Name_Here_without_a_path
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x4486b5
mov eax, dword [ebp - 0x114]
add eax, 1
mov dword [ebp - 0x114], eax
jmp 0x4485ff
lea ecx, [ebp - 0x118]
push ecx
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x448742
push 0
push 0
lea ecx, [ebp - 0x120]
push ecx
push 0
push str.Debugger
mov edx, dword [ebp - 0x118]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x448735
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x108]
push ecx
mov edx, dword [ebp - 0x110]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x448735
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x4485ff
mov ecx, dword [ebp - 0x118]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x114]
add edx, 1
mov dword [ebp - 0x114], edx
jmp 0x4485ff
mov eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x448b51
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab912
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov dword [eax], 0x4b0098
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
call fcn.00448d8e
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0x10
call fcn.004172b0
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x24]
add ecx, 0x10
call fcn.00436710
push eax
lea ecx, [ebp - 0x10]
call fcn.00448ed0
and eax, 0xff
test eax, eax
je 0x448c1d
lea ecx, [ebp - 0x10]
call fcn.00432be0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x448c0a
cmp dword [ebp - 0x18], 0x103
jne 0x448c0a
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x1c]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x448c0a
push 0xdb
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
call fcn.00417310
jmp 0x448b96
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
add ecx, 0x10
call fcn.0045b9e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x448c3d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0xc]
call fcn.00448d8e
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x448c7e
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x10
call fcn.00448e60
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8

Function at 0x448ce5
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00448d8e
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], ecx
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
push 0x448d56
mov ecx, dword [ebp + 0xc]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x448d4d
lea edx, [ebp - 0xc]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x10
call fcn.00448e60
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44c8e3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x44c8f3
xor eax, eax
jmp 0x44cabc
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x44ca74
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4b1474]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4b1474]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4b1474]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4b1474]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4b1474]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4b1474]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4b1474]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4b1474]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 8
mov dword [ebp + 0x10], ecx
jmp 0x44c8fc
cmp dword [ebp + 0x10], 0
je 0x44cab6
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp + 8]
xor ecx, eax
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
mov eax, dword [ecx*4 + 0x4b1474]
xor eax, edx
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x10], 0
jne 0x44ca7a
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x44cabe
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
xor edx, eax
and edx, 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
shr ecx, 8
mov edx, dword [edx*4 + 0x4b1474]
xor edx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
and edx, 0xff
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
add ecx, edx
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
imul ecx, ecx, 0x8088405
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shr ecx, 0x18
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
xor eax, ecx
and eax, 0xff
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
shr edx, 8
mov eax, dword [eax*4 + 0x4b1474]
xor eax, edx
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
pop ebp
ret

Function at 0x44da8a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x14]
xor edx, edx
mov dl, byte [ecx]
test edx, edx
je 0x44dada
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x44dad0
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x44db34
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x18]
jbe 0x44dafa
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x18]
sub edx, dword [ecx + 0x1c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x1c]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.ntdll.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x44f52c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x44f546
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 4], 0xffffffff
je 0x44f550
mov eax, 0x1000000
jmp 0x44f62d
mov edx, dword [ebp - 0x18]
add edx, 0x140
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, dword [ebp - 0x18]
add eax, 0x140
push eax
call sub.ntdll.dll_strlen
add esp, 4
mov ecx, dword [ebp - 0x18]
mov dl, byte [ecx + eax + 0x13f]
mov byte [ebp - 0xc], dl
movsx eax, byte [ebp - 0xc]
cmp eax, 0x5c
je 0x44f5ac
movsx ecx, byte [ebp - 0xc]
cmp ecx, 0x2f
je 0x44f5ac
push 0x5146d0
mov edx, dword [ebp - 0x18]
add edx, 0x140
push edx
call sub.ntdll.dll_strcat
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x44f5e5
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x14], eax
xor ecx, ecx
cmp dword [ebp - 0x14], 0xffffffff
setne cl
mov byte [ebp - 0x10], cl
mov edx, dword [ebp - 0x10]
and edx, 0xff
test edx, edx
jne 0x44f5e5
mov eax, 0x2000000
jmp 0x44f62d
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0044d789
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x44f60b
mov eax, dword [ebp - 4]
jmp 0x44f62d
mov ecx, dword [ebp - 8]
push ecx
call fcn.0044df0e
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x44f62b
mov eax, 0x200
jmp 0x44f62d
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4500af
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
cmp dword [ebp + 8], 0
je 0x4500d9
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4500d9
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx]
test eax, eax
jne 0x4500e8
jmp 0x4501e9
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10c], ecx
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
movsx ecx, byte [eax]
test ecx, ecx
je 0x45012e
mov edx, dword [ebp - 4]
movsx eax, byte [edx]
cmp eax, 0x2f
je 0x45011a
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
cmp edx, 0x5c
jne 0x450123
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
jmp 0x4500fa
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0x110], edx
mov eax, dword [ebp - 0x10c]
cmp eax, dword [ebp + 0xc]
je 0x450195
mov ecx, dword [ebp - 0x10c]
sub ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x214]
push eax
call sub.ntdll.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x10c]
sub ecx, dword [ebp + 0xc]
mov byte [ebp + ecx - 0x214], 0
lea edx, [ebp - 0x214]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004500af
add esp, 8
mov ecx, dword [ebp - 0x110]
add ecx, 1
mov dword [ebp - 0x110], ecx
mov byte [ebp - 0x108], 0
cmp dword [ebp + 8], 0
je 0x4501b5
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x108]
push eax
call sub.ntdll.dll_strcpy
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x108]
push edx
call sub.ntdll.dll_strcat
add esp, 8
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4501e9
push 0
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esp, ebp
pop ebp
ret
Function at 0x4514b8
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov dword [ebp - 8], 0
push 0
push 0
push 3
push 0
push 1
push closesocket
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x4515c3
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4515b9
cmp dword [ebp - 0x10], 0
jne 0x4515b9
cmp dword [ebp - 0xc], 0x40000000
jae 0x4515b9
mov eax, dword [ebp - 0xc]
add eax, 1
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x4515b9
push 0
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4515a0
cmp dword [ebp - 0xc], 0
je 0x4515a0
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
mov byte [eax], 0
lea ecx, [ebp - 0x68]
push ecx
call fcn.004a9080
add esp, 4
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x68]
push ecx
call fcn.004a8770
add esp, 0xc
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.004a886f
add esp, 8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0xc]
mov dword [ecx], edx
jmp 0x4515b9
mov eax, dword [ebp - 8]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.004a90a8
add esp, 4
mov dword [ebp - 8], 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4515ca
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab970
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x334
push edi
mov dword [ebp - 0x340], ecx
mov eax, dword [ebp - 0x340]
cmp dword [eax + 0x2c], 0
jne 0x451602
xor eax, eax
jmp 0x45182c
mov byte [ebp - 0x110], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x10f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea ecx, [ebp - 0x21c]
call fcn.0042e5c0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
push 0x104
lea edx, [ebp - 0x110]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0042e624
test eax, eax
je 0x45180a
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x21c]
call fcn.0042e7d3
test eax, eax
je 0x45180a
cmp dword [ebp - 0x224], 0
je 0x45180a
mov dword [ebp - 0x228], 0
call fcn.004510b0
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
je 0x45180a
mov dword [ebp - 0x334], 0
mov dword [ebp - 0x330], 0
jmp 0x4516d9
mov eax, dword [ebp - 0x330]
add eax, 1
mov dword [ebp - 0x330], eax
mov ecx, dword [ebp - 0x224]
add ecx, dword [ebp - 0x330]
movsx edx, byte [ecx]
test edx, edx
je 0x451753
mov eax, dword [ebp - 0x224]
add eax, dword [ebp - 0x330]
movsx ecx, byte [eax]
cmp ecx, 0x20
je 0x45174e
mov edx, dword [ebp - 0x224]
add edx, dword [ebp - 0x330]
movsx eax, byte [edx]
cmp eax, 0x2c
je 0x451731
mov ecx, dword [ebp - 0x224]
add ecx, dword [ebp - 0x330]
mov edx, dword [ebp - 0x334]
mov al, byte [ecx]
mov byte [ebp + edx - 0x110], al
jmp 0x45173f
mov ecx, dword [ebp - 0x334]
mov byte [ebp + ecx - 0x110], 0x2e
mov edx, dword [ebp - 0x334]
add edx, 1
mov dword [ebp - 0x334], edx
jmp 0x4516ca
mov eax, dword [ebp - 0x334]
mov byte [ebp + eax - 0x110], 0
mov ecx, dword [ebp - 0x228]
push ecx
push 0x104
lea edx, [ebp - 0x32c]
push edx
push 0x514ad4
push 0x514adc
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jbe 0x45180a
mov ecx, dword [ebp - 0x228]
push ecx
push 0
push str.update
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x32c]
push eax
call fcn.0041bc90
add esp, 8
test eax, eax
jle 0x45180a
mov ecx, dword [ebp - 0x228]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
push str.http:__dl.360safe.com_SuperKiller.exe
push 0x514b10
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x338], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.0042e5e4
mov eax, dword [ebp - 0x338]
jmp 0x45182c
mov dword [ebp - 0x33c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.0042e5e4
mov eax, dword [ebp - 0x33c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 0x10