joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4407fa
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 0x440820
mov ecx, dword [ebp - 0x228]
call fcn.0043dbd3
mov ecx, dword [ebp - 0x228]
cmp dword [ecx + 0x18], 0
jne 0x440833
xor eax, eax
jmp 0x4408df
push 0x50c604
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.0043f934
test eax, eax
jne 0x440867
xor eax, eax
jmp 0x4408df
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 0x4408cb
xor eax, eax
jmp 0x4408df
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 0x4408e5
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 0x44090b
mov ecx, dword [ebp - 0x210]
call fcn.0043dbd3
mov ecx, dword [ebp - 0x210]
cmp dword [ecx + 0x18], 0
jne 0x44091e
xor eax, eax
jmp 0x4409d9
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.0043f934
test eax, eax
jne 0x440943
xor eax, eax
jmp 0x4409d9
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 0x440978
xor eax, eax
jmp 0x4409d9
push 0x50c654
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 0x4409c9
xor eax, eax
jmp 0x4409d9
push 0x50c68c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x4409df
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 0x440a05
mov ecx, dword [ebp - 0x210]
call fcn.0043dbd3
mov ecx, dword [ebp - 0x210]
cmp dword [ecx + 0x18], 0
jne 0x440a18
xor eax, eax
jmp 0x440ad8
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 0x440a77
xor eax, eax
jmp 0x440ad8
push 0x50c6c4
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 0x440ac8
xor eax, eax
jmp 0x440ad8
push str._CSpecialModuleKiller::ProtectRegKeyNormalFormat___n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x440b8f
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov dword [ebp - 4], 0
push 0x50c734
push SysStringLen
call fcn.0043dbef
mov ecx, eax
call fcn.004408e5
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.0043dbef
mov ecx, eax
call fcn.0043e347
lea eax, [ebp - 0x110]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionImage_File_Execution_Options
push SysStringLen
call fcn.0043ae50
mov ecx, eax
call fcn.0043b4e0
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
jne 0x440d9c
mov dword [ebp - 0x114], 0
mov ecx, 1
test ecx, ecx
je 0x440d89
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 0x440c4a
jmp 0x440d89
call fcn.0042c5d7
test eax, eax
je 0x440c95
push str.DllNXOptions
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x440c7f
push str.IEInstal.exe
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x440c93
mov ecx, dword [ebp - 0x114]
add ecx, 1
mov dword [ebp - 0x114], ecx
jmp 0x440c09
jmp 0x440cbf
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 0x440cbf
mov eax, dword [ebp - 0x114]
add eax, 1
mov dword [ebp - 0x114], eax
jmp 0x440c09
lea ecx, [ebp - 0x118]
push ecx
push 0xf003f
push 0
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x110]
push eax
call fcn.0043ae50
mov ecx, eax
call fcn.0043b4e0
test eax, eax
jne 0x440d75
push 0
push 0
lea ecx, [ebp - 0x120]
push ecx
push 0
push str.Debugger
mov edx, dword [ebp - 0x118]
push edx
call fcn.0043ae50
mov ecx, eax
call fcn.0043b507
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x440d62
mov eax, dword [ebp - 0x118]
push eax
call fcn.0043ae50
mov ecx, eax
call fcn.0043b5f9
lea ecx, [ebp - 0x108]
push ecx
mov edx, dword [ebp - 0x110]
push edx
call fcn.0043ae50
mov ecx, eax
call fcn.0043b5c3
test eax, eax
jne 0x440d62
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x440c09
mov ecx, dword [ebp - 0x118]
push ecx
call fcn.0043ae50
mov ecx, eax
call fcn.0043b5f9
mov edx, dword [ebp - 0x114]
add edx, 1
mov dword [ebp - 0x114], edx
jmp 0x440c09
mov eax, dword [ebp - 0x110]
push eax
call fcn.0043ae50
mov ecx, eax
call fcn.0043b5f9
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4411b1
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6d82
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], 0x4ac080
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
call fcn.004413ee
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0x10
call fcn.00416da0
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x24]
add ecx, 0x10
call fcn.004819b0
push eax
lea ecx, [ebp - 0x10]
call fcn.00441530
and eax, 0xff
test eax, eax
je 0x44127d
lea ecx, [ebp - 0x10]
call fcn.004845b0
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 0x44126a
cmp dword [ebp - 0x18], 0x103
jne 0x44126a
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 0x44126a
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.00416820
jmp 0x4411f6
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
add ecx, 0x10
call fcn.00481950
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x44129d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0xc]
call fcn.004413ee
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 0x4412de
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x10
call fcn.004414c0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8

