joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10021cc1
Capabilities:
Set registry value

Disassembly:
push 0x18
mov eax, 0x1002bde4
call fcn.1002acc8
mov esi, ecx
mov eax, dword [0x1002f024]
mov edi, 0x1002f024
mov ebx, dword [ebp + 8]
cmp eax, edi
je 0x10021d03
test byte [eax + 0x1c], 1
je 0x10021d03
cmp byte [eax + 0x19], 5
jb 0x10021d03
push dword [ebx]
mov edx, 0x100030e0
mov ecx, 0x84
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.10003c37
xor eax, eax
mov dword [ebx], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
mov ecx, esi
lea eax, [ebp - 0x20]
push eax
call fcn.100220b8
mov esi, eax
mov edx, dword [0x1002f024]
cmp edx, edi
je 0x10021d52
test byte [edx + 0x1c], 2
je 0x10021d52
cmp byte [edx + 0x19], 4
jb 0x10021d52
push esi
push dword [edx + 0x14]
mov ecx, 0x85
push dword [edx + 0x10]
mov edx, 0x100030e0
call fcn.10003c37
mov edx, dword [0x1002f024]
mov edi, dword [ebp - 0x20]
test esi, esi
jne 0x10021e43
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0x100030b8
lea ecx, [ebp - 0x20]
call fcn.10022cb6
mov esi, eax
mov edx, dword [0x1002f024]
cmp edx, 0x1002f024
je 0x10021dad
test byte [edx + 0x1c], 2
je 0x10021dad
cmp byte [edx + 0x19], 4
jb 0x10021dad
push esi
push dword [ebp - 0x10]
mov ecx, 0x86
push 0x100030b8
push dword [edx + 0x14]
push dword [edx + 0x10]
call fcn.100203b6
mov edx, dword [0x1002f024]
cmp esi, 2
jne 0x10021e05
push 4
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
push 4
push ebx
push 0x100030b8
push edi
mov dword [ebp - 0x14], ebx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov esi, eax
mov edx, dword [0x1002f024]
cmp edx, 0x1002f024
je 0x10021e7b
test byte [edx + 0x1c], 2
je 0x10021e43
cmp byte [edx + 0x19], 4
jb 0x10021e43
push esi
push ebx
push 0x100030b8
push dword [edx + 0x14]
mov ecx, 0x87
push dword [edx + 0x10]
call fcn.100203b6
jmp 0x10021e3d
test esi, esi
jne 0x10021e43
xor eax, eax
cmp dword [ebp - 0x10], eax
setne al
mov dword [ebx], eax
cmp edx, 0x1002f024
je 0x10021e7b
test byte [edx + 0x1c], 2
je 0x10021e43
cmp byte [edx + 0x19], 4
jb 0x10021e43
push eax
push dword [edx + 0x14]
mov ecx, 0x88
push dword [edx + 0x10]
mov edx, 0x100030e0
call fcn.10003c37
mov edx, dword [0x1002f024]
cmp edx, 0x1002f024
je 0x10021e7b
test byte [edx + 0x1c], 1
je 0x10021e7b
movzx ecx, byte [edx + 0x19]
mov eax, esi
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 5
cmp ecx, eax
jb 0x10021e7b
push esi
push dword [edx + 0x14]
mov ecx, 0x89
push dword [edx + 0x10]
mov edx, 0x100030e0
call fcn.10003c37
test edi, edi
je 0x10021e86
push edi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, esi
call fcn.1002ac96
ret 4
Function at 0x10021e90
Capabilities:
Set registry value

Disassembly:
push 0x10
mov eax, 0x1002be07
call fcn.1002acc8
mov esi, ecx
mov eax, dword [0x1002f024]
mov edi, 0x1002f024
cmp eax, edi
je 0x10021ed0
test byte [eax + 0x1c], 1
je 0x10021ed0
cmp byte [eax + 0x19], 5
jb 0x10021ed0
push dword [ebp + 8]
mov edx, 0x100030e0
mov ecx, 0x8a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.10003c37
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
mov ecx, esi
lea eax, [ebp - 0x1c]
push eax
call fcn.100220b8
mov esi, eax
mov edx, dword [0x1002f024]
cmp edx, edi
je 0x10021f1d
test byte [edx + 0x1c], 2
je 0x10021f1d
cmp byte [edx + 0x19], 4
jb 0x10021f1d
push esi
push dword [edx + 0x14]
mov ecx, 0x8b
push dword [edx + 0x10]
mov edx, 0x100030e0
call fcn.10003c37
mov edx, dword [0x1002f024]
mov edi, dword [ebp - 0x1c]
test esi, esi
jne 0x10021f7e
push 4
lea eax, [ebp - 0x10]
xor ebx, ebx
cmp dword [ebp + 8], ebx
push eax
push 4
push 0
push 0x100030b8
setne bl
push edi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov esi, eax
mov edx, dword [0x1002f024]
cmp edx, 0x1002f024
je 0x10021fb6
test byte [edx + 0x1c], 2
je 0x10021f7e
cmp byte [edx + 0x19], 4
jb 0x10021f7e
push esi
push ebx
push 0x100030b8
push dword [edx + 0x14]
mov ecx, 0x8c
push dword [edx + 0x10]
call fcn.100203b6
mov edx, dword [0x1002f024]
cmp edx, 0x1002f024
je 0x10021fb6
test byte [edx + 0x1c], 1
je 0x10021fb6
movzx ecx, byte [edx + 0x19]
mov eax, esi
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 5
cmp ecx, eax
jb 0x10021fb6
push esi
push dword [edx + 0x14]
mov ecx, 0x8d
push dword [edx + 0x10]
mov edx, 0x100030e0
call fcn.10003c37
test edi, edi
je 0x10021fc1
push edi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, esi
call fcn.1002ac96
ret 4
Function at 0x100241ba
Capabilities:
Query service status

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1002f538]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword [0x1002f024]
mov edi, 0x1002f024
cmp eax, edi
je 0x100241f8
test byte [eax + 0x1c], 1
je 0x100241f8
push dword [eax + 0x14]
mov edx, 0x100032dc
push dword [eax + 0x10]
push 0xf
pop ecx
call fcn.10003c19
push ecx
mov ecx, ebx
xor esi, esi
call fcn.1002455f
mov ecx, eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [0x1002f024]
cmp eax, edi
je 0x10024230
test byte [eax + 0x1c], 2
je 0x10024230
cmp byte [eax + 0x19], 4
jb 0x10024230
push ecx
push dword [eax + 0x14]
mov edx, 0x100032dc
push dword [eax + 0x10]
push 0x10
pop ecx
call fcn.10003c37
push 9
xor eax, eax
lea edi, [ebp - 0x28]
cmp dword [ebp - 0x2c], 1
pop ecx
rep stosd dword es:[edi], eax
jne 0x100242bd
lea eax, [ebp - 0x2c]
push eax
push 0x24
lea eax, [ebp - 0x28]
push eax
push esi
push dword [ebx + 8]
call dword [sym.imp.api_ms_win_service_management_l2_1_0.dll_QueryServiceStatusEx]
cmp eax, 1
je 0x1002428f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov eax, dword [0x1002f024]
cmp eax, 0x1002f024
je 0x100242bd
test byte [eax + 0x1c], 2
je 0x100242bd
cmp byte [eax + 0x19], 4
jb 0x100242bd
push ecx
push dword [eax + 0x14]
mov edx, 0x100032dc
push dword [eax + 0x10]
push 0x11
pop ecx
call fcn.10003c37
jmp 0x100242bd
mov esi, dword [ebp - 0x24]
mov eax, dword [0x1002f024]
cmp eax, 0x1002f024
je 0x100242bd
test byte [eax + 0x1c], 2
je 0x100242bd
cmp byte [eax + 0x19], 4
jb 0x100242bd
push dword [eax + 0x14]
mov edx, 0x100032dc
push dword [eax + 0x10]
push 0x12
pop ecx
call fcn.10003c19
mov ecx, ebx
call fcn.1002479f
mov ecx, dword [0x1002f024]
cmp ecx, 0x1002f024
je 0x100242f2
test byte [ecx + 0x1c], 1
je 0x100242f2
cmp byte [ecx + 0x19], 5
jb 0x100242f2
push esi
push dword [ecx + 0x14]
mov edx, 0x100032dc
push dword [ecx + 0x10]
push 0x13
pop ecx
call fcn.10003c37
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10029f60
mov esp, ebp
pop ebp
ret
Function at 0x10024305
Capabilities:
Start service

Disassembly:
mov edi, edi
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [0x1002f024]
mov ebx, 0x1002f024
cmp eax, ebx
je 0x10024333
test byte [eax + 0x1c], 1
je 0x10024333
push dword [eax + 0x14]
mov edx, 0x100032dc
push dword [eax + 0x10]
push 0x20
pop ecx
call fcn.10003dc3
push ecx
mov ecx, edi
call fcn.1002455f
mov esi, eax
mov eax, dword [0x1002f024]
cmp eax, ebx
je 0x10024366
test byte [eax + 0x1c], 2
je 0x10024366
cmp byte [eax + 0x19], 4
jb 0x10024366
push esi
push dword [eax + 0x14]
mov edx, 0x100032dc
push dword [eax + 0x10]
push 0x21
pop ecx
call fcn.10003c37
cmp esi, 1
jne 0x100243af
push 0
push 0
push dword [edi + 8]
call dword [sym.imp.api_ms_win_service_management_l1_1_0.dll_StartServiceW]
mov esi, eax
cmp esi, 1
je 0x100243af
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x1002f024]
cmp ecx, ebx
je 0x100243af
test byte [ecx + 0x1c], 2
je 0x100243af
cmp byte [ecx + 0x19], 4
jb 0x100243af
push eax
push dword [ecx + 0x14]
mov edx, 0x100032dc
push dword [ecx + 0x10]
push 0x22
pop ecx
call fcn.10003c37
mov ecx, edi
call fcn.1002479f
mov eax, dword [0x1002f024]
cmp eax, ebx
je 0x100243df
test byte [eax + 0x1c], 1
je 0x100243df
cmp byte [eax + 0x19], 5
jb 0x100243df
push esi
push dword [eax + 0x14]
mov edx, 0x100032dc
push dword [eax + 0x10]
push 0x23
pop ecx
call fcn.10003c37
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x10024929
Capabilities:
Get user security identifier

Disassembly:
push 0xd4
mov eax, 0x1002c0b7
call fcn.1002acfb
mov esi, ecx
mov edi, dword [ebp + 8]
call fcn.1002002d
test edi, edi
je 0x10024a79
and dword [ebp - 0xd8], 0
and dword [ebp - 4], 0
lea ecx, [ebp - 0xd8]
push 0x100
call fcn.100052b1
mov ebx, dword [ebp - 0xd8]
lea eax, [esi + 0x4c]
push eax
lea eax, [ebp - 0xe0]
mov dword [ebp - 0xdc], 0x44
push eax
push ebx
lea eax, [ebp - 0xdc]
mov dword [ebp - 0xe0], 0x80
push eax
lea eax, [ebp - 0x54]
push eax
push edi
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x10024a04
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10024a59
cmp dword [ebp - 0xdc], 0x44
ja 0x10024a83
mov eax, dword [ebp - 0xe0]
cmp eax, 0x80
jbe 0x100249e0
add eax, eax
lea ecx, [ebp - 0xd8]
push eax
call fcn.10026fb4
mov ebx, dword [ebp - 0xd8]
lea eax, [esi + 0x4c]
push eax
lea eax, [ebp - 0xe0]
push eax
push ebx
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x54]
push eax
push edi
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x10024a59
lea eax, [ebp - 0x54]
mov byte [esi + 0x48], 1
push eax
lea eax, [esi + 4]
push eax
push dword [ebp - 0xdc]
call dword [sym.imp.ADVAPI32.dll_CopySid]
test eax, eax
je 0x10024a59
push ebx
lea ecx, [esi + 0x54]
call fcn.10009212
push edi
lea ecx, [esi + 0x50]
call fcn.10009212
push 0
lea ecx, [esi + 0x5c]
call fcn.10009212
lea ecx, [ebp - 0xd4]
cmp dword [ebp - 0xd8], ecx
je 0x10024a55
lea ecx, [ebp - 0xd8]
call fcn.1000529b
mov al, 1
jmp 0x10024a7b
mov ecx, esi
call fcn.1002002d
lea eax, [ebp - 0xd4]
cmp dword [ebp - 0xd8], eax
je 0x10024a79
lea ecx, [ebp - 0xd8]
call fcn.1000529b
xor al, al
call fcn.10003dc3
ret 8
mov ecx, 0x80004005
call fcn.10005aee
int3
Function at 0x10025d32
Capabilities:
Get session user name

Disassembly:
push 0x6c
mov eax, 0x1002c1a7
call fcn.1002acfb
mov edi, edx
mov ebx, ecx
mov eax, dword [0x1002f024]
cmp eax, 0x1002f024
je 0x10025d6d
test byte [eax + 0x1c], 1
je 0x10025d6d
cmp byte [eax + 0x19], 5
jb 0x10025d6d
push dword [eax + 0x14]
mov edx, 0x100032fc
push dword [eax + 0x10]
push 0x12
pop ecx
call fcn.10003c19
lea eax, [ebp - 0x78]
mov ecx, 0x7fff
push eax
mov dword [ebp - 0x78], ecx
push ecx
mov ecx, edi
call fcn.1000912b
push eax
push 2
call dword [sym.imp.SspiCli.dll_GetUserNameExW]
movzx esi, al
mov eax, dword [0x1002f024]
cmp eax, 0x1002f024
je 0x10025db9
test byte [eax + 0x1c], 2
je 0x10025db9
cmp byte [eax + 0x19], 4
jb 0x10025db9
push esi
push dword [eax + 0x14]
mov edx, 0x100032fc
push dword [eax + 0x10]
push 0x13
pop ecx
call fcn.10003c37
mov ecx, dword [edi]
call fcn.100091fe
push eax
mov ecx, edi
call fcn.10009158
lea ecx, [ebp - 0x74]
call fcn.1001ff3b
and dword [ebp - 4], 0
cmp esi, 1
jne 0x10025e44
mov eax, dword [0x1002f024]
cmp eax, 0x1002f024
je 0x10025e06
test byte [eax + 0x1c], 2
je 0x10025e06
cmp byte [eax + 0x19], 4
jb 0x10025e06
push dword [edi]
mov edx, 0x100032fc
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x14
pop ecx
call fcn.10006c7a
push ecx
push dword [edi]
lea ecx, [ebp - 0x74]
call fcn.10024929
movzx esi, al
mov eax, dword [0x1002f024]
mov edi, 0x1002f024
cmp eax, edi
je 0x10025e4e
test byte [eax + 0x1c], 2
je 0x10025e4e
cmp byte [eax + 0x19], 4
jb 0x10025e4e
push esi
push dword [eax + 0x14]
mov edx, 0x100032fc
push dword [eax + 0x10]
push 0x15
pop ecx
call fcn.10003c37
jmp 0x10025e49
mov edi, 0x1002f024
mov eax, dword [0x1002f024]
cmp esi, 1
jne 0x10025e92
lea ecx, [ebp - 0x74]
call fcn.10024a8e
push eax
mov ecx, ebx
call fcn.10009212
mov eax, dword [0x1002f024]
cmp eax, edi
je 0x10025eb6
test byte [eax + 0x1c], 2
je 0x10025e92
cmp byte [eax + 0x19], 4
jb 0x10025e92
push dword [ebx]
mov edx, 0x100032fc
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x16
pop ecx
call fcn.10006c7a
mov eax, dword [0x1002f024]
cmp eax, edi
je 0x10025eb6
test byte [eax + 0x1c], 1
je 0x10025eb6
cmp byte [eax + 0x19], 5
jb 0x10025eb6
push esi
push dword [eax + 0x14]
mov edx, 0x100032fc
push dword [eax + 0x10]
push 0x17
pop ecx
call fcn.10003c37
lea ecx, [ebp - 0x74]
call fcn.1001ffa1
mov eax, esi
call fcn.1002acaa
ret
Function at 0x10026a06
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x1c
mov eax, 0x1002c278
call fcn.1002acc8
mov dword [ebp - 0x28], edx
mov ebx, ecx
mov dword [ebp - 0x24], ebx
mov eax, dword [0x1002f024]
cmp eax, 0x1002f024
je 0x10026a45
test byte [eax + 0x1c], 1
je 0x10026a45
cmp byte [eax + 0x19], 5
jb 0x10026a45
push dword [eax + 0x14]
mov edx, 0x100032fc
push dword [eax + 0x10]
push 0x45
pop ecx
call fcn.10003c19
xor edi, edi
lea eax, [ebp - 0x14]
push edi
push edi
push edi
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push dword [ebx]
mov dword [ebp - 0x14], edi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryInfoKeyW]
mov esi, eax
mov edx, dword [0x1002f024]
mov ebx, 0x1002f024
cmp edx, ebx
je 0x10026a9d
test byte [edx + 0x1c], 2
je 0x10026a9d
cmp byte [edx + 0x19], 4
jb 0x10026a9d
push esi
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x100032fc
push 0x46
pop ecx
call fcn.10003c37
mov edx, dword [0x1002f024]
inc dword [ebp - 0x14]
test esi, esi
jne 0x10026bb3
push 0x1002f508
lea ecx, [ebp - 0x10]
call fcn.10009292
mov dword [ebp - 4], edi
mov eax, dword [0x1002f024]
cmp eax, ebx
je 0x10026ae3
test byte [eax + 0x1c], 2
je 0x10026ae3
cmp byte [eax + 0x19], 4
jb 0x10026ae3
push dword [ebp - 0x18]
mov edx, 0x100032fc
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x47
pop ecx
call fcn.10003c37
mov ebx, edi
cmp dword [ebp - 0x18], ebx
jbe 0x10026b9d
test esi, esi
jne 0x10026b9d
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
call fcn.1000912b
push esi
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.10009158
xor ecx, ecx
lea eax, [ebp - 0x20]
push ecx
push ecx
push eax
push ecx
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x24]
push edi
push ebx
push dword [eax]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
mov esi, eax
mov eax, dword [0x1002f024]
cmp eax, 0x1002f024
je 0x10026b5b
test byte [eax + 0x1c], 2
je 0x10026b5b
cmp byte [eax + 0x19], 4
jb 0x10026b5b
push esi
push dword [eax + 0x14]
mov edx, 0x100032fc
push dword [eax + 0x10]
push 0x48
pop ecx
call fcn.10003c37
mov eax, esi
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x1c]
cmp eax, 0xffffffff
jne 0x10026b73
mov ecx, dword [ebp - 0x10]
call fcn.100091fe
push eax
lea ecx, [ebp - 0x10]
call fcn.10009158
test esi, esi
jne 0x10026b90
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10022af0
inc ebx
push 0
pop edi
cmp ebx, dword [ebp - 0x18]
jb 0x10026aee
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.1000947c
mov edx, dword [0x1002f024]
mov ebx, 0x1002f024
cmp edx, ebx
je 0x10026be5
test byte [edx + 0x1c], 1
je 0x10026be5
movzx ecx, byte [edx + 0x19]
mov eax, esi
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 5
cmp ecx, eax
jb 0x10026be5
push esi
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x100032fc
push 0x49
pop ecx
call fcn.10003c37
mov eax, esi
call fcn.1002ac96
ret
Function at 0x100273fe
Capabilities:
Get local ipv4 addresses

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov eax, dword [0x1002f024]
cmp eax, 0x1002f024
je 0x10027431
test byte [eax + 0x1c], 2
je 0x10027431
push dword [eax + 0x14]
mov edx, 0x10003374
push dword [eax + 0x10]
push 0xa
pop ecx
call fcn.10003c19
mov eax, 0x1f40
xor esi, esi
mov dword [ebp - 4], eax
push 0x10002117
push eax
call fcn.1002ac5d
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x100274e4
lea eax, [ebp - 4]
push eax
push ebx
push 0
push 0xe
push 0
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov edi, eax
cmp edi, 0x7a
je 0x1002746f
cmp edi, 0x6f
jne 0x10027483
push ebx
call fcn.100299c0
xor ebx, ebx
inc esi
pop ecx
cmp esi, 3
jae 0x10027498
mov eax, dword [ebp - 4]
jmp 0x1002743b
test edi, edi
jg 0x1002748b
mov esi, edi
jmp 0x10027494
movzx esi, di
or esi, 0x80070000
test esi, esi
js 0x100274e9
test edi, edi
jg 0x100274a0
mov esi, edi
jmp 0x100274a9
movzx esi, di
or esi, 0x80070000
test esi, esi
js 0x100274e9
mov edi, dword [ebp - 8]
mov dword [edi + 0xc], ebx
xor ebx, ebx
call fcn.1002abfb
test al, al
je 0x100274e9
call dword [sym.imp.ext_ms_win_casting_receiver_l1_1_0.dll_GetXboxWirelessNetworkInterfaceIndex]
test eax, eax
je 0x100274e9
mov ecx, dword [edi + 0xc]
jmp 0x100274d5
cmp dword [ecx + 4], eax
je 0x100274db
mov ecx, dword [ecx + 8]
test ecx, ecx
jne 0x100274cd
jmp 0x100274e9
mov dword [ecx + 0x40], 0x47
jmp 0x100274e9
mov esi, 0x8007000e
push ebx
call fcn.100299c0
pop ecx
mov edi, dword [0x1002f024]
cmp edi, 0x1002f024
je 0x1002752b
test byte [edi + 0x1c], 2
je 0x1002752b
movzx eax, byte [edi + 0x19]
mov ecx, esi
sar ecx, 0x1f
and ecx, 0xfffffffd
add ecx, 5
cmp eax, ecx
jl 0x1002752b
push esi
push dword [edi + 0x14]
mov edx, 0x10003374
push dword [edi + 0x10]
push 0xb
pop ecx
call fcn.10003c37
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1002a500
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x1002a53e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x1002a536
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x1002a540
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x1002a526
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1002a610
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x1002a626
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x1002a641
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
Function at 0x1000e060
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x10104040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x10157600]
lea eax, [ebp - 0x10]
push esi
push edi
push eax
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1000e20b
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1000e20b
push 0x38
call fcn.100b93c9
mov esi, dword [0x10157600]
add esp, 4
mov edi, eax
test esi, esi
je 0x1000e102
movsx edx, word [esi + 0x5ea4]
lea eax, [esi + 0x5ea8]
mov ecx, dword [esi + 0x3f10]
lea eax, [eax + edx*8]
cmp dword [eax], ecx
je 0x1000e0f8
lea eax, [edx + 1]
mov dword [ebp - 0x1c], 6
cdq
idiv dword [ebp - 0x1c]
movzx eax, dx
mov word [esi + 0x5ea4], ax
cwde
add eax, 0xbd5
lea eax, [esi + eax*8]
mov dword [eax], ecx
xor ecx, ecx
mov dword [eax + 4], ecx
inc word [eax + 4]
inc dword [esi + 0x5e9c]
test edi, edi
je 0x1000e115
push 0x38
push 0
push edi
call fcn.100acae0
add esp, 0xc
jmp 0x1000e117
xor edi, edi
or dword [ebx + 0xc], 6
mov dword [ebx + 0x74], edi
mov dword [ebx + 0x6c], str.imgui_impl_win32
mov ebx, dword [ebp - 0x24]
mov dword [edi], ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov dword [edi + 0x20], 9
test esi, esi
je 0x1000e152
mov esi, dword [esi + 0x74]
jmp 0x1000e154
xor esi, esi
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 4
add esi, 0x24
shr eax, 0x10
push esi
push 0x20001004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x1000e177
mov dword [esi], eax
mov eax, dword [0x10157600]
xor esi, esi
mov dword [ebp - 0x38], str.xinput1_4.dll
mov dword [ebp - 0x34], str.xinput1_3.dll
mov dword [ebp - 0x30], str.xinput9_1_0.dll
mov eax, dword [eax + 0x4a28]
mov dword [ebp - 0x2c], str.xinput1_2.dll
mov dword [ebp - 0x28], str.xinput1_1.dll
mov eax, dword [eax]
mov dword [eax + 0x24], ebx
mov byte [edi + 0x29], 1
push dword [ebp + esi*4 - 0x38]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
jne 0x1000e1d9
inc esi
cmp esi, 5
jl 0x1000e1b0
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10093f63
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.XInputGetCapabilities
push ebx
mov dword [edi + 0x2c], ebx
call esi
push str.XInputGetState
push ebx
mov dword [edi + 0x30], eax
call esi
mov dword [edi + 0x34], eax
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10093f63
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10093f63
mov esp, ebp
pop ebp
ret
Function at 0x10010410
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d6ab0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10104040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
lea edi, [esi + 0x38]
mov dword [esi + 8], 0
lea eax, [edi + 0x10]
mov dword [esi + 0xc], 0
xorps xmm0, xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
movups xmmword [esi], xmm0
mov dword [ebp - 0x10], edi
movups xmmword [esi + 0x10], xmm0
movq qword [esi + 0x20], xmm0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [ebp - 4], 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
mov byte [edi], 0
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1001050a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x10]
call fcn.1002a590
lea eax, [edi + 0x10]
mov dword [eax], 0
xorps xmm0, xmm0
mov dword [edi + 0x2c], 0
mov eax, esi
mov dword [edi + 0x30], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x34], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x80], 0
movups xmmword [esi + 0x70], xmm0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0x2c], 0xffffffff
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret