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

Disassembly:
push ebp
sub esp, 0x618
lea ebp, [esp - 4]
mov eax, dword [0x4d7590]
xor eax, ebp
mov dword [ebp + 0x618], eax
push 0x18
mov eax, 0x4a1049
call fcn.00437e40
call fcn.0041a7e3
push eax
lea ecx, [ebp - 0x14]
call fcn.00401bb0
lea eax, [ebp - 0x24]
push str.Tray.Name
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00455b50
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004058e4
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00401111
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp + 0x208], ax
lea eax, [ebp + 0x20a]
push ebx
push eax
call fcn.00436ec0
add esp, 0xc
call fcn.004198d1
mov eax, dword [eax + 8]
push 0x104
lea ecx, [ebp + 0x208]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push ebx
push str.SOFTWARE360SafemenuextLiveUpdate360
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40605b
xor edi, edi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401111
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x618]
xor ecx, ebp
call fcn.00436eab
add ebp, 0x61c
leave
ret
xor eax, eax
push esi
mov word [ebp + 0x410], ax
lea eax, [ebp + 0x412]
push ebx
push eax
call fcn.00436ec0
xor eax, eax
push esi
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call fcn.00436ec0
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esp, 0x18
mov eax, 0x208
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x410]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push 0x4a9da0
push dword [ebp - 0x10]
xor edi, edi
inc edi
mov dword [ebp - 0x18], edi
call esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push 0x4aa404
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp]
push eax
lea eax, [ebp + 0x208]
push eax
call fcn.00438116
pop ecx
pop ecx
test eax, eax
jne 0x406029
lea eax, [ebp + 0x410]
push eax
push dword [ebp - 0x14]
call fcn.00438116
pop ecx
pop ecx
test eax, eax
je 0x40602b
jmp 0x406029
Function at 0x4069f7
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
sub esp, 0x118
lea ebp, [esp - 4]
mov eax, dword [0x4d7590]
xor eax, ebp
mov dword [ebp + 0x118], eax
push 0xc
mov eax, 0x4a10ff
call fcn.00437e40
xor ebx, ebx
push 0xff
lea eax, [ebp + 0x11]
push ebx
push eax
mov esi, ecx
mov byte [ebp + 0x10], bl
call fcn.00436ec0
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
push ebx
push 0x100
lea eax, [ebp + 0x10]
push eax
push dword [esi + 0x4c4]
mov dword [ebp - 0x14], 0x10
call dword [sym.imp.WSOCK32.dll_recvfrom]
cmp eax, 5
jne 0x406add
push dword [ebp + 4]
mov byte [ebp + 0x15], bl
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x10]
call fcn.00405bdc
push 5
lea eax, [ebp + 0x110]
push eax
lea eax, [ebp + 0x10]
push eax
mov dword [ebp - 4], ebx
mov byte [ebp + 0x110], 0xb
mov byte [ebp + 0x111], 9
mov byte [ebp + 0x112], 0x22
mov byte [ebp + 0x113], 0x20
mov byte [ebp + 0x114], 0x58
call fcn.00438c95
add esp, 0xc
test eax, eax
jne 0x406ad2
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.00401d0b
mov ecx, esi
call fcn.00405dc5
cmp al, bl
jne 0x406ad2
inc dword [esi + 0x4c0]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401111
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x118]
xor ecx, ebp
call fcn.00436eab
add ebp, 0x11c
leave
ret
Function at 0x406efd
Capabilities:
Create directory
Get common file path
Set current directory

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x4d7590]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0xc
mov eax, 0x4a1175
call fcn.00437e40
mov edi, dword [ebp + 0x41c]
xor esi, esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], esi
lea eax, [ebp + 0x208]
push eax
push esi
push esi
push 0x1a
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jge 0x406f68
push ecx
lea eax, [ebp + 0x420]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.00401d0b
mov ecx, dword [ebp - 0x14]
push edi
call fcn.00406e1c
jmp 0x407002
push str.360Safe_
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
xor eax, eax
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push esi
push eax
call fcn.00436ec0
add esp, 0xc
lea eax, [ebp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ebx, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov esi, eax
neg esi
lea eax, [ebp + 0x208]
sbb esi, esi
push eax
neg esi
call ebx
cmp eax, 1
jne 0x407037
cmp esi, eax
jne 0x406fc7
lea eax, [ebp]
push eax
call ebx
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp - 0x10]
call fcn.00406b00
mov eax, dword [ebp + 0x420]
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.00402668
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.00401d0b
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401111
mov ecx, dword [ebp + 0x420]
add ecx, 0xfffffff0
call fcn.00401111
mov eax, edi
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.00436eab
add ebp, 0x414
leave
ret 8
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x52e
je 0x40706a
cmp eax, 0x35
je 0x40706a
cmp eax, 2
je 0x40706a
cmp eax, 3
je 0x40706a
cmp eax, 0x15
je 0x40706a
cmp eax, 0x14
je 0x40706a
cmp eax, 0x10b
jne 0x406fc7
push 0
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x406fc7
call esi
push eax
lea eax, [ebp + 0x208]
push eax
push str.can_not_CreateDirectory:_s_Err:_u
push 1
call fcn.0040194f
add esp, 0xc
jmp 0x406f49
Function at 0x40709f
Capabilities:
Check if file exists
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1218
call fcn.00437a10
mov eax, dword [0x4d7590]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push dword [ebp + 8]
xor edi, edi
push edi
push 0x410
mov dword [ebp - 0x218], edi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
xor eax, eax
cmp ebx, edi
je 0x4071e7
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.00436ec0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x1000
lea eax, [ebp - 0x1218]
push eax
push ebx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x4071d8
mov eax, 0x400
cmp dword [ebp - 0x210], eax
jbe 0x40712b
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], edi
jbe 0x4071d8
push esi
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + edi*4 - 0x1218]
push ebx
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x4071b0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4071b0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x214]
call fcn.00406b00
mov esi, 0x4aa588
push dword [esi]
push dword [ebp - 0x214]
call fcn.00438116
pop ecx
pop ecx
test eax, eax
je 0x4071bf
add esi, 4
cmp esi, 0x4aa59c
jl 0x407184
mov ecx, dword [ebp - 0x214]
add ecx, 0xfffffff0
call fcn.00401111
inc edi
cmp edi, dword [ebp - 0x210]
jb 0x407138
jmp 0x4071d7
mov ecx, dword [ebp - 0x214]
add ecx, 0xfffffff0
mov dword [ebp - 0x218], 1
call fcn.00401111
pop esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x218]
jmp 0x4071e8
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00436eab
leave
ret 4
Function at 0x4071f8
Capabilities:
Enumerate processes

