joyce8/EMBER2024-capa huggingface dataset:
Function at 0x465084
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
mov edi, ecx
mov dword [eax], 1
mov eax, dword [0x4b0550]
mov esi, 0x100
push esi
lea ecx, [ebp + 0x14]
mov dword [ebp + 0x14], eax
call fcn.00403c58
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
push eax
push dword [edi + 0x4c]
call ebx
push 0xffffffffffffffff
lea ecx, [ebp + 0x14]
call fcn.00403cd2
mov eax, dword [0x4b0550]
push esi
lea ecx, [ebp - 8]
mov dword [ebp - 8], eax
call fcn.00403c58
push esi
push eax
push dword [edi + 0x50]
call ebx
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call fcn.00403cd2
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov ebx, 0x147
push 0
push ebx
push dword [edi + 0x4c]
call esi
push 0
push 0
push ebx
inc eax
push dword [edi + 0x50]
mov dword [ebp - 4], eax
call esi
inc eax
cmp dword [ebp - 4], 5
jne 0x465114
and dword [ebp - 4], 0
cmp eax, 5
jne 0x46511b
xor eax, eax
cmp eax, 6
jne 0x465123
push 5
pop eax
movzx ecx, word [ebp - 4]
movzx eax, ax
shl eax, 0x10
or eax, ecx
push eax
movzx eax, word [ebp + 0xc]
push eax
push 0x111
push dword [0x4c42f0]
call esi
test eax, eax
jne 0x465194
push dword [0x4b765c]
lea eax, [ebp + 0xc]
push 0x4b
push eax
call fcn.00461770
pop ecx
pop ecx
push dword [eax]
lea eax, [ebp + 0x14]
push str._s_d
push eax
call fcn.00403d66
add esp, 0x10
lea ecx, [ebp + 0xc]
call fcn.004038fb
inc dword [0x4b765c]
push 0x3fd
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebp + 0x14]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x4651c1
lea eax, [ebp + 0xc]
push 0x4d
push eax
call fcn.00461770
pop ecx
mov esi, dword [eax]
pop ecx
push 0x3fd
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp + 0xc]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp + 0x14]
call fcn.004038fb
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10

Function at 0x465fba
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 8]
push str._Kontakt
push eax
call fcn.0045eb8c
pop ecx
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040a915
xor ecx, ecx
push 5
push ecx
push ecx
push dword [eax]
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
xor eax, eax
leave
ret 0x10
Function at 0x467255
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
and dword [eax], 0
mov eax, dword [ebp + 0xc]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov eax, dword [eax + 0xc]
mov esi, ecx
mov ecx, dword [0x4b0550]
push eax
push 0x419
mov dword [ebp + 0xc], eax
push dword [esi + 0x5c]
mov dword [ebp - 4], ecx
call edi
lea ecx, [ebp - 0x1c]
push ecx
push eax
push 0x41d
push dword [esi + 0x5c]
call edi
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [esi + 0x5c]
call dword [sym.imp.USER32.dll_ClientToScreen]
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov edi, dword [sym.imp.USER32.dll_AppendMenuW]
mov ebx, 0x1f40
push 0x4b7b70
push ebx
push 0
push eax
mov dword [ebp + 0x10], eax
call edi
push 0x4b8060
push 0x1f41
push 0
push dword [ebp + 0x10]
call edi
push 0x4b8058
push 0x1f42
push 0
push dword [ebp + 0x10]
call edi
push 0
push dword [esi + 4]
push 0
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0x102
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov edi, eax
cmp edi, ebx
jne 0x46732c
push ecx
mov ecx, esp
push 0x4b7b70
call fcn.0040a4e8
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00466022
cmp edi, 0x1f41
jne 0x46734b
push ecx
mov ecx, esp
push 0x4b7f60
call fcn.0040a4e8
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00466022
cmp edi, 0x1f42
jne 0x46736a
push ecx
mov ecx, esp
push 0x4b0f94
call fcn.0040a4e8
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00466022
cmp dword [ebp + 0x10], 0
je 0x467379
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_DestroyMenu]
lea ecx, [ebp - 4]
call fcn.004038fb
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0xc
Function at 0x467bf2
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4b0550]
push esi
push edi
push str.Filter2
lea ecx, [ebp - 4]
mov dword [ebp - 8], eax
call fcn.0040a4e8
mov eax, dword [0x4b0550]
mov esi, 0x7d00
xor edi, edi
push esi
lea ecx, [ebp - 0xc]
mov dword [0x4c7088], edi
mov dword [ebp - 0xc], eax
call fcn.00403c58
mov ecx, dword [ebp + 0x10]
cmp ecx, edi
jne 0x467c3a
mov ecx, dword [0x4c6680]
push ecx
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
test eax, eax
ja 0x467c57
push 0x4b69b8
lea ecx, [ebp - 4]
call fcn.00403adc
xor esi, esi
push esi
lea eax, [ebp - 8]
push 0x4b1ab0
push eax
call fcn.00403d66
push 0x4bd5d8
lea eax, [ebp + 0x10]
push dword [ebp - 8]
push dword [ebp - 4]
push eax
call fcn.0044ae7c
add esp, 0x1c
lea eax, [ebp + 0x10]
push 0x4c7088
push ecx
mov ecx, esp
push eax
call fcn.004038b5
mov eax, dword [0x4c7088]
imul eax, eax, 0x1c
add eax, 0x4c6ca0
push eax
call fcn.00467829
add esp, 0xc
lea ecx, [ebp + 0x10]
call fcn.004038fb
inc esi
cmp esi, 0x20
jl 0x467c59
cmp dword [ebp + 0xc], edi
je 0x467cc8
cmp dword [0x4c7088], edi
jne 0x467cc8
push edi
call fcn.0046781b
pop ecx
cmp dword [ebp + 8], edi
je 0x467cd2
call fcn.0046738a
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
push 1
pop eax
pop edi
pop esi
leave
ret
Function at 0x46b20c
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esp + 0x10], edi
mov dword [esi + 0xb8], eax
lea ebx, [esi + 0x90]
jne 0x46b22d
xor eax, eax
jmp 0x46b237
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push dword [esp + 0x10]
mov ecx, ebx
push eax
call fcn.004039ec
inc dword [esi + 0xa4]
cmp dword [esi + 0xc8], edi
jne 0x46b26f
lea eax, [esi + 0xc4]
push eax
push edi
push esi
push 0x46b278
push edi
push edi
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc8], eax
push 1
pop eax
pop edi
pop esi
pop ebx
ret 0xc

Function at 0x46b28d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
and dword [ebp - 4], 0
push dword [ebp + 0xc]
mov ebx, ecx
push dword [ebp + 8]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x46b2d6
push esi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x46b2d6
push esi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x46b2dd
xor eax, eax
jmp 0x46b377
mov eax, dword [ebx + 0xb4]
test eax, eax
je 0x46b301
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebx + 0xb4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0xb4], 0
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [ebx + 0xb4], eax
je 0x46b374
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x46b374
mov ecx, edi
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
xor edi, edi
push edi
mov dword [ebp + 0x10], edi
push dword [ebx + 0xb4]
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x46b374
mov esi, dword [ebp + 0x10]
push 0x10
call sub.gdiplus.dll_GdipAlloc
cmp eax, edi
je 0x46b368
push 1
push esi
mov ecx, eax
call fcn.00445edc
mov dword [ebp - 4], eax
jmp 0x46b36b
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x46b9d8
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2fc
lea eax, [ebp + 8]
push ebx
mov ebx, ecx
push esi
neg eax
sbb eax, eax
lea ecx, [ebp + 0xc]
and eax, ecx
xor esi, esi
mov edx, dword [eax]
cmp edx, esi
je 0x46bb21
push edi
mov ecx, 0xac
xor eax, eax
lea edi, [ebp - 0x2f8]
mov dword [ebp - 0x2fc], esi
push 0x4008
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2fc]
push 0x2b4
push eax
push esi
push edx
mov dword [ebp - 0xc], esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x46bb1d
cmp dword [ebp - 0x2f8], esi
je 0x46bb1d
push esi
call dword [sym.imp.USER32.dll_GetDC]
cmp eax, esi
mov dword [ebp - 0x10], eax
je 0x46bb1d
push esi
push esi
push esi
lea eax, [ebp - 0x48]
push esi
mov edi, 0x100
push eax
push esi
mov dword [ebp - 0x48], 0x28
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov word [ebp - 0x3c], 1
mov word [ebp - 0x3a], 0x20
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
cmp eax, esi
mov dword [ebp - 8], eax
je 0x46bb13
push dword [ebp - 0x10]
mov dword [ebp - 4], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 8]
mov dword [ebp - 4], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0xcc]
lea eax, [ebp - 0x20]
lea ecx, [ebp - 4]
mov dword [ebp - 0x20], esi
push eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.0041ba0d
push 1
push esi
push esi
push dword [ebp - 4]
push dword [ebp - 0x2f8]
push dword [ebx + 0x84]
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
push esi
push dword [ebp - 8]
call fcn.0046b99e
pop ecx
mov dword [ebp - 0xc], eax
pop ecx
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x46bb13
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x10]
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [ebp - 0xc]
pop edi
lea ecx, [ebp + 8]
call fcn.0048996a
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x46e8b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 8]
push edi
push eax
lea eax, [ebp - 4]
push eax
xor edi, edi
push 0xb0
push ebx
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call esi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp dword [ebp - 8], eax
mov dword [ebp + 8], eax
jne 0x46e93f
cmp dword [ebp - 4], edi
jne 0x46e93f
mov eax, dword [0x4bd5dc]
mov ecx, 0x1ff
mov dword [ebp - 0x808], eax
xor eax, eax
lea edi, [ebp - 0x804]
push 0x400
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x808]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x808]
push 0x2e
push eax
call fcn.0049d3b2
pop ecx
test eax, eax
pop ecx
je 0x46e9a3
lea ecx, [ebp - 0x808]
sub eax, ecx
sar eax, 1
push eax
jmp 0x46e999
mov eax, dword [0x4bd5dc]
mov ecx, 0x1ff
mov dword [ebp - 0x808], eax
xor eax, eax
lea edi, [ebp - 0x804]
push 0x400
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x808]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x808]
push 0x2e
push eax
call fcn.0049d3b2
cmp dword [ebp - 4], 0
pop ecx
pop ecx
jne 0x46e997
test eax, eax
je 0x46e9a3
push dword [ebp + 8]
lea ecx, [ebp - 0x808]
sub eax, ecx
sar eax, 1
inc eax
push eax
jmp 0x46e99b
push 0xffffffffffffffff
push 0
push 0xb1
push ebx
call esi
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x47036e
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
push 1
mov esi, ecx
pop ebx
mov dword [eax], ebx
mov eax, dword [ebp + 0xc]
cmp eax, dword [esi + 0x1f0]
lea edi, [esi + 0x1f0]
je 0x470444
mov dword [edi], eax
call fcn.004762a6
mov edi, dword [edi]
test edi, edi
mov dword [ebp + 0x14], edi
je 0x4703ae
push ebx
mov ecx, esi
call fcn.004701cd
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x804a
push 0x419
push dword [esi + 0x22c]
call ebx
push 7
mov edx, eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
xor edi, edi
mov dword [ebp - 0x20], 0x20
cmp dword [ebp + 0x14], edi
mov dword [ebp - 0x1c], 1
setne al
lea eax, [eax + edx - 2]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
push 0x804a
push 0x440
push dword [esi + 0x22c]
call ebx
mov ecx, dword [esi + 0xf0]
cmp ecx, edi
je 0x470417
push edi
call fcn.00454316
push dword [ebp + 0x14]
lea ecx, [esi + 0x4a0]
call fcn.0041512e
cmp dword [0x4b82c8], edi
je 0x470444
add esi, 0x270
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi]
call edi
push 5
push dword [esi]
call edi
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x470b9a
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x50], 0
jne 0x470bd9
push 0x40f4
call fcn.0049c851
test eax, eax
pop ecx
je 0x470bbc
mov ecx, eax
call fcn.004993cf
jmp 0x470bbe
xor eax, eax
push dword [esi + 4]
mov ecx, eax
mov dword [esi + 0x50], eax
call fcn.00498043
mov eax, dword [esi + 0x50]
push 0
push dword [eax + 0x40]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [esi + 0x50]
push 0xffffffffffffffff
push dword [edi + 0xcc]
call dword [sym.imp.COMCTL32.dll_ImageList_Remove]
test eax, eax
je 0x470bf5
and dword [edi + 0x40e4], 0
mov ecx, dword [esi + 0x50]
push 0xd3
call fcn.00499f09
pop edi
pop esi
ret
Function at 0x471432
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
cmp dword [edi + 0xc], 0x851f
jne 0x471536
mov eax, dword [0x4c4374]
test eax, eax
je 0x471536
mov esi, dword [sym.imp.USER32.dll_GetSubMenu]
push 4
push eax
call esi
push 7
push eax
call esi
mov esi, eax
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push eax
push esi
mov dword [ebp + 0xc], eax
call fcn.0044281c
push dword [ebp + 0xc]
call fcn.0043d153
mov eax, dword [edi + 0xc]
mov edi, dword [edi]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0xc
push 0
push eax
push 0x419
push edi
call esi
lea ecx, [ebp - 0x18]
push ecx
push eax
push 0x41d
push edi
call esi
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.USER32.dll_ClientToScreen]
push 0x1388
push ecx
mov eax, esp
push 0xc7a5
push eax
call fcn.00461770
pop ecx
pop ecx
mov ecx, ebx
call fcn.00475727
mov ecx, ebx
call fcn.00470b9a
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [ebx + 0x50]
push 0x122
push edx
push eax
push dword [ebp + 0xc]
call fcn.00498393
push 0
mov ecx, 0x4c7130
mov edi, eax
call fcn.00416ecd
test edi, edi
je 0x471527
push 0
push edi
push 0x111
push dword [0x4c42f0]
call esi
push 0x64
mov ecx, ebx
call fcn.0047750d
cmp dword [ebp + 0xc], 0
je 0x471536
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_DestroyMenu]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0xc

Function at 0x47153f
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
mov edi, dword [ebp + 0xc]
push 0
push dword [ebp + 0x10]
mov ebx, ecx
push 0x419
push edi
call esi
lea ecx, [ebp - 0x10]
push ecx
push eax
push 0x41d
push edi
call esi
lea eax, [ebp - 0x10]
push 2
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push edi
push ecx
push eax
mov ecx, ebx
call fcn.0046e75e
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10

Function at 0x471667
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, ecx
and dword [esi], 0
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, edi
mov ebx, eax
call fcn.004730d5
cmp ebx, eax
jne 0x4716b2
test eax, eax
je 0x4716b2
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1032
push eax
call edi
test eax, eax
je 0x4716b2
push 0
push 0xd
push 0x100
push ebx
call edi
mov dword [esi], 1
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
Function at 0x47199c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push ebx
push esi
push edi
mov esi, 0x4b85c8
push 0
push esi
lea ecx, [ebp + 0xc]
call fcn.00403d34
mov edi, eax
cmp edi, 0xffffffff
je 0x471ab0
lea ebx, [edi + 1]
lea ecx, [ebp + 0xc]
push ebx
push esi
call fcn.00403d34
cmp eax, 0xffffffff
je 0x471ab0
sub eax, edi
lea ecx, [ebp + 0xc]
dec eax
push eax
lea eax, [ebp - 4]
push ebx
push eax
call fcn.0040acb2
mov eax, dword [0x4bd5dc]
mov ecx, 0x81
mov dword [ebp - 0x220], eax
xor eax, eax
lea edi, [ebp - 0x21c]
push 0x208
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x471aa8
push esi
lea ecx, [ebp - 8]
call fcn.0040a4e8
push eax
lea eax, [ebp - 4]
push eax
push esi
lea ecx, [ebp - 0x18]
call fcn.0040a4e8
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403b20
lea ecx, [ebp - 0x14]
call fcn.004038fb
lea ecx, [ebp - 0x18]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
push 0x4b0efc
lea ecx, [ebp - 8]
call fcn.0040a4e8
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040a961
lea ecx, [ebp - 8]
call fcn.004038fb
push dword [ebp - 0xc]
lea ecx, [ebp + 0xc]
push dword [ebp - 0x10]
call fcn.004040f7
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.004038b5
lea ecx, [ebp + 0xc]
call fcn.004038fb
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x471acc
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x680
push ebx
push esi
lea eax, [ebp + 0xc]
push edi
push eax
call fcn.004602be
pop ecx
mov esi, 0x4b85c8
push 0
push esi
lea ecx, [ebp + 0xc]
call fcn.00403d34
mov edi, eax
cmp edi, 0xffffffff
je 0x471c16
push dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push ecx
mov ecx, esp
push eax
call fcn.004038b5
lea eax, [ebp + 0x10]
push eax
call fcn.004716ba
add esp, 0xc
lea ecx, [ebp + 0xc]
push eax
call fcn.00403a8c
lea ecx, [ebp + 0x10]
call fcn.004038fb
lea ebx, [edi + 1]
lea ecx, [ebp + 0xc]
push ebx
push esi
call fcn.00403d34
cmp eax, 0xffffffff
je 0x471c16
sub eax, edi
lea ecx, [ebp + 0xc]
dec eax
push eax
lea eax, [ebp + 0x10]
push ebx
push eax
call fcn.0040acb2
mov eax, dword [0x4bd5dc]
mov ecx, 0x81
mov dword [ebp - 0x21c], eax
xor eax, eax
lea edi, [ebp - 0x218]
push 0x208
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x21c]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x471c0e
push esi
lea ecx, [ebp - 4]
call fcn.0040a4e8
push eax
lea eax, [ebp + 0x10]
push eax
push esi
lea ecx, [ebp - 8]
call fcn.0040a4e8
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00403b20
lea ecx, [ebp - 0x14]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
push 0x4b0efc
lea ecx, [ebp - 4]
call fcn.0040a4e8
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040a961
lea ecx, [ebp - 4]
call fcn.004038fb
push dword [ebp - 0x10]
lea ecx, [ebp + 0xc]
push dword [ebp - 0xc]
call fcn.004040f7
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp + 0x10]
call fcn.004038fb
xor esi, esi
lea ecx, [ebp + 0xc]
push esi
push 0x4b69b0
call fcn.00403d34
test eax, eax
jge 0x471c40
push esi
push 0x4b2a7c
lea ecx, [ebp + 0xc]
call fcn.00403d34
test eax, eax
jl 0x471ce7
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 8]
push 0x4b0efc
push eax
call fcn.0045f823
pop ecx
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040a915
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.00403b20
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
lea eax, [ebp + 0x10]
push eax
call fcn.004602be
pop ecx
mov word [ebp - 0x228], 0x5c
push dword [ebp + 0x10]
lea ecx, [ebp - 0x680]
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], esi
call fcn.0040b0d3
test eax, eax
je 0x471cc8
lea eax, [ebp - 4]
lea ecx, [ebp - 0x680]
push eax
call fcn.0040afaf
push eax
lea ecx, [ebp + 0x10]
call fcn.00403a8c
lea ecx, [ebp - 4]
call fcn.004038fb
lea eax, [ebp + 0x10]
lea ecx, [ebp + 0xc]
push eax
call fcn.00403a8c
lea ecx, [ebp - 0x680]
call fcn.0040b1a0
lea ecx, [ebp + 0x10]
call fcn.004038fb
lea eax, [ebp + 0xc]
push eax
call fcn.004602be
pop ecx
lea eax, [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
call fcn.004038b5
lea ecx, [ebp + 0xc]
call fcn.004038fb
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4722c5
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
mov dword [esi + 0x228], eax
mov ebx, 0xe124
je 0x4724a3
cmp dword [esi + 0x230], 0
jne 0x4724a3
mov eax, dword [esi + 4]
push 0xe800
push 0x5600194c
push 0
push 0x135
push eax
call fcn.0040989e
add esp, 0x14
mov dword [esi + 0x230], eax
push dword [esi + 0x270]
push eax
call dword [sym.imp.USER32.dll_SetParent]
push 0
push 0xa
lea ecx, [ebp - 0x10]
call fcn.00489f62
push ecx
mov eax, esp
push 0x105
push eax
call fcn.00461770
pop ecx
pop ecx
push 0x8069
push dword [esi + 0x230]
call fcn.0048f086
pop ecx
pop ecx
mov ecx, esp
push 0x4b86e8
call fcn.0040a4e8
push 0x859c
push dword [esi + 0x230]
call fcn.0048f086
lea eax, [ebp + 8]
push 0x4e24
push eax
call fcn.00461770
add esp, 0x14
lea ecx, [ebp + 8]
push 0
push 0x4b1324
call fcn.00403d34
cmp eax, 0xffffffff
je 0x4723b9
push eax
lea eax, [ebp - 4]
push eax
lea ecx, [ebp + 8]
call fcn.00419b20
lea eax, [ebp - 4]
lea ecx, [ebp + 8]
push eax
call fcn.00403a8c
lea ecx, [ebp - 4]
call fcn.004038fb
push ecx
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004038b5
push ebx
push dword [esi + 0x230]
call fcn.0048f086
add esp, 0xc
push 1
push ebx
push 0x404
push dword [esi + 0x230]
call edi
lea ecx, [ebp - 0x10]
lea eax, [ebp - 0xc]
neg ecx
sbb ecx, ecx
and ecx, eax
call fcn.0043a2eb
push ecx
mov ecx, esp
push eax
push ecx
call fcn.00489819
pop ecx
pop ecx
push 0xe120
push dword [esi + 0x230]
call fcn.0048f086
pop ecx
pop ecx
mov eax, esp
push 0x7e6
push eax
call fcn.00461770
pop ecx
pop ecx
push 0xb37b
push dword [esi + 0x230]
call fcn.0048f086
add esp, 0xc
lea ecx, [ebp - 0x10]
push 0
push 1
call fcn.0048a159
push eax
call fcn.00497676
pop ecx
mov dword [ebp - 8], eax
pop ecx
push 0
push 0
push 0x431
push dword [esi + 0x230]
call edi
push 0
push 0xe120
push 0x419
mov dword [ebp - 4], eax
push dword [esi + 0x230]
call edi
push dword [ebp - 8]
push eax
push dword [ebp - 4]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push dword [ebp - 4]
push 0
push 0x430
push dword [esi + 0x230]
call edi
lea ecx, [ebp + 8]
call fcn.004038fb
lea ecx, [ebp - 0x10]
call fcn.0048996a
xor eax, eax
cmp dword [0x4be9d0], eax
sete al
movzx eax, ax
push eax
push ebx
push 0x404
push dword [esi + 0x230]
call edi
mov eax, dword [esi + 0x228]
neg eax
sbb eax, eax
and eax, 5
push eax
push dword [esi + 0x230]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.004724e8
pop edi
pop esi
pop ebx
leave
ret 4