joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414980
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0xf4
mov eax, dword [0x45a080]
xor eax, esp
mov dword [esp + 0xf0], eax
push ebx
push esi
mov ebx, ecx
mov ecx, 0x4690e3
push edi
call fcn.00447953
cmp byte [ebx + 4], 0
je 0x414b25
lea esi, [ebx + 0x48]
lea edi, [ebx + 0x40]
nop dword [eax]
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esi]
sub ecx, dword [edi]
mov edx, dword [esi + 4]
sbb edx, dword [edi + 4]
call fcn.00447a00
mulsd xmm0, qword [0x461ce0]
cvttsd2si eax, xmm0
cmp eax, dword [ebx + 0xc]
jl 0x414b13
push edi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm0, xmm0
mov dword [ebx + 0x38], 0
movsd qword [ebx + 0x50], xmm0
mov ecx, ebx
push dword [ebx + 0x10]
call fcn.00414b40
push dword [ebx + 0x5c]
push dword [ebx + 0x58]
push str._d__d
push 0xb
push 0x45b15c
call fcn.004013f0
mov esi, eax
add esp, 0x14
mov eax, dword [ebx + 0x18]
add esi, 0x45b15c
sub eax, dword [ebx + 0x14]
xor edi, edi
sar eax, 2
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x414aa7
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + edi*4]
movups xmm0, xmmword [ecx + 0x28]
lea eax, [ecx + 0xea]
push eax
lea eax, [ecx + 0x99]
push eax
lea eax, [ecx + 0x18c]
push eax
sub esp, 0x10
lea eax, [esp + 0x4c]
movups xmmword [esp], xmm0
push dword [ecx + 0x20]
push dword [ecx + 0x1c]
push dword [ecx + 8]
push str._n_d__d__d__.1f__.1f___s____s____s_
push 0xc8
push eax
call fcn.004013f0
add esp, 0x34
lea eax, [esp + 0x30]
push eax
push 0x453610
push 0xc8
push esi
call fcn.004013f0
inc edi
add esp, 0x10
add esi, eax
cmp edi, dword [esp + 0x2c]
jl 0x414a40
mov byte [esi - 1], 0
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0x14]
mov dword [esp + 0x2c], eax
cmp esi, eax
je 0x414aea
nop dword [eax]
mov edi, dword [esi]
test edi, edi
je 0x414ae3
lea ecx, [edi + 0x1a4]
call fcn.004156f0
push 0x1b8
push edi
call fcn.00421cfe
mov eax, dword [esp + 0x34]
add esp, 8
add esi, 4
cmp esi, eax
jne 0x414ac0
mov eax, dword [ebx + 0x14]
cmp eax, dword [ebx + 0x18]
je 0x414af5
mov dword [ebx + 0x18], eax
push 0
push str.WIN
push 0x411
push dword [0x461838]
call dword [sym.imp.USER32.dll_PostMessageA]
lea esi, [ebx + 0x48]
lea edi, [ebx + 0x40]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [ebx + 4], 0
jne 0x4149c0
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042195a
mov esp, ebp
pop ebp
ret
Function at 0x416830
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
mov edi, ecx
mov ecx, 0x4690e3
mov dword [ebp - 0xc], edi
call fcn.00447953
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push reloc.WS2_32.dll_bind
mov ebx, 0x4522a0
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0x100
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4168b4
push esi
lea eax, [ebp - 8]
push eax
push 0x466130
lea eax, [ebp - 0xc]
push eax
push 0
push str.ProcessorNameString
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
mov eax, 0x466130
pop esi
cmove ebx, eax
mov ecx, ebx
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4168d0
sub ecx, edx
push ecx
push ebx
mov ecx, edi
call fcn.00407e40
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x416cc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov edi, ecx
mov esi, edx
mov ecx, 0x4690e3
call fcn.00447953
mov eax, dword [0x461cd8]
mov dword [ebp - 8], eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], 4
mov dword [ebp - 0xc], 4
test eax, eax
jne 0x416d15
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push str.SoftWareTestProgramNetScr
push reloc.d2d1.dll_Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x416d49
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x416d34
mov dword [ebp - 4], esi
jmp 0x416d37
mov esi, dword [ebp - 4]
cmp dword [0x461cd8], 0
jne 0x416d52
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x416d60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], edx
mov ecx, 0x4690e3
call fcn.00447953
mov eax, dword [0x461cd8]
xor bl, bl
mov dword [ebp - 4], eax
test eax, eax
jne 0x416db4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0x4522a0
push 0
push str.SoftWareTestProgramNetScr
push reloc.d2d1.dll_Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x416ddd
mov eax, dword [ebp - 4]
push 4
lea ecx, [ebp - 8]
push ecx
push 4
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
sete bl
cmp dword [0x461cd8], 0
jne 0x416ddd
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x417310
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x45a080]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov ecx, 0x4690e3
push edi
mov edi, edx
call fcn.00447953
lea eax, [ebp - 0x108]
mov byte [edi], 0
push eax
push esi
mov dword [ebp - 0x108], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 0x108]
test eax, eax
je 0x4173cb
push eax
push 1
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4173cb
push 0xff
lea eax, [ebp - 0x104]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameA]
lea eax, [ebp - 0x104]
push 0x5c
push eax
call fcn.004232d0
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x41739e
lea ecx, [ebp - 0x104]
jmp 0x41739f
inc ecx
mov dl, byte [ecx]
xor eax, eax
test dl, dl
je 0x4173c1
sub ecx, edi
nop dword [eax]
cmp eax, 0x14
jge 0x4173c1
mov byte [edi], dl
inc eax
mov dl, byte [ecx + edi + 1]
inc edi
test dl, dl
jne 0x4173b0
push esi
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042195a
mov esp, ebp
pop ebp
ret
Function at 0x417ff0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x4690e3
call fcn.00447953
cmp byte [ebp + 8], 0
jne 0x41806a
lea eax, [ebp + 0x18]
push eax
push 0
push dword [ebp + 0x14]
push 0x200
push 0x466240
call fcn.004013b0
add esp, 0x14
push 0x466240
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push str.ASSERTION_MSG:__s___d__n_s
push 0x400
push 0x466440
call fcn.004013f0
add esp, 0x18
push 0x466440
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 0x452cc8
push 0x466440
push dword [0x461ce8]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ebp
jmp dword [sym.imp.KERNEL32.dll_DebugBreak]
pop ebp
ret

Function at 0x418130
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov ecx, 0x4690e3
call fcn.00447953
or esi, 0xffffffff
cmp dword [0x4618d8], 0
jne 0x4181f6
xor edi, edi
mov ecx, edi
mov eax, edi
shr ecx, 1
mov edx, ecx
xor edx, 0x82f63b78
test al, 1
cmove edx, ecx
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0x82f63b78
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0x82f63b78
test cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0x82f63b78
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0x82f63b78
test cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0x82f63b78
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0x82f63b78
test cl, 1
cmove edx, eax
mov ecx, edx
shr ecx, 1
mov eax, ecx
xor eax, 0x82f63b78
test dl, 1
cmove eax, ecx
mov dword [edi*4 + 0x4618d8], eax
inc edi
cmp edi, 0x100
jl 0x418152
mov ecx, dword [ebp + 0xc]
mov eax, 0x2aaaaaab
mov edi, dword [ebp + 8]
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 4], eax
test eax, eax
jle 0x418253
push ebx
mov edx, dword [edi + 0x10]
xor ecx, ecx
test edx, edx
jle 0x418247
mov ebx, dword [edi + 0x14]
mov eax, edi
cmp ebx, 0xf
jbe 0x41822c
mov eax, dword [edi]
movsx eax, byte [eax + ecx]
inc ecx
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x4618d8]
cmp ecx, edx
jl 0x418223
mov eax, dword [ebp - 4]
add edi, 0x18
sub eax, 1
mov dword [ebp - 4], eax
jne 0x418217
pop ebx
lea ecx, [ebp + 8]
call fcn.00407c10
not esi
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41a1c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x469028
call fcn.00447953
mov edx, dword [ebp + 8]
mov eax, 1
mov dword [0x4646ac], edx
nop dword [eax + eax]
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x4646ac], edx
inc eax
cmp eax, 0x270
jb 0x41a1e0
mov dword [0x4646a8], 0x270
pop ebp
ret 8

Function at 0x41ab30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4488f0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x45a080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, 0x46901c
call fcn.00447953
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.00421968
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.00420d99
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.0041aad0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41c070
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov ecx, 0x469028
call fcn.00447953
mov eax, dword [0x4646a8]
cmp eax, 0x270
jne 0x41c0d1
push esi
mov edx, 0x4646b0
mov esi, eax
nop
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x41c090
mov eax, dword [0x4646a8]
pop esi
jmp 0x41c1af
cmp eax, 0x4e0
jb 0x41c1af
xor edx, edx
nop
mov eax, dword [edx + 0x46506c]
mov ecx, dword [edx + 0x465070]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x4656a0]
xor eax, ecx
mov dword [edx + 0x4646ac], eax
add edx, 4
cmp edx, 0x38c
jb 0x41c0e0
mov edx, 0x38c
nop word [eax + eax]
mov eax, dword [edx + 0x46506c]
mov ecx, dword [edx + 0x465070]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x464320]
xor eax, ecx
mov dword [edx + 0x4646ac], eax
add edx, 4
cmp edx, 0x9bc
jb 0x41c130
mov ecx, dword [0x465a28]
xor ecx, dword [0x4646ac]
and ecx, 0x7fffffff
xor ecx, dword [0x465a28]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, ecx
xor eax, dword [0x464cdc]
mov dword [0x465068], eax
xor eax, eax
mov dword [0x4646a8], eax
mov ecx, dword [eax*4 + 0x4646ac]
inc eax
mov dword [0x4646a8], eax
mov eax, ecx
shr eax, 0xb
and eax, dword [0x465a2c]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret
Function at 0x41c7f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448e45
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x45a080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov ecx, 0x4690e3
call fcn.00447953
cmp byte [edi], 0
jne 0x41c861
mov eax, dword [0x462440]
test eax, eax
je 0x41c83b
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x462440], 0
mov dword [0x462024], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x462310
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41c888
test dl, dl
je 0x41c884
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41c888
add eax, 2
add ecx, 2
test dl, dl
jne 0x41c868
xor eax, eax
jmp 0x41c88d
sbb eax, eax
or eax, 1
lea esi, [edi + 0x100]
test eax, eax
jne 0x41c8c9
mov ecx, 0x462210
mov eax, esi
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41c8c0
test dl, dl
je 0x41c8bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41c8c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x41c8a0
xor eax, eax
jmp 0x41c8c5
sbb eax, eax
or eax, 1
test eax, eax
je 0x41c84f
push edi
push 0x100
push 0x462310
call fcn.0042a8b3
add esp, 0xc
push esi
push 0x100
push 0x462210
call fcn.0042a8b3
add esp, 0xc
mov edx, edi
mov ecx, ebx
call fcn.0041c980
push 1
call fcn.00421968
add esp, 4
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.004208c0
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
push 0
push esi
push 0x4208e0
push 0
push 0
call fcn.00434213
add esp, 0x18
mov dword [ebp - 0x18], eax
test eax, eax
je 0x41c95d
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x41c96b
push ecx
push eax
call fcn.0042153e
add esp, 8
test eax, eax
jne 0x41c96b
jmp 0x41c84f
push 6
mov dword [ebp - 0x14], 0
call fcn.00421459
push 1
call fcn.00421459
int3
Function at 0x41d7a0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov ebx, ecx
mov byte [esp + 0xb], dl
push edi
mov ecx, 0x4690e3
call fcn.00447953
mov ecx, dword [0x462020]
mov esi, 0
mov edi, dword [ecx + 0x1d28]
mov eax, edi
sub eax, dword [ecx + 0x1d30]
cmovns esi, eax
cmp ebx, 0xffffffff
jl 0x41d809
cmp ebx, edi
jg 0x41d809
cmp ebx, 0xffffffff
je 0x41d812
cmp ebx, esi
jge 0x41d812
cmp byte [esp + 0xf], 0
je 0x41d809
push esi
push 1
push 0x405
push dword [0x462034]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x45ab20], esi
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x4618a1], 0
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
je 0x41d881
push 0x465ad0
call esi
mov ecx, dword [0x465ad0]
sub ecx, dword [0x465ac8]
mov edx, dword [0x465ad4]
sbb edx, dword [0x465acc]
call fcn.00447a00
mulsd xmm0, qword [0x461ce0]
cvttsd2si edx, xmm0
cmp edx, 0x7d0
jl 0x41d87b
mov eax, dword [0x45ab2c]
cmp eax, dword [0x45ab1c]
je 0x41d87b
push eax
xor cl, cl
call fcn.0041d5f0
mov eax, dword [0x45ab1c]
add esp, 4
mov dword [0x45ab2c], eax
mov ecx, dword [0x462020]
cmp ebx, 0xffffffff
je 0x41d8f7
cmp ebx, edi
je 0x41d8f7
test ebx, ebx
js 0x41d89c
cmp ebx, dword [ecx + 0x1d28]
jge 0x41d89c
mov dword [ecx + 0x1dac], ebx
push 0x465ac8
mov byte [ecx + 0x1d14], 1
call esi
cmp byte [0x4618a1], 0
xorps xmm0, xmm0
mov dword [0x465ac0], 0
movsd qword [0x465ad8], xmm0
mov dword [0x45ab1c], ebx
jne 0x41d95c
push 0x465aa8
call esi
xorps xmm0, xmm0
mov dword [0x465aa0], 0
movsd qword [0x465ab8], xmm0
mov byte [0x4618a1], 1
jmp 0x41d95c
cmp dword [0x45ab1c], 0xffffffff
je 0x41d95c
push 0x465ab0
mov byte [ecx + 0x1d14], 0
mov byte [0x4618a1], 0
call esi
mov ecx, dword [0x465ab0]
sub ecx, dword [0x465aa8]
mov edx, dword [0x465ab4]
sbb edx, dword [0x465aac]
call fcn.00447a00
mulsd xmm0, qword [0x461ce0]
cvttsd2si edx, xmm0
cmp edx, 0x7d0
jl 0x41d95c
push 0xffffffffffffffff
mov cl, 1
call fcn.0041d5f0
add esp, 4
mov dword [0x45ab1c], 0xffffffff
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x83
push dword [0x46206c]
call edi
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
push eax
call esi
push 0
push 0
push 0x85
push dword [0x46206c]
call edi
push eax
call esi
push 0
push 0
push 0x84
push dword [0x46206c]
call edi
push eax
call esi
push 0
push 0
push 0x86
push dword [0x46206c]
call edi
push eax
call esi
mov edx, dword [0x462020]
mov ecx, dword [0x462064]
call fcn.0040cb60
pop edi
pop esi
mov dword [0x45ab20], ebx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41d9e0
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x45a080]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov ecx, 0x4690e3
call fcn.00447953
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x24]
push eax
push dword [0x46206c]
call esi
lea eax, [ebp - 0x14]
push eax
push dword [0x462034]
call esi
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x3c]
push eax
push dword [0x46206c]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x20]
push 1
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [0x462034]
call dword [sym.imp.USER32.dll_MoveWindow]
lea eax, [ebp - 0x14]
push eax
push dword [0x462034]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x34]
push eax
push 0
push 0x419
push dword [0x462034]
call edi
mov esi, dword [ebp - 8]
sub esi, dword [ebp - 0x30]
push 0xfffffffffffffff0
push dword [0x462034]
dec esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0x40
push eax
push 0xfffffffffffffff0
push dword [0x462034]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0
push esi
push 0x41b
push dword [0x462034]
call edi
mov eax, dword [0x462020]
movzx eax, word [eax + 0x1d28]
shl eax, 0x10
push eax
push 0
push 0x406
push dword [0x462034]
call edi
push 0
push 0xc
push 0x414
push dword [0x462034]
call edi
push 0xc
push 0
push 0x415
push dword [0x462034]
call edi
mov eax, dword [0x462020]
push dword [eax + 0x1d28]
push 1
push 0x405
push dword [0x462034]
call edi
push 0x4522a0
push 0x3f2
push dword [0x46206c]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [0x462020]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, dword [eax + 0x1d28]
mov dword [0x45ab20], eax
pop esi
call fcn.0042195a
mov esp, ebp
pop ebp
ret
Function at 0x41dd50
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x45a080]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
mov byte [esp + 0xf], cl
mov esi, edx
push edi
mov ecx, 0x4690e3
call fcn.00447953
test esi, esi
je 0x41ddda
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f1
push dword [0x46206c]
call edi
cmp esi, eax
je 0x41ddda
push 0x83
push dword [0x46206c]
call edi
cmp esi, eax
je 0x41ddda
push 0x85
push dword [0x46206c]
call edi
cmp esi, eax
je 0x41ddda
push 0x84
push dword [0x46206c]
call edi
cmp esi, eax
je 0x41ddda
push 0x86
push dword [0x46206c]
call edi
cmp esi, eax
jne 0x41defc
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0x4c]
push eax
push 0
push 0x419
push dword [0x462034]
call ebx
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push dword [0x462034]
mov dword [esp + 0x20], 0
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [esp + 0x14]
xorps xmm0, xmm0
add dword [esp + 0x4c], eax
add dword [esp + 0x54], eax
mov eax, dword [esp + 0x18]
add dword [esp + 0x50], eax
add dword [esp + 0x58], eax
mov eax, dword [0x46206c]
movzx edi, byte [esp + 0x13]
mov dword [esp + 0x24], eax
mov eax, dword [0x462020]
movlpd qword [esp + 0x2c], xmm0
movlpd qword [esp + 0x34], xmm0
movlpd qword [esp + 0x44], xmm0
mov dword [esp + 0x1c], 0x30
mov dword [esp + 0x20], 0xa1
mov eax, dword [eax + 0x1548]
mov dword [esp + 0x3c], eax
mov eax, dword [0x462034]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
push edi
push 0x411
push dword [0x462028]
mov dword [esp + 0x50], 0xffffffff
call ebx
lea eax, [esp + 0x1c]
push eax
push 0
push 0x41e
push dword [0x462028]
call ebx
mov edx, dword [esp + 0x4c]
mov esi, eax
mov eax, dword [esp + 0x54]
mov cx, si
shr cx, 1
shr esi, 0x10
lea eax, [eax + edx]
cdq
sub eax, edx
sar eax, 1
sub ax, cx
movzx ecx, ax
mov eax, dword [esp + 0x50]
sub eax, esi
sub eax, 4
movzx eax, ax
shl eax, 0x10
or ecx, eax
push ecx
push 0
push 0x412
push dword [0x462028]
call ebx
lea eax, [esp + 0x1c]
push eax
push edi
push 0x411
push dword [0x462028]
call ebx
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042195a
mov esp, ebp
pop ebp
ret
Function at 0x4227c3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x422802
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x422802
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x422802
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x422802
cmp dword [ecx + 0x74], 0xe
jbe 0x422802
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x43745b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44e140
push 0x44e138
push str.FlsAlloc
push 0x1f
call fcn.00437286
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43748f
push dword [ebp + 8]
mov ecx, esi
call dword [0x44a54c]
call esi
jmp 0x437495
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4374d9
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44e150
push 0x44e148
push str.FlsGetValue
push 0x21
call fcn.00437286
mov esi, eax
add esp, 0x10
test esi, esi
je 0x437510
push dword [ebp + 8]
mov ecx, esi
call dword [0x44a54c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x437518
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44e158
push 0x44e150
push str.FlsSetValue
push 0x22
call fcn.00437286
mov esi, eax
add esp, 0x10
test esi, esi
je 0x437552
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x44a54c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]