joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10054290
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x101ba0ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 0x10054170
push 0
push 0
mov dword [0x101c7da4], 0
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
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 - 0x24]
push ecx
push eax
call esi
lea eax, [ebp - 0x34]
push eax
push edi
call esi
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov esi, dword [0x101c7da4]
cmp esi, 1
jle 0x100543fe
xor edi, edi
test esi, esi
jle 0x100543fe
cmp esi, 8
jb 0x100543e0
cmp dword [0x101c58a0], 2
jl 0x100543e0
mov ecx, esi
and ecx, 0x80000007
jns 0x10054342
dec ecx
or ecx, 0xfffffff8
inc ecx
movd xmm0, eax
mov edx, esi
pshufd xmm4, xmm0, 0
sub edx, ecx
movaps xmm5, xmm4
mov eax, 0x101c7e70
nop word [eax + eax]
movd xmm2, dword [eax + 0x10]
lea eax, [eax + 0x80]
movd xmm0, dword [eax - 0x80]
add edi, 8
movd xmm1, dword [eax - 0x90]
movd xmm3, dword [eax - 0xa0]
punpckldq xmm3, xmm0
movd xmm0, dword [eax - 0x40]
punpckldq xmm1, xmm2
movd xmm2, dword [eax - 0x30]
punpckldq xmm3, xmm1
movd xmm1, dword [eax - 0x50]
punpckldq xmm1, xmm2
pmaxsd xmm4, xmm3
movd xmm3, dword [eax - 0x60]
punpckldq xmm3, xmm0
punpckldq xmm3, xmm1
pmaxsd xmm5, xmm3
cmp edi, edx
jl 0x10054360
pmaxsd xmm4, xmm5
movaps xmm0, xmm4
psrldq xmm0, 8
pmaxsd xmm4, xmm0
movaps xmm0, xmm4
psrldq xmm0, 4
pmaxsd xmm4, xmm0
movd eax, xmm4
cmp edi, esi
jge 0x100543fe
mov edx, edi
shl edx, 4
add edx, 0x101c7e50
sub esi, edi
cmp dword [edx], eax
cmovg eax, dword [edx]
lea edx, [edx + 0x10]
sub esi, 1
jne 0x100543f1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1010a7f2
mov esp, ebp
pop ebp
ret
Function at 0x10054410
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x101ba0ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 0x10054170
push 0
push 0
mov dword [0x101c7da4], 0
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
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 - 0x24]
push ecx
push eax
call esi
lea eax, [ebp - 0x34]
push eax
push edi
call esi
mov esi, dword [ebp - 8]
sub esi, dword [ebp - 0x10]
mov eax, dword [0x101c7da4]
cmp eax, 1
jle 0x100544de
xor ebx, ebx
test eax, eax
jle 0x100544de
mov edi, 0x101c7e54
nop word [eax + eax]
push dword [ebp + 0xc]
lea eax, [edi - 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x100544d2
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x100544d0
mov esi, dword [ebp - 8]
sub esi, dword [ebp - 0x10]
jmp 0x100544d2
mov esi, dword [edi]
inc ebx
add edi, 0x10
cmp ebx, dword [0x101c7da4]
jl 0x100544a0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1010a7f2
mov esp, ebp
pop ebp
ret
Function at 0x10054500
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x101ba0ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 0x10054170
push 0
push 0
mov ebx, ecx
mov dword [0x101c7da4], 0
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
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 - 0x24]
push ecx
push eax
call esi
lea eax, [ebp - 0x34]
push eax
push edi
call esi
mov esi, dword [ebp - 8]
sub esi, dword [ebp - 0x10]
mov ecx, dword [0x101c7da4]
cmp ecx, 1
jle 0x100546de
mov eax, dword [ebx + 8]
xor edi, edi
mov edx, dword [ebx + 0xc]
xor ebx, ebx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], edi
test ecx, ecx
jle 0x100545f6
mov edi, 0x101c7e54
push edx
push eax
lea eax, [edi - 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x100545d7
push dword [ebp - 0x3c]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x40], 1
push dword [ebp - 0x38]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x100545d5
mov esi, dword [ebp - 8]
sub esi, dword [ebp - 0x10]
jmp 0x100545d7
mov esi, dword [edi]
mov ecx, dword [0x101c7da4]
inc ebx
mov eax, dword [ebp - 0x38]
add edi, 0x10
mov edx, dword [ebp - 0x3c]
cmp ebx, ecx
jl 0x100545a2
mov edi, dword [ebp - 0x40]
test edi, edi
jne 0x100546de
xor edi, edi
test ecx, ecx
jle 0x100546de
cmp ecx, 8
jb 0x100546c0
cmp dword [0x101c58a0], 2
jl 0x100546c0
mov eax, ecx
and eax, 0x80000007
jns 0x10054624
dec eax
or eax, 0xfffffff8
inc eax
movd xmm0, esi
mov edx, ecx
pshufd xmm4, xmm0, 0
sub edx, eax
movaps xmm5, xmm4
mov eax, 0x101c7e74
nop dword [eax]
movd xmm2, dword [eax + 0x10]
lea eax, [eax + 0x80]
movd xmm0, dword [eax - 0x80]
add edi, 8
movd xmm1, dword [eax - 0x90]
movd xmm3, dword [eax - 0xa0]
punpckldq xmm3, xmm0
movd xmm0, dword [eax - 0x40]
punpckldq xmm1, xmm2
movd xmm2, dword [eax - 0x30]
punpckldq xmm3, xmm1
movd xmm1, dword [eax - 0x50]
punpckldq xmm1, xmm2
pminsd xmm4, xmm3
movd xmm3, dword [eax - 0x60]
punpckldq xmm3, xmm0
punpckldq xmm3, xmm1
pminsd xmm5, xmm3
cmp edi, edx
jl 0x10054640
pminsd xmm4, xmm5
movaps xmm0, xmm4
psrldq xmm0, 8
pminsd xmm4, xmm0
movaps xmm0, xmm4
psrldq xmm0, 4
pminsd xmm4, xmm0
movd esi, xmm4
cmp edi, ecx
jge 0x100546de
mov edx, edi
shl edx, 4
add edx, 0x101c7e54
sub ecx, edi
cmp dword [edx], esi
cmovl esi, dword [edx]
lea edx, [edx + 0x10]
sub ecx, 1
jne 0x100546d1
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1010a7f2
mov esp, ebp
pop ebp
ret
Function at 0x10054990
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x101ba0ec]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x34]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
xor ecx, ebp
sub eax, dword [ebp - 0x10]
pop edi
call fcn.1010a7f2
mov esp, ebp
pop ebp
ret
Function at 0x10059a30
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10158fbb
mov eax, dword fs:[0]
push eax
sub esp, 0x888
mov eax, dword [0x101ba0ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
push esi
lea eax, [ebp - 0x628]
push 0x10184a18
push eax
call fcn.10041b40
add esp, 0xc
lea eax, [ebp - 0x890]
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, eax
mov dword [ebp - 0x894], ecx
cmp ecx, 0xffffffff
je 0x10059c14
mov ebx, dword [ebp + 8]
nop
lea eax, [ebp - 0x890]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ecx, dword [ebp - 0x894]
test eax, eax
je 0x10059c14
cmp word [ebp - 0x864], 0x2e
je 0x10059aa0
mov ax, word [ebp - 0x862]
test ax, ax
je 0x10059aa0
cmp ax, 0x2e
jne 0x10059ae2
cmp word [ebp - 0x860], 0
je 0x10059aa0
test byte [ebp - 0x890], 0x10
je 0x10059b3d
mov ecx, dword [ebp - 0x894]
test bl, bl
je 0x10059aa0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1012bcf0
lea eax, [ebp - 0x864]
push eax
push esi
lea eax, [ebp - 0x420]
push str._s_s_
push eax
call fcn.10041b40
push ebx
mov edx, edi
lea ecx, [ebp - 0x420]
call fcn.10059a30
mov ecx, dword [ebp - 0x894]
add esp, 0x20
jmp 0x10059aa0
lea eax, [ebp - 0x864]
push eax
push esi
lea eax, [ebp - 0x218]
push 0x10184440
push eax
call fcn.10041b40
xor eax, eax
mov dword [ebp - 0x62c], 7
add esp, 0x10
mov dword [ebp - 0x630], 0
mov word [ebp - 0x640], ax
cmp word [ebp - 0x218], ax
je 0x10059b9f
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10059b90
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x640]
call fcn.10041f80
lea eax, [ebp - 0x640]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.10049880
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x62c]
cmp eax, 8
jb 0x10059bec
inc eax
lea ecx, [ebp - 0x640]
push eax
push dword [ebp - 0x640]
call fcn.10042120
mov ecx, dword [ebp - 0x894]
xor eax, eax
mov dword [ebp - 0x62c], 7
mov dword [ebp - 0x630], 0
mov word [ebp - 0x640], ax
jmp 0x10059aa0
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [edi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [edi]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1010a7f2
mov esp, ebp
pop ebp
ret
Function at 0x10059cd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10158ffb
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x101ba0ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x101c589c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x101c8790]
cmp eax, dword [ecx + 4]
jle 0x10059d6a
push 0x101c8790
call fcn.1010aa90
add esp, 4
cmp dword [0x101c8790], 0xffffffff
jne 0x10059d6a
push 0x101c8798
mov dword [0x101c8794], 0x1018f6f8
mov dword [0x101c8798], 0
call dword [sym.imp.gdiplus.dll_GdipNewPrivateFontCollection]
push 0x10166c30
mov dword [0x101c879c], eax
call fcn.1010aeaf
push 0x101c8790
call fcn.1010aa51
add esp, 8
lea eax, [ebp - 0x424]
mov dword [ebp - 0x424], 0
push eax
push dword [0x101c8798]
call dword [sym.imp.gdiplus.dll_GdipGetFontCollectionFamilyCount]
cmp dword [ebp - 0x424], 1
mov dword [0x101c879c], eax
jge 0x10059e82
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push str._sFonts_
push eax
call fcn.10041b40
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x428], 0
push 0
lea edx, [ebp - 0x430]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x420]
call fcn.10059a30
mov esi, dword [ebp - 0x430]
add esp, 0x10
mov eax, dword [ebp - 0x42c]
cmp esi, eax
je 0x10059e41
mov edi, dword [sym.imp.gdiplus.dll_GdipPrivateAddFontFile]
cmp dword [esi + 0x14], 8
jb 0x10059e1e
mov eax, dword [esi]
jmp 0x10059e20
mov eax, esi
push eax
push dword [0x101c8798]
call edi
mov dword [0x101c879c], eax
add esi, 0x18
mov eax, dword [ebp - 0x42c]
cmp esi, eax
jne 0x10059e14
mov esi, dword [ebp - 0x430]
test esi, esi
je 0x10059e82
push dword [ebp - 0x424]
lea ecx, [ebp - 0x430]
push ecx
push eax
push esi
call fcn.1004a9d0
mov ecx, dword [ebp - 0x428]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x430]
add esp, 0x10
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.1004a500
mov eax, 0x101c8794
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1010a7f2
mov esp, ebp
pop ebp
ret
Function at 0x1005a670
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x101ba0ec]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x101c82b4], 0
push ebx
push esi
push edi
je 0x1005a6f8
call fcn.100ebaf0
test al, al
je 0x1005a6ac
push ebp
push eax
pop ecx
push edx
pop ecx
pop ebx
pop ecx
pop ebp
push esp
push edi
pop ebx
pop esi
pop ebp
pop edx
push esp
push ebp
push edx
pop edi
pop eax
push esi
call fcn.100ebe70
test al, al
je 0x1005a6d1
pop edi
push edi
pop esp
pop edi
push ebp
push edi
push ebx
pop esi
pop esi
pop edi
pop ebp
push ecx
push edx
pop ebx
pop ebx
pop eax
push ebp
pop esi
push edx
pop esi
pop edi
push esi
push ebp
pop ebp
push eax
pop edi
pop edx
push edi
call fcn.100eb770
test al, al
je 0x1005a7ef
push esp
pop edx
push edi
pop ebp
pop eax
push ebp
push ecx
pop esi
push esp
pop edi
pop ecx
pop edx
push edx
pop ecx
push esp
push ebx
pop edx
pop edi
push edx
push edi
push ebp
jmp 0x1005a7ef
call fcn.100eb770
test al, al
je 0x1005a71c
pop edx
push ecx
pop edi
push esi
pop ebp
push ebp
push esp
pop ebp
push ebx
push ecx
push ecx
pop esi
push ebp
push ebp
pop esp
push eax
pop edi
push esp
push ebx
push ebp
push eax
pop ecx
pop ebx
pop edi
pop esp
pop esi
pop ebx
push 0x208
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.1012bcf0
add esp, 0xc
lea eax, [ebp - 0x210]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1005a78c
lea eax, [ebp - 0x210]
push eax
call fcn.1013c89a
lea eax, [ebp - 0x210]
push str.config_systemprofile
push eax
call fcn.1012af37
add esp, 0xc
test eax, eax
jne 0x1005a785
lea eax, [ebp - 0x210]
push str.documents_and_settingslocalservice
push eax
call fcn.1012af37
add esp, 8
test eax, eax
je 0x1005a78c
mov byte [0x101c82b4], 1
call fcn.100ebee0
test al, al
je 0x1005a7a7
pop ecx
push ecx
push esi
push edx
push eax
pop esi
push eax
push ebx
pop ebx
push esi
push eax
push eax
push edi
push ebp
pop esi
push esp
pop eax
push esp
call fcn.100ebaf0
test al, al
je 0x1005a7cb
push edx
push esi
push esi
push edi
push esi
push edi
pop edi
push esi
push ecx
push esp
push esp
push edx
push ecx
pop esp
push esp
push ebx
pop edi
pop edx
pop ebp
pop ebx
pop esi
push esp
pop ebx
pop edx
pop eax
pop esi
push ebx
call fcn.100ebaf0
test al, al
je 0x1005a7ef
push ebx
pop ebp
pop edi
push esi
pop esp
pop ecx
pop ebx
pop edi
pop eax
pop edi
pop edi
push edx
pop eax
pop ecx
push eax
push edi
push ecx
pop edi
pop esi
push ebp
push esp
push esi
push edx
push edi
push esi
push edx
push ebp
mov ecx, dword [ebp - 4]
mov al, byte [0x101c82b4]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1010a7f2
mov esp, ebp
pop ebp
ret
Function at 0x1005aac0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x101ba0ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 0x21c], ecx
sub esp, 8
mov dword [ebp - 0x214], ebx
lea edx, [ebp - 0x210]
call fcn.1005a810
lea ecx, [ebp - 0x210]
add esp, 8
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005ab00
sub ecx, edx
sar ecx, 1
mov dword [ebp - 0x218], ecx
call fcn.100eb9a0
test al, al
je 0x1005ab3d
pop esp
push ecx
pop ebx
push ecx
pop ecx
pop edi
pop ecx
pop esi
push ebx
pop esp
pop ecx
push esi
push edx
push edx
push ebx
push edi
push ebx
push esi
pop esp
pop edx
push ebp
pop eax
push ebx
push edx
push ebp
mov ebx, dword [ebp - 0x214]
cmp dword [ebp - 0x218], 0
je 0x1005aca2
lea edi, [ebp - 0x210]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x1005ab53
mov eax, dword [0x1018443c]
mov esi, ebx
mov dword [edi], eax
nop dword [eax + eax]
mov cx, word [ebx]
add ebx, 2
test cx, cx
jne 0x1005ab70
lea edi, [ebp - 0x210]
sub ebx, esi
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x1005ab86
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x210]
add edi, 0xfffffffe
nop dword [eax]
mov cx, word [edi + 2]
lea edi, [edi + 2]
test cx, cx
jne 0x1005abb0
mov dword [edi], eax
call fcn.100eb770
test al, al
je 0x1005abe2
pop ebx
pop ecx
push ecx
push edx
pop ebp
push edx
pop esp
push ecx
pop ecx
push esp
push ecx
push esp
pop esi
pop eax
push esp
push ebp
push edi
pop ecx
pop ebx
push ebp
pop edi
push ebx
push esi
push ebx
push ebx
pop ebp
push edi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1005ac02
lea eax, [ebp - 0x210]
push eax
call fcn.10110103
add esp, 4
call fcn.100ebaf0
test al, al
je 0x1005ac1f
push ebp
push eax
pop ecx
push edx
pop ecx
pop ebx
pop ecx
pop ebp
push esp
push edi
pop ebx
pop esi
pop ebp
pop edx
push esp
push ebp
push edx
pop edi
pop eax
push esi
call fcn.100ebe70
test al, al
je 0x1005ac44
pop edi
push edi
pop esp
pop edi
push ebp
push edi
push ebx
pop esi
pop esi
pop edi
pop ebp
push ecx
push edx
pop ebx
pop ebx
pop eax
push ebp
pop esi
push edx
pop esi
pop edi
push esi
push ebp
pop ebp
push eax
pop edi
pop edx
push edi
call fcn.100eb770
test al, al
je 0x1005ac62
push esp
pop edx
push edi
pop ebp
pop eax
push ebp
push ecx
pop esi
push esp
pop edi
pop ecx
pop edx
push edx
pop ecx
push esp
push ebx
pop edx
pop edi
push edx
push edi
push ebp
cmp word [ebp - 0x210], 0
jne 0x1005ac70
xor ecx, ecx
jmp 0x1005ac8f
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005ac80
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x21c]
lea eax, [ebp - 0x210]
push eax
call fcn.10041f80
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1010a7f2
mov esp, ebp
pop ebp
ret
Function at 0x1005ad90
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
mov eax, dword [0x101ba0ec]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
je 0x1005ae05
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.1012bcf0
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 5
jg 0x1005adf5
cmp dword [ebp - 0x118], 2
jle 0x1005ae05
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1010a7f2
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
push esi
mov esi, dword [edx + 0x14]
cmp esi, 8
jb 0x1005ae15
mov ecx, dword [edx]
jmp 0x1005ae17
mov ecx, edx
push ebx
push edi
mov edi, dword [edx + 0x10]
mov ebx, 0x3400
add edi, edi
mov dword [ebp - 0x124], 0x4db5
mov dword [ebp - 0x128], 0xe815
mov dword [ebp - 0x12c], 0xe86f
mov dword [ebp - 0x130], 0x19b5
nop dword [eax + eax]
cmp esi, 8
jb 0x1005ae59
mov eax, dword [edx]
jmp 0x1005ae5b
mov eax, edx
add eax, edi
cmp ecx, eax
je 0x1005aead
movzx eax, word [ecx]
cmp ax, bx
jb 0x1005ae72
cmp ax, word [ebp - 0x124]
jbe 0x1005ae97
cmp ax, word [ebp - 0x128]
jb 0x1005ae84
cmp ax, word [ebp - 0x12c]
jbe 0x1005ae97
add eax, 0xffffcc00
cmp ax, word [ebp - 0x130]
jbe 0x1005ae97
add ecx, 2
jmp 0x1005ae50
pop edi
pop ebx
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1010a7f2
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.1010a7f2
mov esp, ebp
pop ebp
ret

Function at 0x1005aec0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x101ba0ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x11c
xor edi, edi
lea eax, [ebp - 0x120]
push edi
push eax
mov ebx, ecx
call fcn.1012bcf0
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
je 0x1005af46
cmp dword [ebp - 0x11c], 6
jb 0x1005af46
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
push str.ChangeWindowMessageFilter
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1005af3f
push 1
push ebx
call eax
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
test edi, edi
pop edi
setne al
xor ecx, ebp
pop esi
pop ebx
call fcn.1010a7f2
mov esp, ebp
pop ebp
ret
Function at 0x1005b0c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10159115
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x101ba0ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x101c82ac]
test esi, esi
jne 0x1005b11f
push 0x1c8
call fcn.1010a803
mov esi, eax
add esp, 4
mov dword [ebp - 0xdc], esi
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.1003f040
mov dword [0x101c82ac], esi
add esi, 0x54
cmp dword [esi + 0x14], 8
jb 0x1005b12a
mov esi, dword [esi]
push esi
push 0x64
lea eax, [ebp - 0xd8]
push eax
push 0x1018444c
push str.UserID
push 0x1018f350
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0xd8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005b152
sub ecx, edx
sar ecx, 1
cmp ecx, 1
setg al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1010a7f2
mov esp, ebp
pop ebp
ret
Function at 0x1005b280
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10159191
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x101ba0ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
test edi, edi
jne 0x1005b2bf
xor al, al
jmp 0x1005b479
call fcn.1005b9f0
push 0x208
mov esi, eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1012bcf0
add esp, 0xc
lea eax, [ebp - 0x230]
push edi
push eax
call fcn.1005b630
push esi
push 0x104
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x218]
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push ecx
cmovae eax, dword [ebp - 0x230]
push 0x1018444c
push eax
push str.user
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x1018444c
lea eax, [ebp - 0x218]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1005b356
test dx, dx
je 0x1005b352
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1005b356
add eax, 4
add ecx, 4
test dx, dx
jne 0x1005b330
xor eax, eax
jmp 0x1005b35b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1005b3ef
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], eax
mov word [ebp - 0x248], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push ecx
cmovae eax, dword [ebp - 0x230]
push eax
push ecx
call fcn.1005b4a0
lea ecx, [ebp - 0x248]
test al, al
jne 0x1005b3b6
call fcn.100420d0
xor bl, bl
jmp 0x1005b459
cmp dword [ebp - 0x234], 8
lea edx, [ebp - 0x218]
cmovae ecx, dword [ebp - 0x248]
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x1005b3d0
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], al
call fcn.100420d0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.1005b840
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 2
cmp ebx, eax
je 0x1005b41c
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.10041c10
mov eax, dword [ebp - 0x24c]
mov bl, 1
cmp eax, 8
jb 0x1005b43c
inc eax
lea ecx, [ebp - 0x260]
push eax
push dword [ebp - 0x260]
call fcn.10042120
xor eax, eax
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x1005b477
inc ecx
push ecx
push dword [ebp - 0x230]
lea ecx, [ebp - 0x230]
call fcn.10042120
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1010a7f2
mov esp, ebp
pop ebp
ret 8