joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403c3d
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
mov esi, eax
mov eax, 0x100
xor ebp, ebp
xor ebx, ebx
push edi
cmp ax, word [esp + 0x14]
jne 0x403c75
mov eax, dword [esi + 0x88]
test eax, eax
jne 0x403c62
mov eax, 0x449aa0
push eax
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
movzx ebx, byte [esi + 0x73]
push 8
pop ebp
jmp 0x403ca6
push dword [esi + 0x4c]
or eax, 0xffffffff
call fcn.0044258d
pop ecx
push 1
mov edi, eax
call fcn.004026e4
push 0
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [esi + 0x73], 2
jne 0x403ca6
push 2
push 0
mov ecx, esi
call fcn.00403b1a
push 2
push ebx
push ebp
call fcn.00404f1b
xor eax, eax
mov ecx, esi
call fcn.00404fa5
mov eax, 0x100
cmp ax, word [esp + 0x14]
jne 0x403d11
mov eax, dword [esi + 0x6c]
shr eax, 6
and eax, 1
je 0x403cd6
mov ecx, dword [esi + 0x60]
test ecx, ecx
je 0x403ce1
test eax, eax
jne 0x403cef
mov ecx, dword [esi + 0x60]
test ecx, ecx
je 0x403cef
mov eax, dword [esi + 0x4c]
push ecx
push eax
call dword [sym.imp.IMM32.dll_ImmAssociateContext]
mov dword [esi + 0x60], eax
push 0xffffffffffffffff
push 0
push 0xb1
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esi + 4]
push 1
push eax
mov eax, dword [esi + 0x34]
call fcn.00406b67
pop ecx
pop ecx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4

Function at 0x403ec5
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1080
call fcn.00446050
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 3
pop eax
mov word [ebp - 0x107c], ax
movzx eax, word [ebp + 8]
mov esi, ecx
xor edi, edi
xor ebx, ebx
cmp byte [esi + 0x71], 8
mov dword [ebp - 0x1064], edi
mov dword [ebp - 0x1074], eax
jne 0x403f99
mov eax, dword [esi + 0x4c]
cmp eax, edi
je 0x403f99
lea ecx, [ebp - 0x105c]
push ecx
lea ecx, [ebp - 0x1058]
push ecx
push 0xb0
push eax
mov dword [ebp - 0x1058], edi
mov dword [ebp - 0x105c], edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x1058]
cmp eax, dword [ebp - 0x105c]
je 0x403f99
mov eax, dword [esi + 0x4c]
push 0x824
lea ecx, [ebp - 0x1054]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x403f99
mov eax, dword [ebp - 0x1058]
mov ecx, dword [ebp - 0x105c]
sub ecx, eax
push ecx
lea eax, [ebp + eax*2 - 0x1054]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov dword [ebp - 0x1064], eax
cmp eax, edi
je 0x403f99
push 8
pop eax
mov word [ebp - 0x106c], ax
lea ebx, [ebp - 0x106c]
mov esi, dword [esi + 0x34]
mov eax, dword [esi]
push edi
push edi
push ebx
lea ecx, [ebp - 0x107c]
push ecx
push 0xab
push esi
call dword [eax + 0xc]
cmp dword [ebp - 0x1064], edi
je 0x403fc5
push dword [ebp - 0x1064]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0044552e
leave
ret 4
Function at 0x405b04
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 8], 1
mov dword [ebp - 4], ebx
lea eax, [ebp - 4]
cmp byte [ebp + 8], bl
je 0x405b82
push ebx
push eax
push ebx
push 3
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_GPU_RENDERING
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x405ba8
cmp dword [ebp - 8], ebx
mov esi, 0x449b28
sete al
mov dword [ebp - 0xc], 4
mov dword [ebp + 8], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
push ebx
push ebx
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 8]
je 0x405ba8
push 4
lea eax, [ebp - 8]
push eax
push 4
push ebx
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x405ba8
push eax
push 2
push ebx
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_GPU_RENDERING
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x405ba8
push 0x449b28
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [ebp - 4], ebx
pop esi
pop ebx
je 0x405bb8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret
Function at 0x405bba
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, eax
cmp byte [esi + 0x7a], 0x39
jb 0x405bdb
mov eax, dword [esi + 0x68]
shr eax, 0x14
and al, 1
movzx eax, al
push eax
call fcn.00405b04
pop ecx
mov cl, byte [esi + 0x7a]
cmp cl, 0x37
jbe 0x405cda
movzx eax, word [esi + 0x3e]
push ebx
xor ebx, ebx
cmp ax, bx
jne 0x405c25
lea eax, [ebp - 8]
push eax
push 2
push ebx
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x405cd9
push 0x449b28
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x405cd0
movzx ecx, cl
sub ecx, 0x38
je 0x405c4e
dec ecx
jne 0x405cd9
movzx eax, word [esi + 0x3e]
mov ecx, eax
mov dword [ebp - 4], ecx
xor ecx, ecx
inc ecx
cmp cx, ax
jne 0x405c6e
mov dword [ebp - 4], 0x2328
jmp 0x405c6e
mov ecx, 0x22b8
cmp cx, ax
je 0x405c6b
mov edx, 0x270f
cmp dx, ax
je 0x405c6b
mov dword [ebp - 4], 0x1f40
jmp 0x405c73
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], ebx
je 0x405cd9
push ebx
lea eax, [ebp - 8]
push eax
push ebx
push 3
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x405cd9
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
mov esi, 0x449b28
push esi
push dword [ebp - 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
je 0x405cd9
push 4
lea eax, [ebp - 4]
push eax
push 4
push ebx
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop esi
leave
ret
Function at 0x406f16
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, 0x8035
je 0x406fe6
cmp ecx, 0x8039
je 0x406fc3
mov eax, 0x803a
cmp ecx, eax
je 0x406fbc
jbe 0x40700e
cmp ecx, 0x8040
ja 0x40700e
mov esi, dword [sym.imp.WININET.dll_PrivacyGetZonePreferenceW]
xor eax, eax
mov word [edi], ax
lea eax, [ebp - 0x78]
push eax
xor ebx, ebx
push ebx
lea eax, [ebp - 0x7c]
push eax
push ebx
push 3
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 0x40700e
cmp eax, ebx
jne 0x40700e
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x74]
jne 0x40700e
mov ecx, dword [ebp + 0x1a4]
add ecx, 0xffff7fc5
cmp eax, ecx
jmp 0x406fde
push 0x1a03
jmp 0x406fc8
push 0x1a02
xor eax, eax
lea esi, [ebp - 0x74]
mov word [edi], ax
call fcn.0040ee74
pop ecx
test eax, eax
js 0x40700e
cmp dword [ebp - 0x74], 0
jne 0x40700e
or word [edi], 2
jmp 0x40700e
xor eax, eax
inc eax
push str.settingLastTab.json
xor ecx, ecx
lea esi, [ebp - 0x70]
mov word [edi], ax
call fcn.00442350
pop ecx
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40700e
xor eax, eax
mov word [edi], ax
mov ecx, dword [ebp + 0x198]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044552e
add ebp, 0x19c
leave
ret
Function at 0x409166
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 0x409186
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.00442350
pop ecx
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4091ba
push str.resourceBookmarks.json
xor ecx, ecx
call fcn.00442350
pop ecx
lea esi, [edi + 0x18]
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00441ca8
pop ecx
pop ecx
test eax, eax
js 0x409271
push ebx
lea ebx, [edi + 0x20]
push ebx
push dword [esi]
call fcn.00441692
pop ecx
pop ecx
test eax, eax
js 0x409270
push 0x62
mov eax, ebx
call fcn.004415fe
mov dword [ebp - 0x210], eax
test eax, eax
je 0x409270
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 0x409222
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
jmp 0x40922b
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x409270
mov dword [edi + 0xc], eax
mov dword [edi + 0x14], ebx
test ebx, ebx
jle 0x409270
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 0x40926a
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 0x40923b
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0044552e
leave
ret 4
Function at 0x40b1fc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbe4
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 - 0xbe4]
mov ebx, ecx
push eax
mov dword [ebp - 0xbbc], ebx
call dword [sym.imp.USER32.dll_PeekMessageW]
lea eax, [ebp - 0xbb0]
push eax
mov dword [ebp - 0xbb8], esi
call fcn.00409928
lea eax, [ebp - 0xbb0]
mov dword [ebp - 0xbc4], eax
push eax
mov eax, dword [ebp - 0xbb0]
mov dword [ebp - 0xbc8], 0x44a0a0
call dword [eax + 4]
lea eax, [ebp - 0xbc0]
push eax
push 1
push 4
lea eax, [ebp - 0xbc8]
push eax
push 0x449a50
call dword [sym.imp.ole32.dll_CoRegisterClassObject]
test eax, eax
js 0x40b401
or dword [ebp - 0xa04], 0x100
mov eax, dword [ebx + 0x20]
push 5
pop ecx
lea esi, [ebx + 0x10]
lea edi, [ebp - 0x9fc]
rep movsd dword es:[edi], dword [esi]
push 0xe
lea esi, [ebx + 0x24]
pop ecx
lea edi, [ebp - 0x9e8]
rep movsd dword es:[edi], dword [esi]
and eax, 3
xor edi, edi
cmp al, 3
jne 0x40b2c7
mov ecx, dword [ebp - 0x9b4]
cmp ecx, edi
je 0x40b2c7
xor edx, edx
call fcn.004232c2
mov eax, dword [ebx + 0x5c]
cmp eax, edi
je 0x40b2e3
mov ebx, eax
lea edi, [ebp - 0xa68]
call fcn.004098c1
mov ebx, dword [ebp - 0xbbc]
xor edi, edi
mov eax, dword [ebx]
test eax, 0x400
je 0x40b2f3
or dword [ebp - 0xa00], 4
mov dword [ebp - 0xbb4], edi
test al, 1
jne 0x40b378
or dword [ebp - 0xa04], 0x20
lea eax, [ebp - 0xa68]
push 0xffffffffffffffff
push eax
mov eax, dword [ebp - 0x9cc]
call fcn.00405928
pop ecx
pop ecx
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0xbb4], eax
cmp eax, edi
je 0x40b378
push 0xc
push edi
push dword [0x4507f0]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp esi, edi
je 0x40b378
mov eax, dword [ebp - 0xbb4]
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 - 0xbb8]
push eax
push edi
push esi
push 0x40b176
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x9c0]
mov ebx, 0xba8
lea esi, [ebp - 0xba0]
call fcn.0040c17b
mov esi, dword [ebp - 0xbbc]
mov edx, esi
lea ecx, [ebp - 0xba0]
call fcn.0043af12
test dword [esi], 0x1000
mov edi, eax
je 0x40b3b4
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
test edi, edi
je 0x40b3c5
lea ecx, [ebp - 0xba0]
call fcn.00422e7b
cmp dword [ebp - 0xb8c], 0
mov dword [ebp - 0xbb8], eax
je 0x40b3e0
push dword [ebp - 0xb8c]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [ebp - 0xbc0]
call dword [sym.imp.ole32.dll_CoRevokeClassObject]
cmp dword [ebp - 0xbb4], 0
je 0x40b401
push dword [ebp - 0xbb4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea edi, [ebp - 0xa68]
call fcn.004098ed
mov esi, edi
call fcn.0042cea5
lea ebx, [ebp - 0xbb0]
mov dword [ebp - 0xbc8], 0x44a0a0
call fcn.00409a01
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xbb8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044552e
leave
ret
Function at 0x4103f2
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 0x4104bf
cmp eax, ebx
je 0x4104bf
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 0x4104b4
cmp eax, ebx
je 0x4104b4
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 0x4104b4
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 0x4104ab
mov edi, dword [ebp - 0x18]
add edi, 2
call fcn.004105a6
test eax, eax
je 0x41049d
push dword [ebp - 0x18]
push dword [ebp - 4]
call fcn.004104dc
push 2
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], ebx
call fcn.004104dc
xor edi, edi
jmp 0x4104a2
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 0x4104d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x4104d3
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x412353
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]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x10]
push ebx
push edi
mov dword [ebp - 0x80], eax
mov ebx, 0x80004005
xor edx, edx
lea eax, [ebp - 0x5c]
mov edi, ecx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x60], edx
call fcn.00413464
test byte [esi], 2
je 0x4123ac
push edx
push edx
push 1
push edx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x41249b
mov eax, dword [esi]
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x50], eax
mov eax, dword [edi + 0x74]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x4c], eax
mov eax, dword [edi + 0x5c]
mov dword [ebp - 0x44], eax
lea eax, [edi + 0x80]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x70]
add edi, 0x6c
push 2
mov dword [ebp - 0x40], edi
call fcn.00412ca2
add esp, 0xc
test eax, eax
je 0x4123f8
mov eax, ebx
jmp 0x4124ae
xor ebx, ebx
cmp dword [ebp - 0x78], ebx
je 0x412408
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x6c]
push ebx
push 0x47a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x64], eax
cmp eax, ebx
je 0x41248b
mov eax, dword [ebp - 0x7c]
push 2
pop ecx
cmp eax, ebx
je 0x41242d
push 3
pop ecx
jmp 0x412433
mov eax, dword [ebp - 0x70]
mov eax, dword [eax + 8]
push ecx
push ebx
push ebx
lea ecx, [ebp - 0x74]
push ecx
push dword [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x41248b
mov edi, dword [ebp - 0x80]
lea eax, [edi + 0xc]
push eax
push ebx
push dword [ebp - 0x74]
push 0x4121c9
push ebx
push ebx
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [edi + 8], eax
cmp eax, ebx
je 0x41248b
mov eax, dword [ebp - 0x6c]
mov dword [edi + 0x10], eax
test byte [esi], 2
mov dword [ebp - 0x68], ebx
je 0x41248b
push 0xffffffffffffffff
push dword [ebp - 0x60]
call fcn.00412d83
pop ecx
pop ecx
cmp dword [ebp - 0x60], ebx
je 0x41249d
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41249d
xor ebx, ebx
cmp dword [ebp - 0x64], ebx
je 0x4124ab
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop ebx
call fcn.0044552e
leave
ret
Function at 0x4124bc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x130c
call fcn.00446050
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x129c], eax
lea eax, [ebp - 0x1224]
push edi
xor edi, edi
mov dword [ebp - 0x122c], eax
lea eax, [ebp - 0x1284]
mov dword [ebp - 0x1298], edx
mov esi, ecx
mov dword [ebp - 0x128c], 0x80004005
mov dword [ebp - 0x1288], edi
mov dword [ebp - 0x1234], edi
mov dword [ebp - 0x1230], edi
mov dword [ebp - 0x1228], edi
call fcn.00413464
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x126c], eax
lea eax, [esi + 0x80]
mov dword [ebp - 0x1264], eax
lea eax, [esi + 0x6c]
mov dword [ebp - 0x1268], eax
lea eax, [ebp - 0x1294]
push eax
lea eax, [ebp - 0x1284]
push eax
push 2
mov eax, edx
call fcn.00412ca2
add esp, 0xc
test eax, eax
jne 0x4126d8
cmp dword [ebp - 0x1294], edi
je 0x41256f
or dword [ebx], 0x200
cmp dword [ebp - 0x1290], edi
je 0x412583
push dword [ebp - 0x1290]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test byte [ebx], 2
je 0x4125a1
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x1288], eax
cmp eax, edi
je 0x4126d8
push 0x22
pop eax
mov word [ebp - 0x224], ax
push 0x106
lea eax, [ebp - 0x222]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x22
pop ecx
add eax, eax
mov word [ebp + eax - 0x222], cx
push str.__ipc
lea eax, [ebp + eax - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x44
lea eax, [ebp - 0x130c]
push edi
push eax
call fcn.004432d0
mov eax, dword [ebx]
mov dword [ebp - 0x12b0], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x12ac], eax
mov eax, dword [ebp - 0x1288]
mov dword [ebp - 0x12a8], eax
mov eax, dword [ebp - 0x1294]
add esp, 0xc
mov dword [ebp - 0x130c], 0x44
mov dword [ebp - 0x12b4], edi
cmp eax, edi
jne 0x412630
mov eax, dword [ebp - 0x1298]
mov eax, dword [eax + 8]
push 0x18
mov dword [ebp - 0x12a4], eax
mov eax, dword [esi + 0x74]
mov dword [ebp - 0x12a0], eax
pop eax
mov word [ebp - 0x12da], ax
lea eax, [ebp - 0x12b4]
mov dword [ebp - 0x12d8], eax
lea eax, [ebp - 0x12c4]
push eax
lea eax, [ebp - 0x130c]
push eax
push edi
push edi
push 0x20
push edi
push edi
push edi
lea eax, [ebp - 0x224]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4126c8
push dword [ebp - 0x12c4]
call esi
mov eax, dword [ebp - 0x129c]
mov ecx, dword [ebp - 0x12c0]
or dword [eax], 4
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x12b8]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x12bc]
mov dword [eax + 0x10], ecx
test byte [ebx], 2
je 0x4126c2
push 0xffffffffffffffff
push dword [ebp - 0x1288]
call fcn.00412d83
pop ecx
pop ecx
mov dword [ebp - 0x128c], edi
cmp dword [ebp - 0x1288], edi
je 0x4126d8
push dword [ebp - 0x1288]
call esi
lea eax, [ebp - 0x1234]
call fcn.004096ce
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x128c]
pop edi
xor ecx, ebp
pop esi
call fcn.0044552e
leave
ret
Function at 0x412742
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x60
xor edi, edi
push edi
push dword [0x4507f0]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
cmp ebx, edi
jne 0x41276c
mov eax, 0x80004005
jmp 0x412842
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [ebp + 8]
push 5
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
pop ecx
lea esi, [eax + 0x6c]
lea edi, [ebx + 0x10]
rep movsd dword es:[edi], dword [esi]
push 0xe
lea esi, [eax + 0x80]
lea edi, [ebx + 0x24]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x50]
xor esi, esi
mov dword [ebp - 4], 0x80004005
cmp eax, esi
je 0x4127b2
push eax
call fcn.004429de
pop ecx
mov dword [ebx + 0x50], eax
mov eax, dword [ebx + 0x54]
cmp eax, esi
je 0x4127c3
push eax
call fcn.004429de
pop ecx
mov dword [ebx + 0x54], eax
cmp dword [ebx + 0x58], esi
je 0x4127cb
mov dword [ebx + 0x58], esi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x5c]
xor edi, edi
test byte [ebx], 2
mov dword [ebx + 0x5c], eax
je 0x4127ef
push esi
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
cmp edi, esi
je 0x41282c
mov dword [ebx + 8], edi
mov esi, dword [ebp + 0xc]
lea eax, [esi + 0xc]
push eax
xor eax, eax
push eax
push ebx
push 0x4126f7
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
test eax, eax
je 0x412821
xor ebx, ebx
test edi, edi
je 0x41281e
push 0xffffffffffffffff
push edi
call fcn.00412d83
pop ecx
pop ecx
and dword [ebp - 4], ebx
test edi, edi
je 0x41282c
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x41283f
push ebx
push 0
push dword [0x4507f0]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41aa6e
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, eax
xor edx, edx
or ebx, 0xffffffff
cmp dword [esi + 0x1a4], edx
push edi
mov edi, dword [esi + 0xc5c]
sete cl
test dword [ebp + 0x10], 0x2000000
je 0x41aaac
cmp dword [ebp + 0xc], edx
je 0x41abc8
push dword [ebp + 0xc]
call fcn.0041a9f5
pop ecx
mov ebx, eax
jmp 0x41abc8
mov eax, dword [ebp + 8]
cmp eax, edx
jl 0x41abc8
cmp eax, 1
jle 0x41ab52
cmp eax, 3
jg 0x41abc8
test cl, cl
jne 0x41abc8
mov eax, dword [esi + 0x1a4]
mov ecx, dword [eax]
lea edx, [ebp + 0x10]
push edx
push eax
call dword [ecx + 0x14]
push 0
push dword [ebp + 0x10]
push 0x419
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp + 8], 3
mov ebx, eax
jne 0x41ab02
test ebx, ebx
je 0x41abc6
test byte [esi + 0x228], 4
je 0x41ab4a
cmp dword [ebp + 0xc], 0
jne 0x41ab4a
mov esi, dword [esi + 0x1a4]
mov eax, dword [esi]
push esi
call dword [eax + 0x1c]
test eax, eax
je 0x41ab3d
xor ecx, ecx
cmp dword [ebp + 8], 3
setne cl
lea ecx, [ecx + ecx - 1]
push ecx
mov ecx, ebx
push eax
mov ebx, edi
call fcn.0041a99f
pop ecx
pop ecx
mov ebx, eax
cmp dword [ebp + 8], 2
jne 0x41abc8
inc ebx
jmp 0x41abc8
xor eax, eax
cmp dword [ebp + 8], 2
jmp 0x41abba
test byte [esi + 0x228], 4
je 0x41abc1
cmp dword [ebp + 0xc], edx
je 0x41abc1
test cl, cl
jne 0x41abc8
mov eax, dword [esi + 0x1a4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x41abc8
mov esi, dword [esi + 0x1a4]
mov eax, dword [esi]
lea ecx, [ebp + 0xc]
push ecx
push esi
call dword [eax + 0x14]
push 0
push dword [ebp + 0xc]
push 0x419
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
cmp dword [ebp + 8], ecx
mov ebx, edi
sete cl
lea ecx, [ecx + ecx - 1]
push ecx
push dword [ebp + 0x10]
mov ecx, eax
call fcn.0041a99f
mov ebx, eax
pop ecx
xor eax, eax
cmp dword [ebp + 8], eax
pop ecx
sete al
add ebx, eax
jmp 0x41abc8
cmp eax, 1
jne 0x41abc8
xor ebx, ebx
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0xc