joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c8c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
call fcn.0045c300
test eax, eax
jne 0x45c943
mov dword [esp], eax
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10]
push edx
push 0x47d610
push str.SOFTWARE360Safe_netmon
push SysReAllocStringLen
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [esp], 1
jne 0x45c94c
cmp dword [0x48ffe0], 0
je 0x45c94c
cmp dword [0x48e170], 0
je 0x45c943
push str.gmClose
push str.action_s
push str.http:__update.360safe.com_safe_leakpop.html_
push 1
mov ecx, 0x490040
call fcn.0045dc00
add esp, 0x10
mov dword [0x48e170], 0
mov eax, 1
add esp, 0xc
ret
xor eax, eax
add esp, 0xc
ret

Function at 0x45c960
Capabilities:
Check if file exists

Disassembly:
test esi, esi
je 0x45c99b
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45c99b
push esi
call fcn.0045ec80
add esp, 4
test eax, eax
je 0x45c99b
push esi
call fcn.0045eb50
add esp, 4
test eax, eax
jne 0x45c99b
call fcn.0045eb70
push eax
push esi
call fcn.0045eb80
add esp, 8
xor eax, eax
ret
mov eax, 1
ret

Function at 0x45cdc0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 8
test esi, esi
jne 0x45cdcd
xor al, al
add esp, 8
ret
test edi, edi
je 0x45cdc7
push 5
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x45cdc7
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
push 0x40
push 5
push esi
call ebx
test eax, eax
je 0x45ce1e
mov ecx, dword [edi]
mov dword [esi], ecx
mov ecx, dword [esp + 4]
mov dl, byte [edi + 4]
lea eax, [esp + 8]
push eax
push ecx
push 5
push esi
mov byte [esi + 4], dl
mov dword [esp + 0x18], 0
call ebx
test eax, eax
jne 0x45ce2b
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
pop ebx
add esp, 8
ret
mov al, 1
pop ebx
add esp, 8
ret

Function at 0x45cf80
Capabilities:
Parse url

Disassembly:
xor edx, edx
cmp eax, edx
jne 0x45cf8b
xor eax, eax
ret 4
mov ecx, 1
push eax
push edx
mov dword [eax], 0x3c
mov dword [eax + 8], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 4], edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x1c], edx
mov dword [eax + 0x24], edx
mov dword [eax + 0x2c], edx
mov dword [eax + 0x34], edx
mov eax, dword [esp + 0xc]
push edx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
ret 4
Function at 0x45d270
Capabilities:
Download and write a file
Get http content length
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
sub esp, 0x41c
mov eax, dword [0x48a3c0]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [esp + 0x424]
push ebx
push ebp
mov ebp, dword [esp + 0x428]
push edi
xor edi, edi
push edi
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x14]
push edx
push 0x20000005
push ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x45d2ce
mov dword [esp + 0x14], 1
xor ebx, ebx
cmp dword [esi + 0x10], edi
je 0x45d2ea
cmp dword [esi + 0x21c], edi
jne 0x45d2ea
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax]
push 4
push edi
push edi
call edx
cmp dword [esi + 0x21c], ebx
jne 0x45d394
lea eax, [esp + 0x10]
push eax
push 0x400
lea ecx, [esp + 0x2c]
push ecx
push ebp
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x45d394
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45d394
mov ecx, dword [esp + 0x1c]
cmp ecx, 0xffffffff
je 0x45d33d
push 0
lea edx, [esp + 0x24]
push edx
push eax
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x10]
add ebx, eax
mov eax, 0x66666667
imul edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*4]
add ecx, ecx
mov edx, edi
sub edx, ecx
jne 0x45d379
cmp dword [esi + 0x10], edx
je 0x45d379
cmp dword [esi + 0x21c], edx
jne 0x45d379
mov ecx, dword [esi + 0x10]
mov edx, dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax]
push 5
push edx
push ebx
call eax
inc edi
cmp dword [esp + 0x14], 0
je 0x45d387
cmp ebx, dword [esp + 0xc]
jae 0x45d394
cmp dword [esi + 0x21c], 0
je 0x45d2f6
cmp dword [esi + 0x10], 0
pop edi
pop ebp
pop ebx
je 0x45d3b5
cmp dword [esi + 0x21c], 0
jne 0x45d3b5
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx]
push 6
push 0
push 0
call eax
mov ecx, dword [esp + 0x418]
xor eax, eax
cmp dword [esi + 0x21c], eax
sete al
xor ecx, esp
call fcn.00460259
add esp, 0x41c
ret 8

