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

Disassembly:
push ebp
lea ebp, [esp - 0xbc0]
sub esp, 0xc40
mov eax, dword [0x4d8668]
xor eax, ebp
mov dword [ebp + 0xbbc], eax
push ebx
push esi
push edi
xor eax, eax
xor edi, edi
mov esi, 0x206
push esi
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push edi
push eax
mov dword [ebp - 0x78], ecx
xor ebx, ebx
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], edi
call fcn.0042bd50
xor eax, eax
push esi
mov word [ebp + 0x39c], ax
lea eax, [ebp + 0x39e]
push edi
push eax
call fcn.0042bd50
xor eax, eax
push esi
mov word [ebp + 0x7ac], ax
lea eax, [ebp + 0x7ae]
push edi
push eax
call fcn.0042bd50
xor eax, eax
push esi
mov word [ebp + 0x194], ax
lea eax, [ebp + 0x196]
push edi
push eax
call fcn.0042bd50
xor eax, eax
push esi
mov word [ebp + 0x9b4], ax
lea eax, [ebp + 0x9b6]
push edi
push eax
call fcn.0042bd50
xor eax, eax
push esi
mov word [ebp + 0x5a4], ax
lea eax, [ebp + 0x5a6]
push edi
push eax
call fcn.0042bd50
add esp, 0x48
push edi
push 0x1a
lea eax, [ebp - 0x74]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x9b4]
push eax
call fcn.0042bd30
lea eax, [ebp + 0x9b4]
push eax
call fcn.0042bcbe
lea eax, [ebp + 0x9b4]
push 0x5c
push eax
call fcn.0042b6c2
add esp, 0x14
cmp eax, edi
je 0x408f9a
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp + 0x9b4]
push eax
lea eax, [ebp + 0x39c]
push eax
call fcn.0042bd30
lea eax, [ebp + 0x39c]
push str.Local
push eax
call fcn.0042bd02
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x10
lea eax, [ebp + 0x39c]
push eax
call esi
test eax, eax
je 0x408ebd
inc ebx
lea eax, [ebp + 0x9b4]
push eax
lea eax, [ebp + 0x7ac]
push eax
call fcn.0042bd30
lea eax, [ebp + 0x7ac]
push str.LocalLow
push eax
call fcn.0042bd02
add esp, 0x10
lea eax, [ebp + 0x7ac]
push eax
call esi
test eax, eax
je 0x408ef8
mov dword [ebp - 0x80], 1
lea eax, [ebp + 0x9b4]
push eax
lea eax, [ebp + 0x194]
push eax
call fcn.0042bd30
lea eax, [ebp + 0x194]
push str.Roaming
push eax
call fcn.0042bd02
add esp, 0x10
lea eax, [ebp + 0x194]
push eax
call esi
test eax, eax
je 0x408f33
mov dword [ebp - 0x7c], 1
cmp ebx, edi
je 0x408f9a
cmp dword [ebp - 0x80], edi
je 0x408f9a
cmp dword [ebp - 0x7c], edi
je 0x408f9a
mov edi, dword [ebp - 0x78]
mov ecx, edi
call fcn.00407a39
test eax, eax
je 0x408f9a
push str.PeopleCalendar
lea eax, [ebp + 0x7ac]
push eax
lea eax, [ebp + 0x5a4]
push str._s_s_
push eax
call fcn.0042b6ee
add esp, 0x10
lea eax, [ebp + 0x5a4]
push eax
call esi
test eax, eax
jne 0x408f89
lea eax, [ebp + 0x5a4]
push eax
call fcn.00409780
pop ecx
lea eax, [ebp + 0x5a4]
push eax
lea ecx, [edi + 0x3c]
call fcn.00401c01
jmp 0x408fa2
mov ecx, dword [ebp - 0x78]
call fcn.00408be7
mov ecx, dword [ebp + 0xbbc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b558
add ebp, 0xbc0
leave
ret
Function at 0x408fba
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0xbc0]
sub esp, 0xc40
mov eax, dword [0x4d8668]
xor eax, ebp
mov dword [ebp + 0xbbc], eax
push ebx
push esi
push edi
xor eax, eax
xor edi, edi
mov esi, 0x206
push esi
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push edi
push eax
mov dword [ebp - 0x78], ecx
xor ebx, ebx
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], edi
call fcn.0042bd50
xor eax, eax
push esi
mov word [ebp + 0x39c], ax
lea eax, [ebp + 0x39e]
push edi
push eax
call fcn.0042bd50
xor eax, eax
push esi
mov word [ebp + 0x7ac], ax
lea eax, [ebp + 0x7ae]
push edi
push eax
call fcn.0042bd50
xor eax, eax
push esi
mov word [ebp + 0x194], ax
lea eax, [ebp + 0x196]
push edi
push eax
call fcn.0042bd50
xor eax, eax
push esi
mov word [ebp + 0x9b4], ax
lea eax, [ebp + 0x9b6]
push edi
push eax
call fcn.0042bd50
xor eax, eax
push esi
mov word [ebp + 0x5a4], ax
lea eax, [ebp + 0x5a6]
push edi
push eax
call fcn.0042bd50
add esp, 0x48
push edi
push 0x1a
lea eax, [ebp - 0x74]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x9b4]
push eax
call fcn.0042bd30
lea eax, [ebp + 0x9b4]
push eax
call fcn.0042bcbe
lea eax, [ebp + 0x9b4]
push 0x5c
push eax
call fcn.0042b6c2
add esp, 0x14
cmp eax, edi
je 0x4091d1
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp + 0x9b4]
push eax
lea eax, [ebp + 0x39c]
push eax
call fcn.0042bd30
lea eax, [ebp + 0x39c]
push str.Local
push eax
call fcn.0042bd02
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x10
lea eax, [ebp + 0x39c]
push eax
call esi
test eax, eax
je 0x4090f4
inc ebx
lea eax, [ebp + 0x9b4]
push eax
lea eax, [ebp + 0x7ac]
push eax
call fcn.0042bd30
lea eax, [ebp + 0x7ac]
push str.LocalLow
push eax
call fcn.0042bd02
add esp, 0x10
lea eax, [ebp + 0x7ac]
push eax
call esi
test eax, eax
je 0x40912f
mov dword [ebp - 0x80], 1
lea eax, [ebp + 0x9b4]
push eax
lea eax, [ebp + 0x194]
push eax
call fcn.0042bd30
lea eax, [ebp + 0x194]
push str.Roaming
push eax
call fcn.0042bd02
add esp, 0x10
lea eax, [ebp + 0x194]
push eax
call esi
test eax, eax
je 0x40916a
mov dword [ebp - 0x7c], 1
cmp ebx, edi
je 0x4091d1
cmp dword [ebp - 0x80], edi
je 0x4091d1
cmp dword [ebp - 0x7c], edi
je 0x4091d1
mov edi, dword [ebp - 0x78]
mov ecx, edi
call fcn.00407a39
test eax, eax
je 0x4091d1
push str.PeopleCalendar.users
lea eax, [ebp + 0x7ac]
push eax
lea eax, [ebp + 0x5a4]
push str._s_s_
push eax
call fcn.0042b6ee
add esp, 0x10
lea eax, [ebp + 0x5a4]
push eax
call esi
test eax, eax
jne 0x4091c0
lea eax, [ebp + 0x5a4]
push eax
call fcn.00409780
pop ecx
lea eax, [ebp + 0x5a4]
push eax
lea ecx, [edi + 0x20]
call fcn.00401c01
jmp 0x4091d9
mov ecx, dword [ebp - 0x78]
call fcn.00408cb5
mov ecx, dword [ebp + 0xbbc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b558
add ebp, 0xbc0
leave
ret
Function at 0x409780
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [esp + 0x14]
call fcn.0042bcbe
mov edi, eax
xor ecx, ecx
push 2
pop edx
lea eax, [edi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040e751
push dword [esp + 0x1c]
mov esi, eax
push esi
call fcn.0042bd30
add esp, 0x10
xor ebp, ebp
mov bl, 1
test edi, edi
jl 0x4097f1
cmp word [esi + ebp*2], 0x5c
jne 0x4097e8
xor eax, eax
push esi
mov word [esi + ebp*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4097e1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4097ef
push 0x5c
pop eax
mov word [esi + ebp*2], ax
inc ebp
cmp ebp, edi
jle 0x4097bd
jmp 0x4097f1
xor bl, bl
push esi
call fcn.0040e75c
pop ecx
pop edi
pop esi
pop ebp
movzx eax, bl
pop ebx
ret

Function at 0x409a34
Capabilities:
Check if file exists
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x3a4]
sub esp, 0x424
mov eax, dword [0x4d8668]
xor eax, ebp
mov dword [ebp + 0x3a0], eax
mov eax, dword [ebp + 0x3ac]
push ebx
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x74]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x74], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x409a83
xor eax, eax
jmp 0x409b5a
push esi
push edi
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x6e]
push ebx
push eax
call fcn.0042bd50
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push 0x4a3fc4
push dword [ebp - 0x74]
mov dword [ebp - 0x7c], 0x104
mov dword [ebp - 0x80], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x70]
push eax
call esi
test eax, eax
jne 0x409b3e
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
push edi
mov word [ebp + 0x198], ax
lea eax, [ebp + 0x19a]
push ebx
push eax
call fcn.0042bd50
add esp, 0xc
push ebx
push 0x26
lea eax, [ebp + 0x198]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp + 0x198]
push str.Internet_Exploreriexplore.exe
push eax
call fcn.0042bd02
pop ecx
pop ecx
lea eax, [ebp + 0x198]
push eax
call esi
test eax, eax
je 0x409b58
lea eax, [ebp + 0x198]
push eax
push dword [ebp - 0x78]
call fcn.0042bd30
pop ecx
pop ecx
jmp 0x409b55
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x78]
call fcn.0042bd30
pop ecx
pop ecx
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
mov ecx, dword [ebp + 0x3a0]
xor ecx, ebp
pop ebx
call fcn.0042b558
add ebp, 0x3a4
leave
ret
Function at 0x409b70
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x4d8668]
xor eax, ebp
mov dword [ebp + 0x19c], eax
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
push 0x206
mov word [ebp - 0x6c], ax
lea eax, [ebp - 0x6a]
push ebx
push eax
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x7c], ebx
call fcn.0042bd50
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
mov edi, 0x20019
push edi
push ebx
push str.http
push closesocket
call esi
test eax, eax
je 0x409bdc
xor eax, eax
jmp 0x409c83
lea eax, [ebp - 0x74]
push eax
push edi
push ebx
push str.shell
push dword [ebp - 0x78]
call esi
test eax, eax
jne 0x409bd5
lea eax, [ebp - 0x70]
push eax
push edi
push ebx
push str.opencommand
push dword [ebp - 0x74]
call esi
test eax, eax
jne 0x409bd5
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push 0x4a3fc4
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], 0x104
mov dword [ebp - 0x80], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x74]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x70]
call esi
lea eax, [ebp - 0x6c]
push eax
call fcn.0042d0e3
mov esi, 0x4a3fac
push esi
push eax
call fcn.0042c64b
add esp, 0xc
cmp eax, ebx
je 0x409bd5
lea edi, [eax + 2]
push esi
push edi
call fcn.0042c64b
pop ecx
pop ecx
cmp eax, ebx
je 0x409bd5
xor ecx, ecx
push edi
mov word [eax], cx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp + 0x19c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b558
add ebp, 0x1a0
leave
ret

Function at 0x409c9b
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x7a8]
sub esp, 0x828
mov eax, dword [0x4d8668]
xor eax, ebp
mov dword [ebp + 0x7a4], eax
push esi
push edi
mov edi, dword [ebp + 0x7b0]
push 0x44
xor esi, esi
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.0042bd50
push 0x10
lea eax, [ebp - 0x3c]
push esi
push eax
mov dword [ebp - 0x80], 0x44
call fcn.0042bd50
push edi
lea eax, [ebp - 0x2c]
push 0x4a4710
push eax
call fcn.0042b6ee
add esp, 0x24
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
push 1
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x409d1f
push dword [ebp - 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x38]
call esi
mov ecx, dword [ebp + 0x7a4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042b558
add ebp, 0x7a8
leave
ret
Function at 0x40a189
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0xf60]
sub esp, 0xfe0
mov eax, dword [0x4d8668]
xor eax, ebp
mov dword [ebp + 0xf5c], eax
push esi
mov esi, dword [ebp + 0xf68]
push 0x7d0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x38]
push str.Program_FilesInternet_Exploreriexplore.exe
push eax
call fcn.0042bd30
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.0042bd02
push 0x3c
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.0042bd50
add esp, 0x1c
xor ecx, ecx
inc ecx
push ecx
push 0
push 0
mov eax, str.open
push esi
push eax
push 0
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x7c], 0x200
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x64], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
cmp eax, 0x20
ja 0x40a219
lea eax, [ebp - 0x44]
push eax
call fcn.00409c9b
pop ecx
mov ecx, dword [ebp + 0xf5c]
xor ecx, ebp
call fcn.0042b558
add ebp, 0xf60
leave
ret

Function at 0x40a22e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0042bcbe
pop ecx
test eax, eax
je 0x40a286
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.0042bd50
add esp, 0xc
xor ecx, ecx
inc ecx
push ecx
push 0
push 0
mov eax, str.open
push esi
push eax
push 0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], 0x200
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x40a286
push esi
call fcn.00409c9b
pop ecx
pop esi
leave
ret

Function at 0x40a32b
Capabilities:
Get common file path

Disassembly:
call fcn.00409b70
test eax, eax
je 0x40a339
jmp fcn.0040a189
jmp fcn.0040a289

Function at 0x40abf3
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
xor edi, edi
push edi
push 0x40abb2
push edi
push edi
mov dword [0x4dca80], 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 [0x4dca80]
sub eax, dword [ebp - 0x10]
cmp ecx, 1
jle 0x40ac78
cmp ecx, edi
jle 0x40ac78
mov esi, 0x4dc8e8
mov edx, dword [esi]
cmp edx, eax
jle 0x40ac72
mov eax, edx
add esi, 0x10
dec ecx
jne 0x40ac6a
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40acd8
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 0x40ad22
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 0x40ad6c
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 0x40c2f8
Capabilities:
Check if file exists
Copy file
Read .ini file

Disassembly:
call fcn.0040c29c
mov ecx, eax
jmp fcn.0040d660

Function at 0x40c358
Capabilities:
Copy file

Disassembly:
call fcn.0040c29c
mov ecx, eax
jmp fcn.0040c88f
Function at 0x40c39c
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x7a8]
sub esp, 0x828
mov eax, dword [0x4d8668]
xor eax, ebp
mov dword [ebp + 0x7a4], eax
push ebx
push esi
push edi
xor eax, eax
mov edi, 0x206
push edi
push eax
mov word [ebp + 0x394], ax
lea eax, [ebp + 0x396]
mov esi, ecx
and dword [esi + 0x14], 0
push eax
mov dword [ebp - 0x80], 1
call fcn.0042bd50
lea eax, [ebp + 0x394]
push 0x4ac9f4
push eax
call fcn.0042bd30
lea eax, [ebp + 0x394]
push str.1.0.1.0528
push eax
call fcn.0042bd02
mov ebx, str.0416
lea eax, [ebp + 0x394]
push ebx
push eax
call fcn.0042bd02
add esp, 0x24
lea eax, [ebp + 0x394]
push eax
push 1
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
xor ecx, ecx
mov dword [esi + 0xc], eax
cmp eax, ecx
jne 0x40c58c
lea eax, [ebp + 0x394]
push eax
push 0x9c
push ecx
push 4
push ecx
push 0xffffffffffffffff
mov dword [ebp - 0x80], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 0xc], eax
test eax, eax
jne 0x40c58c
push edi
push eax
mov word [ebp + 0x18c], ax
lea eax, [ebp + 0x18e]
push eax
call fcn.0042bd50
xor eax, eax
push edi
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
call fcn.0042bd50
xor eax, eax
push edi
push eax
mov word [ebp + 0x59c], ax
lea eax, [ebp + 0x59e]
push eax
call fcn.0042bd50
add esp, 0x24
lea eax, [ebp + 0x18c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push ebx
mov edi, str.1.0.1.0528
push edi
push str.PeopleCalendar
lea eax, [ebp + 0x18c]
push eax
lea eax, [ebp - 0x7c]
push str._s_s_s_s
push eax
call fcn.0042b6ee
lea eax, [ebp + 0x59c]
push 0x4ac9f4
push eax
call fcn.0042bd30
lea eax, [ebp + 0x59c]
push 0x4ac9c4
push eax
call fcn.0042bd02
lea eax, [ebp + 0x59c]
push edi
push eax
call fcn.0042bd02
lea eax, [ebp + 0x59c]
push ebx
push eax
call fcn.0042bd02
mov edi, dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
add esp, 0x38
lea eax, [ebp + 0x59c]
xor ebx, ebx
push eax
inc ebx
push ebx
push 0xf001f
mov dword [esi + 0x14], ebx
call edi
mov dword [esi + 0xc], eax
test eax, eax
jne 0x40c58c
lea eax, [ebp + 0x59c]
push eax
push ebx
push 6
call edi
mov dword [esi + 0xc], eax
test eax, eax
jne 0x40c58c
xor ebx, ebx
push ebx
push 0x80
push 4
push ebx
push 3
push 0x10000000
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40c5cd
lea eax, [ebp + 0x59c]
push eax
push 0x9c
push ebx
push 4
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push edi
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0xc]
xor ecx, ecx
cmp eax, ecx
je 0x40c5cd
push ecx
push ecx
push ecx
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x10], eax
test eax, eax
je 0x40c5c0
cmp dword [ebp - 0x80], 0
mov dword [esi + 0x28], eax
jne 0x40c5bb
mov ecx, eax
call fcn.0040c224
xor eax, eax
inc eax
jmp 0x40c5cf
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
and dword [esi + 0xc], 0
xor eax, eax
mov ecx, dword [ebp + 0x7a4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b558
add ebp, 0x7a8
leave
ret
Function at 0x40c672
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x4d8668]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x244]
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor eax, eax
push 0x206
mov word [ebp - 0x234], ax
xor ebx, ebx
lea eax, [ebp - 0x232]
push ebx
push eax
call fcn.0042bd50
xor eax, eax
mov word [ebp - 0x2c], ax
lea edi, [ebp - 0x2a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [ebp - 0x18], ax
lea edi, [ebp - 0x16]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
mov edi, 0x4a4c74
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.0042b6ee
movzx eax, word [ebp - 0x23e]
push eax
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.0042b6ee
add esp, 0x24
cmp dword [esi + 0x104], 8
jb 0x40c708
mov eax, dword [esi + 0xf0]
jmp 0x40c70e
lea eax, [esi + 0xf0]
push eax
push ebx
mov ebx, str.LastUseDay
push ebx
mov edi, str.Setting
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
movzx ecx, word [ebp - 0x23e]
cmp eax, ecx
je 0x40c7db
cmp dword [esi + 0x104], 8
jb 0x40c742
mov eax, dword [esi + 0xf0]
jmp 0x40c748
lea eax, [esi + 0xf0]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ebx, str.UseDayTotal
lea eax, [ebp - 0x234]
push ebx
push eax
call fcn.0042bd30
cmp dword [esi + 0x104], 8
pop ecx
pop ecx
jb 0x40c77a
mov eax, dword [esi + 0xf0]
jmp 0x40c780
lea eax, [esi + 0xf0]
push eax
push 0
lea eax, [ebp - 0x234]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
inc eax
push eax
lea eax, [ebp - 0x18]
push 0x4a4c74
push eax
call fcn.0042b6ee
lea eax, [ebp - 0x234]
push ebx
push eax
call fcn.0042bd30
add esp, 0x14
cmp dword [esi + 0x104], 8
jb 0x40c7c2
mov esi, dword [esi + 0xf0]
jmp 0x40c7c8
add esi, 0xf0
push esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x234]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b558
leave
ret
Function at 0x40cb4b
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x3a8]
sub esp, 0x428
mov eax, dword [0x4d8668]
xor eax, ebp
mov dword [ebp + 0x3a4], eax
push esi
push edi
xor eax, eax
mov edi, 0x206
push edi
push eax
mov word [ebp - 0x6c], ax
lea eax, [ebp - 0x6a]
push eax
mov esi, ecx
call fcn.0042bd50
xor eax, eax
push edi
push eax
mov word [ebp + 0x19c], ax
lea eax, [ebp + 0x19e]
push eax
call fcn.0042bd50
mov eax, dword [esi + 0x24]
add esp, 0x18
push eax
mov eax, dword [eax + 0x18]
push dword [eax]
lea ecx, [ebp - 0x78]
call fcn.0040af4f
mov eax, dword [esi + 0x24]
push eax
push dword [eax + 0x18]
lea ecx, [ebp - 0x80]
call fcn.0040af4f
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x78]
call fcn.0040532a
test al, al
jne 0x40cd0d
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push ebx
mov ebx, str.HotKey
lea ecx, [ebp - 0x78]
call fcn.0040b97d
mov eax, dword [eax + 4]
mov dword [ebp - 0x70], eax
add eax, 0xc
push eax
call fcn.0042bcbe
pop ecx
test eax, eax
jle 0x40cce1
mov eax, dword [ebp - 0x70]
add eax, 0xc
push eax
lea eax, [ebp - 0x6c]
push str.Is_s
push eax
call fcn.0042b6ee
add esp, 0xc
cmp dword [esi + 0xb0], 8
jb 0x40cc23
mov eax, dword [esi + 0x9c]
jmp 0x40cc29
lea eax, [esi + 0x9c]
push eax
push 0x104
lea eax, [ebp + 0x19c]
push eax
push 0x4acb00
lea eax, [ebp - 0x6c]
push eax
push ebx
call edi
lea eax, [ebp + 0x19c]
push 0x4acb00
push eax
call fcn.0042c041
pop ecx
pop ecx
test eax, eax
je 0x40cc6e
lea eax, [ebp + 0x19c]
push eax
call fcn.0042c51e
pop ecx
mov ecx, dword [ebp - 0x70]
mov ecx, dword [ecx + 4]
mov byte [ecx], al
mov eax, dword [ebp - 0x70]
add eax, 0xc
push eax
lea eax, [ebp - 0x6c]
push str.Use_s
push eax
call fcn.0042b6ee
add esp, 0xc
cmp dword [esi + 0xb0], 8
jb 0x40cc97
mov eax, dword [esi + 0x9c]
jmp 0x40cc9d
lea eax, [esi + 0x9c]
push eax
push 0x104
lea eax, [ebp + 0x19c]
push eax
push str.nothing
lea eax, [ebp - 0x6c]
push eax
push ebx
call edi
lea eax, [ebp + 0x19c]
push str.nothing
push eax
call fcn.0042c041
pop ecx
pop ecx
test eax, eax
je 0x40cce1
lea eax, [ebp + 0x19c]
push eax
mov eax, dword [ebp - 0x70]
push dword [eax + 8]
call fcn.0042bd30
pop ecx
pop ecx
lea ecx, [ebp - 0x78]
call fcn.0040537d
mov eax, dword [esi + 0x24]
push eax
push dword [eax + 0x18]
lea ecx, [ebp - 0x80]
call fcn.0040af4f
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x78]
call fcn.0040532a
test al, al
je 0x40cbda
pop ebx
mov ecx, dword [ebp + 0x3a4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042b558
add ebp, 0x3a8
leave
ret