joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100120c2
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0x4c
mov eax, 0x100469d0
call fcn.1002172e
mov esi, edx
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x1c], edi
call fcn.10003546
push eax
lea ecx, [ebp - 0x10]
call fcn.10002d0d
push ecx
mov edx, esi
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x14]
call fcn.10015b25
pop ecx
mov byte [ebp - 4], 1
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100121c3
test ebx, ebx
je 0x1001215c
mov byte [ebp - 4], 2
call fcn.10003546
push eax
lea ecx, [ebp - 0x18]
call fcn.10002d0d
push ebx
push str._startby
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 1
push str._s_d
push eax
call fcn.1000a90b
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push esi
push dword [ebp + 8]
push str._s__s
push eax
call fcn.1000a90b
add esp, 0x20
lea ecx, [esi - 0x10]
call fcn.100035f1
jmp 0x10012171
push dword [ebp + 8]
call fcn.10002e3a
pop ecx
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.10003251
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.10022d40
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 0x100121b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100121c6
push dword [ebp - 0x20]
xor edi, edi
inc edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100121c6
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.100035f1
lea ecx, [esi - 0x10]
call fcn.100035f1
mov eax, edi
call fcn.100216f7
ret

Function at 0x100121e1
Capabilities:
Set registry value

Disassembly:
push 8
mov eax, 0x10046184
call fcn.1002172e
mov edi, edx
mov esi, ecx
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControl_
lea ecx, [ebp - 0x10]
call fcn.10002f71
and dword [ebp - 4], 0
push esi
call fcn.10002e3a
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.10002a6a
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push SysReAllocStringLen
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.100035f1
call fcn.100216f7
ret
Function at 0x10012932
Capabilities:
Accept command line arguments

Disassembly:
push 0x14
mov eax, 0x10046b07
call fcn.1002172e
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
call fcn.10001c96
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], esi
call fcn.10003546
push eax
lea ecx, [ebp - 0x14]
call fcn.10002d0d
mov byte [ebp - 4], 1
call fcn.10003546
push eax
lea ecx, [ebp - 0x10]
call fcn.10002d0d
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x20]
call fcn.100010a3
mov esi, str._poptype
lea ecx, [ebp - 0x20]
push esi
call fcn.10001671
mov edi, str._s_d
mov ebx, 0x10050718
test al, al
je 0x100129e7
push esi
lea ecx, [ebp - 0x20]
call fcn.10001620
push eax
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.1000a90b
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10004861
add esp, 0x1c
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.10002a6a
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.100035f1
mov esi, str._popid
lea ecx, [ebp - 0x20]
push esi
call fcn.10001671
test al, al
je 0x10012a40
push esi
lea ecx, [ebp - 0x20]
call fcn.10001620
push eax
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.1000a90b
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10004861
add esp, 0x1c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.10002a6a
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.100035f1
mov esi, str._again
lea ecx, [ebp - 0x20]
push esi
call fcn.10001620
inc eax
push eax
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.1000a90b
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10004861
add esp, 0x1c
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.10002a6a
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.100035f1
mov esi, dword [ebp - 0x14]
push ecx
push esi
call fcn.1001343d
mov edx, dword [0x1005f4c8]
mov ecx, eax
call fcn.100120c2
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.100035f1
lea ecx, [esi - 0x10]
call fcn.100035f1
lea ecx, [ebp - 0x20]
call fcn.10001080
call fcn.100216f7
ret
Function at 0x10012ac7
Capabilities:
Get common file path

Disassembly:
push 4
mov eax, 0x10046b32
call fcn.1002172e
push 0x100501e4
lea ecx, [ebp - 0x10]
call fcn.10002f71
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push 0x104
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.100030eb
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x10012b9a
push 0xffffffffffffffff
mov ecx, edi
call fcn.10004aa1
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax - 0xc]
dec eax
push eax
call fcn.10004a7d
cmp ax, 0x5c
je 0x10012b38
mov esi, 0x100501fc
push esi
call fcn.10002e3a
pop ecx
push eax
push esi
mov ecx, edi
call fcn.10002a6a
push dword [ebp + 8]
call fcn.10002e3a
pop ecx
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.10002a6a
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.100049a5
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
push dword [ebp - 0x10]
call fcn.10003634
mov byte [ebp - 4], bl
mov esi, eax
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.100035f1
test esi, esi
je 0x10012b97
mov eax, dword [ebp - 0x10]
mov ecx, edi
push dword [eax - 0xc]
push eax
call fcn.10002a6a
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.100035f1
mov eax, ebx
call fcn.100216f7
ret 8

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

Disassembly:
push 0x10
mov eax, 0x10046b75
call fcn.1002172e
call fcn.10003546
push eax
lea ecx, [ebp - 0x10]
call fcn.10002d0d
xor edi, edi
mov dword [ebp - 4], edi
push dword [ebp + 8]
call fcn.10002e3a
pop ecx
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.10003251
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], edi
jne 0x10012c04
mov esi, 0x10052014
push esi
call fcn.10002e3a
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.10003251
mov esi, dword [ebp - 0x10]
call fcn.10003546
push eax
lea ecx, [ebp - 0x14]
call fcn.10002d0d
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
push esi
call fcn.10012ac7
lea ecx, [ebp - 0x1c]
call fcn.10015a5d
push str.VZipMiniNews.exe
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
call fcn.10004861
add esp, 0xc
push 0x100501e4
mov byte [ebp - 4], 3
mov ebx, dword [eax]
lea eax, [ebp + 8]
push esi
push eax
call fcn.10004682
mov byte [ebp - 4], 4
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], edi
jne 0x10012c64
lea ecx, [eax - 0x10]
jmp 0x10012c89
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10012c78
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push dword [ebp + 8]
call fcn.10004473
mov ecx, dword [ebp + 8]
mov edi, eax
lea ecx, [ecx - 0x10]
call fcn.100035f1
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.100035f1
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.100035f1
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.100035f1
lea ecx, [esi - 0x10]
call fcn.100035f1
mov eax, edi
call fcn.100216f7
ret 4
Function at 0x10012cc1
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x14
mov eax, 0x10046bc8
call fcn.1002172e
call fcn.10003546
push eax
lea ecx, [ebp - 0x14]
call fcn.10002d0d
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.10003546
push eax
lea ecx, [ebp - 0x10]
call fcn.10002d0d
mov byte [ebp - 4], 1
push dword [ebp + 0x10]
call fcn.10002e3a
pop ecx
push eax
push dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
call fcn.10003251
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], ebx
je 0x10012dcf
push 0x2f
push esi
call fcn.1002246a
pop ecx
pop ecx
test eax, eax
jne 0x10012d26
or eax, 0xffffffff
jmp 0x10012d2a
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.100049a5
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.1000c733
push str.Data_
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 3
push eax
call fcn.10004861
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.100047c5
add esp, 0x18
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.10004a2d
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.100035f1
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.100035f1
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.100035f1
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.100035f1
mov edi, dword [ebp - 0x14]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10012dd2
call fcn.1001c9e6
push ebx
push edi
push esi
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
jmp 0x10012dd2
mov edi, dword [ebp - 0x14]
push str..url
push dword [ebp + 8]
lea eax, [ebp + 0x10]
push eax
call fcn.10004682
mov byte [ebp - 4], 6
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0xc], ebx
jne 0x10012df4
lea ecx, [eax - 0x10]
jmp 0x10012e1c
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10012e08
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.10004573
mov ecx, dword [ebp + 0x10]
mov ebx, eax
lea ecx, [ecx - 0x10]
call fcn.100035f1
lea ecx, [esi - 0x10]
call fcn.100035f1
lea ecx, [edi - 0x10]
call fcn.100035f1
mov eax, ebx
call fcn.100216f7
ret 0xc

Function at 0x10012ea7
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 0x10012eca
pop ebp
jmp fcn.10013042
pop ebp
ret 4
Function at 0x10012ece
Capabilities:
Create process on windows

Disassembly:
push 0x18
mov eax, 0x10046bfb
call fcn.1002172e
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.10003546
push eax
lea ecx, [ebp - 0x10]
call fcn.10002d0d
mov byte [ebp - 4], 1
call fcn.10003546
push eax
lea ecx, [ebp - 0x18]
call fcn.10002d0d
push 0x20119
push str.SOFTWAREWOW6432NodeMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push SysStringLen
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.1000ae61
mov edi, 0x1000
test eax, eax
jne 0x10012f64
push edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], edi
call fcn.100030eb
lea ecx, [ebp - 0x14]
push ecx
push eax
push str.InstallLocation
lea ecx, [ebp - 0x24]
call fcn.1000a91f
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.10004aa1
test esi, esi
jne 0x10012f64
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], ebx
jne 0x10012fad
jmp 0x10012f67
mov esi, dword [ebp - 0x10]
push 0x20119
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
push SysStringLen
lea ecx, [ebp - 0x24]
call fcn.1000ae61
test eax, eax
jne 0x10012fad
push edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], edi
call fcn.100030eb
lea ecx, [ebp - 0x14]
push ecx
push eax
push str.InstallLocation
lea ecx, [ebp - 0x24]
call fcn.1000a91f
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.10004aa1
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
test eax, eax
jne 0x10012fb9
mov edi, dword [ebp - 0x18]
jmp 0x10013020
dec eax
lea ecx, [ebp - 0x10]
push eax
call fcn.10004a7d
cmp ax, 0x5c
je 0x10012fe2
mov esi, 0x100501fc
push esi
call fcn.10002e3a
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.10002a6a
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.1000a90b
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.100035f1
lea ecx, [esi - 0x10]
call fcn.100035f1
lea ecx, [ebp - 0x24]
call fcn.1000af19
mov eax, ebx
call fcn.100216f7
ret 4
Function at 0x10013042
Capabilities:
Create process on windows
Get common file path
Get program files directory

