joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c3900
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ec1bb
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
push edi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
push 0x34
call fcn.004c5c7f
mov esi, eax
add esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 0x30], 0
test esi, esi
je 0x4c396c
push 0x34
push 0
push esi
call fcn.004cb9a0
add esp, 0xc
mov ecx, esi
call fcn.004c35d0
mov esi, eax
jmp 0x4c396e
xor esi, esi
mov dword [esp + 0x30], 0xffffffff
lea eax, [edi + 0xc]
push ecx
push 3
push 3
push SysReAllocString
push eax
lea ecx, [esi + 0x18]
call fcn.004982a0
test al, al
jne 0x4c39a0
test esi, esi
je 0x4c399c
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
xor eax, eax
jmp 0x4c39e2
lea eax, [esp + 0xc]
xorps xmm0, xmm0
push eax
lea ecx, [edi + 8]
movlpd qword [esp + 0x10], xmm0
call fcn.00498330
test al, al
je 0x4c3990
lea ecx, [esp + 0x14]
xorps xmm0, xmm0
push ecx
push 0
push dword [esp + 0x18]
movlpd qword [esp + 0x20], xmm0
lea ecx, [esi + 8]
mov eax, dword [esi + 8]
push dword [esp + 0x18]
call dword [eax + 0x14]
test eax, eax
jne 0x4c3994
lea eax, [esi + 8]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.004c515f
mov esp, ebp
pop ebp
ret

Function at 0x4c3ee0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 4], eax
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov ebp, ecx
push edi
mov edi, dword [esp + 0x1c]
mov ecx, 0x100000
mov dword [ebx], 0
jmp 0x4c3f10
cmp esi, 0x100000
mov dword [esp + 0x10], 0
push 0
mov eax, esi
cmova eax, ecx
lea ecx, [esp + 0x14]
push ecx
push eax
push edi
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x10]
test eax, eax
setne al
add dword [ebx], ecx
test al, al
je 0x4c3f6a
test ecx, ecx
je 0x4c3f53
add edi, ecx
sub esi, ecx
mov ecx, 0x100000
jne 0x4c3f10
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.004c515f
add esp, 8
ret 0xc
mov ecx, dword [esp + 0x14]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c515f
add esp, 8
ret 0xc
Function at 0x4dea37
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x50e74c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004cbbd5
mov dword [ebp - 0x14], eax
cmp dword [0x70da34], esi
jne 0x4deb2a
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4deab7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4dec0a
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4dec0a
push 0x4f3a88
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4dec0a
push eax
call ebx
push 0x4f3a94
push edi
mov dword [0x70da34], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x70da38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x70da3c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x70da44], eax
test eax, eax
je 0x4deb27
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x70da40], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4deb4f
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4deb42
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4deb64
push 4
pop eax
jmp 0x4dec0c
cmp dword [ebp - 0x14], esi
je 0x4deb64
push dword [0x70da34]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4deb49
mov eax, dword [0x70da40]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4debc2
cmp dword [0x70da44], edi
je 0x4debc2
push eax
call ebx
push dword [0x70da44]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4debc2
test eax, eax
je 0x4debc2
call ecx
test eax, eax
je 0x4debb7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4debb7
test byte [ebp - 8], 1
jne 0x4debc2
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4debf2
mov eax, dword [0x70da38]
cmp eax, edi
je 0x4debef
push eax
call ebx
test eax, eax
je 0x4debef
call eax
mov esi, eax
test esi, esi
je 0x4debef
mov eax, dword [0x70da3c]
cmp eax, edi
je 0x4debef
push eax
call ebx
test eax, eax
je 0x4debef
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x70da34]
call ebx
test eax, eax
je 0x4dec0a
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4dec0c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c515f
mov esp, ebp
pop ebp
ret
Function at 0x4a3f30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x99000]
push edi
jmp 0x4a3f4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4a3f51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a3f40
mov eax, 1
add ebx, ebx
jne 0x4a3f63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4a3f74
jne 0x4a3f93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a3f93
dec eax
add ebx, ebx
jne 0x4a3f80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4a3f58
add ebx, ebx
jne 0x4a3f8f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4a3fe5
xor ecx, ecx
sub eax, 3
jb 0x4a3fab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4a401a
sar eax, 1
mov ebp, eax
jmp 0x4a3fb6
add ebx, ebx
jne 0x4a3fb6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a3f84
inc ecx
add ebx, ebx
jne 0x4a3fc4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a3f84
add ebx, ebx
jne 0x4a3fd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4a3fc6
jne 0x4a3fe2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a3fc6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4a4004
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4a3ff6
jmp 0x4a3f46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4a4004
add edi, ecx
jmp 0x4a3f46
pop esi
mov edi, esi
mov ecx, 0x467
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4a4022
cmp byte [edi], 7
jne 0x4a4022
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4a4027
lea edi, [esi + 0xa1000]
mov eax, dword [edi]
or eax, eax
je 0x4a4096
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12e1d0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12e20c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4a4054
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12e214]
or eax, eax
je 0x4a4090
mov dword [ebx], eax
add ebx, 4
jmp 0x4a4071
call dword [esi + 0x12e210]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4a40c7
cmp al, 0xef
ja 0x4a40ba
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4a409c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4a40a9
mov ebp, dword [esi + 0x12e218]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4a40fb
sub esp, 0xffffff80
jmp 0x40125d
Function at 0x89f1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.0089f140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0089f140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0089f140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0089f140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x89fbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x89fc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x8b187c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x89fc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x89fc52
xor eax, eax
pop esi
leave
ret 4

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43301e
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x40e9e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1008
call fcn.00484950
mov eax, dword [0x4e97d0]
xor eax, esp
mov dword [esp + 0x1004], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0x1000
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00484150
add esp, 0xc
push 0x800
lea ecx, [esp + 0xc]
push 0x4cdc58
push ecx
call fcn.0048700f
add esp, 0xc
push 0x800
lea edx, [esp + 0xc]
push esi
push edx
call fcn.00486fcf
add esp, 0xc
push 0x800
lea eax, [esp + 0xc]
push 0x4cdc60
push eax
call fcn.00486fcf
add esp, 0xc
push 0x800
lea ecx, [esp + 0xc]
push esi
push ecx
call fcn.00486fcf
add esp, 0xc
push 0x800
lea edx, [esp + 0xc]
push str.vL
push edx
call fcn.00486fcf
add esp, 0xc
push 0x800
lea eax, [esp + 0xc]
push edi
push eax
call fcn.00486fcf
add esp, 0xc
push 0x800
lea ecx, [esp + 0xc]
push 0x4cdcb0
push ecx
call fcn.00486fcf
add esp, 0xc
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 0x40eb14
push 0xc8
push 0x4cdb60
push str.http:__down.360safe.com_setup.exe
call fcn.00489a6c
add esp, 0xc
test eax, eax
jne 0x40eafc
call fcn.0040e8d0
test eax, eax
je 0x40eafc
push 5
push 0
push 0
push str.http:__down.360safe.com_setupbeta.exe
jmp 0x40eb07
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]
cmp dword [ebp + 0x10], 0
je 0x40eb21
push 0
call fcn.00486f37
mov ecx, dword [esp + 0x100c]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.00484247
mov esp, ebp
pop ebp
ret
Function at 0x446dd5
Capabilities:
Create process on windows
Initialize iwebbrowser2

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4d8c18
push 0x484470
mov eax, dword fs:[0]
push eax
push ecx
push ecx
mov eax, 0x102c
call fcn.00484950
mov eax, dword [0x4e97d0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, dword [ebp + 8]
xor eax, eax
mov word [ebp - 0x101c], ax
push 0xffe
xor esi, esi
push esi
lea eax, [ebp - 0x101a]
push eax
call fcn.00484150
push ebx
push str.__s_
push 0x1000
lea eax, [ebp - 0x101c]
push eax
call fcn.00446d7d
add esp, 0x1c
push 5
push esi
lea eax, [ebp - 0x101c]
push eax
push str.Explorer
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x446e76
xor eax, eax
inc eax
jmp 0x446f6b
mov dword [ebp - 4], esi
mov dword [ebp - 0x1020], esi
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x1020]
push eax
push 0x4c999c
push 0x15
push esi
push 0x4c99dc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x446f5c
mov eax, dword [ebp - 0x1020]
cmp eax, esi
je 0x446f43
mov ecx, dword [eax]
lea edx, [ebp - 0x1024]
push edx
push eax
call dword [ecx + 0x94]
mov edi, dword [ebp - 0x1024]
cmp edi, esi
je 0x446ee0
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 3
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call fcn.00484927
pop ecx
test eax, eax
jbe 0x446f37
push ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x103c], eax
xor eax, eax
mov word [ebp - 0x1034], ax
push 8
pop eax
mov word [ebp - 0x1044], ax
mov eax, dword [ebp - 0x1020]
mov ecx, dword [eax]
lea edx, [ebp - 0x1034]
push edx
push edx
push edx
push edx
lea edx, [ebp - 0x1044]
push edx
push eax
call dword [ecx + 0xd0]
push dword [ebp - 0x103c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x1020]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 4], 0xfffffffe
jmp 0x446e6e
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00484247
leave
ret
Function at 0x460309
Capabilities:
Get common file path
Get disk information
Get program files directory

Disassembly:
push ebp
sub esp, 0xa08
lea ebp, [esp - 4]
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp + 0xa08], eax
push 0x1c
mov eax, 0x4b9ff0
call fcn.0048501f
mov eax, dword [ebp + 0xa1c]
push 0x800
mov dword [ebp - 0x28], eax
xor edi, edi
lea eax, [ebp]
push edi
push eax
mov dword [ebp - 0x14], ecx
call fcn.00484150
add esp, 0xc
lea eax, [ebp]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
lea esi, [ebp]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
cmp word [ebp], di
je 0x4604ba
mov ebx, 0x4ecda4
jmp 0x460378
xor edi, edi
push ebx
lea ecx, [ebp - 0x1c]
call fcn.0040ba90
movzx eax, word [esi]
push eax
lea eax, [ebp - 0x1c]
push str._c:_
push eax
mov dword [ebp - 4], edi
call fcn.0041cbb1
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
push edi
call fcn.0045c9c9
test eax, eax
je 0x460499
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 0xa18]
jl 0x460499
jg 0x4603d1
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp + 0xa14]
jbe 0x460499
push ebx
lea ecx, [ebp - 0x10]
call fcn.0040ba90
push 0x208
lea eax, [ebp + 0x800]
push 0
push eax
mov byte [ebp - 4], 1
call fcn.00484150
add esp, 0xc
push 0
push 0x26
lea eax, [ebp + 0x800]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x460457
push str.360360safe
lea ecx, [ebp - 0x18]
call fcn.0040b680
push dword [ebp - 0x18]
lea eax, [ebp + 0x800]
push eax
push eax
mov byte [ebp - 4], 2
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov ax, word [esi]
mov word [ebp + 0x800], ax
lea eax, [ebp + 0x800]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040c8e0
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.0040dd20
jmp 0x46047e
movzx eax, word [esi]
push eax
lea eax, [ebp - 0x10]
push str._c:Program_Files360360safe
push eax
call fcn.0041cbb1
mov ecx, dword [ebp - 0x14]
add esp, 0xc
lea eax, [ebp - 0x10]
add ecx, 0x860
push eax
call fcn.0041cb3f
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
call fcn.004602c5
test eax, eax
jne 0x4604e1
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040dd20
push esi
call fcn.00484927
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [edi - 0x10]
lea esi, [esi + eax*2 + 2]
call fcn.0040dd20
cmp word [esi], 0
jne 0x460376
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa08]
xor ecx, ebp
call fcn.00484247
add ebp, 0xa0c
leave
ret 0xc
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x10]
push eax
call fcn.0041cb3f
mov ecx, dword [ebp - 0x10]
movzx esi, word [esi]
add ecx, 0xfffffff0
call fcn.0040dd20
lea ecx, [edi - 0x10]
call fcn.0040dd20
mov ax, si
jmp 0x4604bc
Function at 0x460508
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x18
mov eax, 0x4ba030
call fcn.0048501f
mov eax, dword [ebp + 0x41c]
mov dword [ebp - 0x24], eax
xor eax, eax
push 0x206
mov word [ebp], ax
xor edi, edi
lea eax, [ebp + 2]
push edi
push eax
mov dword [ebp - 0x1c], ecx
call fcn.00484150
add esp, 0xc
push 0x104
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, 0x4ecda4
push esi
lea ecx, [ebp - 0x20]
call fcn.0040ba90
movzx eax, word [ebp]
push eax
lea eax, [ebp - 0x20]
push str._c:_
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.0041cbb1
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push ebx
call fcn.0045c9c9
test eax, eax
je 0x4606a9
cmp dword [ebp - 0x14], edi
jl 0x4606a9
jg 0x4605be
cmp dword [ebp - 0x18], 0x6400000
jbe 0x4606a9
push esi
lea ecx, [ebp - 0x10]
call fcn.0040ba90
push 0x208
lea eax, [ebp + 0x208]
push edi
push eax
mov byte [ebp - 4], 1
call fcn.00484150
add esp, 0xc
push edi
push 0x26
lea eax, [ebp + 0x208]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x460642
push str.360360safe
lea ecx, [ebp - 0x14]
call fcn.0040b680
push dword [ebp - 0x14]
lea eax, [ebp + 0x208]
push eax
push eax
mov byte [ebp - 4], 2
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov ax, word [ebp]
mov word [ebp + 0x208], ax
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040c8e0
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.0040dd20
jmp 0x46066a
movzx eax, word [ebp]
push eax
lea eax, [ebp - 0x10]
push str._c:Program_Files360360safe
push eax
call fcn.0041cbb1
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
add ecx, 0x860
call fcn.0041cb3f
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
push eax
call fcn.004602c5
test eax, eax
je 0x46069e
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x10]
push eax
call fcn.0041cb3f
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040dd20
lea ecx, [ebx - 0x10]
call fcn.0040dd20
xor eax, eax
inc eax
jmp 0x4606b3
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040dd20
lea ecx, [ebx - 0x10]
call fcn.0040dd20
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.00484247
add ebp, 0x414
leave
ret 4
Function at 0x461558
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 8
mov eax, 0x4ba169
call fcn.0048501f
mov esi, ecx
mov eax, dword [esi + 0x92]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
xor ebx, ebx
cmp eax, ebx
je 0x4615f0
mov eax, dword [0x4ec634]
cmp dword [eax - 0xc], ebx
je 0x4615f0
mov ecx, 0x4ec5f8
call fcn.0046d436
test eax, eax
je 0x4615f0
push ebx
push 0x84
call fcn.00447386
pop ecx
pop ecx
push 0x91
mov ecx, 0x4ec670
mov dword [0x4ec660], ebx
call fcn.0040bf10
mov eax, dword [esi + 0x92]
mov ecx, dword [eax]
push 0x5002
push eax
call dword [ecx + 0x38]
mov esi, dword [esi + 0x92]
mov eax, dword [esi]
push 3
push esi
call dword [eax + 0x1c]
xor eax, eax
jmp 0x4616c3
call fcn.0046966e
test eax, eax
je 0x4616e6
xor eax, eax
push 0x208
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call fcn.00484150
add esp, 0xc
lea eax, [ebp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push ebx
mov edi, 0x6400000
lea eax, [ebp]
push edi
push eax
call fcn.00468750
add esp, 0xc
test eax, eax
je 0x46164b
lea eax, [ebp]
push eax
mov ecx, 0x4ec67c
call fcn.0040c8e0
jmp 0x46169e
push ebx
push edi
call fcn.00469013
movzx eax, ax
pop ecx
pop ecx
cmp ax, bx
jne 0x461688
push ebx
push 0x85
call fcn.00447386
push 0x40
push 0x96
push 0xb4
push ebx
call fcn.00450351
add esp, 0x18
mov ecx, esi
call fcn.0046128d
jmp 0x4615e9
movzx eax, ax
push eax
push str._c:_
push 0x4ec67c
call fcn.0041cbb1
add esp, 0xc
cmp dword [esi + 0x92], ebx
je 0x4616b4
mov esi, dword [esi + 0x92]
mov eax, dword [esi]
push 1
push esi
call dword [eax + 0x48]
call fcn.00429d84
mov ecx, eax
call fcn.0042cdfc
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.00484247
add ebp, 0x210
leave
ret
push ebx
push 0x6400000
push dword [0x4ec67c]
call fcn.00468750
add esp, 0xc
test eax, eax
jne 0x4616b4
push ebx
push 0x85
call fcn.00447386
push dword [0x4ec67c]
lea eax, [ebp - 0x14]
push eax
call fcn.004692c2
add esp, 0x10
push 1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.0041a88c
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0041cb3f
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.0040dd20
push 0x4ecda4
lea ecx, [ebp - 0x10]
call fcn.0040ba90
push 0x64
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push 0xb5
push eax
mov byte [ebp - 4], 2
call fcn.00455b41
mov edi, dword [ebp - 0x10]
push 0x40
push 0x96
push edi
push ebx
call fcn.004503ff
add esp, 0x20
mov ecx, esi
call fcn.0046128d
lea ecx, [edi - 0x10]
call fcn.0040dd20
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040dd20
jmp 0x4615e9