joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ca50
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4803b2
call fcn.00442103
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x42ca75
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x42cabb
lea ecx, [ebp - 0x10]
call fcn.00401582
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00424b6e
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401100
mov eax, esi
call fcn.004421db
ret 8

Function at 0x42f6db
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x42f723
call fcn.004257e7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42f723
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x42f766
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x42f74f
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x42f74f
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x42f763
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x431328
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x43134c
cmp dword [edi + 0x54], 0
jne 0x43134c
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004257e7
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004312e9
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4420f4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ac40c]
jne 0x4420fe
repz ret
jmp fcn.0044af7c
Function at 0x4535ed
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.00447bdd
and dword [ebp - 4], 0
cmp dword [0x4b3a90], 0
mov ebx, eax
jne 0x45369e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x45374f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x45374f
push eax
call fcn.00447b6b
mov dword [esp], 0x48fc80
push edi
mov dword [0x4b3a90], eax
call esi
push eax
call fcn.00447b6b
mov dword [esp], 0x48fc6c
push edi
mov dword [0x4b3a94], eax
call esi
push eax
call fcn.00447b6b
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4b3a98], eax
call esi
push eax
call fcn.00447b6b
pop ecx
mov dword [0x4b3aa0], eax
test eax, eax
je 0x45369e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00447b6b
pop ecx
mov dword [0x4b3a9c], eax
mov eax, dword [0x4b3a9c]
cmp eax, ebx
je 0x4536f6
cmp dword [0x4b3aa0], ebx
je 0x4536f6
push eax
call fcn.00447be6
push dword [0x4b3aa0]
mov esi, eax
call fcn.00447be6
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4536f6
test edi, edi
je 0x4536f6
call esi
test eax, eax
je 0x4536ed
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4536ed
test byte [ebp - 0xc], 1
jne 0x4536f6
or dword [ebp + 0x10], 0x200000
jmp 0x45372f
mov eax, dword [0x4b3a94]
cmp eax, ebx
je 0x45372f
push eax
call fcn.00447be6
pop ecx
test eax, eax
je 0x45372f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x45372f
mov eax, dword [0x4b3a98]
cmp eax, ebx
je 0x45372f
push eax
call fcn.00447be6
pop ecx
test eax, eax
je 0x45372f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4b3a90]
call fcn.00447be6
pop ecx
test eax, eax
je 0x45374f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x453751
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x459b50
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 0x459b82
xor ecx, ecx
jmp 0x459b8e
mov edx, dword [ecx + 0x5a8]
mov dword [eax + 0x5b0], edx
mov esi, ecx
test ecx, ecx
je 0x459c41
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 0x459bb4
mov dword [esp + 0x10], esi
jmp 0x459c14
push eax
push 1
push 0x40
call ebx
test eax, eax
jne 0x459c0d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x459c00
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 0x459c14
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x459c14
push 0x491058
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x459c14
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 0x459c37
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5b0], ecx
test esi, esi
jne 0x459ba6
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
test eax, eax
jne 0x459c55
mov ecx, dword [edi]
add ecx, 8
call fcn.004599d0
test eax, eax
je 0x459c55
mov edx, dword [esp + 0xc]
mov dword [eax], edx
pop edi
pop esi
add esp, 8
ret
Function at 0x459c70
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4812c0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4ac40c]
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 0x459cbc
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 0x459cc9
mov dword [ebp - 0x14], ebx
jmp 0x459cdb
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x459d75
mov eax, dword [esi]
mov eax, dword [eax]
cmp eax, ebx
je 0x459ca8
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x459ca8
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.00459b50
mov edi, eax
mov dword [ebp - 0x14], edi
cmp edi, ebx
jne 0x459d18
push 0x4a4108
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 1
call fcn.0044314b
mov eax, dword [esi]
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x459d2e
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp eax, ebx
jne 0x459d64
push 0x4a4108
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x20], 4
call fcn.0044314b
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x459d58
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx]
push eax
add ecx, 8
call fcn.00459ab0
mov eax, 0x459d5e
ret
mov esi, dword [esi]
mov eax, dword [esi]
test eax, eax
je 0x459d73
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 0x459d90
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x4812eb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4ac40c]
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.00441830
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 0x459e2b
push 0x4a4108
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 2
call fcn.0044314b
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 0x459ea0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov ecx, 0x4b3b14
jmp fcn.00459c70
Function at 0x45b320
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 0x45b354
push str.SetFilePointerEx__
push eax
push 0xed
push str..QHImageHlp.c
call fcn.00459790
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 0x45b387
push str.ReadFile__
push eax
push 0xf0
push str..QHImageHlp.c
call fcn.00459790
add esp, 0x10
xor eax, eax
ret
cmp edi, dword [esp + 4]
je 0x45b3a9
push 0x4915b8
push 1
push 0xf2
push str..QHImageHlp.c
call fcn.00459800
add esp, 0x10
xor eax, eax
ret
mov eax, 1
ret
Function at 0x45c940
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 0x45da80
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 0x45dab0
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 0x45dae0
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 0x45e170
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 0x45e9f0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x5c
mov eax, dword [0x4ac40c]
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.0045e850
lea eax, [esp + 8]
push eax
push edi
mov ecx, esi
call fcn.0045e910
mov ecx, dword [esp + 0x60]
pop edi
pop esi
xor ecx, esp
call fcn.004420f4
add esp, 0x5c
ret 0xc
Function at 0x45f8d0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1004
call fcn.00443860
mov eax, dword [0x4ac40c]
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.00441830
push 0x800
lea ecx, [esp + 0x18]
push 0x491a18
push ecx
call fcn.00461e21
push 0x800
lea edx, [esp + 0x24]
push esi
push edx
call fcn.00461f3e
push 0x800
lea eax, [esp + 0x30]
push 0x4919ec
push eax
call fcn.00461f3e
push 0x800
lea ecx, [esp + 0x3c]
push esi
push ecx
call fcn.00461f3e
push 0x800
lea edx, [esp + 0x48]
push str.vL
push edx
call fcn.00461f3e
add esp, 0x48
push 0x800
lea eax, [esp + 0xc]
push edi
push eax
call fcn.00461f3e
push 0x800
lea ecx, [esp + 0x18]
push 0x4919ac
push ecx
call fcn.00461f3e
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 0x45f9e2
call fcn.0045f6d0
test eax, eax
je 0x45f9ca
call fcn.0045f7c0
test eax, eax
je 0x45f9ca
push 5
push 0
push 0
push str.http:__down.360safe.com_setupbeta.exe
jmp 0x45f9d5
push 5
push 0
push 0
push str.http:__down.360safe.com_setup.exe
push 0x484c74
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esp + 0x1018], 0
je 0x45f9f3
push 0
call fcn.00446451
mov ecx, dword [esp + 0x1008]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.004420f4
add esp, 0x1004
ret

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

