joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442830
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov esi, str.packet
lea edi, [ebp - 0x10]
push 0xf003f
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
push 0
movsw word es:[edi], word [esi]
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x44288a
lea eax, [ebp - 0x10]
push 0xf01ff
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
test edi, edi
je 0x442887
lea eax, [ebp - 0x2c]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push edi
call esi
push ebx
call esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44482f
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x46fc00
call fcn.0045b030
sub esp, 0x428
push ebx
push esi
push edi
lea eax, [ebp - 0x434]
push 0x208
push eax
push dword [ebp + 8]
mov esi, ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
push edi
push dword [ebp + 8]
call fcn.004213c2
and dword [ebp - 4], 0
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [esi + 4]
mov ebx, dword [esi + 0x2c]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x444888
mov ebx, dword [esi + 0x30]
push ebx
mov ebx, dword [sym.imp.GDI32.dll_SetTextColor]
push edi
call ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edi
push 0xfffffffffffffff0
mov byte [ebp - 4], 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 1
mov esi, 0xa074
je 0x4448b3
inc esi
jmp 0x4448bc
test al, 2
je 0x4448bc
mov esi, 0xa076
mov ecx, eax
and ecx, 0xc
cmp cl, 0xc
jne 0x4448c9
or esi, 0x28
test al, 0x80
je 0x4448d0
and esi, 0xffffffdf
push esi
mov esi, dword [ebp + 0x10]
sub esp, 0x10
lea eax, [ebp - 0x434]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp + 0xc]
movsd dword es:[edi], dword [esi]
call fcn.004433bc
add esp, 0x1c
push dword [ebp - 0x10]
push dword [ebp + 0xc]
call ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0042148d
mov ecx, dword [ebp - 0xc]
push 1
pop eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10
Function at 0x4455be
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, 0x46fc64
call fcn.0045b030
sub esp, 0x28
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], ebx
push dword [ecx + 0x20]
lea esi, [ecx + 0x18]
mov ecx, esi
mov dword [ebp - 4], ebx
push dword [esi + 4]
call fcn.0040ec14
push ebx
push 0x80
push 4
push ebx
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x44560e
call fcn.00445799
jmp 0x445613
mov dword [ebp - 0x10], eax
xor eax, eax
cmp eax, ebx
jne 0x445777
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [ebp - 0x18], eax
jne 0x445639
call fcn.00445799
test eax, eax
jl 0x445645
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
push ebx
push eax
push ebx
push dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x445664
call fcn.00445799
cmp dword [ebp - 0x20], ebx
push 0x64
pop edi
ja 0x445675
cmp dword [ebp - 0x24], edi
jbe 0x445777
lea eax, [ebp + 8]
mov ecx, esi
push eax
mov dword [ebp + 8], edi
push dword [esi + 8]
call fcn.00445c1b
lea eax, [ebp - 0x14]
push ebx
push eax
push edi
push dword [ebp - 0x10]
mov dword [ebp - 0x18], edi
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x14], ebx
call edi
cmp eax, 0xffffffff
jne 0x4456a7
call fcn.00445799
lea eax, [ebp - 0x14]
push ebx
push eax
lea eax, [ebp + 8]
push 4
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4456c9
call fcn.00445799
jmp 0x4456d5
cmp dword [ebp - 0x14], 4
jne 0x445777
xor eax, eax
cmp eax, ebx
jne 0x445777
cmp ebx, dword [ebp - 0x20]
mov eax, dword [ebp + 8]
ja 0x445759
jb 0x4456ec
cmp eax, dword [ebp - 0x24]
ja 0x445759
lea ecx, [ebp - 0x28]
push 1
push ecx
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ebx
call edi
cmp eax, 0xffffffff
jne 0x445708
call fcn.00445799
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x10]
push eax
call fcn.004457c3
mov eax, dword [ebp - 0x34]
mov ecx, esi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 8]
call fcn.00445c1b
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4456a7
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 2
cmp ecx, 0x3e9
jbe 0x4456a7
mov eax, dword [ebp - 0x1c]
mov ecx, esi
push dword [eax + 0x1c]
call fcn.00445a95
jmp 0x4456a7
push dword [esi + 8]
mov ecx, esi
push dword [esi + 4]
call fcn.0040ec14
cmp dword [ebp - 0x10], ebx
je 0x445773
lea ecx, [ebp - 0x10]
call fcn.004457ae
xor eax, eax
jmp 0x445788
cmp dword [ebp - 0x10], ebx
je 0x445785
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4458d8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
push 0x1850
push esi
push edi
call sub.MSVCRT.dll_memset
add esp, 0xc
cmp dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
mov dword [ebp - 8], 3
je 0x445a29
push dword [ebp + 8]
mov esi, dword [sym.imp.MSVCRT.dll_fread]
lea eax, [ebp + 0xc]
push 1
push 4
pop ebx
push ebx
push eax
call esi
add esp, 0x10
test eax, eax
je 0x445a29
cmp dword [ebp + 0xc], 0x1850
jbe 0x445939
push 1
pop eax
jmp 0x445a2c
push dword [ebp + 0xc]
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
push ebx
push 0
push edi
mov dword [ebp - 0xc], eax
call sub.MSVCRT.dll_memset
push dword [ebp + 8]
push 1
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call esi
mov esi, dword [ebp - 0xc]
and dword [ebp - 4], 0
add esp, 0x20
cmp byte [esi], 0x62
jne 0x445a05
mov eax, dword [ebp + 0xc]
cmp byte [esi + eax - 1], 0x65
jne 0x445a05
inc esi
push ebx
push esi
push edi
call sub.MSVCRT.dll_memcpy
mov eax, dword [esi + ebx]
add esi, ebx
add esi, ebx
mov dword [edi + 4], eax
add esp, 0xc
mov eax, dword [esi]
add esi, ebx
mov dword [edi + 8], eax
mov eax, dword [esi]
add esi, ebx
cmp eax, 0x40
mov dword [ebp + 8], eax
ja 0x445a0e
push eax
lea eax, [edi + 0xc]
push esi
push eax
call sub.MSVCRT.dll_memcpy
add esi, dword [ebp + 8]
add esp, 0xc
mov eax, dword [esi]
add esi, ebx
cmp eax, 0x800
mov dword [ebp + 8], eax
ja 0x445a0e
push eax
lea eax, [edi + 0x4c]
push esi
push eax
call sub.MSVCRT.dll_memcpy
add esi, dword [ebp + 8]
add esp, 0xc
mov eax, dword [esi]
add esi, ebx
cmp eax, 0x1000
mov dword [ebp + 8], eax
ja 0x445a0e
push eax
lea eax, [edi + 0x84c]
push esi
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [ebp + 8]
add esp, 0xc
and dword [ebp - 8], 0
mov eax, dword [esi + eax]
mov dword [edi + 0x184c], eax
jmp 0x445a15
mov dword [ebp - 8], 1
jmp 0x445a15
mov dword [ebp - 4], 1
push dword [ebp - 0xc]
call fcn.0044b020
pop ecx
push 1
pop eax
cmp dword [ebp - 4], eax
jne 0x445a29
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x44728a
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov eax, 0x46fd6c
call fcn.0045b030
sub esp, 0x260
push ebx
push edi
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x26a]
mov word [ebp - 0x26c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x4802e0]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x26c]
mov dword [ebp - 4], ebx
push eax
push ebx
push ebx
push 0x25
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x4473e6
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x26c]
push str.explorer.exe
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], 0x44
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp - 0x26c]
test eax, eax
mov word [ebp - 0x24], 5
mov dword [ebp - 0x28], 1
jne 0x447336
xor eax, eax
jmp 0x44733f
lea eax, [ebp - 0x26c]
push eax
call edi
lea ecx, [ebp - 0x26c]
push esi
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00403152
mov esi, 0x48288c
mov eax, esi
test eax, eax
je 0x44735e
push esi
call edi
push esi
push eax
lea ecx, [ebp - 0x10]
call fcn.00403152
mov esi, 0x482874
mov eax, esi
test eax, eax
je 0x447376
push esi
call edi
push esi
push eax
lea ecx, [ebp - 0x10]
call fcn.00403152
cmp dword [ebp + 8], ebx
jne 0x447389
xor eax, eax
jmp 0x44738e
push dword [ebp + 8]
call edi
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
push eax
call fcn.00403152
mov esi, 0x482870
mov eax, esi
test eax, eax
je 0x4473a8
push esi
call edi
push esi
push eax
lea ecx, [ebp - 0x10]
call fcn.00403152
lea eax, [ebp - 0x64]
lea ecx, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00402f9c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
lea ecx, [ebp - 0x10]
call fcn.00403266
mov eax, dword [ebp - 0x10]
pop esi
mov dword [eax - 8], ebx
mov eax, dword [ebp - 0x10]
mov word [eax], bx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00403037
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x448f7b
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
cmp word [ecx + 4], 0
push esi
lea esi, [ecx + 4]
jne 0x448fcb
lea eax, [ebp - 0x208]
push 0x208
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
je 0x448fb8
and word [eax], 0
lea eax, [ebp - 0x208]
push str.wd.ini
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.general
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop esi
leave
ret 8
Function at 0x449044
Capabilities:
Set registry value

