joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c754
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
push edi
lea ecx, [ebp - 0x1c]
call fcn.0045b65d
call fcn.004b2bb4
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov dword [ebp - 8], eax
cmp eax, 6
jg 0x45c791
mov edi, 0x61dad8
push edi
call esi
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.00404cd0
mov edi, str.NativeHWNDHost
jmp 0x45c7a9
mov edi, 0x61db08
push edi
call esi
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.00404cd0
mov edi, str.CabinetWClass
push edi
call esi
pop ecx
push eax
push edi
lea ecx, [ebp - 0x18]
call fcn.00404cd0
lea ecx, [ebp - 0x4c]
call fcn.004b22e2
lea eax, [ebp - 0x1c]
push eax
push 0x45bdff
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [ebp - 0x14]
cmp esi, dword [ebp - 0x10]
je 0x45c821
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
push dword [esi]
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004b2594
cmp dword [ebp - 8], 6
jg 0x45c7f7
push str.rundll32.exe
jmp 0x45c7fc
push str.explorer.exe
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
call edi
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
test eax, eax
je 0x45c839
call fcn.004023e0
add esi, 4
cmp esi, dword [ebp - 0x10]
jne 0x45c7dc
xor esi, esi
lea ecx, [ebp - 0x4c]
call fcn.004b2309
lea ecx, [ebp - 0x1c]
call fcn.0045b6dd
pop edi
mov eax, esi
pop esi
leave
ret
call fcn.004023e0
xor esi, esi
inc esi
jmp 0x45c823

Function at 0x45c85f
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x6a9a60]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20a
xor esi, esi
lea eax, [ebp - 0x210]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x45c8e7
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
test eax, eax
je 0x45c8e7
push 0x61da0c
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
call fcn.0045cc33
pop ecx
test al, al
je 0x45c8e7
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
inc eax
jmp 0x45c93f
lea eax, [ebp - 0x214]
push ebx
push eax
call fcn.0045c0ed
mov ebx, str.Temp_
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x214]
call fcn.0040c36b
push dword [ebp - 0x214]
call fcn.0045cc33
pop ecx
pop ebx
test al, al
je 0x45c92f
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x214]
add ecx, 0xfffffff0
call fcn.004023e0
mov eax, esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004b3004
leave
ret
Function at 0x45cc33
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45cc4c
test al, 0x10
jne 0x45cc4c
mov al, 1
pop ebp
ret
xor al, al
pop ebp
ret

Function at 0x45df6e
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov ecx, dword [ebp + 8]
push esi
push edi
call fcn.00404190
lea ecx, [ebp - 8]
call fcn.00404190
lea ecx, [ebp - 4]
call fcn.00404190
push str.InstallLocation
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360
lea eax, [ebp - 0x14]
xor esi, esi
push reloc.OLEAUT32.dll_SysReAllocString
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call fcn.0043fbb1
add esp, 0x10
lea ecx, [ebp - 8]
push eax
call fcn.004048f0
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.004023e0
mov edi, dword [ebp - 8]
cmp dword [edi - 0xc], esi
je 0x45e058
push str.360ver.dll
push edi
lea eax, [ebp - 4]
push 0x613ad4
push eax
call fcn.0040c593
mov esi, dword [ebp - 4]
add esp, 0x10
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45e010
push str.360Safe.exe
push edi
lea eax, [ebp - 4]
push 0x613ad4
push eax
call fcn.0040c593
mov esi, dword [ebp - 4]
add esp, 0x10
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45e05b
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.00441f55
add esp, 0xc
test eax, eax
je 0x45e05b
mov ecx, dword [ebp - 0xc]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
mov ecx, dword [ebp - 0x10]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
push str._d._d._d._d
push dword [ebp + 8]
call fcn.0040c593
add esp, 0x18
jmp 0x45e05b
mov esi, dword [ebp - 4]
lea ecx, [esi - 0x10]
call fcn.004023e0
lea ecx, [edi - 0x10]
call fcn.004023e0
mov eax, dword [ebp + 8]
pop edi
pop esi
leave
ret

Function at 0x45e1a5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 0xc]
push ebx
push esi
push edi
push dword [ebp + 0x14]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x45e222
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x45e222
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x45e222
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x45e222
mov ecx, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
call fcn.00404eb0
test eax, eax
je 0x45e20a
push edi
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
call fcn.0042f81b
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
inc eax
jmp 0x45e224
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x45e229
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov ebx, edi
mov eax, dword [esi]
mov dword [ebp - 4], ebx
cmp dword [eax - 0xc], edi
je 0x45e2f9
lea ecx, [ebp + 8]
call fcn.00404190
push dword [ebp + 0x14]
lea eax, [ebp + 8]
push dword [ebp + 0xc]
push dword [esi]
push str._s_d._s
push eax
call fcn.0040c593
mov esi, dword [ebp + 8]
add esp, 0x14
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x45e2f1
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test ebx, ebx
je 0x45e2e7
mov ecx, dword [ebp + 0x10]
lea eax, [ebx + 0xa]
and dword [ebp + 8], 0
push eax
call fcn.00404eb0
push 0
lea ecx, [ebp + 8]
push ecx
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 4], eax
test eax, eax
je 0x45e2dd
cmp dword [ebp + 8], ebx
jne 0x45e2dd
mov ecx, dword [ebp + 0x10]
push ebx
call fcn.0042f81b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi - 0x10]
call fcn.004023e0
xor eax, eax
inc eax
jmp 0x45e2fb
mov ecx, dword [ebp + 0x10]
push 0
call fcn.00404e80
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 4]
lea ecx, [esi - 0x10]
call fcn.004023e0
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x45f0f4
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
lea eax, [ebp - 8]
xor ebx, ebx
push str.data_antilib.dat
push eax
mov dword [ebp - 4], ebx
call fcn.00413914
pop ecx
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00413eaa
mov ecx, dword [ebp - 8]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.004023e0
mov esi, dword [ebp - 0xc]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45f175
push edi
lea eax, [ebp - 4]
push eax
push esi
call fcn.0042f5a8
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x45f174
cmp dword [ebp - 4], ebx
je 0x45f16d
push 1
push dword [ebp - 4]
push edi
push dword [ebp + 8]
call fcn.0045f8d3
add esp, 0x10
test al, al
je 0x45f16d
mov ecx, dword [ebp + 8]
call fcn.00409196
mov ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
lea ecx, [esi - 0x10]
call fcn.004023e0
pop esi
mov eax, ebx
pop ebx
leave
ret 4

Function at 0x45f199
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x6a9a60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
xor ebx, ebx
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x120]
push eax
call esi
test eax, eax
jne 0x45f1fa
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
test eax, eax
je 0x45f2a1
mov eax, dword [ebp - 0x110]
sub eax, 1
je 0x45f28c
sub eax, 1
jne 0x45f2a1
cmp dword [ebp - 0x11c], 6
jne 0x45f256
mov eax, dword [ebp - 0x118]
cmp eax, 1
jne 0x45f233
xor ebx, ebx
cmp byte [ebp - 6], al
setne bl
add ebx, 8
jmp 0x45f2a1
test eax, eax
jne 0x45f246
cmp byte [ebp - 6], 1
push 9
pop ebx
push 7
pop eax
cmove ebx, eax
jmp 0x45f2a1
cmp eax, 2
jne 0x45f2a1
cmp byte [ebp - 6], 1
jne 0x45f2a1
push 0xa
pop ebx
jmp 0x45f2a1
cmp dword [ebp - 0x11c], 5
jne 0x45f27f
mov eax, dword [ebp - 0x118]
cmp eax, 2
jne 0x45f26e
push 5
jmp 0x45f253
cmp eax, 1
jne 0x45f277
push 6
jmp 0x45f253
test eax, eax
jne 0x45f2a1
push 3
jmp 0x45f253
cmp dword [ebp - 0x11c], 4
ja 0x45f2a1
push 4
jmp 0x45f253
mov eax, dword [ebp - 0x114]
and eax, 0xffff0000
cmp eax, 0x45a0000
sbb ebx, ebx
add ebx, 2
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.004b3004
leave
ret
Function at 0x45f516
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x31c
mov eax, dword [0x6a9a60]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x45f539
xor eax, eax
inc eax
jmp 0x45f6ce
push ebx
push edi
lea eax, [ebp - 0x318]
push str.ressrcchsweathercache.ini
push eax
call fcn.00413914
pop ecx
push eax
lea eax, [ebp - 0x314]
push eax
call fcn.00413eaa
mov ecx, dword [ebp - 0x318]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.004023e0
mov edi, dword [ebp - 0x314]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ebx, ebx
test eax, eax
je 0x45f6c2
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push edi
push 0x103
push eax
push 0x698774
push str.curcity
push str.curweather
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
pop ecx
pop ecx
test eax, eax
je 0x45f6c2
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x318]
call fcn.004040f0
lea ecx, [ebp - 0x31c]
call fcn.00404190
mov ecx, esi
call fcn.00409196
mov dword [ebp - 0x314], eax
test eax, eax
je 0x45f6a6
push 0x617660
mov ecx, eax
call fcn.00408bae
lea ecx, [ebp - 0x30c]
push 0xfde9
mov dword [ebp - 0x310], ecx
lea ecx, [ebp - 0x310]
push eax
call fcn.004042b0
mov esi, dword [ebp - 0x310]
test esi, esi
jne 0x45f63e
mov eax, ebx
jmp 0x45f646
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
push eax
push esi
lea ecx, [ebp - 0x31c]
call fcn.00404cd0
lea eax, [ebp - 0x30c]
cmp dword [ebp - 0x310], eax
je 0x45f66e
push dword [ebp - 0x310]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
mov esi, dword [ebp - 0x31c]
lea ecx, [ebp - 0x318]
push ebx
push esi
call fcn.00403ef0
cmp eax, 0xffffffff
jne 0x45f6a1
mov ecx, dword [ebp - 0x314]
call fcn.004092e5
mov dword [ebp - 0x314], eax
test eax, eax
jne 0x45f607
jmp 0x45f6ac
xor ebx, ebx
inc ebx
jmp 0x45f6ac
mov esi, dword [ebp - 0x31c]
lea ecx, [esi - 0x10]
call fcn.004023e0
mov ecx, dword [ebp - 0x318]
lea ecx, [ecx - 0x10]
call fcn.004023e0
lea ecx, [edi - 0x10]
call fcn.004023e0
pop edi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004b3004
leave
ret 4
Function at 0x45f6dd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x6a9a60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x6c], eax
xor ebx, ebx
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], ebx
push eax
push str.SOFTWAREkingsoft_antivirusKFlag
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x45f85e
push esi
push edi
lea ecx, [ebp - 0x60]
call fcn.00404190
mov esi, ebx
mov dword [ebp - 0x5c], ebx
cmp dword [ebp - 0x58], ebx
je 0x45f851
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x5c]
push eax
push ebx
lea eax, [ebp - 0x64]
push eax
push ebx
push str.click_uninstall
push dword [ebp - 0x58]
call edi
cmp dword [ebp - 0x64], 1
je 0x45f757
cmp dword [ebp - 0x64], 2
jne 0x45f851
lea ecx, [ebp - 0x60]
call fcn.004041c0
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x60]
shr eax, 1
inc eax
push eax
call fcn.004047c0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x68], eax
push ecx
push eax
lea eax, [ebp - 0x64]
push eax
push ebx
push str.click_uninstall
push dword [ebp - 0x58]
call edi
test eax, eax
jne 0x45f79a
mov eax, dword [ebp - 0x5c]
xor edx, edx
mov ecx, dword [ebp - 0x68]
xor esi, esi
shr eax, 1
inc esi
mov word [ecx + eax*2], dx
push 0xffffffffffffffff
lea ecx, [ebp - 0x60]
call fcn.0040e311
test esi, esi
je 0x45f851
push 4
pop esi
mov dword [ebp - 0x68], esi
cmp dword [ebp - 0x58], ebx
je 0x45f851
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x64]
push eax
push ebx
push str.pop_flag
push dword [ebp - 0x58]
call edi
test eax, eax
jne 0x45f851
cmp dword [ebp - 0x64], esi
jne 0x45f851
mov ecx, dword [ebp - 0x6c]
lea edi, [ebp - 0x54]
mov eax, dword [ebp - 0x5c]
mov dword [ecx], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x40
lea eax, [ebp - 0x44]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
movzx eax, word [ebp - 0x4e]
push eax
movzx eax, word [ebp - 0x52]
push eax
movzx eax, word [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push str._04d__02d__02d
push eax
call fcn.00407b50
add esp, 0x20
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x6c]
push eax
call fcn.004040f0
mov edi, dword [ebp - 0x60]
test edi, edi
je 0x45f87e
mov esi, dword [ebp - 0x6c]
push edi
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
neg eax
pop ecx
pop ecx
sbb ebx, ebx
lea ecx, [esi - 0x10]
inc ebx
call fcn.004023e0
jmp 0x45f854
mov edi, dword [ebp - 0x60]
lea ecx, [edi - 0x10]
call fcn.004023e0
pop edi
pop esi
cmp dword [ebp - 0x58], 0
je 0x45f86d
push dword [ebp - 0x58]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004b3004
leave
ret 4
push 0x80004005
call fcn.00401eb0
int3
Function at 0x4607ca
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x6a9a60]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x54]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x40
xor esi, esi
lea eax, [ebp - 0x44]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
movzx eax, word [ebp - 0x4e]
push eax
movzx eax, word [ebp - 0x52]
push eax
movzx eax, word [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push str._04d__02d__02d
push eax
call fcn.00407b50
add esp, 0x20
mov dword [ebp - 0x58], esi
lea ecx, [ebp - 0x58]
push esi
push str.SOFTWAREkingsoft_antivirusKFlag
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0042f912
test eax, eax
mov eax, dword [ebp - 0x58]
je 0x460892
test eax, eax
je 0x46089d
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop ecx
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x44]
push eax
push 1
push esi
push str.click_uninstall
push dword [ebp - 0x58]
call edi
test eax, eax
jne 0x46088f
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x46089d
push 4
lea ecx, [ebp - 0x5c]
push ecx
push 4
push esi
push str.pop_flag
push eax
call edi
test eax, eax
jne 0x46088f
inc esi
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x46089d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004b3004
leave
ret 4

Function at 0x46834c
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
lea ecx, [esi + 0x58c]
call fcn.0046f5fb
push 2
mov ecx, esi
call fcn.00465154
pop esi
ret

Function at 0x46845a
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call fcn.00466eb5
test eax, eax
jne 0x46846e
and dword [esi + 0x134], eax
pop esi
ret
push dword [esi + 0x140]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46849f
push 0
push dword [esi + 0x140]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x140]
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [esi + 0x140], 0
pop esi
ret

Function at 0x4686b3
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
lea ecx, [esi + 0x58c]
call fcn.0046f5fb
push 2
mov ecx, esi
call fcn.00465154
pop esi
ret
Function at 0x468f19
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 0x46c], ebx
je 0x468f48
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [esi + 0x46c], ebx
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x2c]
mov eax, dword [ecx]
push dword [ebp + 0xc]
call dword [eax + 0x44]
mov ebx, eax
test ebx, ebx
jne 0x468f8c
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x188]
mov eax, dword [ecx]
push dword [ebp + 0xc]
call dword [eax + 0x44]
mov ebx, eax
test ebx, ebx
jne 0x468f8c
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x2e4]
mov eax, dword [ecx]
push dword [ebp + 0xc]
call dword [eax + 0x44]
mov ebx, eax
mov eax, dword [esi + 0x458]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4690ca
push edi
push eax
call fcn.0044bcf0
mov edi, eax
pop ecx
test edi, edi
je 0x469087
mov eax, dword [edi + 0xc]
mov ecx, esi
push 2
push 0
push edi
mov dword [ebp - 4], eax
call fcn.004738eb
movzx ecx, word [ebp + 0x10]
movzx eax, word [ebp + 0xc]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp + 8]
mov ecx, edi
push 0x202
call fcn.00449543
cmp dword [esi + 0x458], ebx
jne 0x46901a
mov eax, dword [edi + 0x3c]
xor ebx, ebx
test eax, eax
je 0x469010
cmp word [eax], bx
je 0x469010
push 1
push ebx
push ebx
push eax
push 0x61594c
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [esi + 0x458], ebx
jmp 0x4690c9
cmp dword [edi + 0xc], ebx
je 0x469089
xor eax, eax
inc eax
jmp 0x46908c
push 1
xor ebx, ebx
mov ecx, esi
push ebx
push edi
call fcn.004738eb
movzx ecx, word [ebp + 0x10]
movzx eax, word [ebp + 0xc]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp + 8]
mov ecx, edi
push 0x2a3
call fcn.00449543
mov ecx, dword [ebp - 4]
mov dword [esi + 0x458], ebx
test ecx, ecx
je 0x4690c9
mov eax, dword [esi + 4]
or dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x20]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x20], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0xc]
cmp eax, dword [esi + 0x454]
jne 0x4690c9
mov dword [esi + 0x454], ebx
jmp 0x4690c9
xor ebx, ebx
mov eax, dword [ebp - 8]
mov dword [esi + 0x458], ebx
test eax, eax
je 0x4690c9
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 4]
or dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x20], eax
mov eax, dword [edi]
mov dword [ebp - 0x14], ecx
mov ecx, edi
mov dword [ebp - 0x18], 1
call dword [eax + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
push 0x4e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4690d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 0x10]
xor eax, eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 4], eax
push 1
sub edx, dword [edi + 0x14]
sub esi, dword [edi + 0x10]
mov eax, dword [edi]
push edx
push esi
mov dword [ebp + 0xc], esi
mov dword [ebp + 0x10], edx
call dword [eax + 0x8c]
mov ebx, dword [edi + 0x174]
mov dword [ebp - 8], eax
test ebx, ebx
je 0x4691ed
push ebx
call fcn.0044bcf0
mov esi, eax
pop ecx
test esi, esi
je 0x4691d4
mov eax, dword [esi + 0xc]
mov ecx, edi
push 2
push 0
push esi
mov dword [ebp - 0xc], eax
call fcn.0047391d
movzx ecx, word [ebp + 0x10]
movzx eax, word [ebp + 0xc]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp + 8]
mov ecx, esi
push 0x202
call fcn.00449543
mov eax, dword [ebp - 8]
cmp dword [edi + 0x174], eax
jne 0x46918b
mov eax, dword [esi + 0x3c]
xor ebx, ebx
test eax, eax
je 0x469181
cmp word [eax], bx
je 0x469181
push 1
push ebx
push ebx
push eax
push 0x61594c
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [edi + 0x174], ebx
jmp 0x4691ed
cmp dword [esi + 0xc], ebx
je 0x4691d6
xor eax, eax
inc eax
jmp 0x4691d9
push 1
xor eax, eax
mov ecx, edi
push eax
push esi
call fcn.0047391d
movzx ecx, word [ebp + 0x10]
movzx eax, word [ebp + 0xc]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp + 8]
mov ecx, esi
push 0x2a3
call fcn.00449543
xor eax, eax
mov dword [edi + 0x174], eax
cmp dword [ebp - 0xc], eax
je 0x4691ed
cmp ebx, dword [edi + 0x170]
jne 0x4691d0
mov dword [edi + 0x170], eax
push 0x6a
jmp 0x4691e5
xor ebx, ebx
mov eax, dword [ebp - 4]
mov dword [edi + 0x174], ebx
test eax, eax
je 0x4691ed
push 0x67
push esi
mov ecx, edi
call fcn.004700bb
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x46c16b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
lea ecx, [edi + 0x2c]
mov eax, dword [ecx]
call dword [eax + 0x44]
mov esi, eax
test esi, esi
jne 0x46c1b9
push 1
push dword [ebp + 0x10]
lea ecx, [edi + 0x188]
mov eax, dword [ecx]
push dword [ebp + 0xc]
call dword [eax + 0x44]
mov esi, eax
test esi, esi
jne 0x46c1b9
push 1
push dword [ebp + 0x10]
lea ecx, [edi + 0x2e4]
mov eax, dword [ecx]
push dword [ebp + 0xc]
call dword [eax + 0x44]
mov esi, eax
mov eax, dword [edi + 0x45c]
test eax, eax
je 0x46c236
cmp dword [edi + 0x46c], 0
je 0x46c1df
call dword [sym.imp.USER32.dll_ReleaseCapture]
and dword [edi + 0x46c], 0
mov eax, dword [edi + 0x45c]
cmp eax, esi
jne 0x46c22f
push esi
call fcn.0044bcf0
movzx edx, word [ebp + 0x10]
mov esi, eax
pop ecx
movzx ecx, word [ebp + 0xc]
shl edx, 0x10
or edx, ecx
mov ecx, esi
push edx
push dword [ebp + 8]
push 0x205
call fcn.00449543
mov ecx, dword [edi + 4]
or dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xd
mov dword [ebp - 0x14], ecx
mov eax, dword [esi + 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push 0xffffffffffffffff
push 0x4e
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [edi + 0x45c], 0
pop edi
pop esi
leave
ret 0xc