Disassembly:
push ebp
sub esp, 0x22c
lea ebp, [esp - 4]
mov eax, dword [0x4d7590]
xor eax, ebp
mov dword [ebp + 0x22c], eax
push 0x10
mov eax, 0x4a11a5
call fcn.00437e40
mov ebx, ecx
lea edi, [ebx + 0x4a8]
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
test eax, eax
jne 0x407234
xor al, al
jmp 0x4072e6
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x40722d
push 0x22c
lea eax, [ebp]
push 0
push eax
mov byte [ebp - 0xd], 0
call fcn.00436ec0
add esp, 0xc
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
mov dword [ebp], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x4072d0
push 0xa
lea eax, [ebp + 0x24]
push str.DSMain.exe
push eax
call fcn.0043a3ff
add esp, 0xc
test eax, eax
je 0x4072d6
push ecx
lea eax, [ebp + 0x24]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00406b00
and dword [ebp - 4], 0
push ecx
mov dword [ebp - 0x1c], esp
mov ecx, esp
push edi
call fcn.00401d0b
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
call fcn.00405eb2
test al, al
je 0x4072c4
push dword [ebp + 8]
mov ecx, ebx
call fcn.0040709f
test eax, eax
jne 0x4072d6
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x407271
jmp 0x4072da
mov byte [ebp - 0xd], 1
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x22c]
xor ecx, ebp
call fcn.00436eab
add ebp, 0x230
leave
ret

Function at 0x407309
Capabilities:
Enumerate processes

Disassembly:
push ebp
sub esp, 0x22c
lea ebp, [esp - 4]
mov eax, dword [0x4d7590]
xor eax, ebp
mov dword [ebp + 0x22c], eax
push 0x10
mov eax, 0x4a11e0
call fcn.00437e40
mov dword [ebp - 0x14], ecx
xor ebx, ebx
push ebx
push 2
mov dword [ebp - 4], ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x407359
mov ecx, dword [ebp + 0x238]
add ecx, 0xfffffff0
call fcn.00401111
xor eax, eax
jmp 0x4073e2
push 0x22c
lea eax, [ebp]
push ebx
push eax
mov byte [ebp - 0xd], bl
call fcn.00436ec0
add esp, 0xc
lea eax, [ebp]
push eax
push edi
mov dword [ebp], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x4073bf
push ecx
lea eax, [ebp + 0x24]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00406b00
push ecx
lea eax, [ebp + 0x238]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 1
call fcn.00401d0b
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00405eb2
cmp al, bl
jne 0x4073c5
lea eax, [ebp]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x407381
jmp 0x4073c9
mov byte [ebp - 0xd], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x238]
add ecx, 0xfffffff0
call fcn.00401111
movzx eax, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x22c]
xor ecx, ebp
call fcn.00436eab
add ebp, 0x230
leave
ret 4
Function at 0x4083f1
Capabilities:
Copy file

Disassembly:
push 0x18
mov eax, 0x4a1349
call fcn.00437e40
mov esi, ecx
xor edi, edi
mov dword [ebp - 4], edi
call fcn.0041a7e3
push eax
lea ecx, [ebp - 0x10]
call fcn.00401bb0
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 1
call fcn.0040587c
cmp dword [esi + 0x4d4], edi
jbe 0x408483
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
call fcn.0040589f
push eax
lea ecx, [ebp - 0x1c]
call fcn.00404f87
test al, al
jne 0x408483
push edi
lea eax, [ebp - 0x10]
push str.pdown_d
push eax
call fcn.00402b23
mov ebx, dword [ebp + 0xc]
add esp, 0xc
lea ecx, [ebp - 0x1c]
inc edi
call fcn.00405998
push ebx
push dword [eax + 8]
push dword [ebp - 0x10]
push str.NeedUploadList
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x1c]
call fcn.00404e50
cmp edi, dword [esi + 0x4d4]
jb 0x40842a
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push str.livehis.dat
call fcn.00406b00
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.00406e1c
push 0
push dword [ebp - 0x14]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401111
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401111
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00401111
call fcn.00437f18
ret 8
Function at 0x4084d5
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
test byte [0x4dbfcc], 1
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, ecx
jne 0x4084fa
or dword [0x4dbfcc], 1
call edi
mov dword [0x4dbfc8], eax
cmp dword [0x4d52b0], 1
je 0x40851d
call edi
sub eax, dword [0x4dbfc8]
cmp eax, 0x2710
jae 0x40851d
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
jmp 0x40862e
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov byte [eax], 1
mov dword [0x4d52b0], ebx
call edi
mov ecx, esi
mov dword [0x4dbfc8], eax
call fcn.004071f8
test al, al
je 0x408565
mov ecx, dword [esi + 0x9c]
mov eax, dword [ebp + 8]
shl ecx, 0xa
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0xa0]
shl ecx, 0xa
mov dword [eax + 8], ecx
xor eax, eax
inc eax
mov dword [0x4dbfc4], eax
jmp 0x408633
mov eax, dword [ebp + 0x10]
cmp dword [0x4dbf9c], ebx
je 0x4085ec
mov ecx, esi
mov byte [eax], bl
call fcn.00407457
test eax, eax
mov eax, dword [ebp + 8]
lea edi, [eax + 4]
lea ebx, [eax + 8]
jne 0x408599
mov ecx, dword [esi + 0xa4]
shl ecx, 0xa
mov dword [edi], ecx
mov eax, dword [esi + 0xa8]
jmp 0x4085aa
mov ecx, dword [esi + 0xac]
shl ecx, 0xa
mov dword [edi], ecx
mov eax, dword [esi + 0xb0]
shl eax, 0xa
mov dword [ebx], eax
mov eax, dword [0x4dbf98]
push ecx
mov dword [0x4dbfc4], eax
lea eax, [esi + 0x4b0]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
call fcn.00401d0b
mov ecx, esi
call fcn.00407309
test eax, eax
je 0x40862e
mov eax, dword [esi + 0xa4]
shl eax, 0xa
mov dword [edi], eax
mov dword [ebx], 0x400
jmp 0x408558
mov byte [eax], 1
mov eax, dword [ebp + 8]
cmp dword [0x4dbfa8], ebx
je 0x408608
mov ecx, dword [0x4dbfa0]
shl ecx, 0xa
mov dword [eax + 4], ecx
jmp 0x40860b
mov dword [eax + 4], ebx
cmp dword [0x4dbfac], ebx
je 0x408621
mov ecx, dword [0x4dbfa4]
shl ecx, 0xa
mov dword [eax + 8], ecx
jmp 0x408624
mov dword [eax + 8], ebx
mov eax, dword [0x4dbf98]
mov dword [0x4dbfc4], eax
mov eax, dword [0x4dbfc4]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x409803
Capabilities:
Create tcp socket
Create udp socket
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4d7590]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.00408ed0
test eax, eax
je 0x40989b
push esi
push 0
push 2
push 2
call dword [sym.imp.WSOCK32.dll_socket]
push 2
mov esi, eax
pop eax
push str.255.255.255.255
mov word [ebp - 0x1c], ax
call dword [sym.imp.WSOCK32.dll_inet_addr]
push 0x23f0
mov dword [ebp - 0x18], eax
call dword [sym.imp.WSOCK32.dll_htons]
push 4
mov word [ebp - 0x1a], ax
lea eax, [ebp - 0x20]
push eax
push 0x20
push 0xffff
push esi
mov dword [ebp - 0x20], 1
call dword [sym.imp.WSOCK32.dll_setsockopt]
push 0x10
lea eax, [ebp - 0x1c]
push eax
push 0
push 5
lea eax, [ebp - 0xc]
push eax
push esi
mov byte [ebp - 0xc], 0xb
mov byte [ebp - 0xb], 9
mov byte [ebp - 0xa], 0x22
mov byte [ebp - 9], 0x20
mov byte [ebp - 8], 0x58
call dword [sym.imp.WSOCK32.dll_sendto]
push esi
call dword [sym.imp.WSOCK32.dll_closesocket]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00436eab
leave
ret
Function at 0x40a99f
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x9fc4]
mov eax, 0xa044
call fcn.00437a10
mov eax, dword [0x4d7590]
xor eax, ebp
mov dword [ebp + 0x9fc0], eax
mov edx, dword [ebp + 0x9fd4]
push edi
mov eax, ecx
mov ecx, dword [ebp + 0x9fcc]
mov edi, dword [eax + 4]
push 0x4ab278
push edx
mov dword [ebp - 0x48], edx
add edi, ecx
call fcn.0043abb9
pop ecx
pop ecx
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x40a9f0
xor al, al
jmp 0x40ab1f
push ebx
push esi
push 0x38
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.00436ec0
push 0x38
push str.1.2.3
lea eax, [ebp - 0x80]
push 0xfffffffffffffff1
push eax
mov dword [ebp - 0x5c], 0x40a7d4
mov dword [ebp - 0x60], 0x40a7c3
call fcn.00457fa0
mov ebx, dword [ebp + 0x9fd0]
add esp, 0x1c
mov esi, 0xa000
jmp 0x40aaae
mov eax, esi
cmp ebx, esi
ja 0x40aa37
mov eax, ebx
and dword [ebp - 0x50], 0
and dword [ebp - 0x6c], 0
sub ebx, eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x70], esi
test eax, eax
jbe 0x40aa95
cmp dword [ebp - 0x70], 0
jne 0x40aa75
push dword [ebp - 0x44]
lea eax, [ebp - 0x40]
push esi
push 1
push eax
call fcn.00437722
lea eax, [ebp - 0x40]
add esp, 0x10
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.004581a0
pop ecx
pop ecx
test eax, eax
jl 0x40ab37
cmp eax, 1
je 0x40aa95
cmp dword [ebp - 0x7c], 0
ja 0x40aa54
mov eax, esi
sub eax, dword [ebp - 0x70]
je 0x40aaae
push dword [ebp - 0x44]
push 1
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00437722
add esp, 0x10
test ebx, ebx
ja 0x40aa2f
lea eax, [ebp - 0x40]
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x70], 0
jne 0x40aae0
push dword [ebp - 0x44]
lea eax, [ebp - 0x40]
push esi
push 1
push eax
call fcn.00437722
lea eax, [ebp - 0x40]
add esp, 0x10
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x80]
push 4
push eax
call fcn.004581a0
pop ecx
pop ecx
test eax, eax
je 0x40aabf
sub esi, dword [ebp - 0x70]
je 0x40ab08
push dword [ebp - 0x44]
lea eax, [ebp - 0x40]
push 1
push esi
push eax
call fcn.00437722
add esp, 0x10
lea eax, [ebp - 0x80]
push eax
call fcn.004596a0
push dword [ebp - 0x44]
call fcn.0043735e
pop ecx
pop ecx
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp + 0x9fc0]
xor ecx, ebp
pop edi
call fcn.00436eab
add ebp, 0x9fc4
leave
ret 0xc
lea eax, [ebp - 0x80]
push eax
call fcn.004596a0
push dword [ebp - 0x44]
call fcn.0043735e
pop ecx
pop ecx
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor al, al
jmp 0x40ab1d
Function at 0x40b4cb
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x1f94]
mov eax, 0x2014
call fcn.00437a10
mov eax, dword [0x4d7590]
xor eax, ebp
mov dword [ebp + 0x1f90], eax
mov eax, dword [ebp + 0x1fa4]
push ebx
mov ebx, dword [ebp + 0x1fa0]
push esi
push edi
mov edi, dword [ebp + 0x1f9c]
mov esi, 0x1fff
push esi
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x6f]
push 0
push eax
mov byte [ebp - 0x70], 0
call fcn.00436ec0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x40b56c
cmp eax, esi
ja 0x40b56c
lea ecx, [ebp - 0x70]
push ecx
push eax
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40b56c
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x4ab884
lea eax, [ebp - 0x70]
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40b56c
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 8]
mov dword [ebx], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x74]
mov dword [ecx], eax
xor eax, eax
inc eax
jmp 0x40b56e
xor eax, eax
mov ecx, dword [ebp + 0x1f90]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00436eab
add ebp, 0x1f94
leave
ret

Function at 0x40b586
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
lea eax, [ebp - 4]
push eax
push 0xf003f
xor esi, esi
push esi
push str.SOFTWARELiveUpdate360_
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40b5b7
xor eax, eax
jmp 0x40b67c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x18]
push ebx
push edi
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x20]
push 4
pop ebx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x4c], 0x4aa19c
mov dword [ebp - 0x48], str.Neverup
mov dword [ebp - 0x44], str.BUseInLimit
mov dword [ebp - 0x40], str.Blimitdown
mov dword [ebp - 0x3c], str.Blimitup
mov dword [ebp - 0x38], str.Downspeed
mov dword [ebp - 0x34], str.Upspeed
mov dword [ebp - 0x30], 0x4ab888
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + esi - 0x2c]
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + esi - 0x4c]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esi, ebx
cmp esi, 0x20
jb 0x40b62a
mov ecx, 0x800
cmp dword [edi], ecx
jbe 0x40b657
mov dword [edi], ecx
xor esi, esi
inc esi
cmp dword [edi], esi
jae 0x40b660
mov dword [edi], esi
mov eax, dword [ebp + 0x20]
pop edi
pop ebx
cmp dword [eax], ecx
jbe 0x40b66b
mov dword [eax], ecx
cmp dword [eax], esi
ja 0x40b671
mov dword [eax], esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
Function at 0x40b67f
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 4]
push eax
mov ebx, 0xf003f
push ebx
push 0
push str.SOFTWARELiveUpdate360_
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
call edi
test eax, eax
je 0x40b704
lea eax, [ebp - 4]
push eax
push ebx
push 0
push str.SOFTWARE
push esi
call edi
test eax, eax
je 0x40b6c9
xor eax, eax
jmp 0x40b7bb
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push str.SOFTWARELiveUpdate360_
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40b6c2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push ebx
push 0
push str.SOFTWARELiveUpdate360_
push esi
call edi
test eax, eax
jne 0x40b6c2
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x48], 0x4aa19c
mov dword [ebp - 0x44], str.Neverup
mov dword [ebp - 0x40], str.BUseInLimit
mov dword [ebp - 0x3c], str.Blimitdown
mov dword [ebp - 0x38], str.Blimitup
mov dword [ebp - 0x34], str.Downspeed
mov dword [ebp - 0x30], str.Upspeed
mov dword [ebp - 0x2c], 0x4ab888
mov dword [ebp - 0xc], eax
xor esi, esi
push 4
push dword [ebp + esi - 0x28]
push 4
push 0
push dword [ebp + esi - 0x48]
push dword [ebp - 4]
call edi
add esi, 4
cmp esi, 0x20
jb 0x40b774
mov esi, 0x4ab91c
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
push 0x4a9da0
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret