joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45060b
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [0x4f53f8]
push edi
test eax, eax
je 0x450632
xor ebx, ebx
cmp dword [esi + 4], ebx
jne 0x45062d
mov dword [esi + 4], eax
mov byte [esi + 8], bl
mov edi, dword [ebp + 0x10]
jmp 0x450689
mov ecx, dword [ebp + 8]
lea edi, [esi + 0x10]
push 3
push 1
push SysReAllocString
call fcn.00412374
push eax
mov ecx, edi
call fcn.0040e68e
test al, al
jne 0x450659
xor al, al
jmp 0x4506e4
push ecx
push dword [edi]
mov ecx, esi
call fcn.004580cd
test al, al
je 0x450652
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.0040f740
test al, al
je 0x450686
lea eax, [ebp - 8]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov edi, dword [ebp - 8]
cmp dword [esi + 4], 0
jne 0x450693
mov eax, ebx
jmp 0x4506a1
push ebx
push ebx
push ebx
push 4
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0xc], eax
test eax, eax
je 0x450652
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + eax + 0x98], ebx
je 0x4506bb
mov ebx, dword [ecx + eax + 0x9c]
sub eax, ebx
add eax, 0xfffffd58
push 0x2a8
add eax, edi
push eax
push 0x4f5150
call fcn.0046b1b0
add esp, 0xc
cmp dword [0x4f5150], 0x19860403
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x450faa
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x45c
mov eax, 0x4b8b17
call fcn.00469c08
push 4
pop eax
mov dword [ebp - 0x468], eax
xor ebx, ebx
mov dword [ebp - 0x464], eax
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x460]
mov dword [ebp - 0x460], ebx
push eax
lea eax, [ebp - 0x468]
push eax
push str.InstallException
push 0x4d5798
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x451011
cmp dword [ebp - 0x460], 0xff
jne 0x451011
mov byte [0x64], 0x64
mov eax, dword [0x4fac94]
cmp eax, dword [0x4fac98]
je 0x4510e7
call fcn.00450f4f
mov esi, eax
call fcn.00450f6e
mov edi, eax
cmp esi, 1
je 0x4510d4
cmp esi, 2
je 0x4510d4
cmp esi, 3
je 0x4510d4
lea ecx, [ebp - 0x45c]
call fcn.00411071
push 0x4d5cfc
lea eax, [ebp - 0x45c]
mov dword [ebp - 4], ebx
push 0x4d5cd0
push eax
call fcn.00411005
pop ecx
pop ecx
push eax
call fcn.00411005
push 0xa
mov esi, eax
lea eax, [ebp - 0x50]
push 0x20
push eax
push edi
call fcn.0046f50b
add esp, 0x18
lea eax, [ebp - 0x50]
push 0x4d5c9c
push eax
push esi
call fcn.00411005
pop ecx
pop ecx
push eax
call fcn.00411005
pop ecx
pop ecx
push 0x30
push 0x4d5c5c
lea ecx, [ebp - 0x45c]
call fcn.00412324
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, str.http:__ie.sogou.com_bbs_forum.php_modforumdisplayfid33
call fcn.004530e6
lea ecx, [ebp - 0x45c]
call fcn.0041104c
jmp 0x4510e7
push 0x30
push 0x4d5c5c
push 0x4d5ca0
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
call fcn.00469bb2
ret
Function at 0x451724
Capabilities:
Enumerate processes

Disassembly:
push 0x2a4
mov eax, 0x4b8b92
call fcn.00469c08
mov dword [ebp - 0x2ac], edx
mov dword [ebp - 0x2a4], ecx
push 0
push 2
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x4518de
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x29c], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x4518cf
mov ecx, dword [ebp - 0x2a4]
xor esi, esi
mov dword [ebp - 0x2a8], esi
call fcn.0040c30a
test eax, eax
jle 0x4518c1
and dword [ebp - 0x2a0], esi
mov ecx, dword [ebp - 0x2a4]
call fcn.0040c92d
mov ecx, dword [eax]
add ecx, dword [ebp - 0x2a0]
call fcn.00412374
push eax
lea eax, [ebp - 0x278]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x451887
mov eax, dword [ebp - 0x2ac]
test eax, eax
je 0x4518bf
push eax
lea ecx, [ebp - 0x58]
call fcn.0041185a
and dword [ebp - 4], 0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041de82
pop ecx
pop ecx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.004123b1
push dword [ebp - 0x294]
mov ecx, 0x410
call fcn.00455092
mov dword [ebp - 0x2b0], eax
test eax, eax
je 0x45187b
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.00451be4
mov ecx, dword [ebp - 0x2b0]
mov byte [ebp - 4], 3
call fcn.00454f9f
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0041de82
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0040c768
lea ecx, [ebp - 0x70]
call fcn.004123b1
lea ecx, [ebp - 0x40]
call fcn.00412374
mov esi, eax
push esi
call fcn.00411811
pop ecx
push eax
push 0
push esi
lea ecx, [ebp - 0x28]
call fcn.0040ce05
lea ecx, [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4518aa
call fcn.004123b1
mov esi, dword [ebp - 0x2a8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004123b1
mov ecx, dword [ebp - 0x2a4]
inc esi
add dword [ebp - 0x2a0], 0x18
mov dword [ebp - 0x2a8], esi
call fcn.0040c30a
cmp esi, eax
jl 0x451794
jmp 0x4518c1
mov bl, 1
call fcn.004123b1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004123b1
jmp 0x4518c1
mov bl, 1
lea eax, [ebp - 0x29c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x451773
mov ecx, edi
call fcn.00454f9f
mov al, bl
call fcn.00469bb2
ret
Function at 0x4530e6
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4ec06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
test esi, esi
je 0x453170
xor eax, eax
cmp ax, word [esi]
je 0x453170
push edi
push 0x208
xor edi, edi
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0046d6f0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push str._ProgramFiles_Internet_ExplorerIExplore.exe
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x453156
lea ecx, [ebp - 0x20c]
call fcn.0045506c
test eax, eax
je 0x453156
push 5
push edi
push esi
lea eax, [ebp - 0x20c]
push eax
jmp 0x45315b
push 5
push edi
push edi
push esi
push 0x4d6100
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
pop edi
setg al
jmp 0x453172
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004690ca
mov esp, ebp
pop ebp
ret

Function at 0x45345c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4ec06c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x218], 0
lea eax, [ebp - 0x20c]
push esi
push 0x208
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x210], esi
call fcn.0046d6f0
add esp, 0xc
mov dword [ebp - 0x214], 0x104
lea eax, [ebp - 0x214]
mov dword [ebp - 0x210], 1
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x210]
push eax
push str.Start_Page
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.0041185a
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004690ca
mov esp, ebp
pop ebp
ret

Function at 0x453a44
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x453a9f
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x453a90
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x453a8c
cmp esi, ecx
jae 0x453a90
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x453a7a
cmp esi, ecx
jb 0x453a94
xor eax, eax
jmp 0x453a9e
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x453f3d
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0x4c
mov eax, 0x4b8f09
call fcn.00469c08
mov dword [ebp - 0x58], edx
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [ebp - 0x50], eax
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jns 0x453f6d
xor al, al
jmp 0x4540c6
xor ecx, ecx
mov byte [ebp - 0x45], cl
mov dword [ebp - 0x44], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x4c], ecx
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
push 0x4ca9c0
push 1
push ecx
push 0x4ca9f0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x453fc5
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x453fab
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x4540bd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4540bd
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x4c]
push edx
push 0x4caa00
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x453f9a
mov esi, dword [ebp - 0x44]
mov ecx, ebx
mov edi, dword [esi]
call fcn.00412374
push eax
push esi
call dword [edi + 0x50]
test eax, eax
jne 0x453f9a
mov esi, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x54]
mov edi, dword [esi]
call fcn.00412374
push eax
push esi
call dword [edi + 0x2c]
test eax, eax
jne 0x453f9a
mov ecx, ebx
call fcn.00412374
push eax
lea ecx, [ebp - 0x40]
call fcn.0041185a
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.004533ff
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.004123b1
mov esi, dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
mov edi, dword [esi]
call fcn.00412374
push eax
push esi
call dword [edi + 0x24]
test eax, eax
je 0x454053
lea ecx, [ebp - 0x28]
call fcn.004123b1
jmp 0x453f9a
mov ecx, dword [ebp - 0x50]
call fcn.0040c5b7
mov esi, dword [ebp - 0x44]
push dword [ebp + 0x10]
mov edi, dword [esi]
test al, al
jne 0x4540cc
mov ecx, dword [ebp - 0x50]
call fcn.00412374
push eax
push esi
call dword [edi + 0x44]
test eax, eax
jne 0x454046
mov esi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x58]
push eax
mov edi, dword [esi]
call fcn.00412374
push eax
push esi
call dword [edi + 0x18]
lea ecx, [ebp - 0x28]
test eax, eax
jne 0x454049
mov byte [ebp - 0x45], 1
call fcn.004123b1
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x4540ac
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x4540bd
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, byte [ebp - 0x45]
call fcn.00469bb2
ret
mov ecx, ebx
jmp 0x45406a
Function at 0x454b82
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
cmp dword [edi], esi
je 0x454b9a
inc esi
jmp 0x454bfb
lea eax, [ebp - 8]
push eax
push 0x4d618c
push 1
push esi
push 0x4d619c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x454bba
push 2
pop esi
jmp 0x454be1
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
jns 0x454bcf
push 3
jmp 0x454bb7
mov eax, dword [ebp - 4]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push 4
test eax, eax
pop ecx
cmovs esi, ecx
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x454bee
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 8]
test eax, eax
je 0x454bfb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x455041
Capabilities:
Set file attributes

Disassembly:
push esi
mov esi, dword [0x4f53fc]
test esi, esi
je 0x455062
cmp dword [esi + 0x90], 0
je 0x455062
mov eax, dword [esi]
push edx
push ecx
push esi
call dword [eax + 0x90]
pop esi
ret
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop esi
ret

Function at 0x455298
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x4ec06c]
xor eax, esp
mov dword [esp + 0x20], eax
cmp byte [0x4fb418], 0
push ebx
push esi
push edi
mov esi, 0x4fb418
jne 0x4553a8
and dword [esp + 0x10], 0
lea ecx, [esp + 0x14]
push 0xfde9
push 0xffffffffffffffff
mov edx, 0x4d5798
mov dword [esp + 0x14], 0x40
call fcn.0042218f
pop ecx
pop ecx
lea ecx, [esp + 0xc]
push ecx
push esi
lea ecx, [esp + 0x18]
push ecx
push 0x4d61c8
mov ecx, eax
call fcn.004122e7
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
lea ecx, [esp + 0x14]
setne bl
call fcn.0041207b
test bl, bl
je 0x4553a8
and dword [esp + 0x14], 0
lea edi, [esp + 0x18]
xor eax, eax
lea ecx, [esp + 0x14]
stosd dword es:[edi], eax
xor edx, edx
push 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0042b729
pop ecx
test al, al
je 0x45535c
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x20]
push str._08X_08X_08X_08X
push esi
call fcn.0041e8d9
add esp, 0x18
push 0xfde9
push 0xffffffffffffffff
mov edx, 0x4d5798
lea ecx, [esp + 0x1c]
call fcn.0042218f
mov edi, 0x4fb418
mov esi, eax
push edi
call fcn.0046f210
add esp, 0xc
mov ecx, esi
push eax
push edi
push 1
push 0x4d61c8
call fcn.004122e7
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
lea ecx, [esp + 0x14]
call fcn.0041207b
mov esi, edi
mov ecx, dword [esp + 0x2c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004690ca
mov esp, ebp
pop ebp
ret
Function at 0x45544d
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push 0x484
mov eax, 0x4b9215
call fcn.00469c08
mov edi, edx
mov esi, ecx
lea ecx, [ebp - 0x480]
call fcn.00411071
xor ebx, ebx
lea ecx, [ebp - 0x274]
mov dword [ebp - 4], ebx
call fcn.00411071
lea eax, [ebp - 0x274]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x480]
mov ecx, esi
push eax
push dword [ebp + 8]
push edi
call fcn.0045cad5
add esp, 0x10
lea ecx, [ebp - 0x480]
call fcn.0041298e
push eax
lea ecx, [ebp - 0x28]
call fcn.0041201a
push ebx
push 0x4d61d4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0041e4e2
or edi, 0xffffffff
cmp eax, edi
je 0x455655
push edi
add eax, 3
lea ecx, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00426f54
push eax
lea ecx, [ebp - 0x28]
call fcn.00426fae
lea ecx, [ebp - 0x40]
call fcn.0041207b
push ebx
push 0x4d340c
lea ecx, [ebp - 0x28]
call fcn.0041e4e2
mov esi, eax
cmp esi, edi
je 0x455655
push edi
push esi
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x28]
call fcn.00426f54
push esi
push ebx
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x28]
call fcn.00426f54
push eax
lea ecx, [ebp - 0x28]
call fcn.00426fae
lea ecx, [ebp - 0x40]
call fcn.0041207b
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
mov dword [ebp - 0x48c], edi
test edi, edi
je 0x45564d
push ebx
push ebx
push 3
mov eax, 0x4d294c
lea ecx, [ebp - 0x28]
push eax
push eax
push 0x50
call fcn.004122e7
push eax
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, eax
mov dword [ebp - 0x490], esi
test esi, esi
je 0x45564a
xor eax, eax
lea ecx, [ebp - 0x68]
push eax
push eax
push eax
push eax
push eax
call fcn.004122e7
push eax
push str.POST
push esi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
je 0x455642
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x4c]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x274]
mov dword [ebp - 0x50], 0x28
call fcn.0040c535
push 0
push 0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x50]
push 0
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
je 0x45562c
lea ecx, [ebp - 0x274]
call fcn.0040c535
lea ecx, [ebp - 0x274]
mov edi, eax
call fcn.0041298e
and dword [ebp - 0x484], 0
test edi, edi
je 0x45562c
mov ebx, eax
lea eax, [ebp - 0x484]
push eax
push edi
push ebx
push esi
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x455626
add ebx, dword [ebp - 0x484]
sub edi, dword [ebp - 0x484]
jne 0x455604
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpEndRequestW]
push esi
call ebx
mov edi, dword [ebp - 0x48c]
push dword [ebp - 0x490]
call ebx
push edi
call ebx
lea ecx, [ebp - 0x68]
call fcn.0041207b
lea ecx, [ebp - 0x28]
call fcn.0041207b
lea ecx, [ebp - 0x274]
call fcn.0041104c
lea ecx, [ebp - 0x480]
call fcn.0041104c
call fcn.00469bb2
ret
Function at 0x455890
Capabilities:
Delete registry key

