joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1018e570
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101d3440
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.100d49a0
mov eax, dword [esi + 0x9c]
lea ecx, [esp + 0xc]
push eax
push ecx
push 3
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.10190050
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
cmp ebp, eax
jl 0x1018e5e4
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.100d49b0
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x2c]
push edi
push eax
mov esi, dword [edx + ebp*4]
mov ecx, esi
call fcn.101938d0
mov edi, dword [esp + 0x34]
push eax
mov ecx, edi
mov byte [esp + 0x2c], 1
call fcn.100c8a70
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.100c88e0
mov ecx, dword [edi]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x1018e62f
push ebp
push 0x10246ce8
push edi
call fcn.100cb860
add esp, 0xc
lea edx, [esp + 0xc]
mov ecx, esi
push edx
mov dword [esp + 0x10], 0
call fcn.10193be0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0xc]
push edx
mov dword [ecx], eax
call fcn.1005fc33
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.100d49b0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc

Function at 0x1018e6f0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x101d3478
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call fcn.100d49a0
mov eax, dword [esi + 0x9c]
lea ecx, [esp + 0x10]
push eax
push ecx
push 3
mov ecx, esi
mov dword [esp + 0x34], 0
call fcn.10190050
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
cmp edi, eax
jge 0x1018e7b5
mov edx, dword [esp + 0x34]
push 0
push edx
call fcn.10195520
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
jne 0x1018e75b
push 0x10246d10
jmp 0x1018e7ad
mov eax, dword [esp + 0x10]
lea edx, [esp + 8]
push edx
mov ecx, dword [eax + edi*4]
mov dword [esp + 0xc], 0
call fcn.10193be0
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push 0
push ecx
push eax
push edx
push esi
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1018e7db
mov eax, dword [esp + 8]
push eax
call fcn.1005fc33
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x10246cfc
call fcn.10193ee0
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.100d49b0
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
mov ecx, dword [esp + 8]
push ecx
call fcn.1005fc33
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.100d49b0
mov ecx, dword [esp + 0x20]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 8
Function at 0x10191280
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101d395f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
mov esi, ecx
mov dword [esp + 8], 0
call fcn.101915f0
test eax, eax
jne 0x10191398
lea edi, [esi + 0x14]
mov ecx, edi
call fcn.101915f0
test eax, eax
jne 0x10191398
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.10191a30
mov esi, eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 1
push ecx
mov ecx, edi
call fcn.10191a30
push eax
lea edx, [esp + 0x18]
push 0x102470e4
push edx
mov byte [esp + 0x34], 2
call fcn.100c9230
push 0x102470e8
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x30], 3
push eax
call fcn.100c9050
push esi
lea ecx, [esp + 0x10]
push eax
push ecx
mov byte [esp + 0x34], 4
call fcn.100c8e80
mov esi, dword [esp + 0x30]
push 0x102470dc
push eax
push esi
mov byte [esp + 0x34], 5
call fcn.100c9050
lea ecx, [esp + 0xc]
mov dword [esp + 8], 1
mov byte [esp + 0x28], 4
call fcn.100c88e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 3
call fcn.100c88e0
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call fcn.100c88e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 1
call fcn.100c88e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 0
call fcn.100c88e0
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
mov edi, dword [esp + 0x30]
mov ecx, esi
push edi
call fcn.10191a30
mov ecx, dword [esp + 0x20]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x101922e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101d3c2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x10200e98]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], eax
mov ecx, dword [0x10200e98]
lea edi, [esi + 4]
mov dword [esp + 0x1c], 0
mov dword [edi], ecx
mov edx, dword [0x10200e98]
lea ebx, [esi + 8]
mov dword [ebx], edx
lea ebp, [esi + 0xc]
mov byte [esp + 0x1c], 2
mov ecx, ebp
call fcn.101913c0
mov eax, dword [0x10200e98]
mov dword [esi + 0x20], eax
mov ecx, dword [0x10200e98]
mov dword [esi + 0x24], ecx
mov edx, dword [0x10200e98]
mov dword [esi + 0x28], edx
mov eax, dword [0x10200e98]
mov dword [esi + 0x2c], eax
mov ecx, dword [0x10200e98]
mov dword [esi + 0x30], ecx
mov edx, dword [0x10200e98]
mov dword [esi + 0x34], edx
push 0x1025f210
mov ecx, esi
mov byte [esp + 0x20], 9
call fcn.100c8b60
push 0x1025f210
mov ecx, edi
call fcn.100c8b60
push 0x1025f210
mov ecx, ebx
call fcn.100c8b60
mov ecx, ebp
call fcn.101915b0
push 0x1025f210
lea ecx, [esi + 0x20]
call fcn.100c8b60
push 0x1025f210
lea ecx, [esi + 0x24]
call fcn.100c8b60
push 0x1025f210
lea ecx, [esi + 0x28]
call fcn.100c8b60
push 0x1025f210
lea ecx, [esi + 0x2c]
call fcn.100c8b60
push 0x1025f210
lea ecx, [esi + 0x30]
call fcn.100c8b60
push 0x1025f210
lea ecx, [esi + 0x34]
call fcn.100c8b60
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x10192800
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101d3e51
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x1020c94c
mov ebx, dword [esi + 0x50]
xor edi, edi
test ebx, ebx
mov dword [esp + 0x18], 2
jle 0x1019284b
mov eax, dword [esi + 0x4c]
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x10192846
mov edx, dword [ecx]
push 1
call dword [edx]
inc edi
cmp edi, ebx
jl 0x10192836
lea edi, [esi + 0x4c]
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.10190510
mov edi, dword [edi]
mov byte [esp + 0x18], 1
test edi, edi
je 0x1019286d
push edi
call fcn.1005fc33
add esp, 4
lea ecx, [esi + 0x40]
mov byte [esp + 0x18], 0
mov dword [esi + 0x3c], 0x1020c948
call fcn.100c88e0
add esi, 4
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x34]
mov dword [esp + 0x18], 0xb
call fcn.100c88e0
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 0xa
call fcn.100c88e0
lea ecx, [esi + 0x2c]
mov byte [esp + 0x18], 9
call fcn.100c88e0
lea ecx, [esi + 0x28]
mov byte [esp + 0x18], 8
call fcn.100c88e0
lea ecx, [esi + 0x24]
mov byte [esp + 0x18], 7
call fcn.100c88e0
lea ecx, [esi + 0x20]
mov byte [esp + 0x18], 6
call fcn.100c88e0
lea ecx, [esi + 0xc]
mov byte [esp + 0x18], 5
call fcn.10191470
lea ecx, [esi + 8]
mov byte [esp + 0x18], 4
call fcn.100c88e0
lea ecx, [esi + 4]
mov byte [esp + 0x18], 3
call fcn.100c88e0
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.100c88e0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x10193cb0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d4108
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x10193d25
mov eax, dword [esi + 0x48]
test eax, eax
je 0x10193d25
cmp ecx, eax
ja 0x10193d25
sub eax, ecx
mov dword [ebp - 4], 0
mov edi, eax
lea eax, [edi + 1]
push eax
call fcn.1005fc04
mov edx, dword [ebp + 8]
mov ecx, edi
add esp, 4
mov dword [edx], eax
mov byte [eax + edi], 0
mov edi, dword [edx]
mov esi, dword [esi + 0x44]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x10193eb8
mov ecx, esi
call fcn.10192960
cmp eax, 3
je 0x10193e80
cmp eax, 4
je 0x10193e80
mov eax, dword [esi + 0xc]
push 1
push eax
call fcn.10195520
mov ebx, eax
add esp, 8
cmp ebx, 0xffffffff
jne 0x10193d75
push 0x10246964
call fcn.10193ee0
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10193dae
push 0x10246cb8
call fcn.10193ee0
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 3
call fcn.1005fc04
add esp, 4
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
push 0
push ecx
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp edi, dword [ebp - 0x14]
je 0x10193e18
push 0x10246988
call fcn.10193ee0
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x18]
push edx
call fcn.1005fc33
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esi + 0x2c]
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp - 0x18]
push eax
push edi
push esi
call fcn.101943b0
add esp, 0x10
test eax, eax
jne 0x10193e60
push 0x10246d88
call fcn.10193ee0
push esi
call fcn.1005fc33
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
call fcn.1005fc33
add esp, 4
jmp 0x10193eb8
mov edi, dword [esi + 0x2c]
mov ebx, dword [esi + 0x28]
lea ecx, [ebp - 0x18]
push ecx
mov ecx, esi
call fcn.10192a80
mov edx, dword [ebp + 8]
mov eax, dword [eax]
push edi
push ebx
push edx
push eax
mov dword [ebp - 4], 2
call fcn.101941c0
add esp, 0x10
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.100c88e0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x101969b0
Capabilities:
Get user security identifier

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x18]
push edi
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0xc]
xor ebx, ebx
push eax
push ecx
lea edx, [esp + 0x18]
push ebx
push edx
push ebx
push ebp
push ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [edi], ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x101969fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x101969fb
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x10]
push esi
push eax
call fcn.1005fc04
mov ecx, dword [esp + 0x14]
mov dword [edi], eax
lea edx, [ecx + ecx]
push edx
call fcn.1005fc04
mov esi, eax
mov eax, dword [edi]
add esp, 8
test eax, eax
je 0x10196a40
test esi, esi
je 0x10196a51
lea ecx, [esp + 0x20]
lea edx, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x1c]
push esi
push ecx
push eax
push ebp
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov ebx, eax
test esi, esi
je 0x10196a4d
push esi
call fcn.1005fc33
add esp, 4
test ebx, ebx
jne 0x10196a60
mov edi, dword [edi]
test edi, edi
je 0x10196a60
push edi
call fcn.1005fc33
add esp, 4
pop esi
pop edi
mov eax, ebx
pop ebp
pop ebx
add esp, 8
ret
Function at 0x1019aae0
Capabilities:
Access peb ldr_data
Enumerate pe sections

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x101d45b0
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [esp + 0x24]
push edi
mov ecx, esi
xor edi, edi
call fcn.100db3f0
cmp eax, 0x1c
jb 0x1019ac68
mov ecx, esi
call fcn.100dbaf0
mov ebx, eax
mov al, byte [ebx + 6]
cmp al, 2
ja 0x1019ac86
cmp al, 1
je 0x1019ab34
test al, al
je 0x1019ab34
xor eax, eax
mov ah, byte [ebx + 5]
jmp 0x1019ab36
xor eax, eax
xor ecx, ecx
mov cl, byte [ebx + 4]
add ecx, eax
je 0x1019aca0
push ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x34], edi
lea edi, [ebx + 0x1a]
mov al, byte [ebx + 6]
cmp al, 1
je 0x1019ab61
test al, al
je 0x1019ab61
xor eax, eax
mov ah, byte [ebx + 5]
jmp 0x1019ab63
xor eax, eax
xor edx, edx
mov dl, byte [ebx + 4]
add edx, eax
mov eax, dword [esp + 0x34]
cmp eax, edx
jge 0x1019ac50
mov eax, dword [esp + 0x38]
lea esi, [edi - 0x12]
push eax
push 1
push esi
call fcn.1019bd70
mov eax, dword [0x10200e98]
add esp, 0xc
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
xor ecx, ecx
xor edx, edx
mov cl, byte [edi - 0x10]
mov dx, word [edi]
shl ecx, 0x10
mov dword [esp + 0x24], 0
lea eax, [ecx + edx]
test eax, eax
je 0x1019abe4
lea esi, [eax + ebx]
push 0xfde9
lea ecx, [esp + 0x18]
lea eax, [esi + 8]
push eax
call fcn.100ccce0
xor ecx, ecx
push 0xfde9
mov cx, word [esi + 4]
lea edx, [ecx + esi + 9]
lea ecx, [esp + 0x1c]
push edx
call fcn.100ccce0
mov esi, dword [ebp + 4]
push 0xffffffffffffffff
mov ecx, ebp
lea eax, [esi + 1]
push eax
call fcn.1019c370
mov edx, dword [ebp]
mov eax, dword [esp + 0x10]
lea ecx, [esi + esi*2]
lea esi, [edx + ecx*4]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 4]
mov dword [esi], eax
call fcn.100c8a70
lea edx, [esp + 0x18]
lea ecx, [esi + 8]
push edx
call fcn.100c8a70
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 1
call fcn.100c88e0
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0xffffffff
call fcn.100c88e0
mov ecx, dword [esp + 0x34]
inc ecx
add edi, 0x14
mov dword [esp + 0x34], ecx
jmp 0x1019ab4f
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov eax, dword [esp + 0x30]
mov dword [eax], 1
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x30]
mov eax, edi
mov dword [ecx], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
mov eax, edi
pop edi
mov dword [edx], 1
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x1019bd70
Capabilities:
Print debug messages

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x838
test edx, edx
push ebx
je 0x1019bee4
mov ebx, dword [esp + 0x848]
test ebx, ebx
je 0x1019bee4
mov eax, dword [esp + 0x844]
push ebp
mov ebp, dword [edx + 4]
push esi
test eax, eax
push edi
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dword [esp + 0x1c], 8
mov dword [esp + 0x20], 0x20
mov dword [esp + 0x24], 0x40
mov dword [esp + 0x28], 0x80
mov dword [esp + 0x2c], 0x100
mov dword [esp + 0x30], 0x200
mov dword [esp + 0x34], 0x400
mov dword [esp + 0x38], 0x800
mov dword [esp + 0x3c], 0x1000
mov dword [esp + 0x40], 0x100000
mov dword [esp + 0x44], 0x200000
je 0x1019be5b
lea esi, [esp + 0x10]
mov edi, 7
cmp ebx, 1
jne 0x1019be3d
mov eax, dword [esi]
mov ecx, dword [edx + 4]
test ecx, eax
je 0x1019be33
not eax
and eax, ecx
mov dword [edx + 4], eax
jmp 0x1019be53
mov eax, dword [esi + 4]
or eax, ecx
mov dword [edx + 4], eax
jmp 0x1019be53
cmp ebx, 2
jne 0x1019be53
mov eax, dword [edx + 4]
mov ecx, dword [esi]
test eax, ecx
jne 0x1019be53
mov ecx, dword [esi + 4]
or ecx, eax
mov dword [edx + 4], ecx
add esi, 8
dec edi
jne 0x1019be1c
jmp 0x1019be94
lea esi, [esp + 0x14]
mov edi, 7
cmp ebx, 1
jne 0x1019be79
mov eax, dword [esi]
mov ecx, dword [edx + 4]
test ecx, eax
jne 0x1019be87
mov eax, dword [esi - 4]
or eax, ecx
jmp 0x1019be8b
cmp ebx, 2
jne 0x1019be8e
mov eax, dword [esi]
mov ecx, dword [edx + 4]
test ecx, eax
je 0x1019be8e
not eax
and eax, ecx
mov dword [edx + 4], eax
add esi, 8
dec edi
jne 0x1019be64
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x4a]
mov word [esp + 0x48], 0
rep stosd dword es:[edi], eax
mov ecx, dword [edx + 4]
mov edx, dword [esp + 0x850]
push ecx
push ebp
stosw word es:[edi], ax
push edx
lea eax, [esp + 0x54]
push str.CFilePolicyMgr::ChangeTwoState_bSet__d__dwOldPolicy_0x_x__dwPolicy_0x_x_
push eax
call fcn.10094983
add esp, 0x14
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x838
ret
xor eax, eax
pop ebx
add esp, 0x838
ret
Function at 0x101a4940
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x20c
push ebx
push esi
mov edx, ecx
push edi
xor ebx, ebx
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], bx
add edx, 4
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x21c]
lea ecx, [esp + 0x18]
push eax
push edx
push 0x1023aa70
push ecx
call fcn.10094983
add esp, 0x10
lea edx, [esp + 0xc]
lea eax, [esp + 0x18]
xor esi, esi
push edx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x101a4a1a
mov edi, dword [esp + 0x220]
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push ecx
lea edx, [esp + 0x1c]
push ebx
push edx
push ebx
push edi
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
call ebp
mov eax, dword [esp + 0x14]
cmp eax, 2
jb 0x101a4a00
add eax, 2
mov dword [esp + 0x14], eax
shr eax, 1
lea ecx, [eax + eax]
push ecx
call fcn.1005fc04
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x101a4a00
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push esi
push eax
push ebx
push edi
push ecx
call ebp
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x20c
ret 8
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x20c
ret 8

Function at 0x101a4a30
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push esi
mov edx, ecx
push edi
xor esi, esi
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x21c]
add edx, 4
push eax
push edx
lea ecx, [esp + 0x20]
push 0x1023aa70
push ecx
call fcn.10094983
add esp, 0x10
lea edx, [esp + 8]
lea eax, [esp + 0x18]
mov dword [esp + 0xc], esi
push edx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x101a4ac9
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x224]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0x10]
push eax
push esi
push ecx
push edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0xc]
pop edi
pop esi
add esp, 0x210
ret 8
Function at 0x101a4cf0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0xc]
lea eax, [esp]
push esi
push eax
xor esi, esi
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x101a4d8a
mov ecx, dword [esp + 4]
push ebx
lea edx, [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
push eax
lea eax, [esp + 0x18]
push eax
push esi
push edi
push ecx
call ebx
mov eax, dword [esp + 0x18]
cmp eax, 2
jb 0x101a4d74
add eax, 2
mov dword [esp + 0x18], eax
shr eax, 1
lea edx, [eax + eax]
push edx
call fcn.1005fc04
mov esi, eax
add esp, 4
test esi, esi
je 0x101a4d74
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push esi
push ecx
push 0
push edi
push edx
call ebx
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop ebx
pop esi
add esp, 8
ret 8
mov eax, esi
pop esi
add esp, 8
ret 8
Function at 0x101a66a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x101d4fec
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x10200e98]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 8]
mov dword [edi], eax
mov ecx, dword [0x10200e98]
lea ebp, [esi + 0x18]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [ebp], ecx
mov edx, dword [0x10200e98]
mov dword [esi + 0x20], edx
lea ecx, [esi + 0x28]
mov byte [esp + 0x1c], 2
call fcn.101ba490
mov eax, dword [esp + 0x24]
mov ecx, edi
push eax
mov byte [esp + 0x20], 3
mov dword [esi], 0x1020ca68
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], ebx
mov word [esi + 0x24], 0xffff
call fcn.100c8b60
mov eax, dword [esp + 0x28]
mov cx, word [esp + 0x30]
test eax, 0xffff0000
mov word [esi + 0x24], cx
mov dword [esi + 0x14], eax
je 0x101a6743
push eax
mov ecx, ebp
call fcn.100c8b60
mov edx, dword [ebp]
mov dword [esi + 0x14], edx
mov eax, dword [esp + 0x2c]
test eax, 0xffff0000
mov dword [esi + 0x1c], eax
je 0x101a6761
lea edi, [esi + 0x20]
push eax
mov ecx, edi
call fcn.100c8b60
mov eax, dword [edi]
mov dword [esi + 0x1c], eax
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10