Disassembly:
lea eax, [esp + 0xc]
push 4
push eax
push 4
push dword [esp + 0x14]
push dword [esp + 0x14]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x4498eb
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, 0x47000c
call fcn.0045b030
sub esp, 0x14
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x44992b
call fcn.00445799
jmp 0x449930
mov dword [ebp - 0x10], eax
xor eax, eax
cmp eax, ebx
jne 0x449997
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [ebp - 0x1c], ebx
mov esi, eax
jne 0x449997
lea edi, [esi + 2]
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
mov dword [ebp - 0x18], eax
je 0x449997
push edi
push ebx
push eax
call sub.MSVCRT.dll_memset
mov edi, dword [ebp - 0x18]
add esp, 0xc
lea eax, [ebp + 8]
mov dword [ebp + 8], ebx
push ebx
push eax
push esi
push edi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
jne 0x449985
call fcn.00445799
jmp 0x44998c
cmp dword [ebp + 8], esi
jne 0x449990
xor eax, eax
cmp eax, ebx
je 0x4499ab
push edi
call fcn.0044b020
pop ecx
cmp dword [ebp - 0x10], ebx
je 0x4499a4
lea ecx, [ebp - 0x10]
call fcn.004457ae
xor eax, eax
jmp 0x449a73
cmp dword [ebp - 0x10], ebx
je 0x4499bc
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], ebx
mov eax, dword [0x4802e0]
mov esi, edi
mov dword [ebp - 0x14], eax
cmp byte [edi], bl
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 1
je 0x449a50
mov al, byte [esi]
cmp al, 0x20
je 0x4499e7
cmp al, 9
je 0x4499e7
cmp al, 0xd
je 0x4499e7
cmp al, 0xa
jne 0x4499ea
inc esi
jmp 0x4499d5
mov ecx, esi
cmp al, bl
je 0x4499fe
cmp al, 0xd
je 0x4499fe
cmp al, 0xa
je 0x4499fe
mov al, byte [esi + 1]
inc esi
jmp 0x4499ec
mov al, byte [esi]
push ecx
lea ecx, [ebp - 0x14]
mov byte [ebp + 0xb], al
mov byte [esi], bl
call fcn.0044aaf8
mov al, byte [ebp + 0xb]
push ebx
push str._SITES_
lea ecx, [ebp - 0x14]
mov byte [esi], al
call fcn.0044abb9
cmp eax, 0xffffffff
jne 0x449a4c
push 0x2a
lea ecx, [ebp - 0x14]
call fcn.0044ab3c
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], ebx
jle 0x449a4c
mov ecx, dword [ebp - 0x20]
push ebx
push ebx
push ebx
push eax
call fcn.004493d9
cmp eax, 1
jne 0x449a4c
mov dword [ebp - 0x18], ebx
cmp byte [esi], bl
jne 0x4499d5
push edi
call fcn.0044b020
pop ecx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00403037
cmp dword [ebp - 0x10], ebx
je 0x449a70
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x44a11f
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, 0x4700d4
call fcn.0045b030
sub esp, 0x234
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], ebx
mov eax, dword [edi + 0x18]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x44a168
call fcn.00445799
jmp 0x44a16d
mov dword [ebp - 0x10], eax
xor eax, eax
cmp eax, ebx
jne 0x44a2ba
lea eax, [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
push eax
lea eax, [ebp - 0x38]
push 0x10
push eax
mov dword [ebp - 0x14], ebx
push dword [ebp - 0x10]
call esi
cmp eax, ebx
jne 0x44a199
call fcn.00445799
jmp 0x44a1a5
cmp dword [ebp - 0x14], 0x10
jne 0x44a2a9
xor eax, eax
cmp eax, ebx
jne 0x44a2a9
lea ecx, [edi + 4]
call fcn.0044aad1
cmp dword [ebp - 0x38], 0x4c573351
jne 0x44a2a9
mov eax, dword [ebp - 0x30]
cmp eax, 2
ja 0x44a2a9
push 1
mov dword [edi + 0x14], eax
pop edi
cmp eax, edi
jne 0x44a1ed
cmp dword [ebp - 0x10], ebx
je 0x44a1e6
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x44a2cb
cmp dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1c], edi
jbe 0x44a2a9
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
mov dword [ebp - 0x28], edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
add edi, 0xfffffff0
lea ecx, [ebp - 0x14]
push ebx
push ecx
push edi
push eax
mov dword [ebp - 0x18], eax
push dword [ebp - 0x10]
mov dword [ebp - 0x14], ebx
call esi
cmp eax, ebx
jne 0x44a235
call fcn.00445799
jmp 0x44a23c
cmp dword [ebp - 0x14], edi
jne 0x44a2a0
xor eax, eax
cmp eax, ebx
jne 0x44a2a0
mov esi, dword [ebp - 0x18]
push edi
push 0x4c573351
push esi
call fcn.00432f1a
add esp, 0xc
mov eax, dword [esi]
cmp eax, ebx
jbe 0x44a2a0
cmp eax, dword [ebp - 0x28]
jae 0x44a2a0
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x240]
push 0x208
push eax
call fcn.0044abec
lea eax, [ebp - 0x240]
lea ecx, [ebp - 0x14]
push eax
call fcn.0040e91c
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.0044a2da
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00403037
add esi, dword [esi]
jmp 0x44a252
push dword [ebp - 0x18]
call fcn.0044b020
pop ecx
cmp dword [ebp - 0x10], ebx
je 0x44a2c8
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x10], ebx
je 0x44a2c8
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x456cf0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x456cfb
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x456dfe
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x4747d4]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4747d4]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4747d4]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4747d4]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4747d4]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4747d4]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4747d4]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4747d4]
xor eax, edx
inc ecx
dec edi
jne 0x456d16
pop edi
test esi, esi
je 0x456e20
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4747d4]
xor eax, edx
inc ecx
dec esi
jne 0x456e02
pop esi
pop ebx
not eax
ret
Function at 0x459240
Capabilities:
Create process on windows
Terminate process

Disassembly:
mov eax, 0x1000
call fcn.0045b070
push esi
push edi
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 8]
push 0x800
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push 0x4861d0
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
mov edi, dword [esp + 0x101c]
mov esi, dword [sym.imp.MSVCRT.dll_wcsncat]
push 0x800
lea ecx, [esp + 0x18]
push edi
push ecx
call esi
push 0x800
lea edx, [esp + 0x24]
push 0x4861a4
push edx
call esi
push 0x800
lea eax, [esp + 0x30]
push edi
push eax
call esi
push 0x800
lea ecx, [esp + 0x3c]
push str.vL
push ecx
call esi
mov edx, dword [esp + 0x1048]
push 0x800
lea eax, [esp + 0x48]
push edx
push eax
call esi
add esp, 0x48
lea ecx, [esp + 8]
push 0x800
push 0x486164
push ecx
call esi
add esp, 0xc
lea edx, [esp + 8]
push 0x14
push edi
push edx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
cmp eax, 6
pop esi
jne 0x459316
push 5
push 0
push 0
push str.http:__down.360safe.com_setup.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
call dword [sym.imp.MSVCRT.dll_exit]
nop
nop
Function at 0x459a50
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x464760
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret 4
Function at 0x466c70
Capabilities:
Get thread local storage value
Print debug messages
Set thread local storage value

Disassembly:
mov ecx, 0x48cde0
jmp fcn.00466c80

Function at 0x4673c0
Capabilities:
Parse pe header

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0x1c]
push 0x40
push edi
push 0
push 0
push ebp
call fcn.00467570
add esp, 0x14
test eax, eax
je 0x46755f
cmp word [edi], 0x5a4d
je 0x4673fd
push str._rN_f
push 1
push 0x197
jmp 0x467552
lea eax, [esp + 0x10]
push 4
push eax
mov eax, dword [edi + 0x3c]
cdq
push edx
push eax
push ebp
call fcn.00467570
add esp, 0x14
test eax, eax
je 0x46755f
cmp dword [esp + 0x10], 0x4550
je 0x467436
push str._rN_f
push 1
push 0x19c
jmp 0x467552
mov esi, dword [edi + 0x3c]
xor ebx, ebx
push 0x14
add esi, 4
push edi
push ebx
push esi
push ebp
call fcn.00467570
add esp, 0x14
test eax, eax
je 0x46755f
add esi, 0x14
lea ecx, [esp + 0x1c]
adc ebx, ebx
push 2
push ecx
push ebx
push esi
push ebp
call fcn.00467570
add esp, 0x14
test eax, eax
je 0x46755f
mov ax, word [esp + 0x1c]
cmp ax, 0x10b
jne 0x4674a3
mov ax, word [edi + 0x10]
cmp ax, 0x78
jae 0x467499
push 0x488f98
push 1
push 0x1a9
jmp 0x467552
mov dword [esp + 0x18], 1
jmp 0x4674d0
cmp ax, 0x20b
jne 0x467546
mov ax, word [edi + 0x10]
cmp ax, 0x88
jae 0x4674c8
push 0x488f98
push 1
push 0x1af
jmp 0x467552
mov dword [esp + 0x18], 0
and eax, 0xffff
push eax
push edi
push ebx
push esi
push ebp
call fcn.00467570
add esp, 0x14
test eax, eax
je 0x46755f
mov eax, dword [esp + 0x18]
lea edx, [esi + 0x40]
test eax, eax
mov eax, dword [esp + 0x20]
mov dword [eax], edx
je 0x467511
add esi, 0x80
mov dword [eax + 4], esi
mov ecx, dword [edi + 0x80]
mov dword [eax + 0xc], ecx
mov edx, dword [edi + 0x84]
jmp 0x467529
add esi, 0x90
mov dword [eax + 4], esi
mov ecx, dword [edi + 0x90]
mov dword [eax + 0xc], ecx
mov edx, dword [edi + 0x94]
mov dword [eax + 0x14], edx
mov edx, dword [eax + 4]
mov ecx, dword [edi + 0x40]
add edx, 4
pop edi
pop esi
mov dword [eax + 0x10], ecx
mov dword [eax + 8], edx
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
push 0x488f80
push 1
push 0x1b3
push str.D:_root.ddev360C360PubSrc360Base360BaseQHImageHlp.c
call fcn.0045f670
add esp, 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret