joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b922
Capabilities:
Create new key via cryptacquirecontext
Initialize hashing via wincrypt

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
xor ebx, ebx
cmp esi, ebx
je 0x42b939
push 8
mov eax, esi
pop ecx
mov byte [eax], bl
inc eax
dec ecx
jne 0x42b933
push 0xf0000000
push 0x18
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x42b96b
lea eax, [esi + 4]
push eax
push ebx
push ebx
push 0x800c
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x42b96f
push esi
call fcn.0042b974
pop ecx
xor al, al
jmp 0x42b971
mov al, 1
pop esi
pop ebx
ret

Function at 0x42bc50
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor esi, esi
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION_
lea ecx, [ebp - 8]
mov dword [ebp - 4], esi
call fcn.00403927
lea eax, [ebp - 0xc]
mov ebx, 0xf003f
push eax
push ebx
push esi
mov edi, SHChangeNotifyRegister
push dword [ebp - 8]
mov dword [ebp - 0xc], esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x42bc9a
lea ecx, [ebp - 4]
call fcn.00405bf5
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
cmp dword [ebp + 0xc], esi
je 0x42bd36
cmp eax, esi
je 0x42bce4
lea eax, [ebp - 0xc]
mov dword [ebp + 0xc], esi
push eax
lea eax, [ebp + 0xc]
push eax
push esi
push ebx
push esi
push esi
push esi
push dword [ebp - 8]
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
jne 0x42bcd3
lea ecx, [ebp - 4]
call fcn.00405bf5
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], esi
je 0x42bce4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], esi
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], esi
push eax
push ebx
push esi
push dword [ebp - 8]
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42bd09
lea ecx, [ebp - 4]
call fcn.00405bf5
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0042bbec
mov eax, dword [eax]
pop ecx
lea ecx, [ebp + 0xc]
push 4
push ecx
push 4
push esi
push eax
push dword [ebp - 4]
mov dword [ebp + 0xc], 0x2af9
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
lea ecx, [ebp - 0xc]
jmp 0x42bd50
lea eax, [ebp + 0xc]
push eax
call fcn.0042bbec
pop ecx
push dword [eax]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
lea ecx, [ebp + 0xc]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.00405bf5
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42be67
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
push esi
lea eax, [ebp - 0x24c]
push 0x104
push eax
push dword [0x4c7a90]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [ebp + 8]
xor esi, esi
cmp dword [eax - 8], esi
jne 0x42beba
lea eax, [ebp - 0x24c]
test eax, eax
je 0x42beaa
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x24c]
push ecx
push eax
lea ecx, [ebp + 8]
call fcn.004039ec
push edi
push 0xf
pop ecx
xor eax, eax
lea edi, [ebp - 0x44]
rep stosd dword es:[edi], eax
lea eax, [ebp + 8]
lea ecx, [ebp - 4]
push eax
mov dword [ebp - 0x44], 0x3c
call fcn.004038b5
push esi
lea ecx, [ebp - 4]
mov dword [ebp - 0x40], esi
call fcn.00403c58
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 8]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x28], 1
call fcn.004038b5
mov eax, dword [ebp - 8]
cmp dword [ebp + 0x10], esi
mov dword [ebp - 0x30], eax
pop edi
je 0x42bf13
mov dword [ebp - 0x38], 0x4b1138
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea ecx, [ebp - 8]
mov esi, eax
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp + 8]
call fcn.004038fb
lea ecx, [ebp + 0xc]
call fcn.004038fb
mov eax, esi
pop esi
leave
ret
Function at 0x42bff9
Capabilities:
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x844
push ebx
push esi
push edi
push str.:RepeatDEL___s_if_exist___s__goto_RepeatDEL___s_
lea ecx, [ebp - 0x10]
call fcn.0040a4e8
mov eax, dword [0x4bd5dc]
mov ebx, 0x81
mov dword [ebp - 0x844], eax
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x840]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, 0x104
lea eax, [ebp - 0x844]
push esi
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ecx
lea eax, [ebp - 0x844]
mov ecx, esp
push eax
call fcn.0040a4e8
lea eax, [ebp - 0x18]
push eax
call fcn.0042bf44
pop ecx
lea eax, [ebp - 0x18]
pop ecx
push str._selfdestruct.bat
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040a915
mov edx, dword [0x4bd5dc]
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x42c]
mov dword [ebp - 0x430], edx
mov dword [ebp - 0x228], edx
rep stosd dword es:[edi], eax
mov ecx, ebx
lea edi, [ebp - 0x224]
rep stosd dword es:[edi], eax
mov ecx, ebx
lea edi, [ebp - 0x634]
mov dword [ebp - 0x638], edx
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x228]
push eax
push esi
call edi
lea eax, [ebp - 0x638]
push eax
push esi
call edi
push dword [ebp - 0xc]
lea eax, [ebp - 0x228]
push eax
call fcn.0049d3f2
pop ecx
lea eax, [ebp - 0x430]
pop ecx
push esi
xor esi, esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x430]
lea ecx, [ebp - 8]
push eax
call fcn.0040a4e8
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
je 0x42c1cb
push dword [ebp - 0xc]
mov eax, dword [0x4b0550]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 8]
push dword [ebp - 0x10]
push eax
call fcn.00403d66
add esp, 0x14
lea ecx, [ebp - 4]
push 0x4b0cdc
push 0x4b0cd4
call fcn.004040f7
mov eax, dword [ebp - 4]
cmp eax, esi
mov dword [ebp - 0x1c], eax
jne 0x42c15c
xor edi, edi
jmp 0x42c18c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [eax + eax + 2]
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.0049c760
mov edi, esp
push esi
push esi
push ebx
and byte [edi], 0
push edi
push 0xffffffffffffffff
push dword [ebp - 0x1c]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x20]
push esi
push ecx
push dword [eax - 8]
push edi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x638]
push esi
push eax
lea eax, [ebp - 0x228]
push esi
push eax
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 0x18]
call fcn.004038fb
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea esp, [ebp - 0x850]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42c75b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push edi
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42c799
cmp dword [ebp + 0x10], esi
je 0x42c7bb
push esi
push str.Create_Error_
push dword [ebp + 8]
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x42c7bb
lea eax, [ebp - 4]
push esi
push eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], esi
push dword [eax + 0x14]
push dword [eax + 4]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop esi
lea ecx, [ebp + 8]
call fcn.004038fb
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x42c7c9
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SHChangeNotifyRegister
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x42c804
push ebx
push str.Error1_
push dword [ebp + 8]
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x42c845
push esi
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [ebp + 0xc]
mov edi, eax
mov dword [ebp - 8], ebx
lea eax, [edi + 1]
lea ecx, [esi + 4]
push eax
call fcn.00403c58
lea ecx, [ebp - 8]
push ebx
push ecx
push edi
push eax
mov dword [esi], eax
push dword [ebp - 4]
mov dword [esi + 8], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop ebx
pop edi
pop esi
lea ecx, [ebp + 8]
call fcn.004038fb
mov eax, ebx
pop ebx
leave
ret
Function at 0x430dcb
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x1c]
xor ebx, ebx
mov esi, ecx
push 0x11
mov dword [edi], ebx
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
mov eax, dword [esp + 0x14]
setl cl
sub eax, 0x23
je 0x430e69
dec eax
je 0x430e4f
dec eax
je 0x430e43
dec eax
je 0x430e3b
dec eax
je 0x430e27
dec eax
je 0x430e17
sub eax, 0x49
jne 0x430ea1
push dword [esi + 4]
call fcn.0046e8b0
pop ecx
jmp 0x430ea1
mov dword [edi], 1
push ebx
mov ecx, esi
call fcn.004312e6
jmp 0x430ea1
cmp ecx, ebx
je 0x430ea1
mov dword [edi], 1
push ebx
mov ecx, esi
call fcn.0043131b
jmp 0x430ea1
push 1
pop eax
mov dword [edi], eax
push eax
jmp 0x430e1e
cmp ecx, ebx
je 0x430ea1
push 1
pop eax
mov dword [edi], eax
push eax
jmp 0x430e32
cmp ecx, ebx
je 0x430ea1
push dword [esi + 0x24]
mov ecx, dword [esi + 0x38]
call fcn.0042e911
push esi
push eax
mov dword [edi], 1
push ebx
jmp 0x430e99
cmp ecx, ebx
je 0x430ea1
mov dword [edi], 1
mov eax, dword [esi + 0x38]
push ebx
add eax, 4
push ebx
push 0x1004
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [esi + 0x24]
mov ecx, dword [esi + 0x38]
mov edi, eax
call fcn.0042e911
push esi
dec edi
push eax
push edi
mov ecx, dword [esi + 0x38]
call fcn.0043045a
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
Function at 0x430ea9
Capabilities:
Get graphical window text
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
push 1
mov esi, ecx
pop ebx
push 0x10
mov dword [edi], ebx
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
movzx eax, word [ebp + 0xc]
setl cl
cmp eax, 9
je 0x431040
cmp eax, 0xd
je 0x43102e
cmp eax, 0x1b
je 0x431019
xor ebx, ebx
lea ecx, [ebp + 0x14]
mov dword [edi], ebx
mov eax, dword [0x4b0550]
mov edi, 0x400
mov dword [ebp + 0x14], eax
push edi
call fcn.00403c58
push edi
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp + 0x14]
call fcn.00403cd2
mov eax, dword [esi + 4]
mov dword [ebp - 0xc], ebx
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetWindowDC]
push dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0xc], eax
call edi
push ebx
push ebx
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp - 0xc]
call ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push eax
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
push dword [ebp - 4]
push dword [ebp - 0xc]
call ebx
mov ebx, dword [sym.imp.USER32.dll_GetClientRect]
add dword [ebp - 0x14], 5
lea eax, [ebp - 0x24]
push eax
push dword [esi + 4]
call ebx
push dword [esi + 4]
call edi
lea ecx, [ebp - 0x34]
push ecx
push eax
call ebx
push dword [esi + 4]
call edi
mov edi, dword [sym.imp.USER32.dll_ClientToScreen]
mov ebx, eax
lea eax, [ebp - 0x24]
push eax
push dword [esi + 4]
call edi
test eax, eax
je 0x430fba
lea eax, [ebp - 0x1c]
push eax
push dword [esi + 4]
call edi
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x24]
push eax
push ebx
call edi
test eax, eax
je 0x430fd2
lea eax, [ebp - 0x1c]
push eax
push ebx
call edi
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
sub edx, ecx
cmp eax, edx
jle 0x431007
add eax, ecx
cmp eax, dword [ebp - 0x2c]
jl 0x430feb
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
sub edx, dword [ebp - 0x20]
push 1
sub eax, ecx
push edx
push eax
push dword [ebp - 0x20]
push ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MoveWindow]
lea ecx, [ebp - 0xc]
call fcn.0041971c
lea ecx, [ebp + 0x14]
call fcn.004038fb
jmp 0x431050
push dword [esi + 4]
mov dword [esi + 0x30], ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x431050
test ecx, ecx
je 0x431035
push ebx
jmp 0x431037
push 0
mov ecx, esi
call fcn.004312e6
jmp 0x431050
test ecx, ecx
je 0x431047
push ebx
jmp 0x431049
push 0
mov ecx, esi
call fcn.0043131b
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x431219
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x4b0550]
push ebx
push esi
push edi
mov esi, ecx
mov edi, 0x800
push edi
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.00403c58
push edi
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.00403cd2
push dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
mov ebx, dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x38]
add eax, 4
push dword [eax]
call ebx
push dword [ebp - 4]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x30], 0xffffff50
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x2c]
push eax
mov dword [ebp - 0x2c], 1
call fcn.0049cec5
pop ecx
test eax, eax
pop ecx
jne 0x4312a0
or dword [ebp - 0x24], 0xffffffff
mov ecx, dword [esi + 0x30]
mov eax, dword [ebp - 4]
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
mov dword [ebp - 0x18], ecx
mov eax, dword [eax - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x38]
add eax, 4
push dword [eax]
call ebx
push dword [esi + 4]
mov ebx, eax
call edi
lea ecx, [ebp - 0x38]
push ecx
push ebx
push 0x4e
push eax
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 4]
call fcn.004038fb
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4318a2
Capabilities:
Get common file path

Disassembly:
sub esp, 0x18
lea eax, [esp + 8]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebp, dword [esi + 4]
xor ebx, ebx
mov dword [esi + 0x454], ebx
cmp dword [0x4b1d18], ebx
lea edi, [esi + 0x41c]
jne 0x4318d8
mov dword [0x4b1d18], ebx
lea eax, [edi + 0x1c]
push eax
push 0x4b1ce8
push 0x4c7a88
call fcn.0040f756
push ebx
push eax
push ebx
push ebx
push 0x54000000
lea eax, [esp + 0x2c]
push ebx
push eax
push ebp
mov ecx, edi
call fcn.0040f89f
push 0x403
lea ecx, [esi + 0x4ac]
push dword [esi + 4]
call fcn.0048dab5
mov ecx, dword [esi + 4]
mov dword [esi + 0x498], eax
neg edi
mov dword [esi + 0x538], ecx
lea ecx, [esi + 0x420]
sbb edi, edi
mov dword [esp + 0x14], ebx
and edi, ecx
mov dword [esp + 0x10], edi
push dword [edi]
push eax
call dword [sym.imp.USER32.dll_SetParent]
mov eax, dword [esi + 0x498]
lea ebp, [esi + 0x43c]
mov ecx, ebp
mov dword [ebp], eax
call fcn.00418d3e
mov eax, dword [esi + 4]
mov edi, 0x5600094c
push 0xe800
push edi
push ebx
push 0x100
push eax
call fcn.0040989e
push 0xe800
mov dword [esi + 0x4a0], eax
mov eax, dword [esi + 4]
push edi
push ebx
push 0x104
push eax
call fcn.0040989e
add esp, 0x28
mov edi, 0x416
mov dword [esi + 0x49c], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push edi
push dword [esi + 0x4a0]
call ebx
push 0
push 1
push edi
push dword [esi + 0x4a0]
call ebx
push 0
push 1
push edi
push dword [esi + 0x4a0]
call ebx
push 0
push 1
push edi
push dword [esi + 0x4a0]
call ebx
xor eax, eax
cmp dword [esi + 0x5cc], eax
jne 0x4319f5
push eax
push eax
push edi
push dword [esi + 0x49c]
call ebx
push 0
push 0
push edi
push dword [esi + 0x4a0]
call ebx
mov eax, dword [esp + 0x10]
push 0
lea ebx, [esi + 0x24]
push dword [eax]
mov ecx, ebx
call fcn.004283bc
mov eax, dword [esp + 0x10]
lea edi, [esi + 0x28]
push dword [eax]
push dword [edi]
call dword [sym.imp.USER32.dll_SetParent]
neg ebx
sbb ebx, ebx
mov ecx, ebp
and ebx, edi
mov eax, dword [ebx]
mov dword [ebp + 4], eax
call fcn.00418d3e
push 1
push 0
mov ecx, ebp
call fcn.00418b49
push 0
mov ecx, ebp
call fcn.00418bab
lea edi, [esi + 0x420]
push 0xffffffffffffffec
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x10000
cmp eax, ecx
je 0x431a65
push ecx
push 0xffffffffffffffec
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push dword [ebx]
call fcn.00404b89
pop ecx
lea eax, [esp + 0x14]
xor ebp, ebp
push eax
push ebp
push ebp
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
push 1
mov edi, dword [sym.imp.USER32.dll_SetTimer]
pop ebx
push ebp
push 0x3e8
push 0x7d0
mov dword [esi + 0x5b0], ebx
push dword [esi + 4]
call edi
push ebp
push 0xfa
push 0x7d2
push dword [esi + 4]
call edi
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret 0x10
Function at 0x4324dd
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
movzx ebx, word [ebp + 0xc]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov esi, ecx
push ebx
push 0x419
push dword [esi + 0x49c]
call edi
lea ecx, [ebp - 0x20]
push ecx
push eax
push 0x41d
push dword [esi + 0x49c]
call edi
lea eax, [ebp - 0x20]
push 2
push eax
push 0
push dword [esi + 0x49c]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x20]
push 1
push ebx
push 0x403
push dword [esi + 0x49c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
call edi
and dword [ebp - 4], 0
push ecx
mov eax, esp
lea ecx, [ebp - 4]
mov dword [eax], 0xd9
call fcn.00409e41
push ecx
lea ecx, [ebp - 4]
mov eax, esp
mov dword [eax], 0x80
call fcn.00409e41
mov ebx, dword [sym.imp.USER32.dll_GetSubMenu]
push 4
push dword [ebp - 4]
call ebx
push 3
push eax
mov dword [ebp - 8], eax
call ebx
mov ebx, eax
push 0
push 1
push ebx
call fcn.004428ea
push ebx
call fcn.0043d153
mov eax, dword [esi + 4]
add esp, 0x10
push 0
push eax
push 0
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0x100
push ebx
call dword [sym.imp.USER32.dll_TrackPopupMenu]
test eax, eax
jle 0x4325c2
push 0
push eax
push 0x111
push dword [0x4c42f0]
call edi
movzx eax, word [ebp + 0xc]
push 0
push eax
push 0x403
push dword [esi + 0x49c]
call edi
mov esi, dword [sym.imp.USER32.dll_DestroyMenu]
test ebx, ebx
je 0x4325e3
push ebx
call esi
cmp dword [ebp - 8], 0
je 0x4325ee
push dword [ebp - 8]
call esi
cmp dword [ebp - 4], 0
je 0x4325f9
push dword [ebp - 4]
call esi
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x433ee9
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [eax], edi
mov eax, dword [ebp + 0x10]
movzx ecx, ax
shr eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], ecx
push dword [esi + 0x4988]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x18]
push eax
push edi
push 0x445
push dword [esi + 0x4988]
call ebx
cmp eax, edi
mov dword [ebp - 0x10], eax
jl 0x43405d
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
mov dword [ebp + 0x10], 0x8497
jmp 0x433f51
xor edi, edi
push edi
push dword [ebp + 0x10]
push 0x419
push dword [esi + 0x4988]
call ebx
cmp dword [ebp - 0x10], eax
push 1
pop edi
je 0x433f78
inc dword [ebp + 0x10]
cmp dword [ebp + 0x10], 0x84a3
jl 0x433f4f
jmp 0x433ff0
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
mov eax, dword [ebp + 0x10]
cmp eax, 0x8497
je 0x433fda
cmp eax, 0x849c
je 0x433fda
cmp eax, 0x849d
je 0x433fda
cmp eax, 0x8498
je 0x433fd5
cmp eax, 0x8499
je 0x433fdd
cmp eax, 0x849e
je 0x433fdd
cmp eax, 0x849f
je 0x433fdd
cmp eax, 0x849a
jne 0x433fc0
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
jmp 0x433fe3
cmp eax, 0x849b
je 0x433fe0
cmp eax, 0x84a0
je 0x433fdd
cmp eax, 0x84a1
jne 0x433fe3
mov dword [ebp - 0xc], edi
jmp 0x433fe0
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
push 0
push eax
push 0x111
push dword [esi + 4]
call ebx
mov eax, dword [ebp + 0x14]
xor ebx, ebx
cmp dword [eax], ebx
je 0x43405d
cmp dword [ebp + 0x10], 0x849e
je 0x434020
cmp dword [ebp + 0x10], 0x849f
je 0x434020
cmp dword [ebp - 4], ebx
je 0x434037
push edi
push 0xffffffffffffffff
lea ecx, [esi + 0x6490]
call fcn.00418ed4
jmp 0x434037
push edi
push ebx
lea ecx, [esi + 0x6490]
mov dword [esi + 0x64cc], 0x19c8
call fcn.00418b49
cmp dword [ebp - 8], ebx
je 0x43404a
push edi
push 0xffffffffffffffff
lea ecx, [esi + 0x6504]
call fcn.00418ed4
cmp dword [ebp - 0xc], ebx
je 0x43405d
push edi
push 0xffffffffffffffff
lea ecx, [esi + 0x6578]
call fcn.00418ed4
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x43461e
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor edi, edi
cmp dword [0x4c4308], edi
mov dword [ebp - 0x14], ecx
jne 0x4347dc
push str.start.qdr
lea ecx, [ebp - 8]
mov dword [0x4c4308], 0xa
call fcn.00403927
push dword [ebp - 8]
lea eax, [ebp - 0x10]
push 0x4b435c
push 0x4b0ae4
push eax
call fcn.0044ae7c
add esp, 0x10
lea ecx, [ebp - 8]
push eax
call fcn.00403a8c
lea ecx, [ebp - 0x10]
call fcn.004038fb
push ecx
lea eax, [ebp - 8]
mov ecx, esp
push eax
call fcn.004038b5
lea eax, [ebp - 0xc]
push eax
call fcn.00460258
pop ecx
pop ecx
lea ecx, [ebp - 0xc]
call fcn.00403cfb
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_CharLowerW]
push 0x4b4358
lea ecx, [ebp - 0x10]
call fcn.00403927
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call fcn.0049cec5
mov ebx, eax
pop ecx
neg ebx
pop ecx
sbb bl, bl
lea ecx, [ebp - 0x10]
inc bl
call fcn.004038fb
test bl, bl
mov esi, 0x4c41e8
je 0x4346df
lea eax, [ebp - 8]
mov ecx, esi
push eax
call fcn.00403a8c
lea eax, [ebp - 0x10]
push eax
call fcn.00432fe8
pop ecx
push eax
mov ecx, 0x4c3868
call fcn.00403a8c
lea ecx, [ebp - 0x10]
call fcn.004038fb
mov eax, dword [0x4c3868]
cmp dword [eax - 0xc], edi
jl 0x434715
mov dword [ebp - 4], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x434727
mov ecx, dword [0x4b0550]
push eax
mov dword [ebp - 4], ecx
lea ecx, [ebp - 4]
call fcn.0040a70f
push esi
lea eax, [ebp - 0x10]
push 0x4b0efc
push eax
call fcn.0040a961
mov eax, dword [eax]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00403bd8
lea ecx, [ebp - 0x10]
call fcn.004038fb
push edi
push ecx
mov esi, str.StartCrash
mov ecx, esp
push esi
call fcn.0040a4e8
mov ebx, dword [ebp - 0x14]
mov ecx, ebx
call fcn.00435223
cmp eax, 1
jne 0x434786
push edi
push ecx
mov ecx, esp
push esi
call fcn.0040a4e8
mov ecx, ebx
call fcn.004351d3
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4347c4
push 1
push ecx
mov ecx, esp
push esi
call fcn.0040a4e8
mov ecx, ebx
call fcn.004351d3
push edi
push edi
push ecx
lea eax, [ebp - 4]
mov ecx, esp
push eax
mov dword [0x4c3d48], edi
call fcn.004038b5
mov ecx, ebx
call fcn.004411dc
push edi
push ecx
mov ecx, esp
push esi
call fcn.0040a4e8
mov ecx, ebx
call fcn.004351d3
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
pop edi
pop esi
pop ebx
leave
ret