Disassembly:
sub esp, 0x140
mov eax, dword [0x4ac40c]
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 0x45fa62
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.004420f4
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 0x45faeb
cmp dword [esp + 0xc], 0x40
jne 0x45faeb
mov edx, 0x5a4d
cmp word [esp + 0x108], dx
jne 0x45faeb
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 0x45faeb
push 0
lea ecx, [esp + 0x10]
push ecx
push 0xf8
lea edx, [esp + 0x1c]
push edx
push esi
call edi
test eax, eax
je 0x45faeb
cmp dword [esp + 0xc], 0xf8
jne 0x45faeb
cmp dword [esp + 0x10], 0x4550
jne 0x45faeb
cmp word [esp + 0x16], bx
je 0x45faeb
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.004420f4
add esp, 0x140
ret
Function at 0x45fb20
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 0x45fb50
Capabilities:
Create process on windows

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

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

Disassembly:
mov eax, 0x40010
call fcn.00443860
mov eax, dword [0x4ac40c]
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 0x45fe3d
xor eax, eax
pop edi
mov ecx, dword [esp + 0x4000c]
xor ecx, esp
call fcn.004420f4
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 0x45fe62
xor eax, eax
jmp 0x45feed
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 0x45fed3
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45fed3
push 0
lea edx, [esp + 0x18]
push edx
push eax
lea eax, [esp + 0x28]
push eax
push edi
call ebp
test eax, eax
je 0x45feda
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x10]
jne 0x45feda
push 0
lea edx, [esp + 0x14]
push edx
push 0x40000
lea eax, [esp + 0x28]
push eax
push esi
call ebx
test eax, eax
jne 0x45fe95
mov edi, 1
jmp 0x45fede
mov edi, dword [esp + 0x18]
pop ebp
pop ebx
test esi, esi
je 0x45feeb
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.004420f4
add esp, 0x40010
ret 8

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

Disassembly:
sub esp, 0x258
mov eax, dword [0x4ac40c]
xor eax, esp
mov dword [esp + 0x254], eax
push esi
mov esi, dword [esp + 0x260]
test esi, esi
je 0x46015a
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4600d0
sub eax, edx
sar eax, 1
je 0x46015a
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46015a
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x46011b
not al
movzx eax, al
shr eax, 4
and eax, 1
pop esi
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.004420f4
add esp, 0x258
ret 4
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x46015a
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.004420f4
add esp, 0x258
ret 4
mov ecx, dword [esp + 0x258]
pop esi
xor ecx, esp
xor eax, eax
call fcn.004420f4
add esp, 0x258
ret 4
Function at 0x460460
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x4ac40c]
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 0x4604f6
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x460496
sub eax, edx
sar eax, 1
add eax, 0xffffffff
js 0x4605a4
mov ecx, 0x5c
cmp cx, word [edi + eax*2 + 0x638]
jne 0x4604c7
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.00407aa8
add esp, 0x14
push ebx
mov ecx, edi
call fcn.004600a0
test eax, eax
je 0x4604f6
mov eax, 1
jmp 0x4605a6
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1e]
push ecx
mov word [esp + 0x20], ax
call fcn.00441830
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x484134
push 0x4845d0
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 0x4605a4
lea eax, [esp + 0x14]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x460550
sub eax, edx
sar eax, 1
add eax, 0xffffffff
js 0x4605a4
lea eax, [esp + eax*2 + 0x14]
mov edx, 0x5c
cmp dx, word [eax]
jne 0x460577
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.00407aa8
add esp, 0x14
push ebx
mov ecx, edi
call fcn.004600a0
test eax, eax
jne 0x4604ec
xor eax, eax
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004420f4
add esp, 0x214
ret 4
Function at 0x4605c0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x66c
mov eax, dword [0x4ac40c]
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.00407aa8
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 0x46071f
push ebx
lea esp, [esp]
test byte [esp + 0x18], 0x10
jne 0x4606b0
lea edx, [esp + 0x44]
push edx
push esi
push str._s_s
lea eax, [esp + 0x274]
push 0x104
push eax
call fcn.00407aa8
add esp, 0x14
cmp dword [esp + 0x688], 0
je 0x460698
mov ecx, dword [esp + 0x34]
push 1
push 0
push 0
push ecx
call fcn.00446b00
mov ecx, dword [esp + 0x38]
xor ebx, ebx
add eax, ecx
adc edx, ebx
test edx, edx
jg 0x4606b0
jl 0x460698
cmp eax, 0x200000
ja 0x4606b0
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x26c]
push eax
mov ecx, ebp
call fcn.0045ff10
test eax, eax
jne 0x4606ca
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x460640
jmp 0x46070c
lea esi, [esp + 0x268]
mov edx, 0x104
mov eax, edi
sub esi, edi
lea ebx, [ebx]
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x460700
movzx ecx, word [esi + eax]
test cx, cx
je 0x460700
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x4606e0
jmp 0x460704
test edx, edx
jne 0x460707
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 0x460721
xor eax, eax
mov ecx, dword [esp + 0x674]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004420f4
add esp, 0x66c
ret 0xc