joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451edd
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.004464bd
and dword [ebp - 4], 0
cmp dword [0x4b13d0], 0
mov ebx, eax
jne 0x451f8e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x45203f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x45203f
push eax
call fcn.0044644b
mov dword [esp], 0x48eaf8
push edi
mov dword [0x4b13d0], eax
call esi
push eax
call fcn.0044644b
mov dword [esp], 0x48eae4
push edi
mov dword [0x4b13d4], eax
call esi
push eax
call fcn.0044644b
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4b13d8], eax
call esi
push eax
call fcn.0044644b
pop ecx
mov dword [0x4b13e0], eax
test eax, eax
je 0x451f8e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044644b
pop ecx
mov dword [0x4b13dc], eax
mov eax, dword [0x4b13dc]
cmp eax, ebx
je 0x451fe6
cmp dword [0x4b13e0], ebx
je 0x451fe6
push eax
call fcn.004464c6
push dword [0x4b13e0]
mov esi, eax
call fcn.004464c6
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x451fe6
test edi, edi
je 0x451fe6
call esi
test eax, eax
je 0x451fdd
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x451fdd
test byte [ebp - 0xc], 1
jne 0x451fe6
or dword [ebp + 0x10], 0x200000
jmp 0x45201f
mov eax, dword [0x4b13d4]
cmp eax, ebx
je 0x45201f
push eax
call fcn.004464c6
pop ecx
test eax, eax
je 0x45201f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x45201f
mov eax, dword [0x4b13d8]
cmp eax, ebx
je 0x45201f
push eax
call fcn.004464c6
pop ecx
test eax, eax
je 0x45201f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4b13d0]
call fcn.004464c6
pop ecx
test eax, eax
je 0x45203f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x452041
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x458450
Capabilities:
Print debug messages