Function at 0x441345
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
call fcn.004413ee
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 0x4413b6
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 0x4413ad
lea edx, [ebp - 0xc]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x10
call fcn.004414c0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x444f03
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x444f13
xor eax, eax
jmp 0x4450dc
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x445094
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 + 0x4ad45c]
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 + 0x4ad45c]
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 + 0x4ad45c]
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 + 0x4ad45c]
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 + 0x4ad45c]
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 + 0x4ad45c]
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 + 0x4ad45c]
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 + 0x4ad45c]
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 0x444f1c
cmp dword [ebp + 0x10], 0
je 0x4450d6
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 + 0x4ad45c]
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 0x44509a
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x4450de
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 + 0x4ad45c]
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 + 0x4ad45c]
xor eax, edx
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
pop ebp
ret

Function at 0x4460aa
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 0x4460fa
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 0x4460f0
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x446154
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 0x44611a
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 0x447b4c
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 0x447b66
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 4], 0xffffffff
je 0x447b70
mov eax, 0x1000000
jmp 0x447c4d
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 0x447bcc
movsx ecx, byte [ebp - 0xc]
cmp ecx, 0x2f
je 0x447bcc
push 0x513ecc
mov edx, dword [ebp - 0x18]
add edx, 0x140
push edx
call sub.ntdll.dll_strcat
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x447c05
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 0x447c05
mov eax, 0x2000000
jmp 0x447c4d
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.00445da9
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x447c2b
mov eax, dword [ebp - 4]
jmp 0x447c4d
mov ecx, dword [ebp - 8]
push ecx
call fcn.0044652e
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x447c4b
mov eax, 0x200
jmp 0x447c4d
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4486cf
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 0x4486f9
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4486f9
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 0x448708
jmp 0x448809
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 0x44874e
mov edx, dword [ebp - 4]
movsx eax, byte [edx]
cmp eax, 0x2f
je 0x44873a
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
cmp edx, 0x5c
jne 0x448743
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
jmp 0x44871a
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0x110], edx
mov eax, dword [ebp - 0x10c]
cmp eax, dword [ebp + 0xc]
je 0x4487b5
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.004486cf
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 0x4487d5
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 0x448809
push 0
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esp, ebp
pop ebp
ret
Function at 0x449ad8
Capabilities:
Get file size

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 [0x54299c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x449be3
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 0x449bd9
cmp dword [ebp - 0x10], 0
jne 0x449bd9
cmp dword [ebp - 0xc], 0x40000000
jae 0x449bd9
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 0x449bd9
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 [0x542984]
test eax, eax
je 0x449bc0
cmp dword [ebp - 0xc], 0
je 0x449bc0
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
mov byte [eax], 0
lea ecx, [ebp - 0x68]
push ecx
call fcn.004a44f0
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.004a3be0
add esp, 0xc
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.004a3cdf
add esp, 8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0xc]
mov dword [ecx], edx
jmp 0x449bd9
mov eax, dword [ebp - 8]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.004a4518
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 0x449bea
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6de0
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 0x449c22
xor eax, eax
jmp 0x449e4c
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.0042eb80
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.0042ebe4
test eax, eax
je 0x449e2a
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x21c]
call fcn.0042ed93
test eax, eax
je 0x449e2a
cmp dword [ebp - 0x224], 0
je 0x449e2a
mov dword [ebp - 0x228], 0
call fcn.004496d0
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
je 0x449e2a
mov dword [ebp - 0x334], 0
mov dword [ebp - 0x330], 0
jmp 0x449cf9
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 0x449d73
mov eax, dword [ebp - 0x224]
add eax, dword [ebp - 0x330]
movsx ecx, byte [eax]
cmp ecx, 0x20
je 0x449d6e
mov edx, dword [ebp - 0x224]
add edx, dword [ebp - 0x330]
movsx eax, byte [edx]
cmp eax, 0x2c
je 0x449d51
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 0x449d5f
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 0x449cea
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 0x5142d0
push 0x5142d8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jbe 0x449e2a
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.0041b3d0
add esp, 8
test eax, eax
jle 0x449e2a
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 0x51430c
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.0042eba4
mov eax, dword [ebp - 0x338]
jmp 0x449e4c
mov dword [ebp - 0x33c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.0042eba4
mov eax, dword [ebp - 0x33c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 0x10