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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x101b90ec]
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.10109ec2
mov esp, ebp
pop ebp
ret
Function at 0x10059970
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015865b
mov eax, dword fs:[0]
push eax
sub esp, 0x888
mov eax, dword [0x101b90ec]
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 0x10183a10
push eax
call fcn.10041b30
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 0x10059b54
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 0x10059b54
cmp word [ebp - 0x864], 0x2e
je 0x100599e0
mov ax, word [ebp - 0x862]
test ax, ax
je 0x100599e0
cmp ax, 0x2e
jne 0x10059a22
cmp word [ebp - 0x860], 0
je 0x100599e0
test byte [ebp - 0x890], 0x10
je 0x10059a7d
mov ecx, dword [ebp - 0x894]
test bl, bl
je 0x100599e0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1012b3b0
lea eax, [ebp - 0x864]
push eax
push esi
lea eax, [ebp - 0x420]
push str._s_s_
push eax
call fcn.10041b30
push ebx
mov edx, edi
lea ecx, [ebp - 0x420]
call fcn.10059970
mov ecx, dword [ebp - 0x894]
add esp, 0x20
jmp 0x100599e0
lea eax, [ebp - 0x864]
push eax
push esi
lea eax, [ebp - 0x218]
push 0x10183440
push eax
call fcn.10041b30
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 0x10059adf
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10059ad0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x640]
call fcn.10041f70
lea eax, [ebp - 0x640]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.100497d0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x62c]
cmp eax, 8
jb 0x10059b2c
inc eax
lea ecx, [ebp - 0x640]
push eax
push dword [ebp - 0x640]
call fcn.10042110
mov ecx, dword [ebp - 0x894]
xor eax, eax
mov dword [ebp - 0x62c], 7
mov dword [ebp - 0x630], 0
mov word [ebp - 0x640], ax
jmp 0x100599e0
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.10109ec2
mov esp, ebp
pop ebp
ret
Function at 0x10059c10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015869b
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x101b90ec]
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 [0x101c483c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x101c7558]
cmp eax, dword [ecx + 4]
jle 0x10059caa
push 0x101c7558
call fcn.1010a160
add esp, 4
cmp dword [0x101c7558], 0xffffffff
jne 0x10059caa
push 0x101c7560
mov dword [0x101c755c], 0x1018e6e8
mov dword [0x101c7560], 0
call dword [sym.imp.gdiplus.dll_GdipNewPrivateFontCollection]
push 0x10166230
mov dword [0x101c7564], eax
call fcn.1010a59c
push 0x101c7558
call fcn.1010a121
add esp, 8
lea eax, [ebp - 0x424]
mov dword [ebp - 0x424], 0
push eax
push dword [0x101c7560]
call dword [sym.imp.gdiplus.dll_GdipGetFontCollectionFamilyCount]
cmp dword [ebp - 0x424], 1
mov dword [0x101c7564], eax
jge 0x10059dc2
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.10041b30
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.10059970
mov esi, dword [ebp - 0x430]
add esp, 0x10
mov eax, dword [ebp - 0x42c]
cmp esi, eax
je 0x10059d81
mov edi, dword [sym.imp.gdiplus.dll_GdipPrivateAddFontFile]
cmp dword [esi + 0x14], 8
jb 0x10059d5e
mov eax, dword [esi]
jmp 0x10059d60
mov eax, esi
push eax
push dword [0x101c7560]
call edi
mov dword [0x101c7564], eax
add esi, 0x18
mov eax, dword [ebp - 0x42c]
cmp esi, eax
jne 0x10059d54
mov esi, dword [ebp - 0x430]
test esi, esi
je 0x10059dc2
push dword [ebp - 0x424]
lea ecx, [ebp - 0x430]
push ecx
push eax
push esi
call fcn.1004a920
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.1004a450
mov eax, 0x101c755c
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.10109ec2
mov esp, ebp
pop ebp
ret
Function at 0x1005a5b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x101b90ec]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x101c707c], 0
push ebx
push esi
push edi
je 0x1005a638
call fcn.100eb1e0
test al, al
je 0x1005a5ec
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.100eb560
test al, al
je 0x1005a611
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.100eae60
test al, al
je 0x1005a72f
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 0x1005a72f
call fcn.100eae60
test al, al
je 0x1005a65c
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.1012b3b0
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 0x1005a6cc
lea eax, [ebp - 0x210]
push eax
call fcn.1013bfee
lea eax, [ebp - 0x210]
push str.config_systemprofile
push eax
call fcn.1012a5f7
add esp, 0xc
test eax, eax
jne 0x1005a6c5
lea eax, [ebp - 0x210]
push str.documents_and_settingslocalservice
push eax
call fcn.1012a5f7
add esp, 8
test eax, eax
je 0x1005a6cc
mov byte [0x101c707c], 1
call fcn.100eb5d0
test al, al
je 0x1005a6e7
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.100eb1e0
test al, al
je 0x1005a70b
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.100eb1e0
test al, al
je 0x1005a72f
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 [0x101c707c]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10109ec2
mov esp, ebp
pop ebp
ret
Function at 0x1005aa00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x101b90ec]
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.1005a750
lea ecx, [ebp - 0x210]
add esp, 8
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005aa40
sub ecx, edx
sar ecx, 1
mov dword [ebp - 0x218], ecx
call fcn.100eb090
test al, al
je 0x1005aa7d
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 0x1005abe2
lea edi, [ebp - 0x210]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x1005aa93
mov eax, dword [0x1018343c]
mov esi, ebx
mov dword [edi], eax
nop dword [eax + eax]
mov cx, word [ebx]
add ebx, 2
test cx, cx
jne 0x1005aab0
lea edi, [ebp - 0x210]
sub ebx, esi
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x1005aac6
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 0x1005aaf0
mov dword [edi], eax
call fcn.100eae60
test al, al
je 0x1005ab22
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 0x1005ab42
lea eax, [ebp - 0x210]
push eax
call fcn.1010f7c1
add esp, 4
call fcn.100eb1e0
test al, al
je 0x1005ab5f
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.100eb560
test al, al
je 0x1005ab84
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.100eae60
test al, al
je 0x1005aba2
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 0x1005abb0
xor ecx, ecx
jmp 0x1005abcf
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005abc0
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x21c]
lea eax, [ebp - 0x210]
push eax
call fcn.10041f70
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10109ec2
mov esp, ebp
pop ebp
ret
Function at 0x1005acd0
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
mov eax, dword [0x101b90ec]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
je 0x1005ad45
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.1012b3b0
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 0x1005ad35
cmp dword [ebp - 0x118], 2
jle 0x1005ad45
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10109ec2
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
push esi
mov esi, dword [edx + 0x14]
cmp esi, 8
jb 0x1005ad55
mov ecx, dword [edx]
jmp 0x1005ad57
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 0x1005ad99
mov eax, dword [edx]
jmp 0x1005ad9b
mov eax, edx
add eax, edi
cmp ecx, eax
je 0x1005aded
movzx eax, word [ecx]
cmp ax, bx
jb 0x1005adb2
cmp ax, word [ebp - 0x124]
jbe 0x1005add7
cmp ax, word [ebp - 0x128]
jb 0x1005adc4
cmp ax, word [ebp - 0x12c]
jbe 0x1005add7
add eax, 0xffffcc00
cmp ax, word [ebp - 0x130]
jbe 0x1005add7
add ecx, 2
jmp 0x1005ad90
pop edi
pop ebx
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10109ec2
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.10109ec2
mov esp, ebp
pop ebp
ret

Function at 0x1005ae00
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x101b90ec]
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.1012b3b0
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 0x1005ae86
cmp dword [ebp - 0x11c], 6
jb 0x1005ae86
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 0x1005ae7f
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.10109ec2
mov esp, ebp
pop ebp
ret
Function at 0x1005b000
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101587b5
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x101b90ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x101c7074]
test esi, esi
jne 0x1005b05f
push 0x1c8
call fcn.10109ed3
mov esi, eax
add esp, 4
mov dword [ebp - 0xdc], esi
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.1003f030
mov dword [0x101c7074], esi
add esi, 0x54
cmp dword [esi + 0x14], 8
jb 0x1005b06a
mov esi, dword [esi]
push esi
push 0x64
lea eax, [ebp - 0xd8]
push eax
push 0x1018344c
push str.UserID
push 0x1018e340
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 0x1005b092
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.10109ec2
mov esp, ebp
pop ebp
ret
Function at 0x1005b1c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10158831
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x101b90ec]
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 0x1005b1ff
xor al, al
jmp 0x1005b3b9
call fcn.1005b930
push 0x208
mov esi, eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1012b3b0
add esp, 0xc
lea eax, [ebp - 0x230]
push edi
push eax
call fcn.1005b570
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 0x1018344c
push eax
push str.user
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x1018344c
lea eax, [ebp - 0x218]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1005b296
test dx, dx
je 0x1005b292
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1005b296
add eax, 4
add ecx, 4
test dx, dx
jne 0x1005b270
xor eax, eax
jmp 0x1005b29b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1005b32f
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.1005b3e0
lea ecx, [ebp - 0x248]
test al, al
jne 0x1005b2f6
call fcn.100420c0
xor bl, bl
jmp 0x1005b399
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 0x1005b310
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], al
call fcn.100420c0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.1005b780
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 2
cmp ebx, eax
je 0x1005b35c
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.10041c00
mov eax, dword [ebp - 0x24c]
mov bl, 1
cmp eax, 8
jb 0x1005b37c
inc eax
lea ecx, [ebp - 0x260]
push eax
push dword [ebp - 0x260]
call fcn.10042110
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 0x1005b3b7
inc ecx
push ecx
push dword [ebp - 0x230]
lea ecx, [ebp - 0x230]
call fcn.10042110
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.10109ec2
mov esp, ebp
pop ebp
ret 8
Function at 0x1005b9d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101588e5
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x101b90ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x101c7074]
mov edi, dword [ebp + 8]
test esi, esi
jne 0x1005ba3a
push 0x1c8
call fcn.10109ed3
mov esi, eax
add esp, 4
mov dword [ebp - 0xdc], esi
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.1003f030
mov dword [ebp - 4], 0xffffffff
mov dword [0x101c7074], esi
add esi, 0x54
cmp dword [esi + 0x14], 8
jb 0x1005ba45
mov esi, dword [esi]
push esi
push 0x64
lea eax, [ebp - 0xd8]
push eax
push 0x1018344c
push str.UserID
push 0x1018e340
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0xd8], 0
jne 0x1005ba72
xor ecx, ecx
jmp 0x1005ba8f
lea ecx, [ebp - 0xd8]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005ba80
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0xd8]
mov ecx, edi
push eax
call fcn.10041f70
cmp dword [edi + 0x10], 0
seta al
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.10109ec2
mov esp, ebp
pop ebp
ret 4

Function at 0x1005bbd0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x101b90ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call fcn.1005bad0
push 0x208
mov esi, eax
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.1012b3b0
add esp, 0xc
lea eax, [ebp - 0x414]
push esi
push 0x104
push eax
push str.null
push str.FirstInstallDate
push 0x1018e858
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.1012b3b0
call fcn.101118c5
push eax
lea eax, [ebp - 0x20c]
push 0x1018e860
push eax
call fcn.10041b30
add esp, 0x18
lea eax, [ebp - 0x20c]
lea ecx, [ebp - 0x414]
pop esi
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1005bc97
test dx, dx
je 0x1005bc82
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1005bc97
add ecx, 4
add eax, 4
test dx, dx
jne 0x1005bc60
xor eax, eax
test eax, eax
sete al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10109ec2
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
sbb eax, eax
or eax, 1
test eax, eax
sete al
xor ecx, ebp
call fcn.10109ec2
mov esp, ebp
pop ebp
ret
Function at 0x1005bcb0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call fcn.1005bb70
test al, al
je 0x1005bd55
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call fcn.1005b0d0
test al, al
je 0x1005bd55
cmp dword [ebp - 4], 1
jg 0x1005bd55
call fcn.1005bad0
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
push edi
push 0
push str.ShowDay1
push str.VipExpire
call esi
push edi
push 0
push str.ShowDay2
push str.VipExpire
mov ebx, eax
call esi
push edi
push 0
push str.ShowDay3
push str.VipExpire
mov dword [ebp - 4], eax
call esi
test ebx, ebx
je 0x1005bd33
cmp dword [ebp - 4], 0
jne 0x1005bd3c
call fcn.101118c5
sub eax, ebx
cmp eax, 3
jl 0x1005bd55
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x1005bd55
call fcn.101118c5
sub eax, ebx
cmp eax, 7
jl 0x1005bd55
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1005d720
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10158ad6
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x101b90ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
lea edi, [ebx + 8]
mov dword [ebx], vtable.Config.0
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
cmp dword [edi + 0x14], 0x10
jb 0x1005d76e
mov eax, dword [edi]
jmp 0x1005d770
mov eax, edi
mov byte [eax], 0
mov dword [ebp - 4], 0
lea esi, [ebx + 0x30]
xor eax, eax
mov dword [ebp - 0x14], esi
mov word [ebx + 0x20], ax
xorps xmm0, xmm0
movq qword [ebx + 0x22], xmm0
mov dword [ebx + 0x2a], eax
mov word [ebx + 0x2e], ax
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.10043fe0
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 1
cmp edi, eax
je 0x1005d7b8
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.10046100
cmp dword [edi + 0x14], 0x10
jb 0x1005d7c2
mov eax, dword [edi]
jmp 0x1005d7c4
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1005d7e4
cmp dword [edi + 0x14], 0x10
jb 0x1005d7d7
mov edi, dword [edi]
lea eax, [ebx + 0x38]
push eax
push edi
call fcn.1013faee
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1005dc90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3ec
mov eax, dword [0x101b90ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
add ecx, 8
mov edx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
cmp dword [ecx + 0x14], 0x10
jb 0x1005dcb8
mov ecx, dword [ecx]
cmp dword [edx + 0x14], 0x10
jb 0x1005dcc0
mov edx, dword [edx]
cmp dword [eax + 0x14], 0x10
jb 0x1005dcc8
mov eax, dword [eax]
push ecx
push 0x190
lea ecx, [ebp - 0x3ec]
push ecx
push 0x10183648
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x1005dd4b
cmp byte [ebp - 0x3ec], 0
jne 0x1005dd13
xor ecx, ecx
lea eax, [ebp - 0x3ec]
push ecx
push eax
mov ecx, esi
call fcn.10046480
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10109ec2
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebp - 0x3ec]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005dd20
sub ecx, edx
lea eax, [ebp - 0x3ec]
push ecx
push eax
mov ecx, esi
call fcn.10046480
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10109ec2
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.10109ec2
mov esp, ebp
pop ebp
ret 0xc