Function at 0x45d420
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push 0x490044
mov dword [0x490040], 0x47d8e8
call fcn.004442c0
push 0x49005c
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0
push 1
push 0
mov dword [0x490074], 0
mov dword [0x490078], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0x208
push 0
push 0x490400
mov dword [0x490078], eax
call fcn.00462160
add esp, 0xc
lea eax, [esp]
push eax
push 0x490400
lea ecx, [esp + 0xc]
push ecx
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push SysReAllocStringLen
mov dword [esp + 0x18], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x45d4c9
push 0x490400
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x104
push 0x490400
push 0x490400
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov eax, 0x490040
add esp, 8
ret
Function at 0x45d770
Capabilities:
Get file version info

Disassembly:
mov eax, 0x2010
call fcn.00462790
mov eax, dword [0x48a3c0]
xor eax, esp
mov dword [esp + 0x200c], eax
push ebx
push 0x1fff
lea eax, [esp + 0x15]
push 0
push eax
mov ebx, ecx
mov byte [esp + 0x1c], 0
call fcn.00462160
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x45d843
cmp eax, 0x1fff
ja 0x45d843
lea edx, [esp + 0x10]
push edx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x45d843
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 8]
push ecx
push 0x47abe4
lea edx, [esp + 0x1c]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x45d843
push 0xc8
push 0
push ebx
call fcn.00462160
mov eax, dword [esp + 0x10]
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
push edx
movzx edx, word [eax + 0xa]
push ecx
push edx
push str._d._d._d._d
mov eax, 0xc8
call fcn.0042b950
add esp, 0x20
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x200c]
xor ecx, esp
call fcn.00460259
add esp, 0x2010
ret
mov ecx, dword [esp + 0x2010]
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00460259
add esp, 0x2010
ret
Function at 0x45d860
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x48a3c0]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push ebp
push esi
push 0x64
lea ebp, [edi + 0x3c]
push 0
push ebp
call fcn.00462160
push 0x64
lea ebx, [edi + 0x104]
push 0
push ebx
call fcn.00462160
push 0x64
lea eax, [edi + 0xa0]
push 0
push eax
call fcn.00462160
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0x24
lea eax, [esp + 0x14]
push eax
push ebp
lea ecx, [esp + 0x14]
push ecx
push str.PartnerName
push str.SOFTWARE360SafeCoop
push SysReAllocStringLen
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], 0x64
call esi
mov eax, 4
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push str.userid
push str.Software360Safe
push SysReAllocStringLen
mov dword [esp + 0x28], 0
call esi
cmp word [ebp], 0
jne 0x45d92b
push str.h_home
mov eax, 0x7ffffffe
mov ecx, 0x32
mov edx, ebp
call fcn.00452ab0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x45d93c
mov eax, 1
mov dword [esp + 0x10], eax
push eax
push 0x47d8f0
mov eax, 0x64
call fcn.0042b950
add esp, 8
mov ebx, edi
call fcn.0045d690
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x22]
push eax
mov word [esp + 0x24], dx
call fcn.00462160
add esp, 0xc
push 0x47d844
lea ecx, [edi + 0x3c0]
push ecx
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ebx, [edi + 0x230]
mov ecx, ebx
lea esi, [esp + 0x18]
call fcn.0045d770
push str...leakrepair.dll
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [edi + 0x2f8]
call fcn.0045d770
lea eax, [edi + 0xa0]
push eax
push ebp
lea eax, [edi + 0x104]
push eax
lea eax, [edi + 0x2f8]
push eax
push ebx
push str.appver_sdllver_suid_spid_smid_s
lea ebx, [edi + 0x168]
mov eax, 0xc8
call fcn.0042b950
mov ecx, dword [esp + 0x238]
add esp, 0x18
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00460259
add esp, 0x218
ret
Function at 0x45da00
Capabilities:
Download url
Query or enumerate registry value
Receive data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4715eb
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x48a3c0]
xor eax, esp
mov dword [esp + 0x21c], eax
push esi
push edi
mov eax, dword [0x48a3c0]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0045d860
jmp 0x45da50
mov eax, dword [0x48e57c]
mov edx, dword [eax + 0xc]
mov ecx, 0x48e57c
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
mov eax, edi
mov dword [esp + 0x23c], 0
call fcn.0045d610
mov esi, dword [esp + 0xc]
test eax, eax
je 0x45daf4
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
push str.EnableUE
push str.Software360Safe
push SysReAllocStringLen
mov dword [esp + 0x30], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x45dac2
cmp dword [esp + 0x10], 4
jne 0x45db04
cmp dword [esp + 0x14], eax
je 0x45db04
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x26]
push edx
mov word [esp + 0x28], cx
call fcn.00462160
add esp, 0xc
push 0
push 0
push 0x104
lea eax, [esp + 0x28]
push eax
push esi
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
jmp 0x45db04
mov ecx, dword [edi + 0x38]
push 0xa
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x45db34
lea eax, [esi - 0x10]
mov dword [esp + 0x238], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45da50
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x45da50
mov dword [esp + 0x238], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45db5f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.00460259
mov esp, ebp
pop ebp
ret

