joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449b30
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x80c
push ebp
mov ebp, ecx
mov eax, dword [ebp + 4]
test eax, eax
jne 0x449c9e
mov eax, dword [0x469ad4]
test eax, eax
je 0x449b5b
mov ecx, dword [0x469ad8]
test ecx, ecx
jne 0x449cb1
push esi
push edi
lea eax, [esp + 0x18]
push 0x400
push eax
push 0
call dword [0x45d1e0]
mov edi, dword [0x45d39c]
lea ecx, [esp + 0x18]
push ecx
call edi
mov eax, dword [0x469adc]
xor esi, esi
test eax, eax
jle 0x449b98
lea edx, [esp + 0x18]
push edx
call edi
mov eax, dword [0x469adc]
inc esi
cmp esi, eax
jl 0x449b87
lea eax, [esp + 0x18]
push str.MiniUI.dll
lea ecx, [esp + 0x1c]
push eax
push ecx
call dword [0x45d398]
call dword [0x45d1e4]
push 0
push 0
push 3
push 0
push 3
push 0x80
push str..360SelfProtection
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], 0
call dword [0x45d1e8]
mov esi, eax
cmp esi, 0xffffffff
je 0x449c16
lea edx, [esp + 0x14]
push 0
push edx
lea eax, [esp + 0x14]
push 4
push eax
lea ecx, [esp + 0x20]
push 4
push ecx
push 0x22204c
push esi
call dword [0x45d1ec]
push esi
mov edi, eax
call dword [0x45d1f0]
test edi, edi
je 0x449c16
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x449c57
lea edx, [esp + 0x18]
test edx, edx
je 0x449c53
lea eax, [esp + 0x18]
push eax
call dword [0x45d394]
test eax, eax
je 0x449c57
lea ecx, [esp + 0x18]
push ecx
call fcn.00401e30
add esp, 4
test eax, eax
jne 0x449c57
push 1
call fcn.00457220
lea edx, [esp + 0x1c]
push eax
push edx
call fcn.004574b0
add esp, 0xc
xor eax, eax
jmp 0x449c62
lea eax, [esp + 0x18]
push eax
call dword [0x45d1f4]
pop edi
mov dword [0x469ad8], eax
test eax, eax
pop esi
je 0x449c99
push str.GetMiniUI
push eax
call dword [0x45d1f8]
test eax, eax
mov dword [0x469ad4], eax
jne 0x449cb1
mov ecx, dword [0x469ad8]
push ecx
call dword [0x45d1fc]
mov dword [0x469ad8], 0
xor eax, eax
mov dword [ebp + 4], eax
mov ecx, dword [ebp + 4]
test ecx, ecx
jne 0x449cbf
xor eax, eax
pop ebp
add esp, 0x80c
ret 4
call eax
test eax, eax
je 0x449c99
mov edx, dword [eax]
push eax
call dword [edx + 0x54]
jmp 0x449c9b
mov edx, dword [esp + 0x814]
mov eax, dword [ecx]
push 0
push edx
call dword [eax + 0xc]
mov ecx, dword [ebp + 4]
mov eax, dword [ecx]
call dword [eax]
neg eax
sbb eax, eax
pop ebp
inc eax
add esp, 0x80c
ret 4
Function at 0x44a660
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [0x469ad4]
sub esp, 0x814
test eax, eax
push ebx
push esi
mov ebx, ecx
je 0x44a681
mov ecx, dword [0x469ad8]
test ecx, ecx
jne 0x44a77a
push edi
lea eax, [esp + 0x20]
push 0x400
push eax
push 0
call dword [0x45d1e0]
mov edi, dword [0x45d39c]
lea ecx, [esp + 0x20]
push ecx
call edi
mov eax, dword [0x469adc]
xor esi, esi
test eax, eax
jle 0x44a6bd
lea edx, [esp + 0x20]
push edx
call edi
mov eax, dword [0x469adc]
inc esi
cmp esi, eax
jl 0x44a6ac
lea eax, [esp + 0x20]
push str.MiniUI.dll
lea ecx, [esp + 0x24]
push eax
push ecx
call dword [0x45d398]
push 0
call dword [0x45d1e4]
push eax
call fcn.004026a0
add esp, 8
test eax, eax
pop edi
jne 0x44a729
lea edx, [esp + 0x1c]
test edx, edx
je 0x44a725
lea eax, [esp + 0x1c]
push eax
call dword [0x45d394]
test eax, eax
je 0x44a729
lea ecx, [esp + 0x1c]
push ecx
call fcn.00401e30
add esp, 4
test eax, eax
jne 0x44a729
push 1
call fcn.00457220
lea edx, [esp + 0x20]
push eax
push edx
call fcn.004574b0
add esp, 0xc
xor eax, eax
jmp 0x44a734
lea eax, [esp + 0x1c]
push eax
call dword [0x45d1f4]
test eax, eax
mov dword [0x469ad8], eax
je 0x44a814
push str.GetMiniUI
push eax
call dword [0x45d1f8]
test eax, eax
mov dword [0x469ad4], eax
jne 0x44a77a
mov ecx, dword [0x469ad8]
push ecx
call dword [0x45d1fc]
pop esi
mov dword [0x469ad8], 0
xor eax, eax
pop ebx
add esp, 0x814
ret 0x10
call eax
test eax, eax
je 0x44a814
mov edx, dword [eax]
push eax
call dword [edx + 0x54]
mov esi, eax
test esi, esi
je 0x44a814
mov edx, dword [esp + 0x820]
mov ecx, dword [esp + 0x824]
mov eax, dword [esi]
push 0
and edx, 0xffff
push ecx
push edx
push 0
mov ecx, esi
call dword [eax + 0x1c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
test eax, eax
jne 0x44a80b
xor ecx, ecx
lea edx, [esp + 8]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x10]
push ecx
push edx
lea ecx, [ebx + 0x18]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
call fcn.0044b210
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x828]
mov edx, dword [esp + 0x82c]
pop esi
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 4]
pop ebx
mov dword [eax + 0x14], edx
mov eax, 1
add esp, 0x814
ret 0x10
push esi
call fcn.0044c87a
add esp, 4
pop esi
xor eax, eax
pop ebx
add esp, 0x814
ret 0x10
Function at 0x4535f0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x454da0
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push 0
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call dword [0x45d00c]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x454dd0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 0
push eax
push ecx
call dword [0x45d018]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x454e00
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 0
push eax
push ecx
call dword [section..rdata]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x4555c0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret 4

Function at 0x4572d0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x808
push esi
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0xc]
push ecx
push edx
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push 0x80000002
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x800
call dword [0x45d3a8]
test eax, eax
je 0x457334
pop edi
mov eax, 1
pop esi
add esp, 0x808
ret
lea eax, [esp + 0x10]
push str.360ver.dll
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [0x45d398]
lea edx, [esp + 0x10]
push edx
call dword [0x45d394]
test eax, eax
jne 0x457366
pop edi
mov eax, 1
pop esi
add esp, 0x808
ret
lea eax, [esp + 0x10]
push eax
call fcn.004573d0
add esp, 4
test eax, eax
jne 0x457385
pop edi
mov eax, 1
pop esi
add esp, 0x808
ret
lea ecx, [esp + 0x10]
push ecx
call dword [0x45d1f4]
mov esi, eax
test esi, esi
jne 0x4573a4
pop edi
mov eax, 1
pop esi
add esp, 0x808
ret
push str.IsBetaVersion
push esi
call dword [0x45d1f8]
call eax
push esi
mov edi, eax
call dword [0x45d1fc]
mov eax, edi
pop edi
pop esi
add esp, 0x808
ret
Function at 0x4574b0
Capabilities:
Create process on windows
Terminate process

Disassembly:
mov eax, 0x1000
call fcn.004581d0
push esi
push edi
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 8]
push 0x800
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push 0x469944
push eax
call dword [0x45d318]
mov edi, dword [esp + 0x101c]
mov esi, dword [0x45d254]
push 0x800
lea ecx, [esp + 0x18]
push edi
push ecx
call esi
push 0x800
lea edx, [esp + 0x24]
push 0x469918
push edx
call esi
push 0x800
lea eax, [esp + 0x30]
push edi
push eax
call esi
push 0x800
lea ecx, [esp + 0x3c]
push str.vL
push ecx
call esi
mov edx, dword [esp + 0x1048]
push 0x800
lea eax, [esp + 0x48]
push edx
push eax
call esi
add esp, 0x48
lea ecx, [esp + 8]
push 0x800
push 0x4698d8
push ecx
call esi
add esp, 0xc
lea edx, [esp + 8]
push 0x14
push edi
push edx
call dword [0x45d508]
push eax
call dword [0x45d498]
mov esi, eax
cmp esi, 6
jne 0x4575a5
call fcn.004572b0
test eax, eax
je 0x45758d
call fcn.004572d0
test eax, eax
je 0x45758d
push 5
push 0
push 0
push str.http:__down.360safe.com_setupbeta.exe
jmp 0x457598
push 5
push 0
push 0
push 0x4694bc
push str.open
push 0
call dword [0x45d388]
mov eax, dword [esp + 0x1014]
test eax, eax
je 0x4575b8
push 0
call dword [0x45d258]
mov eax, esi
pop edi
pop esi
add esp, 0x1000
ret

Function at 0x4575d0
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x13c
mov eax, dword [esp + 0x140]
push ebx
xor ebx, ebx
push esi
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
push eax
call dword [0x45d1e8]
mov esi, eax
cmp esi, 0xffffffff
jne 0x457606
pop esi
xor eax, eax
pop ebx
add esp, 0x13c
ret
push edi
mov edi, dword [0x45d0e0]
lea ecx, [esp + 0xc]
push 0
push ecx
lea edx, [esp + 0x18]
push 0x40
push edx
push esi
call edi
test eax, eax
je 0x457681
cmp dword [esp + 0xc], 0x40
jne 0x457681
cmp word [esp + 0x10], 0x5a4d
jne 0x457681
mov eax, dword [esp + 0x4c]
push 0
push 0
push eax
push esi
call dword [0x45d0c8]
cmp eax, dword [esp + 0x4c]
jne 0x457681
lea ecx, [esp + 0xc]
push 0
push ecx
lea edx, [esp + 0x58]
push 0xf8
push edx
push esi
call edi
test eax, eax
je 0x457681
cmp dword [esp + 0xc], 0xf8
jne 0x457681
cmp dword [esp + 0x50], 0x4550
jne 0x457681
cmp word [esp + 0x56], 0
je 0x457681
mov ebx, 1
push esi
call dword [0x45d1f0]
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x13c
ret
Function at 0x401447
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
push esi
push esi
push 4
push esi
mov dword [ebp - 4], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
cmp ebx, esi
je 0x4014a4
push edi
push esi
push esi
push esi
push 2
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
cmp edi, esi
je 0x40149c
push dword [ebp + 0xc]
push dword [ebp - 4]
push edi
call fcn.004013aa
add esp, 0xc
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x4014aa
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
mov byte [ebp - 4], 0x13
mov byte [ebp - 3], 0x35
mov byte [ebp - 2], 0x86
mov byte [ebp - 1], 7
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
push ebx
call fcn.00423e37
mov esi, eax
pop ecx
test esi, esi
je 0x4014f8
xor edx, edx
test ebx, ebx
jbe 0x4014f8
sub edi, esi
mov eax, edx
lea ecx, [edx + esi]
and eax, 3
mov al, byte [ebp + eax - 4]
xor al, byte [edi + ecx]
inc edx
cmp edx, ebx
mov byte [ecx], al
jb 0x4014e2
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406a06
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
call fcn.00401046
mov ecx, eax
call fcn.00418dce
mov edi, dword [esp + 0x10]
mov esi, eax
push edi
push dword [esp + 0x18]
shr esi, 0xa
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x406a47
push 0x8003
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push esi
push edi
mov ecx, ebx
call fcn.00406a9c
test eax, eax
jne 0x406a93
push dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jle 0x406a63
push esi
push edi
mov ecx, ebx
call fcn.00406a9c
test eax, eax
jne 0x406a93
push 0x43ce60
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
push esi
push 3
call fcn.0041d186
add esp, 0xc
test eax, eax
jge 0x406a93
push edi
push esi
push 4
call fcn.0041d186
add esp, 0xc
test eax, eax
jge 0x406a93
xor eax, eax
jmp 0x406a96
push 1
pop eax
pop edi
pop esi
pop ebx
ret 8
Function at 0x407841
Capabilities:
Copy file
Create thread

Disassembly:
mov eax, 0x42fa6e
call fcn.00423e18
sub esp, 0x428
push ebx
push edi
push dword [ebp + 8]
mov ebx, ecx
call fcn.00407a4f
test al, al
je 0x407874
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
jmp 0x4079f8
and byte [ebp - 0x434], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x433]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x434]
push esi
push eax
mov ecx, ebx
push dword [ebp + 8]
call fcn.00407a77
mov esi, 0x400
xor edi, edi
push esi
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
push esi
mov dword [ebx + 0x90], eax
push eax
lea eax, [ebp - 0x434]
push 0xffffffffffffffff
push eax
push 1
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
push esi
push eax
push 0xffffffffffffffff
mov dword [ebx + 0x94], eax
push dword [ebp + 0xc]
push 1
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x2c
call fcn.00423e37
pop ecx
mov dword [ebp + 8], eax
cmp eax, edi
mov dword [ebp - 4], edi
je 0x40790a
push 4
push ebx
push dword [ebx + 0x90]
mov ecx, eax
call fcn.00407a08
jmp 0x40790c
xor eax, eax
mov dword [ebx + 0x98], eax
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
push edi
push ebx
push 0x4077f5
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 4
mov dword [ebp - 0x10], esi
call fcn.00423e37
mov dword [eax], esi
pop ecx
mov esi, 0xff
mov dword [ebp + 8], eax
push esi
push 0xffffffffffffffff
push edi
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, 1
mov dword [ebp + 0xc], eax
jne 0x407994
push 1
push edi
push edi
lea eax, [ebp - 0x34]
push edi
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x40798b
cmp dword [ebp - 0x30], 0x8032
jne 0x40797f
mov ecx, dword [ebx + 0x98]
call fcn.00407e05
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x407958
push esi
push 0xffffffffffffffff
push edi
push dword [ebp + 8]
jmp 0x407948
push dword [ebp + 8]
call fcn.00423468
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
pop ecx
push dword [ebx + 0x90]
call esi
push dword [ebx + 0x94]
call esi
mov ebx, dword [ebx + 0x98]
pop esi
cmp ebx, edi
je 0x4079cd
lea ecx, [ebx + 8]
call fcn.00407bd3
push ebx
call fcn.00423468
pop ecx
cmp dword [ebp + 0xc], 0xffffffff
jne 0x4079d7
xor eax, eax
jmp 0x4079f8
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [ebp - 0x14], edi
setge al
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x407d97
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x10]
test ebx, ebx
jne 0x407db0
xor esi, esi
jmp 0x407ddd
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.00424530
xor eax, eax
mov esi, esp
push eax
push eax
and byte [esi], 0
push edi
push esi
push 0xffffffffffffffff
push ebx
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x407dfb
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
call esi
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x64
jl 0x407da2
lea esp, [ebp - 0x10]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40ce9d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x40cea9
mov eax, 0x4324c8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40cebd
test al, 0x10
jne 0x40cebd
push 1
pop eax
ret
xor eax, eax
ret

Function at 0x40d546
Capabilities:
Get file size

Disassembly:
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x40d552
mov eax, 0x4324c8
push esi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
ja 0x40d58b
cmp esi, 0xffffffff
je 0x40d587
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x40d59f
mov ecx, dword [esp + 8]
cmp esi, 0xffffffff
mov dword [ecx], eax
je 0x40d59d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
ret 4

Function at 0x40f748
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push eax
push 1
push 0
push str.SoftwareInstallShieldISWI7.0SetupExeLog
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40f79f
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push 0x43d73c
push 0
push 0
push str.SetupLogFileName
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40f796
mov byte [0x43e73c], 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret

Function at 0x40f8ea
Capabilities:
Hide graphical window

Disassembly:
push dword [0x43e74c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40f916
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x43e74c]
call esi
push 0
push dword [0x43e740]
call esi
pop esi
ret
Function at 0x40f917
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x2c]
push edi
push eax
push dword [0x43e74c]
call esi
lea eax, [ebp - 0x6c]
xor ebx, ebx
push eax
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
call edi
push eax
push ebx
call edi
push eax
push ebx
lea eax, [ebp - 0x1c]
push ebx
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
sub eax, dword [ebp - 0x2c]
mov dword [ebp - 4], 0x1e
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
call fcn.00418c24
cmp dword [eax], 1
je 0x40f981
cmp dword [eax + 4], ebx
je 0x40f9d6
push ebx
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40f9d6
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 0x46
push eax
push edi
call esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
lea esi, [ebp - 0x1c]
lea edi, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x1c]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_SubtractRect]
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x18]
sub esi, ebx
mov ecx, dword [ebp - 0x14]
mov eax, esi
mov edi, dword [ebp - 0x1c]
cdq
idiv dword [ebp - 4]
sub ecx, edi
push 5
push 0
push 0
sub ebx, eax
mov eax, ecx
cdq
idiv dword [ebp - 4]
sub ebx, dword [ebp - 8]
add ebx, esi
push ebx
sub edi, eax
sub edi, dword [ebp - 0xc]
add edi, ecx
push edi
push 0
push dword [0x43e74c]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4100b5
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.00410b5a
test eax, eax
pop ecx
jne 0x410212
mov esi, 0x43f198
push esi
call fcn.00410c3f
test eax, eax
pop ecx
jne 0x410212
mov eax, dword [ebp + 0x20]
mov ecx, dword [0x43f198]
push 0x43f18c
mov dword [eax], ecx
call fcn.00410baa
test eax, eax
pop ecx
jne 0x410212
mov ebx, dword [ebp + 0x1c]
mov eax, dword [0x43f18c]
mov dword [ebx], eax
cmp dword [0x43f198], 1
jne 0x410118
xor eax, eax
jmp 0x410212
lea eax, [ebp + 8]
push eax
push 0x43f190
call fcn.004100a1
test eax, eax
jne 0x410212
mov eax, dword [0x43f198]
shl eax, 2
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
mov dword [0x43f19c], eax
jne 0x410157
push 0xfffffffffffffffc
pop eax
jmp 0x410212
push esi
call fcn.00410cc8
mov edi, eax
pop ecx
test edi, edi
je 0x41018d
push dword [0x43f19c]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [0x43f19c]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x410210
movzx eax, word [ebp + 0x18]
push eax
mov dword [0x43f188], ebx
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_LoadIconA]
push 0
mov dword [0x43ef7c], eax
movzx eax, word [ebp + 0x14]
push 0x410441
push dword [ebp + 0xc]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov edi, eax
mov eax, dword [0x43ef7c]
test eax, eax
je 0x4101d0
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
cmp edi, 1
jne 0x4101d9
xor edi, edi
jmp 0x4101e1
cmp edi, 2
jne 0x4101e1
or edi, 0xffffffff
mov eax, dword [0x43f19c]
test eax, eax
je 0x410209
mov esi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [0x43f19c]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebx]
mov dword [0x43f18c], eax
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4106f6
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ee
push dword [ebp + 8]
call edi
mov esi, eax
test esi, esi
mov dword [ebp - 8], esi
je 0x41087d
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextLengthA]
push esi
call ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 0xd0]
push 0x7f
push eax
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowTextA]
call esi
push 0x3ef
push dword [ebp + 8]
call edi
mov edi, eax
test edi, edi
mov dword [ebp - 0x10], edi
je 0x41087d
push edi
call ebx
cmp dword [ebp - 4], eax
jge 0x410768
lea eax, [ebp - 0xd0]
push 0x7f
push eax
push edi
call esi
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
je 0x41087d
lea eax, [ebp - 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0xd0]
push eax
push esi
call fcn.00410eba
push 1
push 0x438784
push esi
mov edi, eax
call fcn.00410eba
push esi
push dword [ebp - 8]
movzx ebx, ax
call dword [sym.imp.USER32.dll_ReleaseDC]
and dword [ebp + 8], 0
movzx esi, di
add esi, ebx
shr edi, 0x10
test esi, esi
mov dword [ebp - 0x14], edi
je 0x41087d
test edi, edi
je 0x41087d
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
sub eax, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x20]
cmp eax, esi
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
jge 0x410807
mov edi, esi
push 1
sub edi, eax
add edi, ebx
add esi, ebx
pop ebx
mov dword [ebp - 4], esi
mov dword [ebp + 8], ebx
jmp 0x41080d
mov edi, dword [ebp + 8]
push 1
pop ebx
mov eax, dword [ebp - 0x14]
cmp ecx, eax
jge 0x41081d
add eax, 4
mov dword [ebp + 8], ebx
mov dword [ebp - 0xc], eax
cmp dword [ebp + 8], 0
je 0x41087d
mov esi, dword [sym.imp.USER32.dll_GetWindowPlacement]
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x50], 0x2c
push dword [ebp - 0x10]
call esi
mov eax, dword [ebp - 0x34]
push ebx
push dword [ebp - 0xc]
mov ebx, dword [sym.imp.USER32.dll_MoveWindow]
sub eax, edi
push dword [ebp - 4]
push dword [ebp - 0x30]
push eax
push dword [ebp - 0x10]
call ebx
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x2c
push eax
push dword [ebp - 8]
call esi
mov ecx, dword [ebp - 0x34]
push 1
push dword [ebp - 0xc]
lea eax, [edi + edi]
sub ecx, eax
push dword [ebp - 4]
push dword [ebp - 0x30]
push ecx
push dword [ebp - 8]
call ebx
pop edi
pop esi
pop ebx
leave
ret