joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e650
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46c028
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00464850
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043dff0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0046477e
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00461042
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00461042
push 1
push 0
push 0
mov ecx, esi
call fcn.00460fea
push 1
push 0
push 1
mov ecx, esi
call fcn.00460fea
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004648c2
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43e7d0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46c048
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00464850
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043dff0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0046477e
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43e894
cmp dword [esp + 0x40], 1
jne 0x43e892
cmp ecx, eax
jge 0x43e894
mov eax, ecx
cmp eax, 0xc8
jge 0x43e8a0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043e650
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004648c2
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43f020
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46c0b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0045f462
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00464af8
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00466057
test eax, eax
je 0x43f13c
mov ecx, dword [esp + 0x3c]
call fcn.00464b25
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43f100
push edi
mov ecx, esi
call fcn.00462189
mov ecx, esi
call fcn.0043f2a0
cmp dword [esp + 0x38], 1
jne 0x43f135
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004622c4
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x441b60
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x441b93
push esi
call fcn.00444c50
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x441b8c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x441c19
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x441c02
mov eax, dword [esi + 8]
test eax, eax
je 0x441bb7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x441bfe
cmp eax, 2
je 0x441c02
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x441baa
cmp eax, 3
je 0x441bdd
cmp eax, 1
jne 0x441baa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x441baa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x441baa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00441c40
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x441c28
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00441c40
add esp, 4
pop esi
ret

Function at 0x460258
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x460290
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045e30c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045e2e4
jmp 0x46029c
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x461946
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x461988
call fcn.00467442
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x461988
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46197f
xor eax, eax
jmp 0x461990
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00461996
pop edi
pop esi
pop ebx
ret 4

Function at 0x467972
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4679a0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4679be
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004678d8
jmp 0x4679be
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4679be
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004678d8
test edi, edi
mov eax, edi
jne 0x4679a8
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401550
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4739c8]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
xor ecx, ecx
test edi, edi
je 0x4015f1
mov edx, dword [ebp + 0xc]
lea eax, [edx - 1]
test eax, eax
jne 0x4015f1
cmp edx, 1
jne 0x4015e0
push esi
push pe_nt_image_headers32
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.0042cf60
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
xor esi, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4015d0
mov eax, dword [ebp - 0x114]
cmp eax, 6
ja 0x4015cb
cmp eax, 6
jne 0x4015d0
cmp dword [ebp - 0x110], esi
jbe 0x4015d0
mov esi, 1
shl esi, 0xb
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ecx, eax
pop esi
mov eax, ecx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004297e8
mov esp, ebp
pop ebp
ret
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.004297e8
mov esp, ebp
pop ebp
ret

Function at 0x401870
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x101
push 0
push dword [ebp + 0xc]
mov dword [ebp - 8], 0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4018dd
push esi
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x45b70c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x4018dd
xor eax, eax
cmp dword [ebp - 8], eax
setne al
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x401bb0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
test edi, edi
je 0x401c60
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x401c60
xor esi, esi
cmp dword [edi], ebx
jle 0x401c3e
nop dword [eax]
nop dword [eax + eax]
push 0x45b754
push dword [eax + esi*4]
call fcn.00430bb1
add esp, 8
test eax, eax
je 0x401c17
mov eax, dword [ebp + 0x10]
push 0x45b76c
push dword [eax + esi*4]
call fcn.00430bb1
add esp, 8
test eax, eax
je 0x401c17
mov eax, dword [ebp + 0x10]
inc esi
xor ebx, ebx
cmp esi, dword [edi]
jl 0x401be0
jmp 0x401c3e
mov edx, dword [edi]
mov ebx, 1
lea eax, [edx - 1]
cmp esi, eax
jge 0x401c39
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + esi*4 + 4]
mov dword [ecx + esi*4], eax
inc esi
mov edx, dword [edi]
lea eax, [edx - 1]
cmp esi, eax
jl 0x401c28
lea eax, [edx - 1]
mov dword [edi], eax
push ebx
push dword [ebp + 8]
call fcn.00401d60
add esp, 8
mov ecx, 1
test eax, eax
cmovne ebx, ecx
xor eax, eax
pop edi
test ebx, ebx
pop esi
setne al
pop ebx
pop ebp
ret
push 0x45b728
push 1
push 0x45b73c
xor edi, edi
call fcn.00401550
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x401d04
push 0x4782d0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call esi
xor esi, esi
mov ebx, eax
cmp dword [0x4782d0], esi
jle 0x401d04
push 0x45b754
push dword [ebx + esi*4]
call fcn.00430bb1
add esp, 8
test eax, eax
je 0x401cd6
push 0x45b76c
push dword [ebx + esi*4]
call fcn.00430bb1
add esp, 8
test eax, eax
je 0x401cd6
inc esi
xor edi, edi
cmp esi, dword [0x4782d0]
jl 0x401ca1
jmp 0x401d04
mov ecx, dword [0x4782d0]
mov edi, 1
lea eax, [ecx - 1]
cmp esi, eax
jge 0x401cfd
mov eax, dword [ebx + esi*4 + 4]
mov dword [ebx + esi*4], eax
inc esi
mov ecx, dword [0x4782d0]
lea eax, [ecx - 1]
cmp esi, eax
jl 0x401ce8
dec ecx
mov dword [0x4782d0], ecx
push edi
push dword [ebp + 8]
call fcn.00401d60
add esp, 8
mov ecx, 1
test eax, eax
cmovne edi, ecx
xor eax, eax
test edi, edi
pop edi
pop esi
setne al
pop ebx
pop ebp
ret
Function at 0x406470
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4739c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x20c]
push esi
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, ecx
movlpd qword [ebp - 0x214], xmm0
push edi
mov dword [ebx], 0
mov edx, 0x104
sub esi, eax
nop dword [eax]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x4064ce
movzx eax, word [esi + ecx]
test ax, ax
je 0x4064ce
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x4064b0
lea eax, [ecx - 2]
test edx, edx
push 0x45bc2c
cmovne eax, ecx
xor ecx, ecx
push 0x104
mov word [eax], cx
lea eax, [ebp - 0x20c]
push eax
call fcn.00406200
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov esi, eax
test esi, esi
jne 0x40655f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x40653d
mov eax, dword [ebp + 4]
push 0x45c17c
push 0xc9
push eax
call fcn.00405560
mov edi, eax
add esp, 0xc
xorps xmm0, xmm0
movlpd qword [ebp - 0x214], xmm0
test edi, edi
js 0x4065a1
mov edi, dword [ebp - 0x214]
lea eax, [edi*4]
pop edi
mov dword [ebx], eax
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004297e8
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push eax
push esi
call fcn.004047a0
mov edi, eax
add esp, 8
test edi, edi
jns 0x4065d9
mov eax, dword [ebp + 4]
push edi
push 0x45c17c
push 0xcf
push eax
call fcn.004055b0
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x406604
mov eax, dword [ebp + 4]
push edi
push 0x45c17c
push 0x62
push eax
call fcn.004055b0
mov eax, dword [ebp + 4]
push edi
push 0x45c17c
push 0x6b
push eax
call fcn.004055b0
mov ecx, dword [ebp - 4]
add esp, 0x20
mov eax, edi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004297e8
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x210]
cdq
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x406543
mov eax, dword [ebp + 4]
push 0x45bf00
push 0x937
push eax
call fcn.00406730
mov eax, dword [ebp + 4]
push 0x45bf00
push 0x937
push eax
call fcn.00406730
int3
Function at 0x40fbc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x4739c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push eax
push ecx
lea eax, [ebp - 0x804]
push 0x45cd78
push eax
call fcn.004229c0
mov eax, dword [0x47896c]
add esp, 0x10
cmp esi, eax
jne 0x40fc13
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x40fc13
push dword [0x47896c]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0x10
push 0x45cd88
lea eax, [ebp - 0x804]
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [0x47896c]
cmp esi, eax
jne 0x40fc67
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x40fc67
push eax
push eax
push eax
push eax
push eax
push dword [0x47896c]
call dword [sym.imp.USER32.dll_MoveWindow]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 8
push dword [0x47896c]
call esi
push 0
push dword [0x47896c]
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004297e8
mov esp, ebp
pop ebp
ret
Function at 0x417f60
Capabilities:
Hide graphical window

Disassembly:
push dword [0x47896c]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x417f9d
push eax
push eax
push eax
push eax
push eax
push dword [0x47896c]
call dword [sym.imp.USER32.dll_MoveWindow]
push 8
push dword [0x47896c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x47896c]
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x41a8f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x478974], 1
jne 0x41a9a2
mov ecx, dword [0x4789d8]
test ecx, ecx
je 0x41a95a
push esi
call fcn.00425fe0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
mov ecx, 0x4789d8
mov dword [ebp - 4], 0
call fcn.0040c2b0
mov esi, dword [ebp - 4]
test esi, esi
je 0x41a959
push edi
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x41a958
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x41a958
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop edi
pop esi
mov eax, dword [0x478968]
mov dword [0x478974], 0
test eax, eax
je 0x41a9a2
cmp byte [0x478962], 0
je 0x41a9a2
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41a9a2
push 0
push dword [0x478968]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x478968]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov byte [0x478962], 0
mov esp, ebp
pop ebp
ret
Function at 0x4205d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x420601
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x4205f0
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x427980
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453fbd
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4739c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov edi, 0x120
mov eax, dword [ebp + 0x14]
mov ecx, 2
cmp dword [ebp + 8], 0
push 0x34
mov dword [ebx + edi + 1], eax
lea esi, [ebx - 0x38]
mov eax, 0x10002
mov dword [ebp - 4], 0
cmovne eax, ecx
mov dword [ebx], fcn.00427a90
push 0
push esi
mov dword [ebx + 4], eax
call fcn.0042cf60
mov dword [esi + 8], vtable.winrt::impl::produce_struct_std::experimental::coroutine_traits_struct_winrt::Windows::Foundation::IAsyncAction__class_VideoRecordingSession__::promise_type__struct_winrt::Windows::Foundation::IAsyncAction_.0
mov eax, 1
mov dword [esi + 0xc], vtable.winrt::impl::produce_struct_std::experimental::coroutine_traits_struct_winrt::Windows::Foundation::IAsyncAction__class_VideoRecordingSession__::promise_type__struct_winrt::Windows::Foundation::IAsyncInfo_.0
mov ecx, 0x4789e8
lock xadd dword [ecx], eax
lea eax, [esi + 0x10]
mov dword [esi + 4], 1
push eax
mov dword [esi], vtable.winrt::impl::promise_base_struct_std::experimental::coroutine_traits_struct_winrt::Windows::Foundation::IAsyncAction__class_VideoRecordingSession__::promise_type__struct_winrt::Windows::Foundation::IAsyncAction__void_.0
call fcn.0042b0c8
mov dword [esi + 0x18], 0
add esp, 0x10
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov word [esi + 0x30], 0
mov dword [esi], vtable.std::experimental::coroutine_traits_struct_winrt::Windows::Foundation::IAsyncAction__class_VideoRecordingSession__::promise_type.0
mov eax, dword [ebp + 0x10]
lea ecx, [esi + 8]
mov dword [eax], ecx
test ecx, ecx
je 0x427a62
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
push ebx
mov byte [ebp - 4], 2
mov byte [edi + ebx], 0
call fcn.00427a90
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42a406
Capabilities:
Parse pe header

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

Function at 0x442989
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4630f8
push 0x4630f0
push 0x45f804
push 0x1f
call fcn.00442851
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4429bd
push dword [ebp + 8]
mov ecx, esi
call dword [0x455500]
call esi
jmp 0x4429c3
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x442a07
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x463108
push 0x463100
push 0x45f818
push 0x21
call fcn.00442851
mov esi, eax
add esp, 0x10
test esi, esi
je 0x442a3e
push dword [ebp + 8]
mov ecx, esi
call dword [0x455500]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x442a46
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x463110
push 0x463108
push 0x45f824
push 0x22
call fcn.00442851
mov esi, eax
add esp, 0x10
test esi, esi
je 0x442a80
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x455500]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x447408
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x4474a5
push ebx
push esi
call fcn.004473d1
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.004443fb
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x447452
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4474a4
push edi
push eax
call fcn.004424b5
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x447472
call fcn.0044247b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4474a3
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004443fb
add esp, 0x20
test eax, eax
jne 0x447491
push edi
call fcn.0044247b
jmp 0x447499
push ebx
call fcn.0044247b
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x449e22
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004420d4
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x449e91
cmp esi, dword [ebp - 4]
je 0x449e8c
cmp dword [ebp + 0xc], 0
je 0x449e8c
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x449e69
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00449974
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x449e93
xor eax, eax
inc eax
jmp 0x449e93
xor eax, eax
pop edi
pop esi
leave
ret