Disassembly:
push 0x40
mov eax, 0x4b924d
call fcn.00469c08
mov edi, edx
mov dword [ebp - 0x4c], ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x40]
mov ebx, dword [ebp + 0xc]
push edi
call fcn.0041185a
and dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 0x4d2b00
call fcn.0040ef7b
push esi
lea ecx, [ebp - 0x40]
call fcn.0040ef7b
push edi
lea ecx, [ebp - 0x28]
call fcn.0041185a
push 0x4d2b00
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040ef7b
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040c6ec
and dword [ebp - 0x44], 0
lea eax, [ebp - 0x44]
and dword [ebp - 0x48], 0
xor bl, bl
push eax
push ecx
push ecx
lea ecx, [ebp - 0x40]
call fcn.00412374
mov esi, dword [ebp - 0x4c]
mov edx, eax
mov ecx, esi
call fcn.00454e9a
add esp, 0xc
test eax, eax
jne 0x4559ab
lea ecx, [ebp - 0x28]
call fcn.00412374
mov edx, eax
mov ecx, esi
call fcn.00422a91
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x28]
call fcn.00412374
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x455993
xor esi, esi
push esi
push dword [ebp - 0x48]
push esi
push dword [ebp - 0x44]
call dword [sym.imp.SHLWAPI.dll_SHCopyKeyW]
mov ebx, eax
neg ebx
sbb bl, bl
add bl, 1
je 0x455993
mov ecx, dword [0x4f53fc]
test ecx, ecx
je 0x455985
cmp dword [ecx + 0x84], esi
je 0x455985
mov eax, dword [ecx]
push 0x4d2648
push dword [ebp - 0x44]
push ecx
call dword [eax + 0x84]
jmp 0x455993
push 0x4d2648
push dword [ebp - 0x44]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x45599f
call fcn.00454ed8
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x4559ab
call fcn.00454ed8
lea ecx, [ebp - 0x28]
call fcn.004123b1
lea ecx, [ebp - 0x40]
call fcn.004123b1
mov al, bl
call fcn.00469bb2
ret
Function at 0x455af9
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x4ec06c]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
push 0x23c
push 0x19a
xor ebx, ebx
mov edi, ecx
push ebx
push ebx
lea ecx, [esp + 0x34]
mov dword [esp + 0x24], edi
call fcn.00416084
mov edx, eax
lea ecx, [esp + 0x34]
call fcn.00457451
push ebx
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.00414064
cmp dword [0x4f0b40], 0
lea ebx, [edi + 0x150]
mov dword [esp + 0x10], ebx
jne 0x455b61
call fcn.004131ad
mov dword [0x4f0b40], eax
lea eax, [ebx + 0x20]
mov ecx, 0x4f0b10
push eax
call fcn.00413fe0
push 0x86000000
movzx ebx, ax
call fcn.004131cc
mov edi, eax
mov dword [esp], 0x40008
call fcn.004131be
pop ecx
mov ecx, dword [esp + 0x10]
push 0
push ebx
push dword [esp + 0x14]
push eax
push edi
push 0
push esi
xor esi, esi
push esi
call fcn.004131da
mov ebx, dword [esp + 0x14]
push esi
lea edi, [ebx + 0x154]
mov ecx, edi
call fcn.0041d882
push 5
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 0x32c]
lea ecx, [esp + 0x1c]
cdq
sub eax, edx
sar eax, 1
push eax
push eax
call fcn.00410fd6
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x34]
add eax, 0x23c
push eax
mov eax, dword [esp + 0x20]
add eax, 0x19a
push eax
push esi
push esi
call fcn.00416084
mov edx, eax
lea ecx, [esp + 0x24]
call fcn.00457451
push 0
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.00414064
mov eax, dword [edi]
add ebx, 0x2e0
cmp dword [0x4f0ab0], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], ebx
jne 0x455c2f
call fcn.004131ad
mov dword [0x4f0ab0], eax
lea eax, [ebx + 0x20]
mov ecx, 0x4f0a80
push eax
call fcn.00413fe0
push 0x96000000
movzx ebx, ax
call fcn.004131cc
mov edi, eax
mov dword [esp], 0x80800a0
call fcn.004131be
pop ecx
mov ecx, dword [esp + 0x18]
push 0
push ebx
push dword [esp + 0x18]
push eax
push edi
push str.SEInstallerBorder
push esi
push dword [esp + 0x28]
call fcn.004131da
mov ecx, dword [esp + 0x14]
call fcn.00455c92
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004690ca
mov esp, ebp
pop ebp
ret 8
Function at 0x456a2d
Capabilities:
Check mutex on windows

Disassembly:
push 0x620
mov eax, 0x4b94d9
call fcn.00469c08
mov edi, ecx
xor ebx, ebx
inc ebx
test dl, dl
je 0x456a9b
lea ecx, [ebp - 0x21c]
call fcn.00411071
push 0x20
lea eax, [ebp - 0x21c]
xor esi, esi
push edi
push eax
mov dword [ebp - 4], esi
call fcn.00412821
pop ecx
pop ecx
push eax
call fcn.0041f997
pop ecx
pop ecx
lea ecx, [ebp - 0x21c]
call fcn.0041298e
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
mov esi, eax
mov dword [ebp - 0x62c], esi
call fcn.0041104c
jmp 0x456af2
lea ecx, [ebp - 0x628]
call fcn.00411071
push edi
lea eax, [ebp - 0x628]
mov dword [ebp - 4], ebx
push str.Global_
push eax
call fcn.00411005
pop ecx
pop ecx
push eax
call fcn.00411005
pop ecx
pop ecx
lea ecx, [ebp - 0x628]
call fcn.00412324
push eax
xor esi, esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x628]
mov esi, eax
mov dword [ebp - 0x62c], esi
call fcn.0041104c
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
je 0x456b10
call edi
cmp eax, 0xb7
jne 0x456b10
mov ecx, esi
call fcn.00454f9f
mov eax, ebx
jmp 0x456b2a
call edi
cmp eax, 5
je 0x456b0c
lea eax, [ebp - 0x62c]
mov ecx, 0x4fadd0
push eax
call fcn.00451d08
xor eax, eax
call fcn.00469bb2
ret

Function at 0x456b65
Capabilities:
Read file via mapping

Disassembly:
push esi
push str.LocalSEInstallerPreUpdatePID
push 4
xor esi, esi
push esi
push 4
push esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test eax, eax
je 0x456ba4
push 4
push esi
push esi
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x456ba4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push esi
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
pop esi
ret

Function at 0x456ba6
Capabilities:
Read file via mapping
Terminate process

Disassembly:
push esi
push edi
push str.LocalSEInstallerPreUpdatePID
xor esi, esi
mov edi, 0xf001f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
test eax, eax
je 0x456c06
push 4
push esi
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x456c06
cmp dword [esi], 0
je 0x456c06
push dword [esi]
xor ecx, ecx
inc ecx
call fcn.00455092
mov edi, eax
test edi, edi
je 0x456bff
push 1
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, edi
call fcn.00454f9f
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
pop edi
pop esi
ret