Function at 0x45db90
Capabilities:
Suspend thread
Terminate thread

Disassembly:
mov eax, dword [0x490078]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [0x490074]
push 0xbb8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x45dbd0
mov edx, dword [0x490074]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov eax, dword [0x490074]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, 1
ret
Function at 0x45dc00
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x472740
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48a3c0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x2c]
cmp eax, dword [0x48ccfc]
jbe 0x45dc4b
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
xor ebx, ebx
cmp dword [esi + 0x34], ebx
jne 0x45dc74
mov edi, esi
call fcn.0045d860
lea ecx, [esp + 0x2c]
push ecx
push ebx
push esi
push 0x45dbe0
push ebx
push ebx
mov dword [esp + 0x44], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x34], eax
mov edx, dword [0x48e57c]
mov eax, dword [edx + 0xc]
mov ecx, 0x48e57c
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x34]
push ecx
lea edi, [esp + 0x30]
call fcn.00454360
mov edx, dword [0x48e57c]
mov eax, dword [edx + 0xc]
mov ecx, 0x48e57c
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x30]
mov byte [esp + 0x24], 1
mov ebp, dword [esp + 0x2c]
push ebp
lea ecx, [esi + 0x168]
push ecx
push edx
push str._s_s_s
lea edi, [esp + 0x24]
call fcn.004543e0
mov edi, dword [esp + 0x24]
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0044e380
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0x18
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45dd0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
add edi, 0xfffffff0
mov eax, edi
mov dword [esp + 0x1c], esp
mov ebx, esp
call fcn.00452ce0
add eax, 0x10
mov dword [ebx], eax
call fcn.0045d570
mov esi, eax
mov byte [esp + 0x24], 0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45dd49
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
lea eax, [ebp - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45dd6d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x45dd90
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x472740
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48a3c0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x2c]
cmp eax, dword [0x48ccfc]
jbe 0x45dddb
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
xor ebx, ebx
cmp dword [esi + 0x34], ebx
jne 0x45de04
mov edi, esi
call fcn.0045d860
lea ecx, [esp + 0x2c]
push ecx
push ebx
push esi
push 0x45dbe0
push ebx
push ebx
mov dword [esp + 0x44], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x34], eax
mov edx, dword [0x48e57c]
mov eax, dword [edx + 0xc]
mov ecx, 0x48e57c
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x34]
push ecx
lea edi, [esp + 0x30]
call fcn.00454360
mov edx, dword [0x48e57c]
mov eax, dword [edx + 0xc]
mov ecx, 0x48e57c
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x24], 1
mov ebp, dword [esp + 0x2c]
push ebp
push ecx
push 0x47c444
lea edi, [esp + 0x20]
call fcn.004543e0
mov edi, dword [esp + 0x20]
add esp, 0xc
lea edx, [esp + 0x18]
push edi
push edx
call fcn.0044e380
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45de9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
add edi, 0xfffffff0
mov eax, edi
mov dword [esp + 0x1c], esp
mov ebx, esp
call fcn.00452ce0
add eax, 0x10
mov dword [ebx], eax
call fcn.0045d570
mov esi, eax
mov byte [esp + 0x24], 0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ded5
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
lea eax, [ebp - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45def9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x45e1a4
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x48e500], 0
push esi
jne 0x45e117
call fcn.0045e03d
test eax, eax
je 0x45e15a
mov eax, dword [0x48e500]
cmp eax, 1
jne 0x45e138
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x45e15a
pop esi
ret
push eax
call dword [0x48e508]
test eax, eax
jne 0x45e1a2
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x45e15e
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x48e500]
call dword [0x48e508]
mov edi, eax
test edi, edi
je 0x45e183
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x45e19f
mov edi, esi
add esi, 0xff0
push edi
push dword [0x48e500]
call dword [0x48e504]
add edi, 0x10
cmp edi, esi
jb 0x45e18b
mov eax, edi
pop edi
pop esi
ret
jmp 0x45e104
Function at 0x45eb80
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1004
call fcn.00462790
mov eax, dword [0x48a3c0]
xor eax, esp
mov dword [esp + 0x1000], eax
push esi
mov esi, dword [esp + 0x1010]
push edi
mov edi, dword [esp + 0x1010]
push 0x1000
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00462160
push 0x800
lea ecx, [esp + 0x18]
push 0x476868
push ecx
call fcn.004623cc
push 0x800
lea edx, [esp + 0x24]
push esi
push edx
call fcn.0046274e
push 0x800
lea eax, [esp + 0x30]
push 0x47683c
push eax
call fcn.0046274e
push 0x800
lea ecx, [esp + 0x3c]
push esi
push ecx
call fcn.0046274e
push 0x800
lea edx, [esp + 0x48]
push str.vL
push edx
call fcn.0046274e
add esp, 0x48
push 0x800
lea eax, [esp + 0xc]
push edi
push eax
call fcn.0046274e
push 0x800
lea ecx, [esp + 0x18]
push 0x4767fc
push ecx
call fcn.0046274e
add esp, 0x18
push 0x14
push esi
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
cmp eax, 6
jne 0x45ec73
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 fcn.004626b6
int3

Function at 0x45ec80
Capabilities:
Parse pe header
Read file on windows

Disassembly:
sub esp, 0x140
mov eax, dword [0x48a3c0]
xor eax, esp
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x144]
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x45ecd2
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.00460259
add esp, 0x140
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x10]
push eax
push 0x40
lea ecx, [esp + 0x114]
push ecx
push esi
call edi
test eax, eax
je 0x45ed5b
cmp dword [esp + 0xc], 0x40
jne 0x45ed5b
mov edx, 0x5a4d
cmp word [esp + 0x108], dx
jne 0x45ed5b
mov eax, dword [esp + 0x144]
push 0
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, dword [esp + 0x144]
jne 0x45ed5b
push 0
lea ecx, [esp + 0x10]
push ecx
push 0xf8
lea edx, [esp + 0x1c]
push edx
push esi
call edi
test eax, eax
je 0x45ed5b
cmp dword [esp + 0xc], 0xf8
jne 0x45ed5b
cmp dword [esp + 0x10], 0x4550
jne 0x45ed5b
cmp word [esp + 0x16], bx
je 0x45ed5b
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x148]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00460259
add esp, 0x140
ret

Function at 0x45efb0
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 0x460259
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48a3c0]
jne 0x460263
repz ret
jmp fcn.004627f4
Function at 0x46af05
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00463798
and dword [ebp - 4], 0
cmp dword [0x48f0b0], 0
mov ebx, eax
jne 0x46afb6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x46b067
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x46b067
push eax
call fcn.00463726
mov dword [esp], 0x478654
push edi
mov dword [0x48f0b0], eax
call esi
push eax
call fcn.00463726
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x48f0b4], eax
call esi
push eax
call fcn.00463726
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x48f0b8], eax
call esi
push eax
call fcn.00463726
pop ecx
mov dword [0x48f0c0], eax
test eax, eax
je 0x46afb6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00463726
pop ecx
mov dword [0x48f0bc], eax
mov eax, dword [0x48f0bc]
cmp eax, ebx
je 0x46b00e
cmp dword [0x48f0c0], ebx
je 0x46b00e
push eax
call fcn.004637a1
push dword [0x48f0c0]
mov esi, eax
call fcn.004637a1
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x46b00e
test edi, edi
je 0x46b00e
call esi
test eax, eax
je 0x46b005
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x46b005
test byte [ebp - 0xc], 1
jne 0x46b00e
or dword [ebp + 0x10], 0x200000
jmp 0x46b047
mov eax, dword [0x48f0b4]
cmp eax, ebx
je 0x46b047
push eax
call fcn.004637a1
pop ecx
test eax, eax
je 0x46b047
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x46b047
mov eax, dword [0x48f0b8]
cmp eax, ebx
je 0x46b047
push eax
call fcn.004637a1
pop ecx
test eax, eax
je 0x46b047
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x48f0b0]
call fcn.004637a1
pop ecx
test eax, eax
je 0x46b067
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x46b069
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403860
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sbb esp, 0x14
mov eax, dword [0x41024c]
or dword [0x12d09a], ecx
push ebx
push esi
cmp edx, dword [edi + 0x57]
jge 0x40c47a
mov esi, dword [ebp + 8]
xor eax, ecx
mov edx, dword [edi + edx - 0x3cc4f3a2]
mov dword [edi], eax
add ecx, dword [ecx + 0x824c2]
add byte [ecx + 0x82047], cl
add byte [ecx + 0x8289e], cl
add byte [ecx + 0x874145e], cl
push eax
call fcn.0040aae0
jmp 0x4038b9
enter 0xffffffffffffa10d, 0xfffffffffffffffc
pop ss
inc ecx
add byte [edx + 0x53], dl
mov ecx, dword [eax + 0x10]
lea edi, [esi + 4]
push 1
sub dword [edi - 0x18], edx
pop ds
sub eax, 0xf6911000
je 0x4038e3
xor eax, 0x40e83868
add al, dl
pushal
in eax, 0xf3
push dword [esp + eax*8 + 0x6a178b9c]
test byte [edx + 8], ch
mov edx, dword [edi]
push 0xffffffffffffff84
push 8
push edx
call 0xe58db0
cmp eax, ebx
je 0x403901
push eax
push 0x51e828
call fcn.00401e40
add esp, 0xffffffd8
inc esi
insb byte es:[edi], dx
popal
inc ecx
add byte [ebx], bh
ret
add byte [eax], al
int3