joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ae5d3
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4014
call fcn.00405ecb
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 0x4010], eax
xor eax, eax
push 0x3ffe
mov word [ebp - 0x4004], ax
xor esi, esi
lea eax, [ebp - 0x4002]
push esi
push eax
call fcn.00402394
add esp, 0xc
lea eax, [ebp - 0x4014]
push eax
push edi
mov dword [ebp - 0x4014], esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
cmp eax, esi
je 0x4ae6b9
cmp eax, 0x3fff
ja 0x4ae6b9
lea ecx, [ebp - 0x4004]
push ecx
push eax
push esi
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4ae6b9
lea eax, [ebp - 0x400c]
push eax
lea eax, [ebp - 0x4008]
push eax
push 0x6403a4
lea eax, [ebp - 0x4004]
push eax
mov dword [ebp - 0x4008], esi
mov dword [ebp - 0x400c], esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4ae6b9
mov eax, dword [ebp - 0x4008]
movzx ecx, word [eax + 0xc]
mov esi, dword [ebp - 0x4010]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
push str._d._d._d._d
push esi
push ebx
call fcn.00409645
add esp, 0x1c
xor eax, eax
mov word [ebx + esi*2 - 2], ax
mov al, 1
jmp 0x4ae6bb
xor al, al
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00403fc1
leave
ret 8

Function at 0x4ae8af
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 1
push eax
push 0x80000001
lea esi, [ebp - 0x30]
mov edi, edx
mov dword [ebp - 0x28], ecx
xor ebx, ebx
call fcn.0041071a
cmp dword [ebp - 0x30], ebx
je 0x4ae94b
push edi
lea esi, [ebp - 0x24]
call fcn.0040beca
push str.new_360se.exe
mov eax, esi
push eax
call fcn.0040d6fd
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x4ae902
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4ae926
push dword [ebp - 0x28]
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x632440
call fcn.004b668a
test eax, eax
jne 0x4ae926
mov bl, 1
jmp 0x4ae93f
push dword [ebp - 0x28]
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x632520
call fcn.004b668a
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
push 1
xor edi, edi
lea esi, [ebp - 0x24]
call fcn.0040bad4
lea esi, [ebp - 0x30]
call fcn.004107f6
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00403fc1
leave
ret
Function at 0x4aed26
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], ebx
mov word [ebp - 8], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x4aed8b
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x4aed82
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
xor ecx, ebp
pop ebx
call fcn.00403fc1
leave
ret

Function at 0x4af359
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e4
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
xor ebx, ebx
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.00402394
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x4af3b5
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403fc1
leave
ret
lea eax, [ebp - 0x210]
push eax
lea esi, [ebp - 0x264]
call fcn.0040beca
lea edi, [ebp - 0x298]
call fcn.0040b7eb
mov ecx, esi
mov edx, edi
call fcn.0040c11a
push 0x18
push str.notify_relaunch_4_update
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x218], 0xf
mov dword [ebp - 0x21c], ebx
mov byte [ebp - 0x22c], bl
call fcn.0040f910
mov eax, edi
push eax
lea ecx, [ebp - 0x22c]
call fcn.004b6bf8
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x22c]
call fcn.0040d17d
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x298]
push eax
call fcn.004b6993
push 0x40
lea eax, [ebp - 0x2dc]
push ebx
push eax
call fcn.00402394
add esp, 0xc
cmp dword [ebp - 0x234], 8
push 5
pop eax
mov word [ebp - 0x2b0], ax
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x2e0], 0x44
mov dword [ebp - 0x2b4], edi
jae 0x4af475
lea eax, [ebp - 0x248]
lea ecx, [ebp - 0x274]
push ecx
lea ecx, [ebp - 0x2e0]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4af4ce
push edi
xor edi, edi
lea esi, [ebp - 0x248]
call fcn.0040bad4
lea eax, [ebp - 0x288]
call fcn.004a9f7d
lea eax, [ebp - 0x298]
push eax
call fcn.0040c88d
push 1
lea esi, [ebp - 0x264]
call fcn.0040bad4
mov eax, ebx
jmp 0x4af3a6
push dword [ebp - 0x270]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x274]
call esi
mov ebx, edi
jmp 0x4af495
Function at 0x4b07e8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
xor esi, esi
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push 0x4b07be
push esi
push esi
mov dword [ebp - 0x10], str.Q360SafeMonClass
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov edi, eax
cmp edi, esi
je 0x4b0832
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
pop edi
pop esi
leave
ret

Function at 0x4b21d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
mov esi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4b2227
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x4b2219
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x4b2215
cmp edi, eax
jae 0x4b2219
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x4b2207
cmp edi, eax
jb 0x4b221d
xor eax, eax
jmp 0x4b2226
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x4b4e29
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
and dword [ebp - 4], 0
push edi
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x28]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x24], 0
jne 0x4b4e55
mov dword [ebp - 0x24], 0x1000
mov ecx, dword [ebp + 8]
lea ecx, [esi + ecx - 1]
mov eax, esi
cmp esi, ecx
jae 0x4b4e6b
mov dl, byte [eax]
add eax, dword [ebp - 0x24]
cmp eax, ecx
jb 0x4b4e62
mov al, byte [ecx]
pop edi
leave
ret

Function at 0x4b4f7d
Capabilities:
Parse pe header

Disassembly:
push 0x24
push 0x6a4390
call fcn.0040123c
push 0x1c
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
and dword [ebp - 4], 0
mov eax, 0x5a4d
mov edx, dword [ebp - 0x30]
cmp word [edx], ax
jne 0x4b4fe5
mov eax, dword [edx + 0x3c]
add eax, edx
cmp dword [eax], 0x4550
jne 0x4b4fe5
mov ecx, dword [eax + 0xd8]
lea esi, [ecx + edx]
cmp dword [ebp + 0xc], esi
jb 0x4b4fe5
mov eax, dword [eax + 0xdc]
add eax, ecx
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x4b4fe5
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x4b4fee
mov dword [ebp - 4], 0xfffffffe
xor al, al
call fcn.00401281
ret
Function at 0x4b4ff4
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x6b6b78], eax
je 0x4b5013
mov eax, 0x10dd
jmp 0x4b50ad
mov esi, dword [0x6b6b88]
test esi, esi
je 0x4b506f
lea eax, [ebp - 4]
push eax
mov eax, dword [esi + 0x10]
push dword [esi + 0x14]
movzx eax, byte [eax + 0x17]
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [esi + 4], 0
jne 0x4b5060
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x4b5060
push 8
xor eax, eax
mov edx, ebx
and edx, 0xffff0000
pop ecx
mov edi, ebx
rep stosd dword es:[edi], eax
mov eax, dword [edx + 8]
mov dword [ebx + 0x18], eax
mov dword [edx + 8], ebx
and dword [esi + 0x10], 0
mov edi, dword [esi]
push esi
call fcn.00404e46
pop ecx
mov esi, edi
test edi, edi
jne 0x4b501d
and dword [0x6b6b88], 0
call fcn.00419b5f
mov esi, dword [0x6b6b84]
test esi, esi
je 0x4b509d
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, dword [esi]
push esi
call fcn.00404e46
pop ecx
mov esi, edi
test edi, edi
jne 0x4b5085
and dword [0x6b6b84], 0
and dword [0x6b6b78], 0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4b668a
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00405ecb
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x100c], 0
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
lea edx, [ebp - 0x100c]
push edx
lea edx, [ebp - 0x808]
push edx
lea edx, [ebp - 0x1010]
push edx
push 0
push ecx
push dword [eax]
xor esi, esi
inc esi
mov dword [ebp - 0x1010], esi
mov dword [ebp - 0x100c], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x4b6746
cmp dword [ebp - 0x1010], esi
jne 0x4b6701
lea eax, [ebp - 0x808]
push eax
push ebx
call fcn.0040beee
jmp 0x4b6746
cmp dword [ebp - 0x1010], 2
jne 0x4b6741
mov esi, 0x400
push esi
lea eax, [ebp - 0x1008]
push eax
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x100c], eax
test eax, eax
je 0x4b673a
cmp eax, esi
ja 0x4b673a
lea eax, [ebp - 0x1008]
jmp 0x4b66f8
mov edi, 0xea
jmp 0x4b6746
mov edi, 0x3f4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403fc1
leave
ret 8

Function at 0x4b67b8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [esi]
xor edx, edx
sub esp, 0xc
cmp ecx, edx
je 0x4b67f5
mov eax, dword [esi + 4]
cmp eax, edx
jl 0x4b67f5
push edi
lea edi, [ebp - 0xc]
push edi
push edx
push edx
push edx
lea edx, [ebp - 4]
push edx
lea edx, [esi + 8]
push edx
push eax
push ecx
mov dword [ebp - 4], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
pop edi
test eax, eax
jne 0x4b67f5
mov al, 1
leave
ret
xor eax, eax
mov word [esi + 8], ax
xor al, al
leave
ret
Function at 0x4b7342
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x10], 0x104
push edi
mov dword [esp + 0x2c], ebx
jb 0x4b7377
xor al, al
jmp 0x4b746c
cmp byte [ebp + 8], bl
jne 0x4b73cf
lea eax, [esp + 0x30]
call fcn.004bc43f
push esi
mov edi, eax
call fcn.004b7622
pop ecx
test al, al
je 0x4b73b1
cmp byte [esp + 0x38], bl
je 0x4b73b1
cmp dword [esi + 0x14], 8
jb 0x4b73a0
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
jmp 0x4b746c
cmp dword [esi + 0x14], 8
jb 0x4b73bb
mov eax, dword [esi]
jmp 0x4b73bd
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4b73cf
mov al, 1
jmp 0x4b746c
xor eax, eax
push 0x208
mov word [esp + 0x5c], ax
lea eax, [esp + 0x5e]
push ebx
push eax
call fcn.00402394
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x4b73f1
mov esi, dword [esi]
lea ecx, [esp + 0x58]
sub ecx, esi
movzx eax, word [esi]
mov word [ecx + esi], ax
add esi, 2
cmp ax, bx
jne 0x4b73f7
xor eax, eax
push 6
mov dword [esp + 0x10], ebx
pop ecx
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x58]
mov dword [esp + 0x14], eax
mov eax, 0x414
mov dword [esp + 0x10], 3
mov word [esp + 0x1c], ax
cmp byte [ebp + 8], bl
jne 0x4b7440
mov eax, 0x1494
mov word [esp + 0x1c], ax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp dword [esp + 0x1e], ebx
jne 0x4b7370
cmp eax, ebx
je 0x4b7469
cmp eax, 2
je 0x4b7469
cmp eax, 0x402
je 0x4b7469
xor eax, eax
jmp 0x4b746c
xor eax, eax
inc eax
mov ecx, dword [esp + 0x26c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00403fc1
mov esp, ebp
pop ebp
ret

Function at 0x4b7481
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x102
ja 0x4b7521
lea eax, [ebp - 0x218]
push eax
lea esi, [ebp - 0x250]
call fcn.0040beca
mov eax, esi
push eax
lea eax, [ebp - 0x26c]
call fcn.0040c917
push eax
lea eax, [ebp - 0x234]
call fcn.0040c917
lea edi, [ebp - 0x234]
call fcn.00410a0c
mov eax, edi
push eax
push ebx
call fcn.00422755
push 1
xor edi, edi
lea esi, [ebp - 0x234]
call fcn.0040bad4
push 1
lea esi, [ebp - 0x26c]
call fcn.0040bad4
push 1
lea esi, [ebp - 0x250]
call fcn.0040bad4
mov al, 1
jmp 0x4b7523
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403fc1
leave
ret
Function at 0x4b7532
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20], eax
and dword [esp], 0
push ebx
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
push edi
mov edi, dword [ebp + 0xc]
jb 0x4b755d
mov ebx, dword [esi]
jmp 0x4b755f
mov ebx, esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4b7591
test al, 0x10
je 0x4b7583
mov al, 1
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00403fc1
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x4b758d
mov dword [edi], 0xfffffff7
xor al, al
jmp 0x4b7571
push esi
lea eax, [esp + 0x14]
call fcn.004226bf
mov ecx, esi
lea eax, [esp + 0x10]
call fcn.00444273
test al, al
je 0x4b75c3
test edi, edi
je 0x4b75b4
mov dword [edi], 0xfffffffc
push 1
xor edi, edi
lea esi, [esp + 0x14]
call fcn.0040bad4
jmp 0x4b758d
lea eax, [esp + 0x10]
push edi
push eax
call fcn.004b7532
pop ecx
pop ecx
test al, al
jne 0x4b75e7
xor bl, bl
push 1
xor edi, edi
lea esi, [esp + 0x14]
call fcn.0040bad4
mov al, bl
jmp 0x4b7571
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4b760f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0xb7
jne 0x4b7613
mov eax, esi
call fcn.004107d8
test al, al
je 0x4b7613
mov bl, 1
jmp 0x4b75d6
test edi, edi
je 0x4b75d4
mov eax, ebx
call fcn.004c03ab
mov dword [edi], eax
jmp 0x4b75d4
Function at 0x4b7a7b
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2dc
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
mov esi, ecx
push eax
mov dword [ebp - 0x2d8], esi
call fcn.00402394
add esp, 0xc
push str.chrome.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4b7b0b
push 0x103
lea ecx, [ebp - 0x210]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.360base.dll
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
call fcn.0040beca
mov eax, esi
jmp 0x4b7ce7
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x210]
push eax
lea esi, [ebp - 0x248]
call fcn.0040beca
mov eax, esi
push eax
lea eax, [ebp - 0x264]
call fcn.0040c917
xor ebx, ebx
inc ebx
push ebx
xor edi, edi
call fcn.0040bad4
lea eax, [ebp - 0x264]
call fcn.00413596
and dword [ebp - 0x21c], 0
mov edi, eax
xor eax, eax
mov dword [ebp - 0x2dc], edi
mov dword [ebp - 0x218], 7
mov word [ebp - 0x22c], ax
test edi, edi
je 0x4b7cb5
push str.360base.dll
lea esi, [ebp - 0x248]
call fcn.0040beca
lea eax, [ebp - 0x2d4]
push eax
mov eax, dword [edi]
lea ecx, [ebp - 0x280]
push ecx
mov ecx, edi
call dword [eax + 0x30]
mov esi, eax
lea eax, [ebp - 0x2b8]
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x29c]
call fcn.004226bf
push eax
mov ecx, esi
call fcn.004108b7
push eax
lea ecx, [ebp - 0x248]
call fcn.004108b7
push 0xffffffffffffffff
push 0
push eax
lea eax, [ebp - 0x22c]
call fcn.0040c386
push ebx
xor edi, edi
lea esi, [ebp - 0x2d4]
call fcn.0040bad4
push ebx
lea esi, [ebp - 0x2b8]
call fcn.0040bad4
push ebx
lea esi, [ebp - 0x29c]
call fcn.0040bad4
push ebx
lea esi, [ebp - 0x280]
call fcn.0040bad4
push ebx
lea esi, [ebp - 0x248]
call fcn.0040bad4
cmp dword [ebp - 0x218], 8
mov eax, dword [ebp - 0x22c]
jae 0x4b7c36
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4b7caa
push str.360base.dll
lea esi, [ebp - 0x248]
call fcn.0040beca
lea eax, [ebp - 0x280]
push eax
push ecx
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x29c]
call fcn.004226bf
pop ecx
push eax
mov ecx, esi
call fcn.004108b7
push 0xffffffffffffffff
push 0
push eax
lea eax, [ebp - 0x22c]
call fcn.0040c386
push ebx
xor edi, edi
lea esi, [ebp - 0x280]
call fcn.0040bad4
push ebx
lea esi, [ebp - 0x29c]
call fcn.0040bad4
push ebx
lea esi, [ebp - 0x248]
call fcn.0040bad4
mov ecx, dword [ebp - 0x2dc]
mov eax, dword [ecx]
push ebx
call dword [eax]
mov esi, dword [ebp - 0x2d8]
lea eax, [ebp - 0x22c]
push eax
call fcn.0040ba53
push ebx
xor edi, edi
lea esi, [ebp - 0x22c]
call fcn.0040bad4
push ebx
lea esi, [ebp - 0x264]
call fcn.0040bad4
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403fc1
leave
ret
Function at 0x4b7e93
Capabilities:
Check if file exists
Create process on windows
Get common file path
Get program files directory
Initialize iwebbrowser2
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x42c], eax
cmp eax, edi
je 0x4b80a8
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4b7ebf
sub eax, edx
sar eax, 1
je 0x4b80a8
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push edi
push eax
call fcn.00402394
xor eax, eax
push esi
mov word [ebp - 0x41c], ax
xor ebx, ebx
lea eax, [ebp - 0x41a]
push edi
inc ebx
push eax
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x430], 0x208
call fcn.00402394
add esp, 0x18
push edi
push 0x26
lea eax, [ebp - 0x41c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sInternet_Exploreriexplore.exe
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
call esi
test eax, eax
jne 0x4b7f9b
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x428]
push eax
push 0x63e360
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x214]
push eax
call esi
test eax, eax
jne 0x4b7f9b
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x214]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4b7fa4
sub eax, edx
sar eax, 1
cmp eax, edi
jbe 0x4b7fe0
push 0xa
push edi
push dword [ebp - 0x42c]
lea eax, [ebp - 0x214]
push eax
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, ebx
jmp 0x4b80aa
lea eax, [ebp - 0x420]
push eax
push 0x6627a0
push 0x15
push edi
push 0x662790
mov dword [ebp - 0x420], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4b80a8
mov eax, dword [ebp - 0x420]
cmp eax, edi
je 0x4b7fd9
lea edx, [ebp - 0x424]
push edx
mov dword [ebp - 0x424], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x94]
cmp dword [ebp - 0x424], edi
je 0x4b8049
push dword [ebp - 0x424]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push ebx
push dword [ebp - 0x424]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 0x42c]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push 8
mov esi, eax
xor eax, eax
mov word [ebp - 0x444], ax
pop eax
lea edx, [ebp - 0x444]
push edx
push edx
push edx
push edx
mov word [ebp - 0x454], ax
mov eax, dword [ebp - 0x420]
lea edx, [ebp - 0x454]
push edx
mov dword [ebp - 0x44c], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xd0]
mov eax, dword [ebp - 0x420]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x4b7fd9
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403fc1
leave
ret
Function at 0x4b80b9
Capabilities:
Check if file exists
Get common file path
Get program files directory
Initialize iwebbrowser2
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x20c], ax
xor edi, edi
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.00402394
xor eax, eax
push esi
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push edi
push eax
mov dword [ebp - 0x41c], 1
mov dword [ebp - 0x420], 0x208
call fcn.00402394
add esp, 0x18
push edi
push 0x26
lea eax, [ebp - 0x414]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push str._sInternet_Exploreriexplore.exe
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
jne 0x4b8198
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x41c]
push eax
push 0x63e360
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
jne 0x4b8198
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4b81a1
sub eax, edx
sar eax, 1
cmp eax, edi
jbe 0x4b81b9
xor eax, eax
inc eax
jmp 0x4b81f1
lea eax, [ebp - 0x418]
push eax
push 0x6627a0
push 0x15
push edi
push 0x662790
mov dword [ebp - 0x418], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4b81ef
mov eax, dword [ebp - 0x418]
cmp eax, edi
je 0x4b81ef
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4b81b4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00403fc1
leave
ret