joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401430
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
call fcn.004af5a0
test al, al
je 0x401448
xor al, al
add esp, 0x114
ret
lea eax, [esp]
push eax
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp byte [esp + 4], 6
sbb eax, eax
add eax, 1
add esp, 0x114
ret

Function at 0x401470
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
call fcn.004af5a0
test al, al
je 0x401488
xor al, al
add esp, 0x114
ret
lea eax, [esp]
push eax
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov al, byte [esp + 4]
cmp al, 6
ja 0x4014b4
jne 0x4014ab
cmp byte [esp + 8], 0
ja 0x4014b4
xor eax, eax
add esp, 0x114
ret
mov eax, 1
add esp, 0x114
ret

Function at 0x4014c0
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
call fcn.004af5a0
test al, al
je 0x4014d8
xor al, al
add esp, 0x114
ret
lea eax, [esp]
push eax
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov al, byte [esp + 4]
cmp al, 6
ja 0x401504
jne 0x4014fb
cmp byte [esp + 8], 1
ja 0x401504
xor eax, eax
add esp, 0x114
ret
mov eax, 1
add esp, 0x114
ret

Function at 0x4015a0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x401810
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x208
push ebx
mov ebx, dword [esp + 0x210]
cmp word [ebx + 0x20c], 0
lea eax, [ebx + 0x20c]
je 0x401860
push esi
push edi
push ecx
push eax
push 0x6bc0d0
mov esi, 0x104
lea edi, [esp + 0x18]
call fcn.004af0d0
add esp, 0xc
cmp word [esp + 0xc], 0
pop edi
pop esi
je 0x401860
mov eax, dword [ebx]
lea edx, [esp + 4]
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
pop ebx
add esp, 0x208
ret 4

Function at 0x401b70
Capabilities:
Get disk size

Disassembly:
sub esp, 0x18
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x401ba6
or eax, 0xffffffff
mov ecx, SysReAllocString
shrd eax, ecx, 0xa
shr ecx, 0xa
add esp, 0x18
ret 4
mov ecx, dword [esp + 4]
mov eax, dword [esp]
shrd eax, ecx, 0xa
shr ecx, 0xa
add esp, 0x18
ret 4

Function at 0x401c30
Capabilities:
Get file size

Disassembly:
mov edx, dword [ecx]
sub esp, 0xc
lea eax, [esp]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x401c4c
mov dword [esp + 4], eax
add esp, 0xc
ret
mov ecx, dword [esp + 4]
mov eax, dword [esp]
mov dword [esp + 4], ecx
add esp, 0xc
ret
Function at 0x401c60
Capabilities:
Get file size

Disassembly:
sub esp, 8
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 3
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
lea ecx, [esp + 8]
mov esi, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x401c96
mov dword [esp + 0xc], edi
jmp 0x401ca2
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 8]
mov dword [esp + 0xc], edx
cmp esi, 0xffffffff
je 0x401cae
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
add esp, 8
ret

Function at 0x401cc0
Capabilities:
Get file size

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
lea ecx, [esp + 0x10]
mov ebx, eax
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x401cf7
xor esi, esi
xor edi, edi
jmp 0x401cff
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
cmp ebx, 0xffffffff
je 0x401d0b
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, edi
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x401d80
Capabilities:
Delete file
Move file

Disassembly:
sub esp, 0x22c
push esi
lea esi, [esp + 0x24]
call fcn.004011d0
mov word [esp + eax*2 + 0x26], 0
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
mov dword [esp + 4], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov word [esp + 0x20], ax
lea ecx, [esp + 4]
mov eax, esi
push ecx
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], eax
mov word [esp + 0x18], 0x454
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb eax, eax
add eax, 1
pop esi
add esp, 0x22c
ret

Function at 0x401df0
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
sub esp, 0x410
push ebx
push ebp
push edi
lea eax, [esp + 0x214]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, 1
push edi
call ebx
push eax
push str.Debut__lu__d
lea edx, [esp + 0x18]
call fcn.00401000
add esp, 0xc
push 0x6bc0cc
lea ecx, [esp + 0x10]
push ecx
push esi
lea eax, [esp + 0x220]
call fcn.004ad3a0
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
call ebp
cmp eax, 0xffffffff
je 0x401e88
add edi, 1
push edi
call ebx
push eax
push str.Debut__lu__d
lea edx, [esp + 0x18]
call fcn.00401000
add esp, 0xc
push 0x6bc0cc
lea edx, [esp + 0x10]
push edx
push esi
lea eax, [esp + 0x220]
call fcn.004ad3a0
push esi
call ebp
cmp eax, 0xffffffff
jne 0x401e51
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
pop ebp
pop ebx
add esp, 0x410
ret

Function at 0x401ea0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
lea eax, [esp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str..tmp
lea ecx, [esp + 4]
push ecx
call fcn.004ac1f0
add esp, 0x208
ret
Function at 0x401ed0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
ret

Function at 0x401ef0
Capabilities:
Delete directory
Get common file path

Disassembly:
sub esp, 0x618
lea eax, [esp + 0x208]
push eax
push 0
push 0
push 0x1a
push 0
mov word [esp + 0x21c], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x6bc0cc
push str.NCH_Software
lea ecx, [esp + 8]
push ecx
lea eax, [esp + 0x214]
call fcn.004ad3a0
push 0x6bc0cc
push 0x6bc140
lea edx, [esp + 0x418]
push edx
lea eax, [esp + 0xc]
call fcn.004ad3a0
lea ecx, [esp + 0x410]
call fcn.004ad730
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
add esp, 0x618
ret

Function at 0x4020f0
Capabilities:
Read file on windows

Disassembly:
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [eax]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 4]
ret 4

Function at 0x402110
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [edx]
push 4
lea ecx, [esp + 0xc]
push ecx
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp]
add esp, 8
ret

Function at 0x402180
Capabilities:
Write file on windows

Disassembly:
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [eax]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 4]
ret 4

Function at 0x4021c0
Capabilities:
Delete file

Disassembly:
sub esp, 0x410
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._Ix__wt
mov esi, 0x104
lea edi, [esp + 0x218]
call fcn.004af0d0
add esp, 8
push 0x6bc0cc
mov eax, edi
push eax
mov eax, dword [esp + 0x424]
lea ecx, [esp + 0x10]
push ecx
call fcn.004ad3a0
push 2
push 0
push 0xc0000000
lea edx, [esp + 0x14]
push edx
mov eax, 0x1388
call fcn.004abf70
cmp eax, 0xffffffff
pop edi
pop esi
je 0x40223c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, 1
add esp, 0x410
ret 4
xor al, al
add esp, 0x410
ret 4

Function at 0x4023a0
Capabilities:
Check os version

Disassembly:
sub esp, 0x11c
call fcn.004af5a0
test al, al
jne 0x4023d3
lea eax, [esp + 4]
push eax
mov dword [esp + 8], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp byte [esp + 8], 6
setae al
test al, al
mov eax, str.control.exe_mmsys.cpl__1
jne 0x4023d8
mov eax, str.sndvol32.exe__rec
push 1
call fcn.004012a0
add esp, 0x11c
ret
Function at 0x4035e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
call fcn.004af5a0
test al, al
jne 0x40363d
lea eax, [esp]
push eax
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp byte [esp + 4], 6
setae al
test al, al
je 0x40363d
mov ecx, dword [esp + 0x120]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x124]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x118]
push edx
mov edx, dword [esp + 0x120]
push ecx
mov ecx, dword [eax]
push 0
push edx
push ecx
call dword [sym.imp.USER32.dll_SetMenuItemBitmaps]
add esp, 0x114
ret 0x10

Function at 0x4045d0
Capabilities:
Check os version

Disassembly:
sub esp, 0x11c
push esi
mov esi, eax
call fcn.004af5a0
test al, al
jne 0x40461a
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp byte [esp + 0xc], 6
setae al
test al, al
je 0x40461a
push edi
push 1
push 0x1501
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
add esp, 0x11c
ret 4
push 1
push edi
call fcn.0051a230
push 0
push 0
push esi
mov esi, dword [esp + 0x130]
push 0x519d70
push 0x133
add esi, 0x28
call fcn.0051d2c0
pop esi
add esp, 0x11c
ret 4

Function at 0x404d30
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
call fcn.004af5a0
test al, al
jne 0x404d62
lea eax, [esp]
push eax
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp byte [esp + 4], 6
setae al
test al, al
mov eax, str.sndvol.exe
jne 0x404d67
mov eax, str.sndvol32.exe
push 1
call fcn.004012a0
add esp, 0x114
ret

Function at 0x405620
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push 0x17
mov esi, 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x405637
mov esi, 2
push esi
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ecx, ecx
test ax, ax
setl cl
mov al, cl
pop esi
ret

Function at 0x407790
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
call fcn.004af5a0
test al, al
je 0x4077a8
xor al, al
add esp, 0x114
ret
lea eax, [esp]
push eax
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp byte [esp + 4], 6
setae al
add esp, 0x114
ret
Function at 0x40bbb0
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor ebx, ebx
push str.UxTheme.dll
mov dword [esi], ebx
call edi
push 0x6c6a58
mov dword [esi + 4], eax
call edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
cmp eax, ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
je 0x40bcd4
push str.OpenThemeData
push eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 4]
push str.CloseThemeData
push eax
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 4]
push str.DrawThemeBackground
push eax
call edi
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 4]
push str.GetThemeColor
push eax
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
push str.GetThemeSysColorBrush
push eax
call edi
mov dword [esi + 0x24], eax
mov eax, dword [esi + 4]
push str.GetThemePartSize
push eax
call edi
mov dword [esi + 0x28], eax
mov eax, dword [esi + 4]
push str.GetThemeBackgroundContentRect
push eax
call edi
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 4]
push str.GetThemeFont
push eax
call edi
mov dword [esi + 0x30], eax
mov eax, dword [esi + 4]
push str.IsAppThemed
push eax
call edi
mov dword [esi + 0x34], eax
mov eax, dword [esi + 4]
push str.DrawThemeParentBackground
push eax
call edi
mov dword [esi + 0x38], eax
mov eax, dword [esi + 4]
push str.SetWindowTheme
push eax
call edi
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 4]
push str.IsThemeBackgroundPartiallyTransparent
push eax
call edi
mov dword [esi + 0x40], eax
mov eax, dword [esi + 4]
push str.DrawThemeTextEx
push eax
call edi
mov dword [esi + 0x44], eax
mov eax, dword [esi + 4]
push str.GetThemeSysFont
push eax
call edi
mov dword [esi + 0x48], eax
mov eax, dword [esi + 4]
push str.IsThemeActive
push eax
call edi
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 4]
push str.DrawThemeIcon
push eax
call edi
mov dword [esi + 0x50], eax
mov eax, dword [esi + 4]
push str.EnableThemeDialogTexture
push eax
call edi
mov dword [esi + 0x54], eax
jmp 0x40bd07
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x40bd3a
push str.DwmIsCompositionEnabled
push eax
call edi
mov dword [esi + 0x58], eax
mov eax, dword [esi + 8]
push str.DwmSetWindowAttribute
push eax
call edi
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 8]
push str.DwmExtendFrameIntoClientArea
push eax
call edi
pop edi
mov dword [esi + 0x60], eax
mov eax, esi
pop ebx
ret
pop edi
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov eax, esi
pop ebx
ret
Function at 0x418520
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
push edi
push eax
call dword [sym.imp.USER32.dll_SetCapture]
add esi, 0x1e6
cmp dword [esi + 0x40], 0
je 0x418554
cmp dword [esi], 0xffffffff
je 0x418554
cmp dword [esi + 4], 0
jle 0x418554
cmp dword [esi + 8], 0
jg 0x418592
push 0xa
push 0x166
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x418592
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push edi
push esi
mov ecx, 5
mov edi, eax
call fcn.004cf0e0
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x40], 0
je 0x418617
cmp dword [esi], 0xffffffff
je 0x418617
cmp dword [esi + 4], 0
jle 0x418617
cmp dword [esi + 8], 0
jle 0x418617
push 8
call fcn.0069e704
mov edi, eax
xor ebx, ebx
add esp, 4
cmp edi, ebx
jne 0x4185c2
call fcn.004b05b0
jmp 0x4185e4
mov dword [edi + 4], ebx
call dword [sym.imp.USER32.dll_GetCursor]
push esi
push edi
mov dword [edi], eax
call fcn.005079e0
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x4185e2
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov ebx, edi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x236]
test esi, esi
je 0x418611
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [esi + 4]
test eax, eax
je 0x418608
push eax
call dword [sym.imp.USER32.dll_DestroyCursor]
push esi
call fcn.0069d0cc
add esp, 4
mov dword [edi + 0x236], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x418620
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdb4
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
push 0
push 0
push 0x147
push 0x232c
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov ebx, eax
test ebx, ebx
je 0x4187dd
lea ecx, [ebx - 1]
cmp ecx, 0x12
ja 0x4187dd
mov edx, dword [ebx*8 + 0x732abc]
lea esi, [esp + 0x5a0]
call fcn.004ad160
lea esi, [esp + 0x7a8]
call fcn.004ac170
push 0x6bc0cc
push str.Backgrounds
lea edx, [esp + 0x3a0]
push edx
mov eax, esi
call fcn.004ad3a0
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea eax, [esp + 0x398]
push eax
call esi
cmp eax, 0xffffffff
jne 0x4186bd
push 0
lea ecx, [esp + 0x39c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x6bc0cc
lea edx, [esp + 0x5a4]
push edx
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x3a4]
call fcn.004ad3a0
lea ecx, [esp + 0x10]
push ecx
call esi
cmp eax, 0xffffffff
jne 0x41875a
mov edx, dword [edi + 4]
push edx
mov eax, str.Downloading
lea ecx, [esp + 0x21c]
call fcn.004155b0
mov ecx, dword [ebx*8 + 0x732abc]
lea edi, [esp + 0x10]
lea eax, [esp + 0x9b0]
call fcn.00415a20
mov esi, eax
sub esp, 0x410
mov edi, esp
lea eax, [esp + 0x41c]
push eax
mov ecx, 0x104
lea eax, [esp + 0x62c]
rep movsd dword es:[edi], dword [esi]
call fcn.004849b0
cmp dword [eax], 0
lea eax, [esp + 0x218]
je 0x418752
call fcn.004156d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.004156d0
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x12e]
mov di, word [esp + 0x10]
mov esi, dword [ecx]
xor eax, eax
test di, di
movzx ecx, di
lea edx, [esp + 0x12]
je 0x41878e
cmp eax, 0x103
jae 0x41878e
mov word [esi + eax*2], cx
movzx ecx, word [edx]
add eax, 1
add edx, 2
test cx, cx
jne 0x418775
mov ebx, dword [ebp + 8]
mov word [esi + eax*2], 0
mov edx, dword [ebx + 0x247]
mov di, word [esp + 0x10]
mov esi, dword [edx + 0x29]
xor ecx, ecx
test di, di
movzx eax, di
lea edx, [esp + 0x12]
je 0x4187cd
cmp ecx, 0x103
jae 0x4187cd
mov word [esi + ecx*2], ax
movzx eax, word [edx]
add ecx, 1
add edx, 2
test ax, ax
jne 0x4187b3
push ebx
lea eax, [esp + 0x14]
mov word [esi + ecx*2], 0
call fcn.00418080
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4187f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x61c
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push edi
xor edi, edi
lea eax, [esp + 0x10]
push eax
push edi
push edi
push 0x27
push edi
mov word [esp + 0x24], di
call esi
cmp word [esp + 0x10], di
jne 0x418833
lea ecx, [esp + 0x10]
push ecx
push edi
push edi
push 5
push edi
mov word [esp + 0x24], di
call esi
push str.OverlayEffect
push str.SoftwareNCH_SoftwareDebut_s
mov esi, 0x104
lea edi, [esp + 0x220]
call fcn.004af0d0
add esp, 8
lea edx, [esp + 0x420]
push edx
lea eax, [esp + 0x14]
push eax
push str.SourceDir
mov ecx, edi
mov edx, SysReAllocStringLen
call fcn.004af7e0
mov ecx, dword [ebx + 0x12e]
mov eax, dword [ecx]
push 0x6c9758
lea edx, [esp + 0x424]
push edx
push str.Locate_Image_File
push eax
mov eax, dword [ebx + 4]
push eax
mov eax, str.Image_Files
call fcn.004acbf0
test al, al
je 0x4188ee
mov ecx, dword [ebx + 0x247]
mov edx, dword [ebx + 0x12e]
mov esi, dword [ecx + 0x29]
mov ecx, dword [edx]
movzx eax, word [ecx]
xor edx, edx
add ecx, 2
test ax, ax
je 0x4188da
lea ebx, [ebx]
cmp edx, 0x103
jae 0x4188da
mov word [esi + edx*2], ax
movzx eax, word [ecx]
add edx, 1
add ecx, 2
test ax, ax
jne 0x4188c0
mov word [esi + edx*2], 0
mov eax, dword [ebx + 0x12e]
mov eax, dword [eax]
push ebx
call fcn.00418080
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x418900
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x824
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push edi
xor edi, edi
lea eax, [esp + 0x10]
push eax
push edi
push edi
push 0xe
push edi
mov word [esp + 0x434], di
mov word [esp + 0x24], di
call esi
cmp word [esp + 0x10], di
jne 0x41894b
lea ecx, [esp + 0x10]
push ecx
push edi
push edi
push 5
push edi
mov word [esp + 0x24], di
call esi
mov ecx, dword [ebx + 4]
push 0x6c987c
lea edx, [esp + 0x14]
push edx
push str.Locate_Video_File
lea eax, [esp + 0x42c]
push eax
push ecx
mov eax, str.Video_Files
call fcn.004acbf0
test al, al
je 0x418a47
push str.DEBUTMotiondetectoff
push str.DEBUTMotiondetecton
call fcn.004bf000
mov byte [esp + 0xc], al
mov edx, dword [esp + 0xc]
push edx
push str.RecordingMotionDetection
mov eax, str.Settings
call fcn.00480fe0
test al, al
je 0x418a00
mov word [esp + 0x21a], di
push str.Settings
push str.SoftwareNCH_SoftwareDebut_s
mov esi, 0x104
lea edi, [esp + 0x630]
mov word [esp + 0x220], 0x30
call fcn.004af0d0
add esp, 8
push str.RecordingMotionDetection
push SysReAllocStringLen
lea esi, [esp + 0x220]
mov edx, edi
call fcn.004af710
mov eax, dword [ebx + 4]
push eax
mov esi, str.Motion_Detection_Conflict
mov eax, str.Change_in_background_will_be_falsely_detected_as_motion._Setting_motion_detection_to_off
call fcn.004f37e0
xor edi, edi
push ebx
lea eax, [esp + 0x424]
call fcn.00418250
push edi
push str.GreenScreenVideoInfoCount
mov eax, str.Settings
call fcn.004811b0
cmp eax, 3
jg 0x418a47
push str.GreenScreenVideoInfoCount
add eax, 1
push str.Settings
call fcn.00480f20
push edi
push edi
push str.The_video_background_will_be_compressed_and_the_speed_may_change.
push 0x233a
mov esi, ebx
call fcn.0051b600
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x419aa0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x7c]
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x5e]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
xor esi, esi
mov dword [esp + 0x1c], eax
xor ebp, ebp
mov dword [esp + 0x14], esi
lea ebx, [edi + 0xc]
jmp 0x419ae4
mov edi, dword [esp + 0x7c]
mov eax, dword [edi]
mov ecx, dword [esp + 0x14]
add eax, 4
mov eax, dword [eax]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push ecx
mov ecx, eax
call edx
mov eax, dword [edi]
mov ecx, dword [esp + 0x78]
add eax, 4
mov eax, dword [eax]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push 0x7d0
push ebx
push ecx
mov ecx, eax
call edx
mov edi, dword [edi + 4]
lea eax, [edi + 8]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi]
push ebx
push eax
mov eax, ebp
call fcn.004149e0
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 4]
mov eax, 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
push edx
xor eax, eax
lea edi, [esp + 0x24]
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
call fcn.004ce820
mov edx, ebx
mov ecx, edi
call fcn.004d6750
mov eax, dword [esp + 0x7c]
mov edi, dword [eax + 8]
lea eax, [edi + 0x31]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [edi + 0x29]
lea ecx, [esp + 0x20]
push ecx
push edx
mov eax, ebp
call fcn.00409270
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x78]
add ebp, 1
mov dword [esp + 0x18], ebp
fild dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
sub esp, 8
fmul qword [0x723c68]
fstp qword [esp]
call eax
lea ecx, [esp + 0x20]
call fcn.004d0c50
mov ecx, dword [esp + 0x1c]
add dword [esp + 0x14], ecx
add ebx, 0x58
cmp ebp, 0x3c
jl 0x419ae0
mov eax, dword [esp + 0x74]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0xc