joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40800a
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, 0x440
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
je 0x4081bd
push dword [ebp + 8]
mov esi, dword [sym.imp.MSVCRT.dll_wcslen]
call esi
test eax, eax
pop ecx
je 0x4081bd
mov edx, 0x81
push edi
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x236]
mov word [ebp - 0x238], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x43e]
mov word [ebp - 0x440], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
lea eax, [ebp - 0x440]
push 0x26
push eax
push ebx
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x10], 0x208
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x440]
push eax
push str._sInternet_Exploreriexplore.exe
lea eax, [ebp - 0x238]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x10
lea eax, [ebp - 0x238]
push eax
call edi
test eax, eax
jne 0x4080ef
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x466094
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x238]
push eax
call edi
test eax, eax
jne 0x4080ef
mov word [ebp - 0x238], bx
lea eax, [ebp - 0x238]
push eax
call esi
pop ecx
pop edi
test eax, eax
jbe 0x408122
push 0xa
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x238]
push eax
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4081b8
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push 0x435320
push 0x15
push ebx
push 0x4352e0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4081bd
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x4081b8
lea edx, [ebp - 4]
mov dword [ebp - 4], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x94]
cmp dword [ebp - 4], ebx
je 0x408170
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 1
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea edx, [ebp - 0x20]
mov esi, eax
push edx
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x20]
mov word [ebp - 0x20], bx
push edx
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x30]
mov word [ebp - 0x30], 8
mov dword [ebp - 0x28], esi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xd0]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 1
pop eax
jmp 0x4081bf
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x408ed0
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor edx, edx
mov ecx, 0x467508
push 8
mov eax, edx
pop esi
test al, 1
je 0x408eea
shr eax, 1
xor eax, 0xedb88320
jmp 0x408eec
shr eax, 1
dec esi
jne 0x408edd
mov dword [ecx], eax
add ecx, 4
inc edx
cmp ecx, 0x467908
jl 0x408ed8
pop esi
ret

Function at 0x409287
Capabilities:
Check mutex on windows

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, ecx
and byte [esi], 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4092e3
push dword [esp + 0xc]
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
test edi, edi
je 0x4092e3
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4092d2
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push edi
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov byte [esi], 1
mov eax, esi
pop edi
pop esi
ret 4
Function at 0x413591
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x41360e
cmp dword [esi + 4], 0xffffffff
jne 0x41360e
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x43e5b4
push edi
call dword [sym.imp.MSVCRT.dll_wcscat]
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop edi
jne 0x4135e0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x4135e0
mov eax, 0x2000000
jmp 0x413613
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00412407
add esp, 0x10
test eax, eax
jne 0x4135fe
mov eax, dword [ebp - 4]
jmp 0x413613
push eax
call fcn.00412901
mov dword [esi], eax
mov eax, dword [0x469708]
pop ecx
jmp 0x413613
mov eax, 0x1000000
pop esi
leave
ret 0xc

Function at 0x4139fe
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x413aa1
mov cx, word [edi]
test cx, cx
je 0x413aa1
mov eax, edi
mov edx, edi
cmp cx, 0x2f
je 0x413a2f
cmp cx, 0x5c
jne 0x413a31
mov eax, edx
inc edx
inc edx
mov cx, word [edx]
test cx, cx
jne 0x413a23
cmp eax, edi
je 0x413a71
sub eax, edi
push esi
mov esi, eax
lea eax, [ebp - 0x208]
sar esi, 1
push esi
push edi
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
and word [ebp + esi*2 - 0x208], 0
lea eax, [ebp - 0x208]
push eax
push dword [ebp + 8]
call fcn.004139fe
add esp, 0x14
pop esi
push dword [ebp + 8]
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
lea eax, [ebp - 0x410]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 0x10
lea eax, [ebp - 0x410]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
leave
ret
Function at 0x414a68
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
push ebx
push esi
push dword [ebp + 8]
mov esi, ecx
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], 1
call fcn.00404707
xor ebx, ebx
lea ecx, [ebp - 4]
push ebx
push 0x43ed3c
call fcn.00404a42
cmp eax, ebx
jle 0x414bf1
add eax, 2
push edi
push eax
lea eax, [ebp - 8]
push ebx
push eax
lea ecx, [ebp - 4]
call fcn.004182b1
xor eax, eax
lea edi, [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x2c], ebx
stosd dword es:[edi], eax
lea edi, [ebp - 0x28]
mov dword [ebp - 0x14], ebx
stosd dword es:[edi], eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x414be8
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
push 0x14
pop ecx
call fcn.004324a0
mov edx, eax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x232]
mov word [ebp - 0x234], bx
cmp edx, 0x400
rep stosd dword es:[edi], eax
mov dword [ebp + 8], edx
stosw word es:[edi], ax
jb 0x414b48
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ebx
fild qword [ebp - 0x24]
push ecx
push ecx
lea eax, [ebp - 0x234]
fmul dword [0x435118]
fstp qword [esp]
push str._.2f_GB
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
jmp 0x414b63
push edx
push str._d_MB
lea eax, [ebp - 0x234]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
push 0x43ed18
call dword [sym.imp.MSVCRT.dll__wtoi]
cmp eax, dword [ebp + 8]
pop ecx
jbe 0x414be8
mov dword [esi + 0xa40], 0x4545c8
mov eax, dword [0x43b4ec]
mov dword [ebp + 8], eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp + 8]
mov dword [ebp - 0xc], ebx
call fcn.00404768
mov edi, str.iRYOzz
mov eax, edi
test eax, eax
je 0x414ba7
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
lea ecx, [ebp + 8]
call fcn.00404d06
push dword [ebp + 8]
mov edi, 0x407
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp + 8]
mov dword [esi + 0xf54], 1
call fcn.00404beb
lea ecx, [ebp - 8]
call fcn.00404beb
pop edi
lea ecx, [ebp - 4]
call fcn.00404beb
mov eax, dword [ebp - 0xc]
pop esi
pop ebx
leave
ret 4
Function at 0x415409
Capabilities:
Check if file exists
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa20
push ebx
push esi
push edi
call fcn.0041cb69
add eax, 0x4c
lea ecx, [ebp - 8]
push eax
call fcn.004046c1
lea eax, [ebp - 8]
push str.pluginbar.dll
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418311
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
test eax, eax
je 0x4154ac
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x4154ac
push str.InitPluginbar
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x469714], eax
je 0x4154ac
and word [ebp - 0x220], 0
push dword [ebp - 8]
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x21e]
push 0x43baa0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x220]
push 0x103
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x220]
push eax
call dword [0x469714]
and word [ebp - 0xa20], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0xa1e]
rep stosd dword es:[edi], eax
and dword [ebp - 0x10], 0
push 4
pop ebx
mov dword [ebp - 0xc], 1
stosw word es:[edi], ax
push str.Software360360se5
push str._sdefaultFAV
lea eax, [ebp - 0xa20]
push 0x3ff
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
call esi
add esp, 0x10
lea eax, [ebp - 0x18]
mov edi, str.isinit
mov esi, SysReAllocString
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xa20]
push edi
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x415523
cmp dword [ebp - 0x10], 1
je 0x415538
lea eax, [ebp - 0xc]
push ebx
push eax
push ebx
lea eax, [ebp - 0xa20]
push edi
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, 0x468e74
pop edi
mov ecx, eax
pop esi
test ecx, ecx
pop ebx
je 0x41555d
cmp word [0x468e74], 0
je 0x41555d
push 0xbb8
push eax
call fcn.00427742
pop ecx
pop ecx
call fcn.0041cb69
mov ecx, eax
call fcn.00422980
lea ecx, [ebp - 4]
call fcn.00404beb
lea ecx, [ebp - 8]
call fcn.00404beb
leave
ret

Function at 0x41557b
Capabilities:
Hide graphical window

Disassembly:
add ecx, 0xbfc
jmp 0x418a01
mov eax, dword [ecx + 4]
test eax, eax
je 0x418a11
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x415586
Capabilities:
Check if file exists
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov ebx, 0xbb8
cmp dword [esi + 0x6c8], edi
je 0x4155b0
push ebx
push str.360sess.exe
call fcn.004275b5
pop ecx
pop ecx
cmp dword [esi + 0x6c4], edi
je 0x415625
mov word [ebp - 0x218], di
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x216]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, 0x43ece4
push edi
call fcn.0041cb69
push dword [eax + 0x4c]
lea eax, [ebp - 0x218]
push 0x43c530
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
push ebx
push edi
call fcn.004275b5
add esp, 0x1c
lea eax, [ebp - 4]
mov dword [ebp - 4], 1
push 4
push eax
push 4
push str.InstallKillProcess
push str.Software360360se5
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
xor edi, edi
cmp dword [esi + 0x38], edi
je 0x41573b
cmp word [esi + 0x3c], di
lea ebx, [esi + 0x3c]
je 0x41573b
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41573b
mov eax, dword [esi + 0x38]
cmp eax, 1
jne 0x41565e
push ebx
call fcn.004241fc
pop ecx
jmp 0x41573b
cmp eax, 2
jne 0x41573b
call fcn.0041cb69
add eax, 0x4c
lea ecx, [ebp - 4]
push eax
call fcn.004046c1
push ebx
lea ecx, [ebp - 8]
call fcn.00404707
mov eax, dword [0x43b4ec]
push edi
push dword [ebp - 8]
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], eax
call fcn.00404a42
cmp eax, 0xffffffff
je 0x415723
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov eax, dword [eax - 8]
sub eax, dword [ecx - 8]
lea ecx, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00404803
push eax
lea ecx, [ebp - 0xc]
call fcn.00404768
lea ecx, [ebp - 0x10]
call fcn.00404beb
push 1
push 0x43e5b4
lea ecx, [ebp - 0xc]
call fcn.00404a42
cmp eax, 0xffffffff
je 0x415701
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xc]
call fcn.004047b8
mov eax, dword [eax]
lea ecx, [ebp - 8]
push eax
push dword [eax - 8]
call fcn.00404d06
lea ecx, [ebp - 0x10]
call fcn.00404beb
jmp 0x415710
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 8]
push eax
push dword [eax - 8]
call fcn.00404d06
push dword [ebp - 8]
mov eax, 0x466094
push eax
push eax
push ebx
call fcn.00424552
add esp, 0x10
lea ecx, [ebp - 0xc]
call fcn.00404beb
lea ecx, [ebp - 8]
call fcn.00404beb
lea ecx, [ebp - 4]
call fcn.00404beb
call fcn.0041cb69
mov ecx, eax
call fcn.00423643
mov ecx, esi
call fcn.00416700
push 0xc8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push edi
push dword [esi + 0x628]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi + 0x624]
call fcn.0041c336
push 3
pop eax
push eax
mov dword [esi + 0x460], eax
call fcn.0040755c
pop ecx
push eax
push 0x3e8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x415c7d
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
mov esi, ecx
xor eax, eax
cmp dword [esi + 0xf6c], eax
je 0x415d3b
cmp dword [esi + 0x460], 3
jg 0x415d3b
cmp dword [esi + 0x34], eax
jne 0x415d3b
cmp dword [esi + 0x38], eax
jne 0x415d3b
push edi
mov ecx, 0x81
lea edi, [ebp - 0x20a]
mov word [ebp - 0x20c], ax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call fcn.0041cb69
push dword [eax + 0x4c]
lea eax, [ebp - 0x20c]
push 0x43baa0
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
call fcn.0041cb69
add eax, 0x44
lea ecx, [ebp - 4]
push eax
call fcn.004046c1
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x415d20
lea eax, [ebp - 0x20c]
push eax
call fcn.004241fc
pop ecx
push dword [ebp - 4]
call edi
test eax, eax
pop edi
je 0x415d33
push dword [ebp - 4]
call fcn.004241fc
pop ecx
lea ecx, [ebp - 4]
call fcn.00404beb
mov ecx, esi
call fcn.00415d93
call fcn.0040749a
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop esi
leave
ret

Function at 0x415d93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1058
call fcn.00432320
lea eax, [ebp - 4]
push esi
push eax
xor esi, esi
push str.SoftwareIEStub
push SysReAllocString
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x415eae
push edi
mov ecx, 0x411
lea edi, [ebp - 0x1056]
mov word [ebp - 0x1058], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 8]
mov edi, 0x823
push eax
lea eax, [ebp - 0x1058]
push eax
push esi
push dword [ebp - 4]
mov esi, dword [sym.imp.SHLWAPI.dll_SHEnumKeyExW]
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], 1
call esi
test eax, eax
jne 0x415e8e
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll__wcsnicmp]
push 6
lea eax, [ebp - 0x1058]
push str.8CLSID
push eax
call ebx
add esp, 0xc
test eax, eax
je 0x415e56
push 0x12
lea eax, [ebp - 0x1058]
push str.8Internet_Explorer
push eax
call ebx
add esp, 0xc
test eax, eax
je 0x415e56
push 0x12
lea eax, [ebp - 0x1058]
push str.8Internet_Settings
push eax
call ebx
add esp, 0xc
test eax, eax
jne 0x415e59
inc dword [ebp - 0xc]
push 0
lea eax, [ebp - 0x1058]
push 0x1048
push eax
mov dword [ebp - 8], edi
call sub.MSVCRT.dll_memset
mov eax, dword [ebp - 0x10]
add esp, 0xc
lea ecx, [ebp - 8]
inc dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1058]
push ecx
push eax
push dword [ebp - 4]
call esi
test eax, eax
je 0x415e11
pop ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], 3
pop edi
jne 0x415eae
push str.SoftwareIEStub
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
pop esi
leave
ret
Function at 0x419305
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
push ebx
push esi
lea eax, [ebp - 0x14]
push edi
mov esi, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [esi + 0x60]
xor ebx, ebx
mov ecx, 0x1ff
xor eax, eax
push dword [ebp + 8]
lea edi, [ebp - 0x812]
mov word [ebp - 0x814], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [ebp - 0x814]
push 0x400
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x4193f0
push 1
pop edi
push edi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetBkMode]
push ebx
push ebx
push 0x31
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp + 8]
call ebx
push 0xfffffffffffffff0
mov dword [ebp - 4], eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test ah, 3
je 0x41939f
push edi
jmp 0x4193af
test ah, 1
je 0x4193a8
xor edi, edi
jmp 0x4193b0
test ah, 2
je 0x4193b0
push 2
pop edi
mov eax, dword [esi + 0x40]
and eax, 4
cmp al, 4
jne 0x4193c8
push 1
lea eax, [ebp - 0x14]
push 1
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esi + 0x64]
or edi, 0x24
sub dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push edi
push eax
lea eax, [ebp - 0x814]
push 0xffffffffffffffff
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 4]
push dword [ebp + 8]
call ebx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41a696
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
lea eax, [ebp - 0x18]
push edi
mov esi, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x80]
cmp eax, 0xffffffff
jne 0x41a6cc
push 9
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [esi + 0x20]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 8]
call ebx
push dword [esi + 4]
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x41a753
lea edi, [eax + 1]
lea eax, [edi + edi]
add eax, 3
and al, 0xfc
call fcn.00432320
mov dword [ebp - 4], esp
push edi
push dword [ebp - 4]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x41a753
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
xor ecx, ecx
test al, 1
je 0x41a72d
push 1
jmp 0x41a733
test al, 2
je 0x41a734
push 2
pop ecx
test al, 0xb
je 0x41a73b
push 0x24
pop ecx
or cx, 0x210
lea eax, [ebp - 0x18]
push ecx
push eax
push 0xffffffffffffffff
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 8]
push dword [ebp + 8]
call ebx
lea esp, [ebp - 0x24]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41bb3e
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x58], edi
je 0x41bb7c
call fcn.0041c54b
test eax, eax
je 0x41bb82
lea eax, [ebp - 8]
push eax
push 4
push esi
push 0x41bfe8
push edi
push edi
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
cmp eax, edi
mov dword [esi + 0x74], eax
je 0x41bb7c
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
pop edi
pop esi
leave
ret
mov eax, dword [esi + 0x7c]
cmp eax, edi
je 0x41bb7c
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0x7c]
lea edx, [ebp - 4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 4]
push edi
neg edx
push edx
mov eax, dword [esi + 0x7c]
push dword [ebp - 8]
mov ecx, dword [eax]
push dword [ebp - 4]
push edi
push dword [esi + 0x34]
push dword [esi + 0x30]
push edi
push edi
push dword [esi + 0x5c]
push eax
call dword [ecx + 0x20]
test eax, eax
jne 0x41bb7c
push edi
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 1
pop eax
jmp 0x41bb7e

Function at 0x41bc94
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4685b0]
push esi
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x41bd46
mov eax, dword [0x4685b0]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41bd46
mov eax, dword [0x4685b0]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x41bd3f
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x41bd38
cmp dword [ebp + 0xc], 0
je 0x41bd38
push edi
push eax
push dword [ebp + 0xc]
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 4]
push edi
push esi
call fcn.0041b6fe
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
jmp 0x41bd48
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x41ce7b
Capabilities:
Delete registry key
Set registry value

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall23F3F476_BE34_4f48_9C77_2806A8393EC4
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push edi
mov ebp, ecx
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov eax, dword [0x43b4ec]
push 0x43ca4c
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push 0x43baa0
push eax
call fcn.00409be5
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push str.DisplayName
push edi
push esi
call ebx
mov eax, dword [ebp + 0x48]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push str.DisplayIcon
push edi
push esi
call ebx
push 0x462c44
add ebp, 0x4c
push 0x43e5b4
lea eax, [esp + 0x20]
push ebp
push eax
call fcn.00418311
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00418311
lea ecx, [esp + 0x18]
call fcn.00404beb
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
push 1
push str.UninstallString
push edi
push esi
call ebx
mov ebp, dword [sym.imp.MSVCRT.dll_wcslen]
push str.5.0.8.1
call ebp
pop ecx
shl eax, 1
push eax
push str.5.0.8.1
push 1
push str.DisplayVersion
push edi
push esi
call ebx
push 0x462bf4
call ebp
pop ecx
shl eax, 1
push eax
push 0x462bf4
push 1
push str.Publisher
push edi
push esi
call ebx
push str.www.360.cn
call ebp
pop ecx
shl eax, 1
push eax
push str.www.360.cn
push 1
push str.Publisher
push edi
push esi
call ebx
lea ecx, [esp + 0x14]
call fcn.00404beb
lea ecx, [esp + 0x10]
call fcn.00404beb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret