joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4073c0
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov ecx, dword [ebp + 0x1a4]
push ebx
push esi
cmp ecx, 0x8036
je 0x40748a
cmp ecx, 0x803a
je 0x40746a
mov eax, 0x803b
cmp ecx, eax
je 0x407463
jbe 0x4074ad
cmp ecx, 0x8041
ja 0x4074ad
mov esi, dword [sym.imp.WININET.dll_PrivacyGetZonePreferenceW]
xor ebx, ebx
lea eax, [ebp - 0x78]
push eax
push ebx
lea eax, [ebp - 0x7c]
push eax
push ebx
push 3
mov byte [edi], bl
mov dword [ebp - 0x78], ebx
call esi
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x78]
push eax
push ebx
lea eax, [ebp - 0x74]
push eax
push 1
push 3
mov dword [ebp - 0x78], ebx
call esi
cmp dword [ebp - 0x80], ebx
jne 0x4074ad
cmp eax, ebx
jne 0x4074ad
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x74]
jne 0x4074ad
mov ecx, dword [ebp + 0x1a4]
add ecx, 0xffff7fc4
cmp eax, ecx
jmp 0x407483
push 0x1a03
jmp 0x40746f
push 0x1a02
xor ebx, ebx
lea esi, [ebp - 0x74]
mov byte [edi], bl
call fcn.0040f738
pop ecx
test eax, eax
js 0x4074ad
cmp dword [ebp - 0x74], ebx
jne 0x4074ad
or byte [edi], 2
jmp 0x4074ad
push str.settingLastTab.json
xor ecx, ecx
lea esi, [ebp - 0x70]
mov byte [edi], 1
call fcn.00444a59
pop ecx
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4074ad
mov byte [edi], 0
mov ecx, dword [ebp + 0x198]
pop esi
xor ecx, ebp
pop ebx
call fcn.00447d7e
add ebp, 0x19c
leave
ret
Function at 0x4095fc
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [edi + 8]
test eax, eax
je 0x40961c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
push esi
push str.settingBookmarks.json
xor ecx, ecx
lea esi, [ebp - 0x20c]
mov dword [edi + 8], eax
call fcn.00444a59
pop ecx
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x409650
push str.resourceBookmarks.json
xor ecx, ecx
call fcn.00444a59
pop ecx
lea esi, [edi + 0x18]
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00444165
pop ecx
pop ecx
test eax, eax
js 0x409707
push ebx
lea ebx, [edi + 0x20]
push ebx
push dword [esi]
call fcn.00443da4
pop ecx
pop ecx
test eax, eax
js 0x409706
push 0x62
mov eax, ebx
call fcn.00443c5c
mov dword [ebp - 0x210], eax
test eax, eax
je 0x409706
mov ebx, dword [eax + 0x10]
mov esi, ebx
imul esi, esi, 0x240
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ecx, dword [edi + 0xc]
push esi
test ecx, ecx
je 0x4096b8
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
jmp 0x4096c1
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x409706
mov dword [edi + 0xc], eax
mov dword [edi + 0x14], ebx
test ebx, ebx
jle 0x409706
xor edx, edx
mov ecx, dword [ebp - 0x210]
mov ecx, dword [ecx + 0x18]
push 5
add ecx, edx
pop esi
cmp si, word [ecx + 8]
jne 0x409700
mov esi, dword [edi + 0x40]
mov dword [eax], esi
inc dword [edi + 0x40]
and dword [eax + 4], 0
and dword [eax + 0xc], 0
mov dword [eax + 8], ecx
inc dword [edi + 0x10]
add eax, 0x240
add edx, 0x20
dec ebx
jne 0x4096d1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00447d7e
leave
ret 4

Function at 0x409b8c
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x14], eax
xor ebx, ebx
test ebx, ebx
jne 0x409bca
and dword [ebp - 0xc], ebx
lea eax, [ebp - 0x24]
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
push 0x409aca
mov dword [ebp - 8], 1
call dword [sym.imp.USER32.dll_EnumWindows]
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x409c05
jmp 0x409bd7
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x409bd7
xor ebx, ebx
push 1
push 0x4ff
push 0x3e8
push 0
call fcn.00413639
add esp, 0x10
test eax, eax
jne 0x409b9e
push eax
push 0x12
push 0x12
push eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x409b9e
pop ebx
leave
ret
Function at 0x40b94c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb6c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0xb6c]
mov ebx, ecx
push eax
mov dword [ebp - 0xb40], ebx
call dword [sym.imp.USER32.dll_PeekMessageW]
lea eax, [ebp - 0xb38]
push eax
call fcn.00409ed3
lea eax, [ebp - 0xb38]
mov dword [ebp - 0xb48], eax
push eax
mov eax, dword [ebp - 0xb38]
mov dword [ebp - 0xb4c], 0x44bf00
call dword [eax + 4]
lea eax, [ebp - 0xb44]
push eax
push 1
push 4
lea eax, [ebp - 0xb4c]
push eax
push 0x4497e0
call dword [sym.imp.ole32.dll_CoRegisterClassObject]
test eax, eax
js 0x40bb37
mov eax, dword [ebx + 0x20]
push 5
pop ecx
lea esi, [ebx + 0x10]
lea edi, [ebp - 0xa00]
rep movsd dword es:[edi], dword [esi]
push 0xe
and eax, 3
lea esi, [ebx + 0x24]
pop ecx
lea edi, [ebp - 0x9ec]
rep movsd dword es:[edi], dword [esi]
cmp al, 3
jne 0x40ba05
mov ecx, dword [ebp - 0x9bc]
test ecx, ecx
je 0x40ba05
xor edx, edx
call fcn.004249a8
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x40ba1f
mov ebx, eax
lea edi, [ebp - 0xa70]
call fcn.00409e66
mov ebx, dword [ebp - 0xb40]
mov eax, dword [ebx]
test eax, 0x400
je 0x40ba32
or dword [ebp - 0xa08], 0x1000000
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov dword [ebp - 0xb3c], esi
test al, 1
jne 0x40bab6
lea eax, [ebp - 0xa70]
push 0xffffffffffffffff
push eax
mov eax, dword [ebp - 0x9d4]
call fcn.00406000
pop ecx
pop ecx
push esi
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0xb3c], eax
cmp eax, esi
je 0x40bab6
push 0xc
push esi
push dword [0x45283c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x40bab6
mov eax, dword [ebp - 0xb3c]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 4], eax
lea eax, [ebp - 0xb50]
push eax
xor eax, eax
push eax
push esi
push 0x40b8c6
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call edi
mov eax, dword [ebp - 0x9c8]
mov ebx, 0xba8
lea esi, [ebp - 0xb28]
call fcn.0040ca75
mov esi, dword [ebp - 0xb40]
mov edx, esi
lea ecx, [ebp - 0xb28]
call fcn.0043d549
test dword [esi], 0x1000
mov ebx, eax
je 0x40baee
push dword [esi + 8]
call edi
xor eax, eax
test ebx, ebx
je 0x40baff
lea ecx, [ebp - 0xb28]
call fcn.0042437b
cmp dword [ebp - 0xb14], 0
mov esi, eax
je 0x40bb16
push dword [ebp - 0xb14]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [ebp - 0xb44]
call dword [sym.imp.ole32.dll_CoRevokeClassObject]
cmp dword [ebp - 0xb3c], 0
je 0x40bb37
push dword [ebp - 0xb3c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea edi, [ebp - 0xa70]
call fcn.00409e95
mov eax, edi
call fcn.0042ec4a
lea ebx, [ebp - 0xb38]
mov dword [ebp - 0xb4c], 0x44bf00
call fcn.00409fb9
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00447d7e
leave
ret
Function at 0x410736
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [edi + 8]
mov dword [ebp - 8], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, dword [esi]
mov dword [ebp - 0xc], eax
cmp ebx, dword [esi + 8]
jge 0x4107a8
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 4]
mov dword [ebp - 4], eax
cmp eax, ecx
jge 0x4107a1
mov eax, dword [edi + 4]
sub eax, dword [ebp + 0xc]
push 0xcc0020
push dword [ebp + 0xc]
add eax, dword [ebp - 4]
push 0
push dword [ebp - 8]
push eax
mov eax, dword [edi]
add eax, ebx
push eax
push dword [ebp - 4]
push ebx
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [edi + 4]
add dword [ebp - 4], eax
mov ecx, dword [esi + 0xc]
cmp dword [ebp - 4], ecx
jl 0x41076d
add ebx, dword [edi]
cmp ebx, dword [esi + 8]
jl 0x410760
push dword [ebp - 0xc]
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_DeleteDC]
pop ebx
leave
ret
Function at 0x410d87
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 1
push 3
push ebx
push 5
push SysReAllocStringLen
push dword [ebp + 8]
mov esi, eax
mov edi, 0x80004005
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x410e54
cmp eax, ebx
je 0x410e54
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x14], ebx
jne 0x410e49
cmp eax, ebx
je 0x410e49
push ebx
push eax
push ebx
push 2
push ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x410e49
push ebx
push dword [ebp - 0x18]
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x410e40
mov edi, dword [ebp - 0x18]
add edi, 2
call fcn.00410f3b
test eax, eax
je 0x410e32
push dword [ebp - 0x18]
push dword [ebp - 4]
call fcn.00410e71
push 2
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], ebx
call fcn.00410e71
xor edi, edi
jmp 0x410e37
mov edi, 0x8007000e
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x410e6a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x410e68
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x412bbc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x6c], 0
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov dword [ebp - 0x84], eax
mov ebx, 0x80004005
lea eax, [ebp - 0x64]
mov esi, ecx
mov dword [ebp - 0x70], ebx
call fcn.00413d2c
test byte [edi], 2
je 0x412c19
xor eax, eax
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x412d22
mov eax, dword [edi]
movzx ecx, byte [esi + 0x85]
mov dword [ebp - 0x5c], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x58], eax
mov eax, dword [esi + 0x78]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x54], eax
lea eax, [esi + 0x84]
movzx edx, byte [eax]
shl ecx, 0x10
or ecx, edx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x48], ecx
mov ecx, dword [esi + 0x58]
lea eax, [ebp - 0x80]
push eax
add esi, 0x70
lea eax, [ebp - 0x64]
mov dword [ebp - 0x44], esi
mov esi, dword [ebp - 0x68]
push eax
push 2
mov eax, esi
mov dword [ebp - 0x4c], ecx
call fcn.00413558
add esp, 0xc
test eax, eax
je 0x412c79
mov eax, ebx
jmp 0x412d34
xor ebx, ebx
cmp dword [ebp - 0x7c], ebx
je 0x412c89
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x74]
push ebx
push 0x47a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x68], eax
cmp eax, ebx
je 0x412d14
mov eax, dword [ebp - 0x80]
push 2
pop ecx
cmp eax, ebx
je 0x412cae
push 3
pop ecx
jmp 0x412cb1
mov eax, dword [esi + 8]
push ecx
push ebx
push ebx
lea ecx, [ebp - 0x78]
push ecx
push dword [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x412d14
mov esi, dword [ebp - 0x84]
lea eax, [esi + 0xc]
push eax
push ebx
push dword [ebp - 0x78]
push 0x412a2e
push ebx
push ebx
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [esi + 8], eax
cmp eax, ebx
je 0x412d14
mov eax, dword [ebp - 0x74]
mov dword [esi + 0x10], eax
test byte [edi], 2
mov dword [ebp - 0x70], ebx
je 0x412d14
push 0x400001
push 0x40
push 0xffffffffffffffff
push dword [ebp - 0x6c]
call fcn.00413639
add esp, 0x10
cmp dword [ebp - 0x6c], ebx
je 0x412d22
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x68], 0
je 0x412d31
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 8]
pop esi
xor ecx, ebp
pop ebx
call fcn.00447d7e
leave
ret
Function at 0x412fec
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push 0x60
xor ebx, ebx
push ebx
push dword [0x45283c]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 4], eax
cmp eax, ebx
jne 0x413017
mov eax, 0x80004005
jmp 0x4130f6
mov ecx, dword [esi]
mov edx, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
push edi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
push 5
lea esi, [edx + 0x70]
lea edi, [eax + 0x10]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [edx + 0xb4]
mov dword [edx + 0xb4], ebx
add edx, 0x84
mov dword [eax + 0x4c], ebx
mov dword [eax + 0x50], ebx
mov dword [eax + 0x54], ebx
mov dword [eax + 0x58], ebx
push edx
lea ebx, [eax + 0x24]
mov dword [ebp - 8], 0x80004005
call fcn.0042ebc8
mov eax, dword [ebp + 8]
mov dword [eax + 0xb4], esi
mov esi, dword [ebp - 4]
mov eax, dword [eax + 0x58]
xor edi, edi
xor ebx, ebx
test byte [esi], 2
pop ecx
mov dword [esi + 0x5c], eax
je 0x413094
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, eax
cmp ebx, edi
je 0x4130df
mov dword [esi + 8], ebx
mov edi, dword [ebp + 0xc]
lea eax, [edi + 0xc]
push eax
xor eax, eax
push eax
push esi
push 0x412fa1
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 8], eax
test eax, eax
je 0x4130d4
and dword [ebp - 4], 0
test ebx, ebx
je 0x4130cd
push 0x400001
push 0x40
push 0xffffffffffffffff
push ebx
call fcn.00413639
add esp, 0x10
and dword [ebp - 8], 0
mov esi, dword [ebp - 4]
test ebx, ebx
je 0x4130df
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
test esi, esi
je 0x4130f3
push esi
push 0
push dword [0x45283c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 8]
pop esi
pop ebx
leave
ret
Function at 0x41b59a
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp dword [ebp + 0x14], 1
push esi
push edi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x31], bl
jle 0x41b5e0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, 0x4000
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x1c], 1
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x48], eax
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp + 0x10], ebx
jle 0x41b643
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x38]
push 0x417
push dword [ebp - 0x3c]
call esi
test eax, eax
je 0x41b638
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push eax
mov edi, eax
call dword [ecx + 0x18]
cmp eax, dword [ebp + 0xc]
jne 0x41b633
cmp dword [ebp + 0x14], 1
je 0x41b668
mov byte [ebp - 0x31], 1
cmp dword [ebp + 0x14], ebx
je 0x41b638
mov eax, dword [edi]
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x50]
push ecx
push 0x8000040a
push edi
call dword [eax + 0xc]
jmp 0x41b638
cmp byte [ebp - 0x31], bl
jne 0x41b643
inc dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp + 0x10]
jl 0x41b5eb
cmp dword [ebp + 0x14], 1
jle 0x41b668
cmp dword [ebp - 0x18], ebx
je 0x41b668
push ebx
push dword [ebp - 0x10]
push 0x419
push dword [ebp - 0x3c]
call esi
cmp dword [ebp + 0x14], 2
mov dword [ebp - 0x38], eax
jne 0x41b668
inc dword [ebp - 0x38]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x38]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00447d7e
leave
ret
Function at 0x41b67a
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0xc04]
or ebx, 0xffffffff
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x20], eax
je 0x41b73d
push dword [ebp + 0xc]
lea esi, [edi + 0xe0]
call fcn.004337df
pop ecx
cmp eax, 1
jle 0x41b73d
cmp dword [ebp + 8], 0
jl 0x41b814
cmp dword [ebp + 8], 1
jle 0x41b71d
cmp dword [ebp + 8], 3
jg 0x41b814
mov eax, dword [edi + 0x140]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
cmp eax, dword [ebp + 0xc]
jne 0x41b71d
mov eax, dword [edi + 0x140]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0x10]
push 0
push dword [ebp - 0x1c]
push 0x419
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp + 8], 2
mov ebx, eax
jne 0x41b814
inc ebx
jmp 0x41b814
push dword [ebp + 8]
movzx eax, word [edi + 0xf6e]
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x20]
call fcn.0041b59a
add esp, 0x10
mov ebx, eax
jmp 0x41b814
mov eax, dword [ebp + 8]
test eax, eax
js 0x41b814
cmp eax, 1
jle 0x41b810
cmp eax, 3
jg 0x41b814
cmp dword [edi + 0x140], 0
je 0x41b814
mov eax, dword [edi + 0x140]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push eax
call dword [ecx + 0x10]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [ebp - 0x24]
push 0x419
push dword [ebp - 0x20]
call ebx
cmp dword [ebp + 8], 3
mov esi, eax
jne 0x41b798
test esi, esi
je 0x41b812
test byte [edi + 0x98], 4
je 0x41b803
cmp dword [ebp + 0xc], 0
jne 0x41b803
mov edi, dword [edi + 0x140]
mov eax, dword [edi]
push edi
call dword [eax + 0x18]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x41b7f6
xor eax, eax
cmp dword [ebp + 8], 3
setne al
lea edi, [eax + eax - 1]
jmp 0x41b7ea
lea eax, [ebp - 0x18]
push eax
push esi
push 0x417
push dword [ebp - 0x20]
call ebx
test eax, eax
je 0x41b7f6
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
cmp eax, dword [ebp - 0x28]
jne 0x41b7f3
mov dword [ebp - 0x1c], esi
add esi, edi
jne 0x41b7c9
jmp 0x41b7f6
mov esi, dword [ebp - 0x1c]
cmp dword [ebp + 8], 2
mov ebx, esi
jne 0x41b814
lea ebx, [esi + 1]
jmp 0x41b814
xor ebx, ebx
cmp dword [ebp + 8], 2
sete bl
add ebx, esi
jmp 0x41b814
jne 0x41b814
xor ebx, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00447d7e
leave
ret 8
Function at 0x41c8d6
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, eax
xor ebx, ebx
push ebx
mov ecx, edi
call fcn.0041d80c
mov eax, dword [edi + 0x68]
cmp eax, ebx
je 0x41c8fa
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [edi + 0x68], ebx
mov eax, dword [edi + 0xf78]
cmp eax, ebx
je 0x41c910
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi + 0xf78], ebx
push section.Shared
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x150]
cmp eax, ebx
je 0x41c92f
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
test dword [edi + 0xdc], 0x200
je 0x41c940
cmp dword [ebp - 4], ebx
jne 0x41c953
mov ebx, edi
call fcn.0041fdc2
call fcn.0041ffc1
mov ecx, edi
call fcn.0041feb8
lea esi, [edi + 0x1f8]
call fcn.00421bda
mov eax, dword [edi + 0x204]
or dword [edi + 0xdc], 0x400000
xor ebx, ebx
cmp eax, ebx
je 0x41c980
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi + 0x204], ebx
mov esi, dword [edi + 0xf50]
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0xffffdfff
cmp eax, ecx
je 0x41c9a5
push ecx
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [edi + 0xd68], ebx
mov esi, edi
mov dword [edi + 0xdcc], ebx
call fcn.004202de
mov eax, dword [edi + 0xf98]
or dword [edi + 0xdc], 0x1000
cmp eax, ebx
je 0x41c9f4
push eax
call fcn.0040f9b4
mov eax, dword [edi + 0xf84]
pop ecx
mov dword [edi + 0xf88], ebx
cmp eax, ebx
je 0x41c9e9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea esi, [edi + 0xf90]
call fcn.00443101
mov eax, dword [edi + 0xf50]
cmp eax, ebx
je 0x41ca26
push eax
call fcn.0040f9b4
mov eax, dword [edi + 0xf4c]
pop ecx
mov dword [edi + 0xf50], ebx
cmp eax, ebx
je 0x41ca1b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea esi, [edi + 0xf58]
call fcn.00443101
mov eax, dword [edi + 0xdbc]
cmp eax, ebx
je 0x41ca4e
push eax
call fcn.0040f9b4
lea eax, [edi + 0xd9c]
pop ecx
test eax, eax
je 0x41ca49
lea eax, [edi + 0xdac]
jmp 0x41ca4b
xor eax, eax
mov dword [eax + 0x10], ebx
mov eax, dword [edi + 0xe30]
cmp eax, ebx
je 0x41ca64
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi + 0xe30], ebx
lea eax, [edi + 0xe08]
mov dword [edi + 0xe30], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
push ebx
push ebx
push ebx
push ebx
lea eax, [edi + 0x14]
mov ecx, dword [eax]
push 0xa0
push eax
call dword [ecx + 0xc]
lea esi, [edi + 0xd24]
call fcn.00443101
push eax
call dword [sym.imp.ole32.dll_RevokeDragDrop]
push 1
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp dword [ebp - 4], ebx
jne 0x41cae5
test dword [edi + 0x80], 0x2000000
je 0x41cac6
push ebx
push ebx
push ebx
push ebx
push 0x60000020
mov eax, edi
call fcn.0041520f
add esp, 0x14
test dword [edi + 0x84], 0x1f000
je 0x41cae5
push ebx
push ebx
push ebx
push ebx
push 0x60000026
mov eax, edi
call fcn.0041520f
add esp, 0x14
test byte [edi + 0x16c], 0x20
je 0x41caf5
mov eax, edi
call fcn.0041c8a8
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x41cbea
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
mov esi, eax
test dword [esi + 0x84], 0x400000
push edi
je 0x41cc20
mov ebx, dword [esi + 0x168]
push 0x124
mov ecx, str.confirmExit
call fcn.00445749
pop ecx
cmp eax, 6
jne 0x41ccef
test dword [esi + 0x84], 0x800
je 0x41cc98
mov eax, dword [esi + 0x98]
push 3
pop ebx
and eax, ebx
cmp al, bl
jne 0x41cc49
mov eax, dword [esi + 0x148]
mov ecx, dword [esi + 0x144]
jmp 0x41cc58
mov eax, dword [esi + 0x90]
mov dword [ebp - 0x2c], eax
xor eax, eax
inc eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00409b65
pop ecx
test eax, eax
je 0x41cc98
push 0
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, ebx
lea eax, [ebp - 0x24]
push eax
mov word [ebp - 0x24], cx
mov ecx, dword [esi + 0x168]
push 0x60000025
mov eax, esi
mov dword [ebp - 0x1c], ecx
mov word [ebp - 0x14], bx
call fcn.0041520f
add esp, 0x14
test eax, eax
jne 0x41ccef
mov eax, esi
call fcn.0041d7c2
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x41ccbb
push 4
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, eax
je 0x41ccbb
push 0
push eax
call ebx
test dword [esi + 0x78], 0x8000000
je 0x41cce9
test byte [esi + 0x16c], 0x20
jne 0x41ccdd
call fcn.0041c855
test eax, eax
js 0x41ccdd
or dword [esi + 0x16c], 0x20
push 0
push dword [esi + 0x168]
call ebx
jmp 0x41ccef
mov eax, dword [ebp + 8]
and dword [eax], 0
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 4

Function at 0x41d947
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [esi + 0xc04]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0
push dword [ebp + 8]
mov dword [ebp - 0x20], eax
push 0x419
push eax
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x41d9d5
add edi, dword [ebp + 0xc]
cmp dword [ebp + 0xc], 0
jge 0x41d99c
test edi, edi
jns 0x41d9b0
lea edx, [ebp - 0x1c]
lea eax, [esi + 0x14]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x18]
mov edi, dword [ebp - 0x1c]
dec edi
jmp 0x41d9b0
lea edx, [ebp - 0x1c]
lea eax, [esi + 0x14]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x18]
cmp edi, dword [ebp - 0x1c]
jl 0x41d9b0
xor edi, edi
lea eax, [ebp - 0x18]
push eax
push edi
push 0x417
push dword [ebp - 0x20]
call ebx
test eax, eax
je 0x41d9d5
push 0
push dword [ebp - 0x14]
push 0x222
push dword [esi + 0xd2c]
call ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00447d7e
leave
ret 8