Disassembly:
push 0x210
mov eax, 0x10046c21
call fcn.10021762
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 0x10013082
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x483
jne 0x100130fe
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.10022d40
add esp, 0xc
lea eax, [ebp - 0x218]
push ebx
push 0x26
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.10003546
push eax
lea ecx, [ebp - 0x21c]
call fcn.10002d0d
lea eax, [ebp - 0x218]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x21c]
push str.__sInternet_Exploreriexplore.exe_
push eax
call fcn.1000a90b
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.100035f1
mov eax, ebx
call fcn.1002170c
ret 4
Function at 0x10013108
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x1005c030]
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 0x100132f2
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 0x100131b8
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 0x100132f2
mov ecx, dword [ebp - 0x224]
mov eax, dword [ebp - 0x214]
sub ecx, dword [ebp - 0x22c]
sub eax, dword [ebp - 0x21c]
cmp eax, ecx
jne 0x100132f2
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 0x100131e4
lea ecx, [ebp - 0x264]
push ecx
push eax
call edi
mov eax, dword [ebp - 0x260]
cmp eax, dword [ebp - 0x264]
je 0x100132f2
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 0x100132f2
mov ecx, dword [ebp - 0x26c]
sub ecx, dword [ebp - 0x270]
cmp ecx, eax
jl 0x100132f2
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 0x100132d6
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 0x100132f4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100206ba
leave
ret
Function at 0x10013303
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 0x1001334d
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 0x1001333c
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 0x1001334d
push esi
call dword [sym.imp.USER32.dll_IsZoomed]
jmp 0x1001334f
xor eax, eax
pop esi
leave
ret

Function at 0x100133eb
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
call fcn.100185b7
test eax, eax
je 0x1001342c
xor eax, eax
cmp dword [0x1005f4e0], eax
sete al
push eax
call fcn.1001860d
cmp dword [0x1005f4d8], 0
jne 0x1001342c
xor eax, eax
push eax
push eax
push 0x1005f4d8
push 0x10018634
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1005f4d8], eax
xor eax, eax
cmp dword [ebp + 8], eax
sete al
mov dword [0x1005f4e0], eax
pop ebp
ret 4
Function at 0x100154bc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x10046dba
call fcn.100217d0
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 0x10015539
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 0x10015539
call fcn.10013fe9
mov esi, eax
jmp 0x10015630
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x1001555c
call fcn.10013fe9
jmp 0x10015623
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x10015552
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 0x1001558f
mov esi, 0x8007000e
jmp 0x10015625
push 2
pop edx
mov byte [ebp - 4], 2
call fcn.1001445b
cmp eax, 0x400
jbe 0x100155b0
push eax
lea ecx, [ebp - 0x418]
call fcn.10013fc4
jmp 0x100155d2
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x100155d2
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x10015585
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 0x10015552
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.10015367
mov esi, eax
test edi, edi
je 0x10015630
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10015649
lea ecx, [ebp - 0x418]
call fcn.10013faf
mov eax, esi
call fcn.1002171d
ret 0x10
Function at 0x10015c67
Capabilities:
Accept command line arguments

Disassembly:
push 0x14
mov eax, 0x10046e68
call fcn.1002172e
push 0x66
pop edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x10]
call fcn.10002f71
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push str._startby_d
call fcn.10002f71
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.100048b9
push ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
push dword [eax]
call fcn.10015c0b
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.100049a5
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x10]
call fcn.10004a2d
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.100035f1
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.100035f1
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.10015c42
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.100035f1
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.100035f1
mov eax, esi
call fcn.100216f7
ret