Disassembly:
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0xc], eax
mov eax, dword [edi]
mov ecx, dword [eax + 0x5b0]
add eax, 8
mov dword [eax + 0x5b0], ecx
cmp ecx, eax
jne 0x458482
xor ecx, ecx
jmp 0x45848e
mov edx, dword [ecx + 0x5a8]
mov dword [eax + 0x5b0], edx
mov esi, ecx
test ecx, ecx
je 0x458541
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OpenThread]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov eax, dword [esi]
cmp dword [esp + 0x14], eax
jne 0x4584b4
mov dword [esp + 0x10], esi
jmp 0x458514
push eax
push 1
push 0x40
call ebx
test eax, eax
jne 0x45850d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x458500
mov eax, dword [esi + 0x5ac]
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5a8], ecx
mov edx, dword [esi + 0x5a8]
mov eax, dword [esi + 0x5ac]
mov dword [edx + 0x5ac], eax
call ebp
test eax, eax
je 0x458514
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x458514
push 0x48fed0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x458514
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi]
mov esi, dword [eax + 0x5b8]
add eax, 8
cmp esi, eax
je 0x458537
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5b0], ecx
test esi, esi
jne 0x4584a6
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
test eax, eax
jne 0x458555
mov ecx, dword [edi]
add ecx, 8
call fcn.004582d0
test eax, eax
je 0x458555
mov edx, dword [esp + 0xc]
mov dword [eax], edx
pop edi
pop esi
add esp, 8
ret
Function at 0x458570
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47fa40
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4aa3ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
mov eax, dword [esi]
xor ebx, ebx
cmp eax, ebx
jne 0x4585bc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
jne 0x4585c9
mov dword [ebp - 0x14], ebx
jmp 0x4585db
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x458675
mov eax, dword [esi]
mov eax, dword [eax]
cmp eax, ebx
je 0x4585a8
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4585a8
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.00458450
mov edi, eax
mov dword [ebp - 0x14], edi
cmp edi, ebx
jne 0x458618
push 0x4a2d68
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 1
call fcn.00441a2b
mov eax, dword [esi]
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x45862e
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp eax, ebx
jne 0x458664
push 0x4a2d68
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x20], 4
call fcn.00441a2b
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x458658
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx]
push eax
add ecx, 8
call fcn.004583b0
mov eax, 0x45865e
ret
mov esi, dword [esi]
mov eax, dword [esi]
test eax, eax
je 0x458673
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x458690
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x47fa6b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4aa3ec]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
lea esi, [edi + 8]
push 0x5a0
lea eax, [esi + 8]
push 0
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
push eax
mov dword [esi], 0
call fcn.00440110
add esp, 0xc
mov dword [esi + 0x5ac], esi
mov dword [esi + 0x5a8], esi
mov dword [esi + 0x5b0], esi
mov dword [esp + 0x18], 0
mov dword [edi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x45872b
push 0x4a2d68
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 2
call fcn.00441a2b
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x4587a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov ecx, 0x4b1454
jmp fcn.00458570
Function at 0x459c20
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push 0
push 0
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x459c54
push str.SetFilePointerEx__
push eax
push 0xed
push str..QHImageHlp.c
call fcn.00458090
add esp, 0x10
xor eax, eax
ret
mov eax, dword [esp + 0xc]
push 0
lea edx, [esp + 8]
push edx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x459c87
push str.ReadFile__
push eax
push 0xf0
push str..QHImageHlp.c
call fcn.00458090
add esp, 0x10
xor eax, eax
ret
cmp edi, dword [esp + 4]
je 0x459ca9
push 0x490430
push 1
push 0xf2
push str..QHImageHlp.c
call fcn.00458100
add esp, 0x10
xor eax, eax
ret
mov eax, 1
ret
Function at 0x45b240
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 0x45c380
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push 0
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x45c3b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x45c3e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x45ca70
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x45d2f0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x5c
mov eax, dword [0x4aa3ec]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x64]
push esi
mov esi, ecx
xor ecx, ecx
push edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x70]
push ecx
push eax
lea edx, [esp + 0x10]
push edx
mov ecx, esi
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.0045d150
lea eax, [esp + 8]
push eax
push edi
mov ecx, esi
call fcn.0045d210
mov ecx, dword [esp + 0x60]
pop edi
pop esi
xor ecx, esp
call fcn.004409d4
add esp, 0x5c
ret 0xc
Function at 0x45e1d0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1004
call fcn.00442140
mov eax, dword [0x4aa3ec]
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.00440110
push 0x800
lea ecx, [esp + 0x18]
push 0x490890
push ecx
call fcn.00460711
push 0x800
lea edx, [esp + 0x24]
push esi
push edx
call fcn.0046082e
push 0x800
lea eax, [esp + 0x30]
push 0x490864
push eax
call fcn.0046082e
push 0x800
lea ecx, [esp + 0x3c]
push esi
push ecx
call fcn.0046082e
push 0x800
lea edx, [esp + 0x48]
push str.vL
push edx
call fcn.0046082e
add esp, 0x48
push 0x800
lea eax, [esp + 0xc]
push edi
push eax
call fcn.0046082e
push 0x800
lea ecx, [esp + 0x18]
push 0x490824
push ecx
call fcn.0046082e
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]
mov esi, eax
cmp esi, 6
jne 0x45e2e2
call fcn.0045dfd0
test eax, eax
je 0x45e2ca
call fcn.0045e0c0
test eax, eax
je 0x45e2ca
push 5
push 0
push 0
push str.http:__down.360safe.com_setupbeta.exe
jmp 0x45e2d5
push 5
push 0
push 0
push str.http:__down.360safe.com_setup.exe
push 0x483c5c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esp + 0x1018], 0
je 0x45e2f3
push 0
call fcn.00444d31
mov ecx, dword [esp + 0x1008]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.004409d4
add esp, 0x1004
ret

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

Disassembly:
sub esp, 0x140
mov eax, dword [0x4aa3ec]
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 SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x45e362
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.004409d4
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 0x45e3eb
cmp dword [esp + 0xc], 0x40
jne 0x45e3eb
mov edx, 0x5a4d
cmp word [esp + 0x108], dx
jne 0x45e3eb
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 0x45e3eb
push 0
lea ecx, [esp + 0x10]
push ecx
push 0xf8
lea edx, [esp + 0x1c]
push edx
push esi
call edi
test eax, eax
je 0x45e3eb
cmp dword [esp + 0xc], 0xf8
jne 0x45e3eb
cmp dword [esp + 0x10], 0x4550
jne 0x45e3eb
cmp word [esp + 0x16], bx
je 0x45e3eb
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.004409d4
add esp, 0x140
ret
Function at 0x45e420
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret

Function at 0x45e450
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
ret

Function at 0x45e6f0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x40010
call fcn.00442140
mov eax, dword [0x4aa3ec]
xor eax, esp
mov dword [esp + 0x4000c], eax
mov eax, dword [esp + 0x40014]
push edi
mov edi, dword [esp + 0x4001c]
mov dword [esp + 0xc], 0
test edi, edi
jne 0x45e73d
xor eax, eax
pop edi
mov ecx, dword [esp + 0x4000c]
xor ecx, esp
call fcn.004409d4
add esp, 0x40010
ret 8
push esi
push 0
push 0
push 3
push 0
push 1
push 0x120089
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x45e762
xor eax, eax
jmp 0x45e7ed
push ebx
push ebp
push 2
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x14]
push eax
push 0x40000
lea ecx, [esp + 0x28]
push ecx
push esi
call ebx
test eax, eax
je 0x45e7d3
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45e7d3
push 0
lea edx, [esp + 0x18]
push edx
push eax
lea eax, [esp + 0x28]
push eax
push edi
call ebp
test eax, eax
je 0x45e7da
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x10]
jne 0x45e7da
push 0
lea edx, [esp + 0x14]
push edx
push 0x40000
lea eax, [esp + 0x28]
push eax
push esi
call ebx
test eax, eax
jne 0x45e795
mov edi, 1
jmp 0x45e7de
mov edi, dword [esp + 0x18]
pop ebp
pop ebx
test esi, esi
je 0x45e7eb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [esp + 0x40014]
pop esi
pop edi
xor ecx, esp
call fcn.004409d4
add esp, 0x40010
ret 8

Function at 0x45e990
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x258
mov eax, dword [0x4aa3ec]
xor eax, esp
mov dword [esp + 0x254], eax
push esi
mov esi, dword [esp + 0x260]
test esi, esi
je 0x45ea4a
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45e9c0
sub eax, edx
sar eax, 1
je 0x45ea4a
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45ea4a
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45ea0b
not al
movzx eax, al
shr eax, 4
and eax, 1
pop esi
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.004409d4
add esp, 0x258
ret 4
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x45ea4a
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov cl, byte [esp + 8]
not cl
movzx eax, cl
shr eax, 4
and eax, 1
pop esi
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.004409d4
add esp, 0x258
ret 4
mov ecx, dword [esp + 0x258]
pop esi
xor ecx, esp
xor eax, eax
call fcn.004409d4
add esp, 0x258
ret 4
Function at 0x45ed50
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x4aa3ec]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
mov ebx, dword [esp + 0x21c]
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x638]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45ede6
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45ed86
sub eax, edx
sar eax, 1
add eax, 0xffffffff
js 0x45ee94
mov ecx, 0x5c
cmp cx, word [edi + eax*2 + 0x638]
jne 0x45edb7
xor edx, edx
mov word [edi + eax*2 + 0x638], dx
push str.360verify.dll
push esi
push str._s_s
push 0x104
push ebx
call fcn.004077cc
add esp, 0x14
push ebx
mov ecx, edi
call fcn.0045e990
test eax, eax
je 0x45ede6
mov eax, 1
jmp 0x45ee96
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1e]
push ecx
mov word [esp + 0x20], ax
call fcn.00440110
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x483124
push 0x4835b8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], 0x208
mov dword [esp + 0x24], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x45ee94
lea eax, [esp + 0x14]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45ee40
sub eax, edx
sar eax, 1
add eax, 0xffffffff
js 0x45ee94
lea eax, [esp + eax*2 + 0x14]
mov edx, 0x5c
cmp dx, word [eax]
jne 0x45ee67
xor ecx, ecx
mov word [eax], cx
push str.360verify.dll
lea edx, [esp + 0x18]
push edx
push str._s_s
push 0x104
push ebx
call fcn.004077cc
add esp, 0x14
push ebx
mov ecx, edi
call fcn.0045e990
test eax, eax
jne 0x45eddc
xor eax, eax
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004409d4
add esp, 0x214
ret 4
Function at 0x45eeb0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x66c
mov eax, dword [0x4aa3ec]
xor eax, esp
mov dword [esp + 0x668], eax
mov eax, dword [esp + 0x674]
push ebp
push esi
push edi
mov edi, dword [esp + 0x67c]
push str..log
mov ebp, ecx
push str.360_formal_
lea esi, [ebp + 0x430]
push esi
push str._s_s_s
lea edx, [esp + 0x47c]
xor ecx, ecx
push 0x104
push edx
mov dword [esp + 0x28], eax
mov word [edi], cx
call fcn.004077cc
add esp, 0x18
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x470]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
je 0x45f00f
push ebx
lea esp, [esp]
test byte [esp + 0x18], 0x10
jne 0x45efa0
lea edx, [esp + 0x44]
push edx
push esi
push str._s_s
lea eax, [esp + 0x274]
push 0x104
push eax
call fcn.004077cc
add esp, 0x14
cmp dword [esp + 0x688], 0
je 0x45ef88
mov ecx, dword [esp + 0x34]
push 1
push 0
push 0
push ecx
call fcn.004453e0
mov ecx, dword [esp + 0x38]
xor ebx, ebx
add eax, ecx
adc edx, ebx
test edx, edx
jg 0x45efa0
jl 0x45ef88
cmp eax, 0x200000
ja 0x45efa0
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x26c]
push eax
mov ecx, ebp
call fcn.0045e810
test eax, eax
jne 0x45efba
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45ef30
jmp 0x45effc
lea esi, [esp + 0x268]
mov edx, 0x104
mov eax, edi
sub esi, edi
lea ebx, [ebx]
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x45eff0
movzx ecx, word [esi + eax]
test cx, cx
je 0x45eff0
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x45efd0
jmp 0x45eff4
test edx, edx
jne 0x45eff7
sub eax, 2
xor edx, edx
mov word [eax], dx
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
pop ebx
jmp 0x45f011
xor eax, eax
mov ecx, dword [esp + 0x674]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004409d4
add esp, 0x66c
ret 0xc
Function at 0x45f140
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
sub esp, 0x66c
mov eax, dword [0x4aa3ec]
xor eax, esp
mov dword [esp + 0x668], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x680]
push str..log
mov ebp, ecx
push str.360_tmp_
lea ebx, [ebp + 0x430]
push ebx
push str._s_s_s
lea ecx, [esp + 0x480]
xor eax, eax
push 0x104
push ecx
mov word [edi], ax
call fcn.004077cc
add esp, 0x18
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x474]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [esp + 0x10], esi
cmp esi, 0xffffffff
je 0x45f2ab
test byte [esp + 0x18], 0x10
jne 0x45f28a
lea ecx, [esp + 0x44]
push ecx
push ebx
push str._s_s
lea edx, [esp + 0x274]
push 0x104
push edx
call fcn.004077cc
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
add esp, 0x14
push eax
push ecx
mov ecx, ebp
call fcn.0045e8f0
test eax, eax
je 0x45f28a
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x26c]
push eax
mov ecx, ebp
call fcn.0045e810
test eax, eax
je 0x45f28a
lea esi, [esp + 0x268]
mov edx, 0x104
mov eax, edi
sub esi, edi
nop
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x45f240
movzx ecx, word [esi + eax]
test cx, cx
je 0x45f240
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x45f220
jmp 0x45f244
test edx, edx
jne 0x45f247
sub eax, 2
xor edx, edx
mov word [eax], dx
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
call fcn.0045e890
mov ecx, dword [esp + 0x34]
push 1
push 0
push 0
push ecx
call fcn.004453e0
mov ecx, dword [esp + 0x38]
xor esi, esi
add eax, ecx
adc edx, esi
test eax, eax
jne 0x45f2a0
test edx, edx
jne 0x45f2a0
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [esp + 0x10]
xor edx, edx
mov word [edi], dx
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45f1b3
jmp 0x45f2a4
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x678]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.004409d4
add esp, 0x66c
ret 4

Function at 0x45f2d0
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
mov eax, ebx
push edi
mov edi, ecx
xor ebp, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45f2e2
sub eax, edx
sar eax, 1
lea eax, [eax + eax*2]
add eax, eax
push eax
mov dword [esp + 0x20], eax
call fcn.0042321b
add esp, 4
mov esi, eax
lea eax, [esp + 0x1c]
push eax
push esi
push ebx
mov ecx, edi
call fcn.0045ea70
mov ebx, dword [esp + 0x1c]
cmp ebx, 1
jbe 0x45f31d
dec ebx
mov edx, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x14]
push ecx
push ebx
push esi
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x45f35b
cmp ebx, dword [esp + 0x10]
jne 0x45f35b
push esi
call fcn.00423226
mov eax, dword [esp + 0x14]
add esp, 4
add dword [edi + 0xb64], eax
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 8
push esi
call fcn.00423226
add esp, 4
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
pop ecx
ret 8