joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4382d0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x55446e
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5bc9cc]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
lea edi, [ebx + 0x27c]
call fcn.0050d22b
xor ecx, ecx
xor esi, esi
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x438321
push 0x80004005
call fcn.00402660
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
cmp ebp, esi
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x2c], esi
mov dword [ebx + 0x274], ecx
mov dword [ebx + 0x270], 0x8002
mov dword [ebx + 0x278], esi
je 0x4383f4
push esi
push 0x5703b8
mov ecx, edi
call fcn.00402fc0
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x438367
sub eax, edx
sar eax, 1
push eax
push ebp
mov ecx, edi
call fcn.0040bfc0
xor ebp, ebp
mov edi, ebx
push esi
push esi
push esi
push esi
mov dword [edi + 4], esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, esi
mov dword [edi], eax
je 0x4383b5
mov edx, dword [edi + 4]
push edx
push eax
mov ecx, ebp
lea esi, [esp + 0x20]
mov eax, ebx
call fcn.004384b0
mov ecx, dword [eax]
mov dword [edi + 8], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0xc], edx
xor esi, esi
add ebp, 1
add edi, 0x10
cmp ebp, 0x26
jl 0x438383
push esi
push esi
push esi
push esi
mov dword [ebx + 0x264], esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, esi
mov dword [ebx + 0x260], eax
je 0x4383f4
lea eax, [esp + 0x3c]
push eax
push esi
push ebx
push 0x4385a0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0x278], eax
mov eax, ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0xc
Function at 0x43c040
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x558a64
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5bc9cc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
push edi
call fcn.0044e7d0
mov dword [esp + 0x14], 0
lea esi, [edi + 0x220]
mov ecx, esi
mov dword [edi], vtable.CDtsS2MainSettingDlg.0
mov dword [edi + 0x78], vtable.CDtsS2MainSettingDlg.1.0
call fcn.00504b00
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0x274]
mov ecx, esi
mov byte [esp + 0x14], 1
call fcn.00504b00
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0x2c8]
mov ecx, esi
mov byte [esp + 0x14], 2
call fcn.00504b00
mov dword [esi], vtable.CStatic.0
lea esi, [edi + 0x31c]
call fcn.00444990
mov dword [esi], vtable.CImageEx.0
mov dword [esi + 0x30], 0
mov dword [edi + 0x21c], 0
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x4409b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x54d60b
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5bc9cc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push eax
push 0x18d
mov ecx, edi
call fcn.00508f9c
mov dword [esp + 0x14], 0
lea esi, [edi + 0x74]
mov dword [edi], vtable.CForteMediaDlg.0
call fcn.00444990
mov dword [esi], vtable.CImageEx.0
mov dword [esi + 0x30], 0
lea esi, [edi + 0xac]
mov ecx, esi
mov byte [esp + 0x14], 1
call fcn.00504b00
mov dword [esi], vtable.CStatic.0
lea esi, [edi + 0x100]
mov ecx, esi
mov byte [esp + 0x14], 2
call fcn.00504b00
mov dword [esi], vtable.CStatic.0
lea esi, [edi + 0x154]
mov ecx, esi
mov byte [esp + 0x14], 3
call fcn.00504b00
mov dword [esi], vtable.CStatic.0
lea esi, [edi + 0x1a8]
mov ecx, esi
mov byte [esp + 0x14], 4
call fcn.00504b00
mov dword [esi], vtable.CLinkCtrl.0
mov byte [esp + 0x14], 5
call fcn.0050f6dd
test eax, eax
je 0x440a85
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
test eax, eax
jne 0x440a89
xor eax, eax
jmp 0x440a97
mov eax, dword [eax + 0x5c]
test eax, eax
je 0x440a85
add dword [eax + 0x184c], 1
mov dword [edi + 0xa8], eax
mov dword [edi + 0x1fc], 0
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8
Function at 0x441e40
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
test edi, edi
je 0x441ee9
test ebx, ebx
je 0x441ee9
push esi
lea eax, [esp + 0xc]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
mov dword [esp + 4], eax
jbe 0x441edf
push eax
call fcn.00503653
mov esi, eax
add esp, 4
test esi, esi
jne 0x441e80
mov eax, 0x8007000e
pop esi
add esp, 0xc
ret
mov ecx, dword [esp + 4]
push esi
push ecx
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x441ed6
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push eax
push 0x570214
push esi
mov dword [esp + 0x18], 0
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x441ed6
mov eax, dword [esp + 8]
test eax, eax
je 0x441ed6
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
push esi
mov dword [ebx + 4], ecx
mov dword [ebx], edx
call fcn.0050364e
add esp, 4
xor eax, eax
pop esi
add esp, 0xc
ret
push esi
call fcn.0050364e
add esp, 4
mov eax, 0x80004005
pop esi
add esp, 0xc
ret
mov eax, 0x80070057
add esp, 0xc
ret
Function at 0x443e90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov edi, eax
movzx eax, word [ebp + 0xc]
push 0x56b548
push eax
xor ebx, ebx
push edi
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x443f39
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
mov dword [esp + 0x14], eax
je 0x443f39
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x443f39
mov edi, dword [esp + 0x14]
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x443f39
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x443fad
push edi
push esi
push eax
call fcn.0052d580
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push 0
push ebx
mov dword [esp + 0x1c], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jl 0x443f39
mov edx, dword [esp + 0x10]
mov esi, dword [ebp + 8]
push edx
push esi
call fcn.004443f0
test eax, eax
jge 0x443f6e
mov eax, dword [esp + 0x10]
test eax, eax
je 0x443f51
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], 0
test ebx, ebx
je 0x443f63
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.0041c560
test eax, eax
je 0x443f98
cmp dword [ebp + 0x10], 0
je 0x443f89
mov eax, dword [esp + 0x10]
push eax
call fcn.004443b0
jmp 0x443f92
mov eax, dword [esi + 4]
push eax
call fcn.004442f0
mov dword [esi + 0x30], eax
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x443fb0
mov esi, dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x443fc5
mov ebx, esi
call fcn.00444010
call fcn.0041c560
test eax, eax
je 0x443ffa
xor eax, eax
test edi, edi
setne al
mov ecx, esi
lea eax, [eax*4 + 3]
push eax
call fcn.004440e0
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x443ffa
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi + 0x30], 0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45d640
Capabilities:
Get common file path

Disassembly:
mov eax, 0x10008
call fcn.00530550
mov eax, dword [0x5bc9cc]
xor eax, esp
mov dword [esp + 0x10004], eax
mov eax, dword [esi + 0x8c]
test eax, eax
jne 0x45d677
mov ecx, dword [esp + 0x10004]
xor ecx, esp
call fcn.0052944d
add esp, 0x10008
ret
push ebx
mov ebx, dword [esi + 0x88]
add eax, 0x17fc
call fcn.00465640
test eax, eax
je 0x45d786
push 0
lea ecx, [esi + 0x274]
push ecx
add eax, 0x58
push eax
call sub.DSOUND.dll_DirectSoundCaptureCreate
test eax, eax
jl 0x45d786
mov edx, dword [esi + 0x34c]
add edx, edx
push ebp
add edx, edx
lea ecx, [esi + 0x300]
push edi
mov word [esi + 0x348], 1
mov word [esi + 0x356], 0x10
mov word [esi + 0x34a], 2
mov word [esi + 0x354], 4
mov dword [esi + 0x350], edx
xor eax, eax
mov dword [esp + 0xc], ecx
lea edi, [esi + 0x280]
mov edx, dword [esi + 0x350]
add edx, edx
add edx, edx
lea ebx, [eax + 1]
add edx, edx
mov ecx, edx
shr ecx, 4
imul ecx, ebx
add ecx, 0xffffffff
mov dword [edi], ecx
mov eax, dword [esi + 0x350]
movzx ebp, word [esi + 0x354]
add eax, eax
add eax, eax
add eax, eax
shr eax, 4
xor edx, edx
div ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
sub ecx, edx
mov dword [edi], ecx
call ebp
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
mov dword [edi + 4], eax
mov eax, ebx
add ecx, 4
add edi, 8
cmp eax, 0x10
mov dword [esp + 0xc], ecx
jl 0x45d6f2
push 0
push 0
push 0
push 0
call ebp
mov dword [esi + 0x340], eax
lea eax, [esp + 0x10]
push eax
push 0x7fff
mov dword [esi + 0x2f8], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
pop edi
pop ebp
jne 0x45d79e
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10004]
xor ecx, esp
call fcn.0052944d
add esp, 0x10008
ret
cmp word [esp + eax*2 + 6], 0x5c
je 0x45d7bd
push 0x570214
lea ecx, [esp + 0xc]
push 0x7fff
push ecx
call fcn.0052a0c2
add esp, 0xc
push str.MicCal.wav
lea edx, [esp + 0xc]
push 0x7fff
push edx
call fcn.0052a0c2
add esp, 0xc
lea eax, [esp + 8]
push eax
lea ecx, [esi + 0x360]
call fcn.0040c050
mov ecx, dword [esp + 0x10008]
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0052944d
add esp, 0x10008
ret
Function at 0x45d800
Capabilities:
Resume thread

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov edi, eax
xor esi, esi
xor eax, eax
cmp dword [edi + 0x274], esi
je 0x45d97c
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call fcn.0045d990
push 0x94
call fcn.00503623
add esp, 4
cmp eax, esi
je 0x45d863
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 0x90], esi
mov dword [eax + 0x30], esi
mov dword [eax + 0x80], esi
mov ecx, eax
jmp 0x45d865
xor ecx, ecx
cmp ecx, esi
mov dword [edi + 0x344], ecx
jne 0x45d879
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [edi + 0x360]
lea ebx, [edi + 0x348]
call fcn.004950f0
test eax, eax
jl 0x45d86f
mov eax, dword [edi + 0x350]
add eax, eax
add eax, eax
add eax, eax
push esi
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x274]
lea ebp, [edi + 0x278]
push ebp
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0x1c
mov dword [esp + 0x28], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jl 0x45d86f
lea esi, [edi + 0x300]
mov ebx, 0x11
mov eax, dword [esi]
test eax, eax
je 0x45d8e1
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
add esi, 4
sub ebx, 1
jne 0x45d8d4
mov eax, dword [ebp]
mov ecx, dword [eax]
mov edx, dword [ecx]
lea esi, [edi + 0x27c]
push esi
push 0x57fb3c
push eax
call edx
test eax, eax
jl 0x45d86f
mov esi, dword [esi]
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
lea ecx, [edi + 0x280]
push ecx
push 0x10
push esi
call edx
test eax, eax
jl 0x45d86f
push ebx
push 4
push ebx
push ebx
push edi
push 0x45dce0
call fcn.005100c3
mov esi, eax
test esi, esi
je 0x45d86f
push 2
push ebx
push ebx
add edi, 0x35c
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call edi
push eax
mov eax, dword [esi + 0x2c]
push eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov ecx, dword [esi + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp]
mov edx, dword [eax]
push ebx
push eax
mov eax, dword [edx + 0x24]
call eax
xor ecx, ecx
test eax, eax
setge cl
mov eax, ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x45d990
Capabilities:
Delete file

Disassembly:
push ecx
push ebx
xor ebx, ebx
cmp dword [edi + 0x35c], ebx
push esi
mov dword [esp + 8], ebx
je 0x45d9ea
mov eax, dword [edi + 0x340]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [edi + 0x35c]
lea ecx, [esp + 8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x45d9dd
cmp dword [esp + 8], 0x103
jne 0x45d9dd
mov eax, dword [edi + 0x35c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [edi + 0x35c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0x27c]
cmp eax, ebx
mov dword [edi + 0x35c], ebx
je 0x45da08
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [edi + 0x27c], ebx
mov eax, dword [edi + 0x278]
cmp eax, ebx
je 0x45da32
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push eax
call edx
mov eax, dword [edi + 0x278]
cmp eax, ebx
je 0x45da32
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi + 0x278], ebx
mov esi, dword [edi + 0x344]
cmp esi, ebx
je 0x45da69
call fcn.004951f0
cmp dword [esi + 0x80], ebx
jne 0x45da5a
mov eax, dword [esi]
cmp eax, ebx
je 0x45da5a
push eax
call fcn.0050364e
add esp, 4
mov dword [esi], ebx
push esi
call fcn.0050364e
add esp, 4
mov dword [edi + 0x344], ebx
lea esi, [edi + 0x360]
push 0x5703b8
push esi
call fcn.0041ef70
add esp, 8
test al, al
je 0x45da8a
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [edi + 0x1ec]
push ebx
push ebx
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
pop ebx
pop ecx
ret
Function at 0x45ddf0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x558060
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5bc9cc]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
push str.DosDevices_
lea ecx, [esp + 0x1c]
call fcn.0040c150
lea ecx, [ebp + 0x360]
push ecx
push eax
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x30], 0
call fcn.0040ba70
add esp, 0xc
mov byte [esp + 0x24], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45de6d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0xc]
lea esi, [eax + eax + 2]
xor ecx, ecx
add eax, 1
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00503653
mov edi, eax
add esp, 4
test edi, edi
jne 0x45dec2
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x45debb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x45df52
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0xc]
lea edx, [eax + 1]
test edx, edx
je 0x45dee5
cmp edx, 0x7fffffff
ja 0x45dee5
push ecx
mov eax, DirectSoundCreate
mov ecx, edi
call fcn.00441020
mov edx, dword [0x56b790]
mov ecx, dword [ebp + 0xa4]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [0x56b794]
mov dword [eax + 4], edx
mov edx, dword [0x56b798]
push esi
mov dword [eax + 8], edx
mov edx, dword [0x56b79c]
push 0x1c
push ecx
mov ecx, 1
mov dword [eax + 0xc], edx
call fcn.0041b110
add esp, 0x1c
push edi
mov esi, eax
call fcn.0050364e
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x45df50
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4

Function at 0x4663c0
Capabilities:
Resume thread

Disassembly:
cmp dword [esi + 0x44], 0
jle 0x46642b
cmp dword [esi + 0x58], 0
jne 0x4663dd
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x58], eax
push edi
push 0
push 4
push 0
push 0
push esi
push 0x465f00
call fcn.005100c3
mov edi, eax
test edi, edi
je 0x46642a
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push 0
push 0
lea eax, [esi + 0x54]
push eax
call ebx
mov ecx, dword [edi + 0x2c]
push eax
push ecx
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov edx, dword [edi + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [esi + 0x5c], 1
pop ebx
pop edi
ret
Function at 0x466be8
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x10
cmp dword [esp + 0x14], 0
push esi
mov esi, ecx
je 0x466c91
cmp dword [esi + 0x5c], 0
je 0x466c91
mov ecx, dword [esi + 0x20]
push ebx
push ebp
push edi
lea eax, [esp + 0x10]
push eax
push 0
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x64]
mov edi, dword [esi + 0x68]
sub edi, dword [esi + 0xdc]
mov ebx, dword [esi + 0xd0]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esi + 0xd4]
sub edi, eax
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
sar ecx, 1
sub ecx, dword [esi + 0xd8]
sub ecx, ebx
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esi + 0xf0]
mov ebp, eax
sar ebp, 1
add ebp, dword [esp + 0x10]
neg edx
sbb edx, edx
and edx, ecx
add edx, ebx
mov ebx, dword [esp + 0x28]
neg ebx
mov eax, dword [esp + 0x24]
sbb bl, bl
mov eax, dword [eax + 4]
and bl, 0x81
add bl, 0xff
add esi, 0x58
push ebx
mov ebx, dword [esi + 0x7c]
push edi
push ecx
push ebx
push edx
push edi
push ecx
mov ecx, dword [esp + 0x30]
push ecx
push ebp
push eax
call fcn.004056e0
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x10
ret 8
Function at 0x46a4b0
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov esi, ecx
je 0x46a606
cmp dword [esi + 0x90], 0
je 0x46a606
cmp dword [esi + 0x5c], 0
je 0x46a606
call fcn.00509fce
mov ecx, dword [esi + 0x20]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x30]
push eax
push ecx
xor ebx, ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [esp + 0x10]
push edx
push ebx
push 0x419
push eax
call edi
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x20]
push ecx
push ebx
push 0x41a
push edx
call edi
test byte [esp + 0xc], 2
je 0x46a58a
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x68]
mov edx, eax
sub edx, dword [esp + 0x14]
cmp ecx, edx
jge 0x46a541
sub eax, ecx
sub eax, dword [esp + 0x14]
mov ebx, eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 4]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0x98]
sub eax, edx
sub eax, ebx
mov ebx, dword [ebp + 0xc]
neg ebx
sbb bl, bl
and bl, 0x65
add bl, 0xff
add esi, 0x8c
push ebx
push eax
push ecx
push 0
push 0
push eax
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push ecx
push edi
call fcn.004056e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x64]
mov edi, eax
sub edi, edx
cmp ecx, edi
jge 0x46a5a3
sub eax, ecx
sub eax, edx
mov ebx, eax
mov eax, dword [esi + 0x9c]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ecx, eax
sub ecx, edi
sub edi, edx
add ecx, edx
cmp eax, edi
jg 0x46a5bf
mov edi, eax
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
mov edx, dword [ebp + 8]
sub eax, ebx
mov ebx, dword [ebp + 0xc]
neg ebx
sbb bl, bl
and bl, 0x65
add bl, 0xff
mov edx, dword [edx + 4]
push ebx
xor ebx, ebx
test ecx, ecx
setl bl
push edi
push eax
add esi, 0x8c
sub ebx, 1
and ebx, ecx
mov ecx, dword [esp + 0x2c]
push ebx
push 0
push edi
push eax
mov eax, dword [esp + 0x30]
push eax
push ecx
push edx
call fcn.004056e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x46a7c0
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov esi, ecx
je 0x46a9c1
cmp dword [esi + 0x90], 0
je 0x46a9c1
cmp dword [esi + 0x5c], 0
je 0x46a9c1
call fcn.00509fce
mov ecx, dword [esi + 0x20]
mov ebx, eax
lea eax, [esp + 0x40]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [esp + 0x30]
push edx
push 0
push 0x419
push eax
call edi
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x20]
push ecx
push 0
push 0x41a
push edx
call edi
test bl, 2
je 0x46a8fe
mov edi, dword [esp + 0x2c]
mov eax, dword [esi + 0x98]
mov edx, dword [esp + 0x24]
sub eax, edi
add eax, edx
xor ebx, ebx
test eax, eax
setl bl
mov ecx, 0
mov dword [esp + 0x14], 0
sub ebx, 1
and ebx, eax
mov eax, dword [esp + 0x3c]
sub eax, dword [esi + 0x68]
sub eax, dword [esp + 0x34]
sets cl
sub ecx, 1
and ecx, eax
mov dword [esp + 0xc], ecx
mov ecx, dword [esi + 0x98]
mov eax, edi
sub eax, ecx
sub eax, edx
cdq
sub eax, edx
mov edx, dword [esi + 0xc4]
mov edi, eax
mov eax, dword [esp + 0x20]
add edx, eax
mov dword [esp + 0x1c], edx
mov edx, ecx
mov ecx, dword [esp + 0x28]
sub ecx, dword [esi + 0xcc]
sub edx, dword [esi + 0xc8]
sub ecx, eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
sub ecx, dword [esp + 0xc]
sar edi, 1
add edi, dword [esi + 0xc0]
sub edx, ebx
add edi, dword [esp + 0x24]
shr ebx, 1
cmp dword [esi + 0x98], eax
mov dword [esp + 0x18], ebx
jg 0x46a8dd
mov eax, dword [esi + 0x98]
mov ebx, dword [esi + 0x9c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
cmp ebx, eax
jg 0x46a981
mov eax, ebx
jmp 0x46a981
mov edx, dword [esi + 0x9c]
sub edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
xor ecx, ecx
mov edi, dword [esi + 0xc0]
lea eax, [edx + ebx]
mov edx, dword [esp + 0x28]
test eax, eax
setl cl
sub edx, dword [esi + 0xc8]
add edi, dword [esp + 0x20]
sub edx, dword [esp + 0x20]
mov dword [esp + 0x18], 0
sub ecx, 1
and eax, ecx
mov ecx, dword [esi + 0xc4]
mov dword [esp + 0xc], eax
shr eax, 1
add ecx, eax
add ecx, ebx
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x98]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x9c]
sub ecx, dword [esi + 0xcc]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
sub ecx, dword [esp + 0xc]
sub eax, ebx
cmp dword [esi + 0x9c], eax
jg 0x46a981
mov eax, dword [esi + 0x9c]
mov ebx, dword [ebp + 0xc]
neg ebx
sbb bl, bl
and bl, 0x65
add bl, 0xff
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
add esi, 0x8c
push ebx
mov ebx, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 0x20]
push ebx
mov ebx, dword [esp + 0x28]
push ebx
push ecx
mov ecx, dword [esp + 0x34]
push edx
push ecx
push edi
push eax
call fcn.004056e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8