joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10011161
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1005b030]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_IsWindow]
mov esi, ecx
push 4
pop eax
test esi, esi
mov dword [ebp - 0x18], esi
lea ebx, [esi - 0x780]
cmove ebx, eax
push dword [ebx]
call edi
test eax, eax
je 0x10011264
push dword [esi + 8]
call edi
test eax, eax
je 0x10011264
push dword [ebx]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x10011259
push dword [ebx]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x10011259
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x10011259
lea eax, [ebp - 0x14]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x14]
lea edi, [ebp - 0x2c]
add esi, 0x358
mov edx, dword [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub eax, dword [ebp - 0x2c]
lea esi, [ebp - 0x14]
add edx, dword [ebp - 0x20]
lea edi, [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x28]
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x18]
je 0x10011239
push 1
lea eax, [ebp - 0x2c]
push eax
lea ecx, [edi + 8]
call fcn.1000a161
jmp 0x10011264
mov esi, dword [ebp - 0x10]
sub edx, esi
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
push 0x50
push edx
sub eax, ecx
push eax
push esi
push ecx
push dword [ebx]
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x10011264
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001fb7a
leave
ret 4
Function at 0x100115ed
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0x4c
mov eax, 0x10045b2d
call fcn.10020bee
mov esi, edx
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x1c], edi
call fcn.10003536
push eax
lea ecx, [ebp - 0x10]
call fcn.10002cfd
push ecx
mov edx, esi
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x14]
call fcn.10014fc7
pop ecx
mov byte [ebp - 4], 1
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100116ee
test ebx, ebx
je 0x10011687
mov byte [ebp - 4], 2
call fcn.10003536
push eax
lea ecx, [ebp - 0x18]
call fcn.10002cfd
push ebx
push str._startby
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 1
push str._s_d
push eax
call fcn.1000a910
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push esi
push dword [ebp + 8]
push str._s__s
push eax
call fcn.1000a910
add esp, 0x20
lea ecx, [esi - 0x10]
call fcn.100035e1
jmp 0x1001169c
push dword [ebp + 8]
call fcn.10002e2a
pop ecx
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.10003241
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.10022200
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], esi
mov esi, dword [ebp - 0x10]
push eax
mov dword [ebp - 0x54], 0x40
mov dword [ebp - 0x4c], str.open
mov dword [ebp - 0x44], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x100116e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100116f1
push dword [ebp - 0x20]
xor edi, edi
inc edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100116f1
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.100035e1
lea ecx, [esi - 0x10]
call fcn.100035e1
mov eax, edi
call fcn.10020bb7
ret

Function at 0x1001170c
Capabilities:
Set registry value

Disassembly:
push 8
mov eax, 0x1004531f
call fcn.10020bee
mov edi, edx
mov esi, ecx
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControl_
lea ecx, [ebp - 0x10]
call fcn.10002f61
and dword [ebp - 4], 0
push esi
call fcn.10002e2a
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.10002a5a
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
push edi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.100035e1
call fcn.10020bb7
ret
Function at 0x10011e25
Capabilities:
Accept command line arguments

Disassembly:
push 0x14
mov eax, 0x10045c39
call fcn.10020bee
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
call fcn.10001c86
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], esi
call fcn.10003536
push eax
lea ecx, [ebp - 0x14]
call fcn.10002cfd
mov byte [ebp - 4], 1
call fcn.10003536
push eax
lea ecx, [ebp - 0x10]
call fcn.10002cfd
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x20]
call fcn.10001093
mov esi, str._poptype
lea ecx, [ebp - 0x20]
push esi
call fcn.10001661
mov edi, str._s_d
mov ebx, 0x1004f6e8
test al, al
je 0x10011eda
push esi
lea ecx, [ebp - 0x20]
call fcn.10001610
push eax
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.1000a910
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1000482b
add esp, 0x1c
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.10002a5a
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.100035e1
mov esi, str._popid
lea ecx, [ebp - 0x20]
push esi
call fcn.10001661
test al, al
je 0x10011f33
push esi
lea ecx, [ebp - 0x20]
call fcn.10001610
push eax
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.1000a910
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1000482b
add esp, 0x1c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.10002a5a
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.100035e1
mov esi, str._again
lea ecx, [ebp - 0x20]
push esi
call fcn.10001610
inc eax
push eax
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.1000a910
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1000482b
add esp, 0x1c
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.10002a5a
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.100035e1
mov esi, dword [ebp - 0x14]
push ecx
push esi
call fcn.100128de
mov edx, dword [0x1005e450]
mov ecx, eax
call fcn.100115ed
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.100035e1
lea ecx, [esi - 0x10]
call fcn.100035e1
lea ecx, [ebp - 0x20]
call fcn.10001070
call fcn.10020bb7
ret
Function at 0x10011fba
Capabilities:
Get common file path

Disassembly:
push 4
mov eax, 0x10045c64
call fcn.10020bee
push 0x1004f1b4
lea ecx, [ebp - 0x10]
call fcn.10002f61
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push 0x104
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.100030db
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1001208d
push 0xffffffffffffffff
mov ecx, edi
call fcn.10004a6b
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax - 0xc]
dec eax
push eax
call fcn.10004a47
cmp ax, 0x5c
je 0x1001202b
mov esi, 0x1004f1cc
push esi
call fcn.10002e2a
pop ecx
push eax
push esi
mov ecx, edi
call fcn.10002a5a
push dword [ebp + 8]
call fcn.10002e2a
pop ecx
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.10002a5a
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
mov eax, dword [ebp - 0x10]
push dword [eax - 0xc]
sub ecx, dword [eax - 0xc]
lea eax, [ebp + 8]
push ecx
push eax
mov ecx, edi
call fcn.1000496f
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
push dword [ebp - 0x10]
call fcn.10003624
mov byte [ebp - 4], bl
mov esi, eax
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.100035e1
test esi, esi
je 0x1001208a
mov eax, dword [ebp - 0x10]
mov ecx, edi
push dword [eax - 0xc]
push eax
call fcn.10002a5a
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.100035e1
mov eax, ebx
call fcn.10020bb7
ret 8

Function at 0x100120a2
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x10
mov eax, 0x10045ca7
call fcn.10020bee
call fcn.10003536
push eax
lea ecx, [ebp - 0x10]
call fcn.10002cfd
xor edi, edi
mov dword [ebp - 4], edi
push dword [ebp + 8]
call fcn.10002e2a
pop ecx
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.10003241
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], edi
jne 0x100120f7
mov esi, 0x10050e6c
push esi
call fcn.10002e2a
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.10003241
mov esi, dword [ebp - 0x10]
call fcn.10003536
push eax
lea ecx, [ebp - 0x14]
call fcn.10002cfd
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
push esi
call fcn.10011fba
lea ecx, [ebp - 0x1c]
call fcn.10014eff
push str.CouponMiniNews.exe
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
call fcn.1000482b
add esp, 0xc
push 0x1004f1b4
mov byte [ebp - 4], 3
mov ebx, dword [eax]
lea eax, [ebp + 8]
push esi
push eax
call fcn.1000464c
mov byte [ebp - 4], 4
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], edi
jne 0x10012157
lea ecx, [eax - 0x10]
jmp 0x1001217c
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001216b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push dword [ebp + 8]
call fcn.1000443d
mov ecx, dword [ebp + 8]
mov edi, eax
lea ecx, [ecx - 0x10]
call fcn.100035e1
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.100035e1
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.100035e1
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.100035e1
lea ecx, [esi - 0x10]
call fcn.100035e1
mov eax, edi
call fcn.10020bb7
ret 4
Function at 0x100121b4
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x14
mov eax, 0x10045cfa
call fcn.10020bee
call fcn.10003536
push eax
lea ecx, [ebp - 0x14]
call fcn.10002cfd
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.10003536
push eax
lea ecx, [ebp - 0x10]
call fcn.10002cfd
mov byte [ebp - 4], 1
push dword [ebp + 0x10]
call fcn.10002e2a
pop ecx
push eax
push dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
call fcn.10003241
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], ebx
je 0x100122c2
push 0x2f
push esi
call fcn.1002192a
pop ecx
pop ecx
test eax, eax
jne 0x10012219
or eax, 0xffffffff
jmp 0x1001221d
sub eax, esi
sar eax, 1
lea ecx, [eax + 1]
mov eax, dword [esi - 0xc]
sub eax, ecx
push eax
push ecx
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000496f
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.1000c38e
push str.Data_
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 3
push eax
call fcn.1000482b
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1000478f
add esp, 0x18
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.100049f7
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.100035e1
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.100035e1
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.100035e1
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.100035e1
mov edi, dword [ebp - 0x14]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100122c5
call fcn.1001be17
push ebx
push edi
push esi
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
jmp 0x100122c5
mov edi, dword [ebp - 0x14]
push str..url
push dword [ebp + 8]
lea eax, [ebp + 0x10]
push eax
call fcn.1000464c
mov byte [ebp - 4], 6
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0xc], ebx
jne 0x100122e7
lea ecx, [eax - 0x10]
jmp 0x1001230f
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100122fb
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.1000453d
mov ecx, dword [ebp + 0x10]
mov ebx, eax
lea ecx, [ecx - 0x10]
call fcn.100035e1
lea ecx, [esi - 0x10]
call fcn.100035e1
lea ecx, [edi - 0x10]
call fcn.100035e1
mov eax, ebx
call fcn.10020bb7
ret 0xc

Function at 0x1001239a
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 1
xor eax, eax
push eax
push eax
push dword [ebp + 8]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x100123bd
pop ebp
jmp fcn.10012535
pop ebp
ret 4
Function at 0x100123c1
Capabilities:
Create process on windows

Disassembly:
push 0x18
mov eax, 0x10045d2d
call fcn.10020bee
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
call fcn.10003536
push eax
lea ecx, [ebp - 0x10]
call fcn.10002cfd
mov byte [ebp - 4], 1
call fcn.10003536
push eax
lea ecx, [ebp - 0x18]
call fcn.10002cfd
push 0x20119
push str.SOFTWAREWOW6432NodeMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push SysStringLen
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.1000ae66
mov edi, 0x1000
test eax, eax
jne 0x10012457
push edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], edi
call fcn.100030db
lea ecx, [ebp - 0x14]
push ecx
push eax
push str.InstallLocation
lea ecx, [ebp - 0x24]
call fcn.1000a924
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.10004a6b
test esi, esi
jne 0x10012457
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], ebx
jne 0x100124a0
jmp 0x1001245a
mov esi, dword [ebp - 0x10]
push 0x20119
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push SysStringLen
lea ecx, [ebp - 0x24]
call fcn.1000ae66
test eax, eax
jne 0x100124a0
push edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], edi
call fcn.100030db
lea ecx, [ebp - 0x14]
push ecx
push eax
push str.InstallLocation
lea ecx, [ebp - 0x24]
call fcn.1000a924
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.10004a6b
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
test eax, eax
jne 0x100124ac
mov edi, dword [ebp - 0x18]
jmp 0x10012513
dec eax
lea ecx, [ebp - 0x10]
push eax
call fcn.10004a47
cmp ax, 0x5c
je 0x100124d5
mov esi, 0x1004f1cc
push esi
call fcn.10002e2a
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.10002a5a
mov esi, dword [ebp - 0x10]
push 0x78
push 0x65
push 0x6d
push 0x6f
push 0x72
push 0x68
push 0x63
push esi
lea eax, [ebp - 0x18]
push str._s_c_c_c_c_c_c.e_ce
push eax
call fcn.1000a910
mov edi, dword [ebp - 0x18]
add esp, 0x28
push 5
push ebx
push dword [ebp + 8]
push edi
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ebx, ebx
cmp eax, 0x20
setg bl
lea ecx, [edi - 0x10]
call fcn.100035e1
lea ecx, [esi - 0x10]
call fcn.100035e1
lea ecx, [ebp - 0x24]
call fcn.1000af1e
mov eax, ebx
call fcn.10020bb7
ret 4
Function at 0x10012535
Capabilities:
Create process on windows
Get common file path
Get program files directory

Disassembly:
push 0x210
mov eax, 0x10045d53
call fcn.10020c22
mov esi, dword [ebp + 8]
push 1
push 0
push esi
push str.iexplore.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ebx, ebx
cmp eax, 0x20
setg bl
jle 0x10012575
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x483
jne 0x100125f1
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.10022200
add esp, 0xc
lea eax, [ebp - 0x218]
push ebx
push 0x26
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.10003536
push eax
lea ecx, [ebp - 0x21c]
call fcn.10002cfd
lea eax, [ebp - 0x218]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x21c]
push str.__sInternet_Exploreriexplore.exe_
push eax
call fcn.1000a910
add esp, 0xc
push 1
push ebx
push esi
mov esi, dword [ebp - 0x21c]
push esi
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
lea ecx, [esi - 0x10]
setg bl
call fcn.100035e1
mov eax, ebx
call fcn.10020bcc
ret 4
Function at 0x100125fb
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x1005b030]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, eax
mov dword [ebp - 0x25c], ebx
test ebx, ebx
je 0x100127e5
xor eax, eax
lea edi, [ebp - 0x220]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x220]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0xffffffffffffffec
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x100
je 0x100126ab
xor eax, eax
lea edi, [ebp - 0x230]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x230]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x218]
sub ecx, dword [ebp - 0x230]
sub eax, dword [ebp - 0x220]
cmp eax, ecx
jne 0x100127e5
mov ecx, dword [ebp - 0x224]
mov eax, dword [ebp - 0x214]
sub ecx, dword [ebp - 0x22c]
sub eax, dword [ebp - 0x21c]
cmp eax, ecx
jne 0x100127e5
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea eax, [ebp - 0x260]
push eax
push ebx
call edi
xor esi, esi
push esi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x100126d7
lea ecx, [ebp - 0x264]
push ecx
push eax
call edi
mov eax, dword [ebp - 0x260]
cmp eax, dword [ebp - 0x264]
je 0x100127e5
xor eax, eax
cmp dword [ebp - 0x220], eax
push esi
cmovge eax, dword [ebp - 0x220]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x220], eax
xor eax, eax
cmp dword [ebp - 0x21c], eax
cmovge eax, dword [ebp - 0x21c]
xor ebx, ebx
cmp dword [ebp - 0x218], ebx
mov dword [ebp - 0x270], eax
cmovge ebx, dword [ebp - 0x218]
mov dword [ebp - 0x21c], eax
xor eax, eax
cmp dword [ebp - 0x214], eax
mov dword [ebp - 0x218], ebx
cmovge eax, dword [ebp - 0x214]
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x214], eax
call esi
push 1
mov edi, eax
call esi
sub ebx, dword [ebp - 0x268]
cmp ebx, edi
jl 0x100127e5
mov ecx, dword [ebp - 0x26c]
sub ecx, dword [ebp - 0x270]
cmp ecx, eax
jl 0x100127e5
mov esi, dword [ebp - 0x25c]
lea edi, [ebp - 0x258]
push 0xa
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
xor edi, edi
push edi
push esi
call dword [sym.imp.USER32.dll_MonitorFromWindow]
mov ebx, eax
mov dword [ebp - 0x258], 0x28
lea eax, [ebp - 0x258]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x100127c9
xor ecx, ecx
mov eax, ebx
cmp dword [ebp - 0x234], 1
cmovne eax, ecx
mov dword [ebp - 0x25c], eax
mov edi, eax
push 0x208
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.USER32.dll_RealGetWindowClassW]
xor eax, eax
test edi, edi
setne al
jmp 0x100127e7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001fb7a
leave
ret
Function at 0x100127f6
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x10012840
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x1001282f
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
je 0x10012840
push esi
call dword [sym.imp.USER32.dll_IsZoomed]
jmp 0x10012842
xor eax, eax
pop esi
leave
ret
Function at 0x1001495e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x10045eec
call fcn.10020c90
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
push 0x60
push ebx
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x100149db
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x100149db
call fcn.1001348a
mov esi, eax
jmp 0x10014ad2
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x100149fe
call fcn.1001348a
jmp 0x10014ac5
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x100149f4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea ecx, [esi + 1]
cmp ecx, esi
jae 0x10014a31
mov esi, 0x8007000e
jmp 0x10014ac7
push 2
pop edx
mov byte [ebp - 4], 2
call fcn.100138fc
cmp eax, 0x400
jbe 0x10014a52
push eax
lea ecx, [ebp - 0x418]
call fcn.10013465
jmp 0x10014a74
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x10014a74
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x10014a27
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x41c]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x100149f4
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.10014809
mov esi, eax
test edi, edi
je 0x10014ad2
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10014aeb
lea ecx, [ebp - 0x418]
call fcn.10013450
mov eax, esi
call fcn.10020bdd
ret 0x10
Function at 0x10015109
Capabilities:
Accept command line arguments

Disassembly:
push 0x14
mov eax, 0x10045f9a
call fcn.10020bee
push 0x66
pop edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x10]
call fcn.10002f61
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push str._startby_d
call fcn.10002f61
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0xc]
add eax, 0xfffffffe
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10004883
push ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
push dword [eax]
call fcn.100150ad
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx - 0xc]
sub ecx, eax
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000496f
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x10]
call fcn.100049f7
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.100035e1
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.100035e1
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.100150e4
mov esi, dword [ebp - 0x18]
add esp, 0xc
mov ecx, dword [ebp - 0x14]
test eax, eax
cmove esi, edi
add ecx, 0xfffffff0
mov dword [ebp - 0x18], esi
call fcn.100035e1
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.100035e1
mov eax, esi
call fcn.10020bb7
ret