joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416819
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42465c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040deb2
and dword [ebp - 0x14], 0
cmp dword [0x426838], 0
mov dword [ebp - 0x18], eax
jne 0x4168cc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x416974
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x416974
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x426838], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42683c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x426840], eax
call edi
push eax
call esi
mov dword [0x426848], eax
test eax, eax
je 0x4168cc
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x426844], eax
mov eax, dword [0x426844]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x416925
cmp dword [0x426848], ecx
je 0x416925
push eax
call esi
push dword [0x426848]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x416925
test ebx, ebx
je 0x416925
call edi
test eax, eax
je 0x41691c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41691c
test byte [ebp - 8], 1
jne 0x416925
or dword [ebp + 0x10], 0x200000
jmp 0x416958
mov eax, dword [0x42683c]
cmp eax, dword [ebp - 0x18]
je 0x416958
push eax
call esi
test eax, eax
je 0x416958
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x416958
mov eax, dword [0x426840]
cmp eax, dword [ebp - 0x18]
je 0x416958
push eax
call esi
test eax, eax
je 0x416958
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x426838]
call esi
test eax, eax
je 0x416974
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x416976
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004088c3
leave
ret

Function at 0x415628
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x57c
mov dword [esp], 0x10001
push esp
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [esp + 8]
cmp eax, 0x3ff
jae 0x41564b
adc ch, al
sbb byte [eax], al
add byte [eax], al
call 0x415668
test eax, eax
je 0x41565e
jmp eax
leave
push 0x42
jmp dword ss:[sym.imp.KERNEL32.dll_RaiseException]
Function at 0x403c70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45da4f
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x47fc14]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [edi], 0
mov dword [ebp - 4], 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
lea esi, [edi + 0x1c]
mov byte [ebp - 4], 5
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00438a8c
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
push 0x1f0003
push 1
push 0
push 0
mov byte [ebp - 4], 6
mov word [edi + 0x30], 0
call dword [sym.imp.KERNEL32.dll_CreateEventExW]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x403e08
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov eax, dword [edi + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x403d6b
call esi
push dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x403e1b
push dword [ebp - 0x14]
call ebx
mov eax, dword [ebp - 0x18]
push 0x1f0003
push 1
push 0
push 0
mov dword [edi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_CreateEventExW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x403e08
call esi
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x403db0
call esi
push dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x403e2e
push dword [ebp - 0x14]
call ebx
mov eax, dword [ebp - 0x10]
push 0x1f0003
push 1
push 0
push 0
mov dword [edi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_CreateEventExW]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x403e08
call esi
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x403dee
call esi
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x403e41
push esi
call ebx
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x18], eax
mov eax, edi
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 eax, dword [ebp + 4]
push 0x462a48
push 0x1827
push eax
call fcn.0040b100
mov eax, dword [ebp + 4]
push 0x462868
push 0x93e
push eax
call fcn.0040b780
mov eax, dword [ebp + 4]
push 0x462868
push 0x93e
push eax
call fcn.0040b780
mov eax, dword [ebp + 4]
push 0x462868
push 0x93e
push eax
call fcn.0040b780
int3
Function at 0x40aeb8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add esp, 4
pop edx
push eax
or eax, 0x8cf9
pop eax
push esi
push edx
add esp, 4
sub esi, 0x6b37
pop esi
cmp dword [ebp - 0x3cc], 0
je 0x40adea
cmp dword [ebp - 0xa5c], 0
jne 0x40ae30
push ecx
push eax
add esp, 4
sub ecx, 0x1323e
sub ecx, 0xd451
xor ecx, 0xfd15
pop ecx
push edi
push esi
add esp, 4
xor edi, 0x8f55
jmp 0x40ae15
sub edi, 0x4b33
pop edi
mov edx, dword [ebp - 0x738]
mov dword [ebp - 0x18d0], edx
push 0
call dword [ebp - 0x18d0]
mov dword [ebp - 0x1fb0], 0xa
push edi
or edi, 0x167f3
and edi, 0x3abf
sub edi, 0x15e68
call 0x40ae5b
add byte [edi], dh
cmp eax, 0x334d4f3e
aas
dec edi
add esp, 4
pop edi
push edi
push esi
add esp, 4
jmp 0x40ae6b
pop edi
mov eax, dword [ebp - 0x3cc]
invalid
invalid
mov cl, byte [eax + 0xa]
mov byte [ebp - 0x381], cl
mov edx, dword [ebp - 0xa5c]
sub edx, dword [ebp - 0x3cc]
mov dword [ebp - 0x158c], edx
mov dword [ebp - 0xc70], 0
push edx
jmp 0x40aea0
pop edx
push edi
push eax
add esp, 4
add edi, 0x1097f
call 0x40aeb8
add byte [ebp + 0x46], al
aas
dec eax
dec edx
aaa
add esp, 4
jmp 0x40aec2
sub edi, 0x160fd
pop edi
mov byte [ebp - 0x960], 0x56
mov byte [ebp - 0x95f], 0x69
mov byte [ebp - 0x95e], 0x72
mov byte [ebp - 0x95d], 0x74
mov byte [ebp - 0x95c], 0x75
mov byte [ebp - 0x95b], 0x61
mov byte [ebp - 0x95a], 0x6c
mov byte [ebp - 0x959], 0x50
mov byte [ebp - 0x958], 0x72
mov byte [ebp - 0x957], 0x6f
mov byte [ebp - 0x956], 0x74
mov byte [ebp - 0x955], 0x65
mov byte [ebp - 0x954], 0x63
mov byte [ebp - 0x953], 0x74
mov byte [ebp - 0x952], 0
inc dword [eax]
push edx
sub edx, 0x17265
pop edx
push eax
push edx
add esp, 4
sub eax, 0xa5f0
pop eax
push ebx
push ebx
add esp, 4
and ebx, 0xd3b5
sub ebx, 0x2b1b
add ebx, 0xe7b1
sub ebx, 0x7ca
pop ebx
mov eax, dword fs:[0x18]
mov dword [ebp - 0x1c34], eax
mov ecx, dword [ebp - 0x1c34]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x18d4], edx
mov eax, dword [ebp - 0x18d4]
mov dword [ebp - 0x150c], eax
push eax
sub eax, 0x130e3
pop eax
push ecx
push eax
add esp, 4
sub ecx, 0x11346
call 0x40afad
add byte [esi + 0x3c], al
dec ecx
inc esi
inc edx
cmp cl, byte [edi + 0x42]
add esp, 4
Function at 0x40afad
Capabilities:
Get number of processors

Disassembly:
add esp, 4
pop edx
push eax
or eax, 0x8cf9
pop eax
push esi
push edx
add esp, 4
sub esi, 0x6b37
pop esi
cmp dword [ebp - 0x3cc], 0
je 0x40adea
cmp dword [ebp - 0xa5c], 0
jne 0x40ae30
push ecx
push eax
add esp, 4
sub ecx, 0x1323e
sub ecx, 0xd451
xor ecx, 0xfd15
pop ecx
push edi
push esi
add esp, 4
xor edi, 0x8f55
jmp 0x40ae15
sub edi, 0x4b33
pop edi
mov edx, dword [ebp - 0x738]
mov dword [ebp - 0x18d0], edx
push 0
call dword [ebp - 0x18d0]
mov dword [ebp - 0x1fb0], 0xa
push edi
or edi, 0x167f3
and edi, 0x3abf
sub edi, 0x15e68
call 0x40ae5b
add byte [edi], dh
cmp eax, 0x334d4f3e
aas
dec edi
add esp, 4
pop edi
push edi
push esi
add esp, 4
jmp 0x40ae6b
pop edi
mov eax, dword [ebp - 0x3cc]
invalid
invalid
mov cl, byte [eax + 0xa]
mov byte [ebp - 0x381], cl
mov edx, dword [ebp - 0xa5c]
sub edx, dword [ebp - 0x3cc]
mov dword [ebp - 0x158c], edx
mov dword [ebp - 0xc70], 0
push edx
jmp 0x40aea0
pop edx
push edi
push eax
add esp, 4
add edi, 0x1097f
call 0x40aeb8
add byte [ebp + 0x46], al
aas
dec eax
dec edx
aaa
add esp, 4
jmp 0x40aec2
sub edi, 0x160fd
pop edi
mov byte [ebp - 0x960], 0x56
mov byte [ebp - 0x95f], 0x69
mov byte [ebp - 0x95e], 0x72
mov byte [ebp - 0x95d], 0x74
mov byte [ebp - 0x95c], 0x75
mov byte [ebp - 0x95b], 0x61
mov byte [ebp - 0x95a], 0x6c
mov byte [ebp - 0x959], 0x50
mov byte [ebp - 0x958], 0x72
mov byte [ebp - 0x957], 0x6f
mov byte [ebp - 0x956], 0x74
mov byte [ebp - 0x955], 0x65
mov byte [ebp - 0x954], 0x63
mov byte [ebp - 0x953], 0x74
mov byte [ebp - 0x952], 0
inc dword [eax]
push edx
sub edx, 0x17265
pop edx
push eax
push edx
add esp, 4
sub eax, 0xa5f0
pop eax
push ebx
push ebx
add esp, 4
and ebx, 0xd3b5
sub ebx, 0x2b1b
add ebx, 0xe7b1
sub ebx, 0x7ca
pop ebx
mov eax, dword fs:[0x18]
mov dword [ebp - 0x1c34], eax
mov ecx, dword [ebp - 0x1c34]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x18d4], edx
mov eax, dword [ebp - 0x18d4]
mov dword [ebp - 0x150c], eax
push eax
sub eax, 0x130e3
pop eax
push ecx
push eax
add esp, 4
sub ecx, 0x11346
call 0x40afad
add byte [esi + 0x3c], al
dec ecx
inc esi
inc edx
cmp cl, byte [edi + 0x42]
add esp, 4
Function at 0x40b0c0
Capabilities:
Get number of processors

Disassembly:
dec esp
dec esp
cmp dword [ecx + eax*4 - 0x1d], eax
nop
add byte [eax], 0

Function at 0x40b100
Capabilities:
Get number of processors

Disassembly:
add ah, byte [esi - 0x77]
test dword [eax + esi*8 - 1], esi
dec dword [ebx - 0xc4773]
inc dword [ebx - 0x7276fd3f]
mov eax, 0x66fffff3
mov edx, dword [ebp - 0xf8c]
Function at 0x40bf1a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp dword [ebp - 0xc5c], 0
jne 0x40bac7
mov edx, dword [ebp - 0x18ec]
mov dword [ebp - 0x3c8], edx
jmp 0x40bad8
jmp 0x40b8b1
cmp dword [ebp - 0x3c8], 0
je 0x40bbb3
push ebx
push edx
add esp, 4
and ebx, 0x7c36
sub ebx, 0x1266c
pop ebx
push ebx
push ebx
add esp, 4
jmp 0x40bb05
jmp 0x40bb0e
pop ebx
push edi
sub edi, 0x11847
pop edi
mov ecx, dword [ebp - 0x3c8]
mov dword [ebp - 0x18f0], ecx
push edx
push edx
add esp, 4
xor edx, 0x42e5
pop edx
push esi
sub esi, 0x10e87
pop esi
push esi
push eax
add esp, 4
call 0x40bb4b
add byte [edi + edi], dh
cmp byte [edx], dh
inc edi
inc esp
dec ebx
cmp byte [ebx - 0x317efb3c], al
add eax, 0x5e000029
mov edx, dword [ebp - 0x18f0]
mov dword [ebp - 0x18f4], edx
lea eax, [ebp - 0x1628]
push eax
call dword [ebp - 0x18f4]
test eax, eax
jne 0x40bbb3
push edi
xor edi, 0x6873
or edi, 0xa2ae
pop edi
push eax
or eax, 0x14bd0
and eax, 0x31ab
call 0x40bb9a
add byte [edx], bh
cmp esi, dword [esi + ecx*2]
dec ecx
inc edx
inc ebp
add esp, 4
and eax, 0x12d85
pop eax
mov dword [ebp - 0xa58], 0
jmp 0x40c29e
push esi
or esi, 0x1407f
or esi, 0x94bb
or esi, 0x12c5f
sub esi, 0x6c1d
pop esi
push edx
push eax
add esp, 4
add edx, 0x9b68
xor edx, 0x10d81
xor edx, 0x1039c
pop edx
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x18f8], ecx
mov edx, dword [ebp - 0x18f8]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x18fc], eax
mov ecx, dword [ebp - 0x18fc]
mov dword [ebp - 0x1574], ecx
push ecx
and ecx, 0x2222
or ecx, 0xc2c0
jmp 0x40bc20
pop ecx
push edi
push eax
add esp, 4
or edi, 0x394f
jmp 0x40bc32
add edi, 0xc24
sub edi, 0x14bca
pop edi
cmp dword [ebp - 0x1574], 0
jne 0x40bc57
mov dword [ebp - 0x2a8], 0
jmp 0x40befe
mov edx, dword [ebp - 0x1574]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xc68], ecx
push ecx
push esi
add esp, 4
add ecx, 0x3276
pop ecx
push ecx
push ebx
add esp, 4
or ecx, 0x1215c
and ecx, 0x6c92
pop ecx
push eax
and eax, 0x274e
add eax, 0x1523b
and eax, 0x1361e
pop eax
cmp dword [ebp - 0xc68], 0
jne 0x40bcb3
mov dword [ebp - 0x2a8], 0
jmp 0x40befe
mov edx, dword [ebp - 0xc68]
mov dword [ebp - 0x4ec], edx
push ebx
call 0x40bccd
add byte [ecx + 0x41], cl
xor al, 0x44
xor al, 0x3a
xor al, byte [ebx - 0x347efb3c]
sub eax, 0x8100005d
jmp 0x40bcfb
invalid
push edx
push edx
add esp, 4
jmp 0x40bf0b
call 0x40bf1a
add byte [edx + 0x40], cl
xor eax, 0x33383639
cmp al, byte [eax - 0x7d]
les eax, [ecx + eax*4]
ljmp 0x575a
Function at 0x40c403
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [ebp - 0xa58]
mov dword [ebp - 0x1910], edx
lea eax, [ebp - 0xc70]
push eax
push 0x40
mov ecx, dword [ebp - 0x158c]
push ecx
mov edx, dword [ebp - 0x3cc]
push edx
call dword [ebp - 0x1910]
test eax, eax
jne 0x40c343
push edi
and edi, 0x12fc8
jmp 0x40c30b
call 0x40c31b
add byte [ebx + ecx*2], dh
inc ebp
dec eax
inc esp
cmp edi, dword [ecx]
xor al, 0x3a
inc edx
add esp, 4
add edi, 0xe40a
pop edi
push esi
jmp 0x40c32e
pop esi
mov eax, dword [ebp - 0x738]
mov dword [ebp - 0x1914], eax
push 0
call dword [ebp - 0x1914]
mov ecx, dword [ebp - 0x1918]
mov dword [ebp - 0x734], ecx
jmp 0x40c360
mov edx, dword [ebp - 0x734]
add edx, 1
mov dword [ebp - 0x734], edx
mov eax, dword [ebp - 0x734]
cmp eax, dword [ebp - 0xa5c]
jae 0x40c3bc
push edi
push edx
add esp, 4
add edi, 0xa1c1
pop edi
push edx
jmp 0x40c381
call 0x40c38d
add byte [ecx + 0x4b], cl
inc edx
dec esi
cmp ecx, dword [ebx - 0x7d]
les eax, [ebx + ebp*8]
pop es
dec ebp
inc edi
dec ebp
cmp dword [ebp + 0x43], eax
add edx, 0x106c6
pop edx
movzx ecx, byte [ebp - 0x381]
mov edx, dword [ebp - 0x734]
movsx eax, byte [edx]
sub eax, ecx
mov ecx, dword [ebp - 0x734]
mov byte [ecx], al
jmp 0x40c351
mov edx, dword [ebp - 0xa58]
mov dword [ebp - 0x191c], edx
lea eax, [ebp - 0xc70]
push eax
mov ecx, dword [ebp - 0xc70]
push ecx
mov edx, dword [ebp - 0x158c]
push edx
mov eax, dword [ebp - 0x3cc]
push eax
call dword [ebp - 0x191c]
test eax, eax
jne 0x40c434
push ecx
xor ecx, 0x13386
pop ecx
push edx
call 0x40c403
add byte [eax + 0x32], al
dec edx
inc esp
dec ebp
inc edx
add esp, 4
jmp 0x40c40e
add edx, 0x11a96
pop edx
push ecx
jmp 0x40c41f
pop ecx
mov ecx, dword [ebp - 0x738]
mov dword [ebp - 0x1920], ecx
push 0
call dword [ebp - 0x1920]
push ebx
push esi
add esp, 4
jmp 0x40c441
pop ebx
push esi
push ecx
add esp, 4
and esi, 0xb5b8
pop esi
push edi
push eax
add esp, 4
or edi, 0x16cd9
jmp 0x40c45f
xor edi, 0xe7d3
pop edi
push edx
mov ecx, 0x10101010
pop edx
push ecx
mov ecx, 0xffff03ff
pop ecx
pop edx
push esp
xchg bh, al
pop es
jmp 0x40c486
xchg bh, al
pop es
test dl, ch
invalid

Function at 0x424920
Capabilities:
Hide graphical window

Disassembly:
push dword [0x487220]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x42495d
push eax
push eax
push eax
push eax
push eax
push dword [0x487220]
call dword [sym.imp.USER32.dll_MoveWindow]
push 8
push dword [0x487220]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x487220]
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x42dcc0
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 0x42dcf1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x42dce0
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x4348c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45dced
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x47fc14]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov edi, 0x110
mov eax, dword [ebp + 0x14]
mov ecx, 2
cmp dword [ebp + 8], 0
push 0x38
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.004349d0
push 0
push esi
mov dword [ebx + 4], eax
call fcn.0043a770
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, 0x486d10
lock xadd dword [ecx], eax
lea eax, [esi + 0x1c]
mov dword [esi + 4], 1
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [esi + 0x18], 0
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.00436a73
mov dword [esi + 0x24], 0
add esp, 0x10
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov byte [esi + 0x34], 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 0x4349a4
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
push ebx
mov byte [ebp - 4], 2
mov byte [edi + ebx], 0
call fcn.004349d0
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 0x4376d1
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push 0x46c898
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov esi, dword [ebp + 0xc]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 4]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.004376ad
pop esi
leave
ret 8
Function at 0x437abc
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push dword [ebp + 8]
push 0x105
call fcn.00437768
mov edi, eax
test edi, edi
jne 0x437ae3
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov eax, esi
jmp 0x437b2c
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ebx, 0xffffffff
cmp eax, ebx
je 0x437b27
test al, 0x10
je 0x437b27
test eax, 0x400
je 0x437b23
push 0x2000000
push 0x80
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.00437b32
push dword [ebp - 4]
mov esi, eax
call fcn.004377a4
test esi, esi
jne 0x437b27
xor edx, edx
jmp 0x437b29
mov edx, ebx
mov eax, edi
pop ebx
pop edi
pop esi
leave
ret 4

Function at 0x43971b
Capabilities:
Parse pe header

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

Function at 0x45093c
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x470a70
push 0x470a68
push 0x46df2c
push 0x1f
call fcn.00450804
mov esi, eax
add esp, 0x10
test esi, esi
je 0x450970
push dword [ebp + 8]
mov ecx, esi
call dword [0x46258c]
call esi
jmp 0x450976
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4509ba
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x470a80
push 0x470a78
push 0x46df50
push 0x21
call fcn.00450804
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4509f1
push dword [ebp + 8]
mov ecx, esi
call dword [0x46258c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4509f9
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x470a88
push 0x470a80
push 0x46df64
push 0x22
call fcn.00450804
mov esi, eax
add esp, 0x10
test esi, esi
je 0x450a33
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x46258c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x454c75
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 0x454d12
push ebx
push esi
call fcn.00454c3e
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.004510bd
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x454cbf
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x454d11
push edi
push eax
call fcn.0044f0a3
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x454cdf
call fcn.0044f069
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x454d10
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004510bd
add esp, 0x20
test eax, eax
jne 0x454cfe
push edi
call fcn.0044f069
jmp 0x454d06
push ebx
call fcn.0044f069
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 0x457308
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0044e950
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 0x457377
cmp esi, dword [ebp - 4]
je 0x457372
cmp dword [ebp + 0xc], 0
je 0x457372
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x45734f
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00456e5a
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x457379
xor eax, eax
inc eax
jmp 0x457379
xor eax, eax
pop edi
pop esi
leave
ret