joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001ff57
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x240
lea ebp, [esp - 4]
mov eax, dword [0x101f1dd0]
xor eax, ebp
mov dword [ebp + 0x240], eax
push 0x38
mov eax, 0x1016bf82
call fcn.10075e22
mov eax, dword [ebp + 0x24c]
push 1
xor esi, esi
push esi
push esi
push eax
push str.open
push esi
mov dword [ebp - 0x28], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x10020126
push 0x206
lea eax, [ebp + 0x3a]
push esi
push eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], esi
mov word [ebp + 0x38], si
call fcn.10076580
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
mov ebx, 0x20019
push ebx
push esi
push str.http
push SysReAllocStringLen
call edi
test eax, eax
je 0x1001ffea
xor eax, eax
jmp 0x10020129
lea eax, [ebp - 0x14]
push eax
push ebx
push esi
push str.shell
push dword [ebp - 0x1c]
call edi
test eax, eax
jne 0x1001ffe3
lea eax, [ebp - 0x18]
push eax
push ebx
push esi
push str.opencommand
push dword [ebp - 0x14]
call edi
cmp eax, esi
jne 0x1001ffe3
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp - 0x24]
push eax
push esi
push 0x101d87ec
push dword [ebp - 0x18]
xor ebx, ebx
inc ebx
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
push dword [ebp - 0x18]
call edi
cmp dword [ebp - 0x10], esi
jbe 0x1001ffe3
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp + 0x1c]
call fcn.100015f0
push esi
push 0x10179150
lea ecx, [ebp + 0x1c]
mov dword [ebp - 4], esi
call fcn.10003f70
mov edi, eax
cmp edi, 0xffffffff
push esi
lea ecx, [ebp + 0x1c]
jne 0x10020082
push ebx
call fcn.100017f0
jmp 0x1001ffe3
push 0x10178204
call fcn.10003f70
push 0x101d87ec
lea ecx, [ebp]
mov dword [ebp - 0x20], eax
call fcn.100015f0
cmp dword [ebp - 0x20], esi
mov byte [ebp - 4], 1
lea eax, [ebp - 0x44]
lea ecx, [ebp + 0x1c]
jne 0x100200bc
add edi, 5
push edi
push esi
push eax
call fcn.10003610
mov byte [ebp - 4], 2
jmp 0x100200cb
add edi, 4
push edi
push esi
push eax
call fcn.10003610
mov byte [ebp - 4], 3
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp]
call fcn.10001d60
push esi
push ebx
lea ecx, [ebp - 0x44]
call fcn.100017f0
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x100200ed
lea eax, [ebp + 4]
push ebx
push esi
push dword [ebp - 0x28]
push eax
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
push esi
lea ecx, [ebp]
push ebx
ja 0x10020117
call fcn.100017f0
push esi
lea ecx, [ebp + 0x1c]
jmp 0x10020077
call fcn.100017f0
push esi
push ebx
lea ecx, [ebp + 0x1c]
call fcn.100017f0
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x240]
xor ecx, ebp
call fcn.10075e13
add ebp, 0x244
leave
ret
Function at 0x10020654
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
sub esp, 0x11c
lea ebp, [esp - 4]
mov eax, dword [0x101f1dd0]
xor eax, ebp
mov dword [ebp + 0x11c], eax
push 0x2c
mov eax, 0x1016bff7
call fcn.10075e22
mov edi, dword [ebp + 0x128]
lea eax, [ebp - 0x38]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x11c
lea eax, [ebp]
push ebx
push eax
call fcn.10076580
add esp, 0xc
lea eax, [ebp]
push eax
mov dword [ebp], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x101d87ec
mov ecx, edi
call fcn.100015f0
mov eax, dword [ebp + 4]
xor ecx, ecx
inc ecx
sub eax, 4
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ecx
je 0x100207c3
dec eax
je 0x10020792
dec eax
je 0x1002070e
sub eax, 4
je 0x100206f0
push str.UnknownSystem
jmp 0x100207f9
cmp byte [ebp + 0x11a], cl
mov ecx, edi
jne 0x10020704
push str.Windows10
jmp 0x100207fb
push str.WindowsServerTechnicalPreview
jmp 0x100207fb
mov eax, dword [ebp + 8]
sub eax, ebx
je 0x10020781
dec eax
je 0x10020766
dec eax
je 0x10020739
cmp byte [ebp + 0x11a], cl
mov ecx, edi
jne 0x1002072f
push str.Windows8.1
jmp 0x100207fb
push str.Windows2012
jmp 0x100207fb
cmp byte [ebp + 0x11a], cl
jne 0x1002075c
push 4
push 6
call fcn.1002025a
test eax, eax
pop ecx
pop ecx
mov ecx, edi
jne 0x100206fa
push str.Windows8
jmp 0x100207fb
push str.Windows2012
jmp 0x100207f9
cmp byte [ebp + 0x11a], cl
mov ecx, edi
jne 0x1002077a
push str.Windows7
jmp 0x100207fb
push str.Windows2008
jmp 0x100207fb
cmp byte [ebp + 0x11a], cl
mov ecx, edi
jne 0x1002077a
push str.WindowsVista
jmp 0x100207fb
mov eax, dword [ebp + 8]
sub eax, ebx
je 0x100207bc
dec eax
je 0x100207ae
dec eax
jne 0x10020800
cmp byte [ebp + 0x11a], cl
jne 0x100207b5
cmp word [ebp - 0x38], 9
jne 0x100207b5
push str.WindowsXP
jmp 0x100207f9
push str.Windows2003
jmp 0x100207f9
push str.Windows2000
jmp 0x100207f9
cmp dword [ebp + 8], ebx
je 0x100207e2
cmp dword [ebp + 8], 0xa
je 0x100207db
cmp dword [ebp + 8], 0x5a
jne 0x10020800
push str.WindowsMe
jmp 0x100207f9
push str.Windows98
jmp 0x100207f9
cmp dword [ebp + 0x10], 2
jne 0x100207ef
push str.WindowsNT
jmp 0x100207f9
cmp dword [ebp + 0x10], ecx
jne 0x10020800
push 0x101792a4
mov ecx, edi
call fcn.100017c0
cmp dword [ebp + 0x12c], ebx
je 0x1002081f
push 0x101792a0
mov ecx, edi
call fcn.10003540
lea eax, [ebp + 0x14]
push eax
mov ecx, edi
call fcn.10003540
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x11c]
xor ecx, ebp
call fcn.10075e13
add ebp, 0x120
leave
ret
Function at 0x10021ad1
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
lea ebx, [ecx + 0x210]
push edi
push ebx
push dword [ebx + 4]
lea ecx, [ebp - 0x10]
call fcn.1000d1b5
mov eax, dword [ebp - 0x10]
push ebx
push dword [ebx + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], eax
call fcn.1000d1b5
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
call fcn.10004bce
test al, al
jne 0x10021bc9
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edi, 0x10179480
mov eax, dword [ebp + 8]
add eax, 0xa8
push eax
call esi
push edi
call esi
lea ecx, [ebp - 8]
call fcn.10004bf5
add eax, 0xa8
push eax
call esi
push edi
call esi
mov eax, dword [ebp + 8]
add eax, 0x28
push eax
call esi
push edi
call esi
lea ecx, [ebp - 8]
call fcn.10004bf5
add eax, 0x28
push eax
call esi
push edi
call esi
lea ecx, [ebp - 8]
call fcn.10004bf5
add eax, 0xa8
push eax
mov eax, dword [ebp + 8]
add eax, 0xa8
push eax
call fcn.1007bcd0
test eax, eax
pop ecx
pop ecx
jne 0x10021ba1
lea ecx, [ebp - 8]
call fcn.10004bf5
add eax, 0x28
push eax
mov eax, dword [ebp + 8]
add eax, 0x28
push eax
call fcn.1007bcd0
test eax, eax
pop ecx
pop ecx
je 0x10021be9
lea ecx, [ebp - 8]
call fcn.100213c7
push ebx
push dword [ebx + 8]
lea ecx, [ebp - 0x10]
call fcn.1000d1b5
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
call fcn.10004bce
test al, al
je 0x10021b23
mov esi, dword [ebp + 8]
lea eax, [esi + 0xa8]
push eax
call fcn.100757d0
test eax, eax
pop ecx
je 0x10021be9
push esi
mov ecx, ebx
call fcn.10021a7c
mov al, 1
jmp 0x10021beb
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x10022170
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x101f1dd0]
xor eax, ebp
mov dword [ebp + 0x98], eax
and dword [ebp - 0x80], 0
push ebx
push esi
push edi
mov edi, ecx
lea ebx, [edi + 0x210]
mov ecx, ebx
call fcn.1002178b
mov esi, 0x114
push esi
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.10076580
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x7c], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x6c], 2
jne 0x100221d1
mov ecx, edi
call fcn.10021bf2
jmp 0x100221e9
xor esi, esi
cmp dword [ebp - 0x80], 0
jne 0x100221e9
mov ecx, edi
call fcn.1002202c
inc esi
cmp esi, 0xa
mov dword [ebp - 0x80], eax
jl 0x100221d3
mov ecx, ebx
call fcn.10021397
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10075e13
add ebp, 0x9c
leave
ret

Function at 0x1002359e
Capabilities:
Check mutex on windows

Disassembly:
push esi
push dword [esp + 8]
mov esi, ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
setne cl
mov dword [esi + 4], ecx
pop esi
ret 4

Function at 0x100235cc
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x3c
mov eax, 0x1016c2d0
call fcn.10075e22
lea ecx, [ebp - 0x48]
call fcn.100344d4
xor esi, esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], esi
call fcn.100344ab
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
je 0x1002366a
lea eax, [ebp - 0x18]
push eax
push 0xf013f
push esi
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
call edi
cmp eax, esi
jne 0x100236d0
lea eax, [ebp - 0x14]
push eax
push 0xf003f
push esi
push str.SmartCloudInput
push dword [ebp - 0x18]
mov dword [ebp - 0x14], esi
call edi
cmp eax, esi
je 0x1002363e
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100236d0
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x20], 0x104
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x18]
jmp 0x100236ce
lea eax, [ebp - 0x10]
push eax
mov ebx, 0xf003f
push ebx
push esi
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x10], esi
call edi
cmp eax, esi
jne 0x100236d0
lea eax, [ebp - 0x1c]
push eax
push ebx
push esi
push str.SmartCloudInput
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], esi
call edi
cmp eax, esi
je 0x100236a4
push dword [ebp - 0x10]
jmp 0x10023633
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x24], 0x104
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.100343ce
call fcn.10075efa
ret 8
Function at 0x100236e4
Capabilities:
Set registry value

Disassembly:
push 0x34
mov eax, 0x1016ce70
call fcn.10075e22
lea ecx, [ebp - 0x40]
call fcn.100344d4
xor esi, esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], esi
call fcn.100344ab
test eax, eax
je 0x1002377d
lea eax, [ebp - 0x10]
push eax
mov edi, 0xf013f
push edi
push esi
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x100237e4
push esi
lea eax, [ebp - 0x18]
push eax
push esi
push edi
push esi
push esi
push esi
push str.SmartCloudInput
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
je 0x10023756
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100237e4
push 0x104
push dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 8]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
jmp 0x100237e2
lea eax, [ebp - 0x14]
push eax
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x100237e4
push esi
lea eax, [ebp - 0x1c]
push eax
push esi
push edi
push esi
push esi
push esi
push str.SmartCloudInput
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
je 0x100237bd
push dword [ebp - 0x14]
jmp 0x1002374b
push 0x104
push dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 8]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x14]
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.100343ce
call fcn.10075efa
ret 8
Function at 0x100237fb
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x3b0]
sub esp, 0x430
mov eax, dword [0x101f1dd0]
xor eax, ebp
mov dword [ebp + 0x3ac], eax
mov eax, dword [ebp + 0x3b8]
push ebx
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x68]
push eax
xor ebx, ebx
push 9
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x70], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1002384d
xor eax, eax
jmp 0x10023924
push esi
push edi
mov edi, 0x206
push edi
lea eax, [ebp + 0x1a6]
push ebx
push eax
mov word [ebp + 0x1a4], bx
call fcn.10076580
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp + 0x1a4]
push eax
mov dword [ebp - 0x6c], ebx
push ebx
jmp 0x10023905
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x1a4]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x100238f7
push edi
lea eax, [ebp - 0x62]
push ebx
push eax
mov dword [ebp - 0x78], esi
mov word [ebp - 0x64], bx
call fcn.10076580
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
push str.DisplayName
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100238ee
push dword [ebp - 0x80]
lea eax, [ebp - 0x64]
push eax
call fcn.10078b09
test eax, eax
pop ecx
pop ecx
je 0x100238ee
mov dword [ebp - 0x74], 1
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x6c]
push esi
lea eax, [ebp + 0x1a4]
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x10023882
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x74]
pop edi
pop esi
mov ecx, dword [ebp + 0x3ac]
xor ecx, ebp
pop ebx
call fcn.10075e13
add ebp, 0x3b0
leave
ret 4
Function at 0x10023e75
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x240
lea ebp, [esp - 4]
mov eax, dword [0x101f1dd0]
xor eax, ebp
mov dword [ebp + 0x240], eax
push 8
mov eax, 0x1016c36a
call fcn.10075e22
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 0x24c]
xor esi, esi
push 0x206
lea eax, [ebp + 0x3a]
push esi
push eax
mov word [ebp + 0x38], si
call fcn.10076580
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push esi
push 0x19
lea eax, [ebp + 0x38]
push eax
push esi
call edi
test eax, eax
je 0x10023f20
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp + 0x1c]
call fcn.100015f0
push 0x101d87cc
lea ecx, [ebp + 0x1c]
mov dword [ebp - 4], esi
call fcn.10003540
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x10023ef6
lea eax, [ebp + 0x20]
mov ecx, dword [ebp - 0x10]
push ebx
push eax
call fcn.10023b53
cmp eax, esi
push esi
mov dword [ebp - 0x14], eax
lea ecx, [ebp + 0x1c]
push 1
je 0x10023f17
call fcn.100017f0
mov eax, dword [ebp - 0x14]
jmp 0x10023f79
or dword [ebp - 4], 0xffffffff
call fcn.100017f0
push esi
push 0x10
lea eax, [ebp + 0x38]
push eax
push esi
call edi
test eax, eax
je 0x10023f77
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp]
call fcn.100015f0
xor edi, edi
inc edi
push 0x101d87cc
lea ecx, [ebp]
mov dword [ebp - 4], edi
call fcn.10003540
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x10023f59
lea eax, [ebp + 4]
mov ecx, dword [ebp - 0x10]
push ebx
push eax
call fcn.10023b53
push esi
lea ecx, [ebp]
push edi
mov ebx, eax
call fcn.100017f0
cmp ebx, esi
je 0x10023f77
mov eax, ebx
jmp 0x10023f79
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x240]
xor ecx, ebp
call fcn.10075e13
add ebp, 0x244
leave
ret 4

Function at 0x100245e4
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
xor edi, edi
push edi
push 0x10024597
push edi
push edi
mov dword [0x101fdea4], edi
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
lea eax, [ebp - 0x10]
push eax
push edi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push edi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov ebx, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x20]
push ecx
push eax
call esi
lea eax, [ebp - 0x30]
push eax
push ebx
call esi
mov eax, dword [ebp - 8]
mov ecx, dword [0x101fdea4]
sub eax, dword [ebp - 0x10]
cmp ecx, 1
jle 0x10024669
cmp ecx, edi
jle 0x10024669
mov esi, 0x101fddd8
mov edx, dword [esi]
cmp edx, eax
jle 0x10024663
mov eax, edx
add esi, 0x10
dec ecx
jne 0x1002465b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100246c9
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 0x20]
push eax
push esi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push esi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x10]
push ecx
push eax
call esi
lea eax, [ebp - 0x30]
push eax
push edi
call esi
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
pop edi
pop esi
leave
ret

Function at 0x10024713
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 0x20]
push eax
push esi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push esi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x10]
push ecx
push eax
call esi
lea eax, [ebp - 0x30]
push eax
push edi
call esi
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
pop edi
pop esi
leave
ret

Function at 0x1002475d
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push esi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x20]
push ecx
push eax
call esi
lea eax, [ebp - 0x30]
push eax
push edi
call esi
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
pop edi
pop esi
leave
ret
Function at 0x100247c2
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0xb94]
sub esp, 0xc14
mov eax, dword [0x101f1dd0]
xor eax, ebp
mov dword [ebp + 0xb90], eax
push esi
push edi
mov esi, 0x206
xor edi, edi
push esi
lea eax, [ebp + 0x782]
push edi
push eax
mov word [ebp + 0x780], di
call fcn.10076580
lea eax, [ebp + 0x780]
push str.C:log_
push eax
call fcn.10076a8d
push 0x3e6
lea eax, [ebp - 0x76]
push edi
push eax
mov word [ebp - 0x78], di
call fcn.10076580
lea eax, [ebp + 0x780]
push eax
lea eax, [ebp + 0x578]
push str._sgswb.log
push eax
call fcn.100048d5
push esi
lea eax, [ebp + 0x372]
push edi
push eax
mov word [ebp + 0x370], di
call fcn.10076580
push esi
lea eax, [ebp + 0x98a]
push edi
push eax
mov word [ebp + 0x988], di
call fcn.10076580
add esp, 0x44
push 0x104
lea eax, [ebp + 0x988]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp + 0x988]
push 0x5c
push eax
call fcn.10078f7d
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ecx
mov word [eax], di
pop ecx
lea eax, [ebp + 0x578]
push eax
call esi
test eax, eax
je 0x1002499a
lea eax, [ebp + 0x988]
push ebx
push eax
call fcn.10076514
lea eax, [ebp + eax*2 + 0x98a]
push eax
lea eax, [ebp + 0x370]
push eax
call fcn.10076a8d
lea eax, [ebp + 0x370]
push eax
lea eax, [ebp + 0x780]
push eax
lea eax, [ebp + 0x578]
push str._s_s.txt
push eax
call fcn.100048d5
lea eax, [ebp + 0xba0]
push eax
push dword [ebp + 0xb9c]
lea eax, [ebp - 0x78]
push 0x1f3
push eax
call fcn.10079e9d
add esp, 0x2c
lea eax, [ebp + 0x578]
push eax
mov word [ebp + 0x36e], di
mov dword [ebp - 0x7c], edi
call esi
xor ebx, ebx
inc ebx
test eax, eax
je 0x1002491c
mov dword [ebp - 0x7c], ebx
lea eax, [ebp + 0x578]
push 0x10179010
push eax
call fcn.10076a50
mov esi, eax
cmp esi, edi
pop ecx
pop ecx
je 0x10024999
cmp dword [ebp - 0x7c], edi
jne 0x10024951
push esi
push 2
lea eax, [ebp - 0x80]
push ebx
push eax
mov dword [ebp - 0x80], 0xfeff
call fcn.10076908
add esp, 0x10
lea eax, [ebp - 0x78]
push eax
call fcn.10076514
push esi
add eax, eax
push eax
lea eax, [ebp - 0x78]
push ebx
push eax
call fcn.10076908
push esi
push 2
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x7c], 0xd
call fcn.10076908
push esi
push 2
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x7c], 0xa
call fcn.10076908
push esi
call fcn.1007672d
add esp, 0x38
pop ebx
mov ecx, dword [ebp + 0xb90]
pop edi
xor ecx, ebp
pop esi
call fcn.10075e13
add ebp, 0xb94
leave
ret
Function at 0x100249b1
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1fb4]
mov eax, 0x2034
call fcn.10076ab0
mov eax, dword [0x101f1dd0]
xor eax, ebp
mov dword [ebp + 0x1fb0], eax
push esi
push edi
mov esi, 0x206
xor edi, edi
push esi
lea eax, [ebp + 0x1ba2]
push edi
push eax
mov word [ebp + 0x1ba0], di
call fcn.10076580
lea eax, [ebp + 0x1ba0]
push str.C:log_
push eax
call fcn.10076a8d
push 0x7fe
lea eax, [ebp + 0xf92]
push edi
push eax
mov word [ebp + 0xf90], di
call fcn.10076580
lea eax, [ebp + 0x1ba0]
push eax
lea eax, [ebp + 0x1998]
push str._sgswb.log
push eax
call fcn.100048d5
push esi
lea eax, [ebp + 0x1792]
push edi
push eax
mov word [ebp + 0x1790], di
call fcn.10076580
push esi
lea eax, [ebp + 0x1daa]
push edi
push eax
mov word [ebp + 0x1da8], di
call fcn.10076580
add esp, 0x44
push 0x104
lea eax, [ebp + 0x1da8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp + 0x1da8]
push 0x5c
push eax
call fcn.10078f7d
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ecx
mov word [eax], di
pop ecx
lea eax, [ebp + 0x1998]
push eax
call esi
test eax, eax
je 0x10024bd9
lea eax, [ebp + 0x1da8]
push ebx
push eax
call fcn.10076514
lea eax, [ebp + eax*2 + 0x1daa]
push eax
lea eax, [ebp + 0x1790]
push eax
call fcn.10076a8d
lea eax, [ebp + 0x1790]
push eax
lea eax, [ebp + 0x1ba0]
push eax
lea eax, [ebp + 0x1998]
push str._s_s.txt
push eax
call fcn.100048d5
lea eax, [ebp + 0x1fc0]
push eax
push dword [ebp + 0x1fbc]
lea eax, [ebp + 0xf90]
push 0x3ff
push eax
call fcn.10079e9d
push edi
call fcn.100795ed
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x7c], edx
call fcn.10079309
lea ecx, [ebp + 0xf90]
push ecx
push dword [eax]
mov ecx, dword [eax + 0x10]
push dword [eax + 4]
inc ecx
push dword [eax + 8]
push dword [eax + 0xc]
mov eax, dword [eax + 0x14]
push ecx
add eax, 0x76c
push eax
lea eax, [ebp - 0x70]
push str.__d__d__d__d__d__d_:_s
push eax
call fcn.100048d5
add esp, 0x58
lea eax, [ebp + 0x1998]
push eax
mov word [ebp + 0x178e], di
mov dword [ebp - 0x74], edi
call esi
xor ebx, ebx
inc ebx
test eax, eax
je 0x10024b5b
mov dword [ebp - 0x74], ebx
lea eax, [ebp + 0x1998]
push 0x10179010
push eax
call fcn.10076a50
mov esi, eax
cmp esi, edi
pop ecx
pop ecx
je 0x10024bd8
cmp dword [ebp - 0x74], edi
jne 0x10024b90
push esi
push 2
lea eax, [ebp - 0x78]
push ebx
push eax
mov dword [ebp - 0x78], 0xfeff
call fcn.10076908
add esp, 0x10
lea eax, [ebp - 0x70]
push eax
call fcn.10076514
push esi
add eax, eax
push eax
lea eax, [ebp - 0x70]
push ebx
push eax
call fcn.10076908
push esi
push 2
lea eax, [ebp - 0x74]
push ebx
push eax
mov dword [ebp - 0x74], 0xd
call fcn.10076908
push esi
push 2
lea eax, [ebp - 0x74]
push ebx
push eax
mov dword [ebp - 0x74], 0xa
call fcn.10076908
push esi
call fcn.1007672d
add esp, 0x38
pop ebx
mov ecx, dword [ebp + 0x1fb0]
pop edi
xor ecx, ebp
pop esi
call fcn.10075e13
add ebp, 0x1fb4
leave
ret