joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b5960
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x661204]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov edi, ecx
push 0
push eax
call fcn.005b9c20
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.005b9c20
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0
push 0x2b
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x20c]
add ecx, 0xfffffffe
nop dword [eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x4b59c0
mov eax, dword [str._shiqiang_]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ecx], eax
mov eax, dword [0x5ebfd8]
mov dword [ecx + 4], eax
mov eax, dword [0x5ebfdc]
mov dword [ecx + 8], eax
mov eax, dword [0x5ebfe0]
mov dword [ecx + 0xc], eax
mov eax, dword [0x5ebfe4]
mov dword [ecx + 0x10], eax
mov ax, word [0x5ebfe8]
mov word [ecx + 0x14], ax
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
jne 0x4b5a1e
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor ecx, ecx
movzx eax, word [ebp + ecx - 0x20c]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x416], ax
test ax, ax
jne 0x4b5a20
lea ecx, [ebp - 0x414]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x4b5a41
mov eax, dword [str.wnsoft.ini]
mov dword [ecx], eax
mov eax, dword [0x5ebff0]
mov dword [ecx + 4], eax
mov eax, dword [0x5ebff4]
mov dword [ecx + 8], eax
mov eax, dword [0x5ebff8]
mov dword [ecx + 0xc], eax
mov eax, dword [0x5ebffc]
mov dword [ecx + 0x10], eax
mov ax, word [0x5ec000]
mov word [ecx + 0x14], ax
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
je 0x4b5af7
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x414]
push eax
push dword [edi]
push str.OnlyIdentifier1
push str.Globals
call esi
lea eax, [ebp - 0x414]
push eax
mov eax, dword [edi]
add eax, 0x208
push eax
push str.OnlyIdentifier2
push str.Globals
call esi
lea eax, [ebp - 0x414]
push eax
mov eax, dword [edi]
add eax, 0x410
push eax
push str.OnlyIdentifier3
push str.Globals
call esi
lea eax, [ebp - 0x414]
push eax
mov eax, dword [edi]
add eax, 0x618
push eax
push str.OnlyIdentifier4
push str.Globals
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0054c3c9
mov esp, ebp
pop ebp
ret
Function at 0x4b5d30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push edi
push eax
push 0xf003f
push 0
push str.software
push reloc.OLEAUT32.dll_SysReAllocString
mov edi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4b5dfd
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.ShiQiang
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4b5dfd
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x104
push dword [edi]
push 1
push eax
push str.OnlyIdentifier1
push dword [ebp - 4]
call esi
mov eax, dword [edi]
push 0x104
add eax, 0x208
push eax
push 1
push 0
push str.OnlyIdentifier2
push dword [ebp - 4]
call esi
mov eax, dword [edi]
push 0x104
add eax, 0x410
push eax
push 1
push 0
push str.OnlyIdentifier3
push dword [ebp - 4]
call esi
mov eax, dword [edi]
push 0x104
add eax, 0x618
push eax
push 1
push 0
push str.OnlyIdentifier4
push dword [ebp - 4]
call esi
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 8]
call esi
pop esi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4b5fd0
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x661204]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov dword [esi], 0
mov dword [esi + 0x18], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push str.IsWow64Process
push str.kernel32.dll
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4b6041
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x124], 0
push ecx
push edi
call eax
test eax, eax
jne 0x4b6036
mov eax, 2
jmp 0x4b6041
xor eax, eax
cmp dword [ebp - 0x124], eax
setne al
push 0x118
mov dword [esi + 0x24], eax
lea eax, [ebp - 0x11c]
push 0
push eax
mov dword [ebp - 0x120], 0x11c
call fcn.005b9c20
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x4b60bd
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4b60b6
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x11c]
push ecx
call eax
movzx eax, word [ebp - 0x114]
mov dword [ebp - 0x114], eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x114]
mov dword [esi + 4], edx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
cmp edx, 5
jne 0x4b60ee
test ecx, ecx
jle 0x4b6134
xor eax, eax
cmp ecx, 1
setne al
inc eax
mov dword [esi], eax
jmp 0x4b6134
cmp edx, 6
jne 0x4b611f
cmp byte [ebp - 6], 1
jne 0x4b6117
sub ecx, 0
je 0x4b610f
sub ecx, 1
je 0x4b6107
mov dword [esi], edx
jmp 0x4b6134
mov dword [esi], 5
jmp 0x4b6134
mov dword [esi], 3
jmp 0x4b6134
mov dword [esi], 4
jmp 0x4b6134
cmp edx, 0xa
jne 0x4b612c
mov dword [esi], 7
jmp 0x4b6134
jle 0x4b6134
mov dword [esi], 8
movzx eax, word [ebp - 0xc]
xorps xmm0, xmm0
mov dword [esi + 0x10], eax
movzx eax, word [ebp - 0xa]
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x148]
push eax
movups xmmword [ebp - 0x148], xmm0
mov dword [ebp - 0x128], 0
movups xmmword [ebp - 0x138], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [ebp - 0x148]
test eax, eax
je 0x4b6191
cmp eax, 6
je 0x4b6188
cmp eax, 9
jne 0x4b6198
mov dword [esi + 0x18], 1
jmp 0x4b6198
mov dword [esi + 0x18], 2
jmp 0x4b6198
mov dword [esi + 0x18], 0
mov ecx, dword [ebp - 0x134]
mov eax, esi
mov dword [esi + 0x1c], ecx
mov ecx, dword [ebp - 0x12c]
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0054c3c9
mov esp, ebp
pop ebp
ret
Function at 0x4b7070
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e51fe
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x661204]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x60]
mov dword [esi], vtable.CShareVariableManager.0
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x4b70bc
mov eax, dword [ecx]
jmp 0x4b70be
mov eax, ecx
xor edx, edx
mov word [eax], dx
mov dword [esi + 0x8c], 7
mov dword [esi + 0x88], edx
cmp dword [esi + 0x8c], 8
mov dword [ebp - 4], edx
jb 0x4b70e4
mov eax, dword [esi + 0x78]
jmp 0x4b70e7
lea eax, [esi + 0x78]
xor edx, edx
mov word [eax], dx
lea ebx, [esi + 0x90]
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], edx
cmp dword [ebx + 0x14], 8
jb 0x4b7106
mov eax, dword [ebx]
jmp 0x4b7108
mov eax, ebx
xor edx, edx
mov word [eax], dx
lea eax, [esi + 0xa8]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], edx
cmp dword [eax + 0x14], 8
jb 0x4b7125
mov eax, dword [eax]
xor edx, edx
mov word [eax], dx
lea eax, [esi + 0xc0]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], edx
cmp dword [eax + 0x14], 8
jb 0x4b7142
mov eax, dword [eax]
xor edx, edx
mov word [eax], dx
lea eax, [esi + 0xd8]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], edx
cmp dword [eax + 0x14], 8
jb 0x4b715f
mov eax, dword [eax]
xor edx, edx
mov word [eax], dx
push edx
push 0x5ea980
mov byte [ebp - 4], 5
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], edx
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], edx
mov dword [esi + 0x40], edx
mov dword [esi + 0x44], edx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], edx
mov dword [esi + 0x50], edx
mov dword [esi + 0x54], edx
mov dword [esi + 0x58], edx
mov dword [esi + 0x5c], edx
call fcn.0049ee20
push 0
push 0x5ea980
lea ecx, [esi + 0x78]
call fcn.0049ee20
push 0
push 0x5ea980
mov ecx, ebx
call fcn.0049ee20
push 0
push 0x5ea980
lea ecx, [esi + 0xa8]
call fcn.0049ee20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b9250
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x661204]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x208
lea eax, [ebp - 0x414]
mov edi, ecx
push 0
push eax
mov dword [ebp - 0x41c], edi
call fcn.005b9c20
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005b9c20
mov eax, dword [edi + 0x24]
add esp, 0x18
test eax, eax
je 0x4b9467
mov eax, dword [eax]
push esi
mov esi, dword [eax]
cmp esi, eax
je 0x4b9466
push ebx
nop
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x418], eax
lea ebx, [eax + 0xc]
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b92c1
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x4b941a
push ebx
lea eax, [ebp - 0x414]
push str.Is_s
push eax
call fcn.0049f160
add edi, 0x90
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x4b92fd
mov eax, dword [edi]
jmp 0x4b92ff
mov eax, edi
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x5ec13c
lea eax, [ebp - 0x414]
push eax
push str.HotKey
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x5ec13c
lea eax, [ebp - 0x20c]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4b9356
test dx, dx
je 0x4b9352
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4b9356
add eax, 4
add ecx, 4
test dx, dx
jne 0x4b9330
xor eax, eax
jmp 0x4b935b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4b9379
lea eax, [ebp - 0x20c]
push eax
call fcn.005bdaa9
mov ecx, dword [ebp - 0x418]
add esp, 4
mov ecx, dword [ecx + 4]
mov byte [ecx], al
push ebx
lea eax, [ebp - 0x414]
push str.Use_s
push eax
call fcn.0049f160
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x4b9396
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x20c]
push eax
push str.nothing
lea eax, [ebp - 0x414]
push eax
push str.HotKey
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, str.nothing
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4b93eb
test dx, dx
je 0x4b93e7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4b93eb
add eax, 4
add ecx, 4
test dx, dx
jne 0x4b93c5
xor eax, eax
jmp 0x4b93f0
sbb eax, eax
or eax, 1
test eax, eax
je 0x4b9414
mov eax, dword [ebp - 0x418]
lea ecx, [ebp - 0x20c]
mov edx, dword [eax + 8]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x4b9403
mov edi, dword [ebp - 0x41c]
cmp byte [esi + 0xd], 0
jne 0x4b945a
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4b943f
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4b945a
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4b9433
jmp 0x4b945a
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4b9458
cmp esi, dword [eax + 8]
jne 0x4b9458
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4b9448
mov esi, eax
mov eax, dword [edi + 0x24]
cmp esi, dword [eax]
jne 0x4b92b0
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0054c3c9
mov esp, ebp
pop ebp
ret
Function at 0x4b9850
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x661204]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
mov dword [ebp - 0x41c], edi
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4b9a59
mov eax, dword [eax]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push esi
mov esi, dword [eax]
cmp esi, eax
je 0x4b99ae
lea ebx, [edi + 0x90]
mov edi, dword [esi + 0x14]
mov eax, dword [edi + 8]
mov dword [ebp - 0x418], eax
mov eax, dword [edi + 4]
cmp byte [eax], 0
lea eax, [ebp - 0x20c]
je 0x4b98b2
push 0x5eb054
jmp 0x4b98b7
push 0x650aa8
push 0x5ead74
push eax
call fcn.0049f160
add esp, 0xc
lea eax, [ebp - 0x414]
add edi, 0xc
push edi
push str.Is_s
push eax
call fcn.0049f160
add esp, 0xc
cmp dword [ebx + 0x14], 8
jb 0x4b98e7
mov eax, dword [ebx]
jmp 0x4b98e9
mov eax, ebx
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
push str.HotKey
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push edi
lea eax, [ebp - 0x414]
push str.Use_s
push eax
call fcn.0049f160
push dword [ebp - 0x418]
lea eax, [ebp - 0x20c]
push 0x5ead74
push eax
call fcn.0049f160
add esp, 0x18
cmp dword [ebx + 0x14], 8
jb 0x4b9939
mov eax, dword [ebx]
jmp 0x4b993b
mov eax, ebx
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
push str.HotKey
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp byte [esi + 0xd], 0
jne 0x4b9997
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4b997c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4b9997
nop
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4b9970
jmp 0x4b9997
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4b9995
cmp esi, dword [eax + 8]
jne 0x4b9995
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4b9985
mov esi, eax
mov edi, dword [ebp - 0x41c]
mov eax, dword [edi + 0x24]
cmp esi, dword [eax]
jne 0x4b9891
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [edi + 0xd4], 8
lea esi, [edi + 0xc0]
jb 0x4b99c1
mov eax, dword [esi]
jmp 0x4b99c3
mov eax, esi
push eax
push 0x5eb054
push str.ModifyHotKey
push str.SetModify
call ebx
cmp dword [esi + 0x14], 8
jb 0x4b99df
mov eax, dword [esi]
jmp 0x4b99e1
mov eax, esi
push eax
push 0x5eb054
push str.ModifyHotKey64
push str.SetModify
call ebx
cmp dword [esi + 0x14], 8
jb 0x4b99fd
mov eax, dword [esi]
jmp 0x4b99ff
mov eax, esi
push eax
push 0x5eb054
push str.TempModifyHotKey
push str.SetModify
call ebx
cmp dword [esi + 0x14], 8
jb 0x4b9a19
mov esi, dword [esi]
push esi
push 0x5eb054
push str.TempModifyHotKey64
push str.SetModify
call ebx
cmp dword [edi + 0xbc], 8
lea ecx, [edi + 0xa8]
pop esi
pop ebx
jb 0x4b9a3e
mov ecx, dword [ecx]
cmp dword [edi + 0xa4], 8
lea eax, [edi + 0x90]
jb 0x4b9a4f
mov eax, dword [eax]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0054c3c9
mov esp, ebp
pop ebp
ret
Function at 0x4b9a70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x661204]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x244]
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x208
lea eax, [ebp - 0x234]
push 0
push eax
call fcn.005b9c20
xor eax, eax
xorps xmm0, xmm0
push eax
mov word [ebp - 0x2c], ax
mov word [ebp - 0x1a], ax
mov word [ebp - 0x18], ax
mov word [ebp - 6], ax
lea eax, [ebp - 0x2c]
push 0x650ac0
push eax
movups xmmword [ebp - 0x2a], xmm0
movups xmmword [ebp - 0x16], xmm0
call fcn.0049f160
movzx eax, word [ebp - 0x23e]
push eax
lea eax, [ebp - 0x18]
push 0x650ac0
push eax
call fcn.0049f160
add esi, 0xd8
add esp, 0x24
cmp dword [esi + 0x14], 8
jb 0x4b9afb
mov eax, dword [esi]
jmp 0x4b9afd
mov eax, esi
push eax
push 0
push str.LastUseDay
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
movzx ecx, word [ebp - 0x23e]
cmp eax, ecx
je 0x4b9bcf
cmp dword [esi + 0x14], 8
jb 0x4b9b29
mov eax, dword [esi]
jmp 0x4b9b2b
mov eax, esi
push eax
lea eax, [ebp - 0x18]
push eax
push str.LastUseDay
push str.Setting
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [esi + 0x14], 8
movups xmm0, xmmword [str.UseDayTotal]
movups xmmword [ebp - 0x234], xmm0
movq xmm0, qword [0x5ec67c]
movq qword [ebp - 0x224], xmm0
jb 0x4b9b68
mov eax, dword [esi]
jmp 0x4b9b6a
mov eax, esi
push eax
push 0
lea eax, [ebp - 0x234]
push eax
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
inc eax
push eax
lea eax, [ebp - 0x18]
push 0x650ac0
push eax
call fcn.0049f160
movups xmm0, xmmword [str.UseDayTotal]
add esp, 0xc
cmp dword [esi + 0x14], 8
movups xmmword [ebp - 0x234], xmm0
movq xmm0, qword [0x5ec67c]
movq qword [ebp - 0x224], xmm0
jb 0x4b9bb8
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x234]
push eax
push str.Setting
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0054c3c9
mov esp, ebp
pop ebp
ret
Function at 0x4ba820
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e53b8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x661204]
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 [ebp + 8]
test esi, esi
je 0x4ba9d5
lea eax, [ebp - 0x40]
push eax
call fcn.004bec40
add esp, 4
push 4
push 0x5ec7fc
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.004a29a0
mov ecx, dword [0x66c340]
lea eax, [ebp - 0x28]
push eax
call fcn.004bab60
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4ba8b4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0xffffffffffffffff
cmovae eax, dword [ebp - 0x40]
push 0
push eax
call fcn.0049a670
mov edx, eax
add esp, 0xc
cmp word [edx], 0
jne 0x4ba8d8
xor ecx, ecx
jmp 0x4ba8ef
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ba8e0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0049e9a0
lea eax, [ebp - 0x68]
xorps xmm0, xmm0
push eax
push dword [esi + 0xc28]
movups xmmword [ebp - 0x68], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x68]
push ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0x20
push eax
call fcn.004c03c0
add esp, 0xc
test eax, eax
je 0x4ba935
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebp - 0x40]
mov dword [ebp - 0x44], 0xf
cmovae edx, dword [ebp - 0x40]
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp byte [edx], 0
jne 0x4ba95b
xor ecx, ecx
jmp 0x4ba969
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ba960
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.0049ec00
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
mov ecx, esi
call fcn.004be610
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x4ba997
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0049ef20
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4ba9ac
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0049ef70
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
cmp eax, 0x10
jb 0x4ba9d5
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0049ef20
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.0054c3c9
mov esp, ebp
pop ebp
ret 4
Function at 0x4bb7a0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e5618
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x661204]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x3c], edi
test esi, esi
je 0x4bb98a
push str.SELECT_COUNT_1__FROM__t_t_PROCESSINFO_WHERE_WindowsName__AND_ClassName__AND_ProcName__COLLATE_NOCASE
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 0
push eax
call fcn.004bf260
lea eax, [esi + 0x10]
mov byte [ebp - 4], 1
push eax
push 1
lea ecx, [ebp - 0x38]
call fcn.004bf120
lea eax, [esi + 0x410]
push eax
push 2
lea ecx, [ebp - 0x38]
call fcn.004bf120
lea eax, [esi + 0x810]
push eax
push 3
lea ecx, [ebp - 0x38]
call fcn.004bf120
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x38]
call fcn.004bf800
push 0
push 0
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.004bfc90
test eax, eax
lea ecx, [ebp - 0x2c]
setne bl
call fcn.004bef00
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.004bef60
lea eax, [ebp - 0x38]
mov ecx, edi
test bl, bl
jne 0x4bb8f3
push str.INSERT_INTO_PROCESSINFO_WindowsName__ClassName__ProcName__InterceptStatus_Show__VALUES_________________
push eax
call fcn.004bf260
lea eax, [esi + 0x10]
mov byte [ebp - 4], 3
push eax
push 1
lea ecx, [ebp - 0x38]
call fcn.004bf120
lea eax, [esi + 0x410]
push eax
push 2
lea ecx, [ebp - 0x38]
call fcn.004bf120
lea eax, [esi + 0x810]
push eax
push 3
lea ecx, [ebp - 0x38]
call fcn.004bf120
mov ecx, esi
call fcn.004be5f0
xor ecx, ecx
test al, al
setne cl
push ecx
push 4
lea ecx, [ebp - 0x38]
call fcn.004bf0a0
xor eax, eax
lea ecx, [ebp - 0x38]
cmp dword [esi + 0xc2c], eax
setne al
push eax
push 5
call fcn.004bf0a0
lea ecx, [ebp - 0x38]
call fcn.004bf5e0
lea ecx, [ebp - 0x38]
mov esi, eax
call fcn.004bef60
cmp esi, 1
sete al
jmp 0x4bb98c
push str.UPDATE_PROCESSINFO_SET_InterceptStatus___Show__WHERE_WindowsName__AND_ClassName__AND_ProcName__
push eax
call fcn.004bf260
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.004be5f0
movzx eax, al
lea ecx, [ebp - 0x38]
push eax
push 1
call fcn.004bf0a0
push dword [esi + 0xc2c]
lea ecx, [ebp - 0x38]
push 2
call fcn.004bf0a0
lea eax, [esi + 0x10]
push eax
push 3
lea ecx, [ebp - 0x38]
call fcn.004bf120
lea eax, [esi + 0x410]
push eax
push 4
lea ecx, [ebp - 0x38]
call fcn.004bf120
lea eax, [esi + 0x810]
push eax
push 5
lea ecx, [ebp - 0x38]
call fcn.004bf120
jmp 0x4bb8d6
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0054c3c9
mov esp, ebp
pop ebp
ret 4