joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a4250
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x601eab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
push eax
mov ecx, edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x611138
call fcn.00430540
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esi + 0xbc], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0xc0], edx
mov edx, dword [esp + 0x34]
mov dword [esi + 0xc4], ecx
mov ecx, dword [esp + 0x38]
xor eax, eax
mov dword [esi + 0xcc], edx
lea edx, [esp + 0x24]
mov dword [esi + 0xd0], ecx
push edx
mov ecx, edi
mov dword [esp + 0x18], eax
mov byte [esi + 0xc8], al
mov byte [esi + 0xd4], al
call fcn.0042b1b0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x20

Function at 0x4a5a30
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x601f08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
lea eax, [esi + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov edi, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov eax, esi
mov ebp, dword [eax]
mov dword [esp + 0x18], ebp
mov ebp, dword [eax + 4]
mov dword [esp + 0x1c], ebp
mov ebp, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x13]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], edx
mov dword [eax + 8], ebp
mov dword [esp + 0x54], 0
mov dword [eax + 0xc], ecx
call fcn.004a4b40
mov eax, dword [esi + 0x20]
add esp, 0x24
test eax, eax
je 0x4a5b18
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0xc]
add edx, 4
push edx
push eax
mov ecx, esi
call fcn.004a4fa0
mov edi, dword [esi + 0x20]
test edi, edi
je 0x4a5b18
mov esi, dword [esi + 0x24]
shl esi, 2
cmp esi, 0x80
jbe 0x4a5af0
push edi
call fcn.005e05ca
jmp 0x4a5b15
dec esi
shr esi, 3
push 0x655bd8
lea esi, [esi*4 + 0x655be0]
call fcn.00401450
mov ecx, dword [esi]
mov dword [edi], ecx
mov dword [esi], edi
mov dword [0x655bd8], 0
add esp, 4
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret
Function at 0x4b6470
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x603140
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov eax, dword [0x65480c]
mov dword [esp + 0x30], eax
push ebx
xor eax, eax
mov dword [esp + 0x29], eax
push esi
mov dword [esp + 0x31], eax
xor ebx, ebx
push edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], bl
mov byte [esp + 0x39], al
call fcn.00402680
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx]
mov esi, dword [eax]
cmp esi, eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x54], eax
je 0x4b65cd
push ebp
lea ebx, [ebx]
mov eax, esi
lea ecx, [eax + 8]
mov byte [esp + 0x34], bl
mov eax, dword [ecx]
mov esi, dword [esi]
push 0xa
lea edx, [esp + 0x38]
push edx
call dword [eax]
push eax
call fcn.005e1dcf
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.00412be0
push 0x60c800
push eax
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x70], 1
call fcn.00412be0
add esp, 0x24
lea ecx, [esp + 0x10]
cmp eax, ecx
mov byte [esp + 0x4c], 2
je 0x4b6536
mov ecx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0x58]
push edx
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.0040c800
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
sub eax, ebp
cmp ebp, ebx
je 0x4b657a
cmp eax, 0x80
jbe 0x4b6553
push ebp
call fcn.005e05ca
jmp 0x4b6577
lea edi, [eax - 1]
shr edi, 3
push 0x655bd8
lea edi, [edi*4 + 0x655be0]
call fcn.00401450
mov eax, dword [edi]
mov dword [ebp], eax
mov dword [edi], ebp
mov dword [0x655bd8], ebx
add esp, 4
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
sub eax, ebp
cmp ebp, ebx
mov byte [esp + 0x4c], bl
je 0x4b65c2
cmp eax, 0x80
jbe 0x4b659b
push ebp
call fcn.005e05ca
jmp 0x4b65bf
lea edi, [eax - 1]
shr edi, 3
push 0x655bd8
lea edi, [edi*4 + 0x655be0]
call fcn.00401450
mov ecx, dword [edi]
mov dword [ebp], ecx
mov dword [edi], ebp
mov dword [0x655bd8], ebx
add esp, 4
cmp esi, dword [esp + 0x58]
jne 0x4b64d0
pop ebp
push 0x60c800
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00412be0
add esp, 0xc
mov ecx, dword [esp + 0x50]
cmp eax, ecx
mov byte [esp + 0x48], 3
je 0x4b6602
lea edx, [esp + 0x54]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
call fcn.0040c800
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
sub eax, edi
cmp edi, ebx
je 0x4b6645
cmp eax, 0x80
jbe 0x4b661f
push edi
call fcn.005e05ca
jmp 0x4b6642
lea esi, [eax - 1]
shr esi, 3
push 0x655bd8
lea esi, [esi*4 + 0x655be0]
call fcn.00401450
mov ecx, dword [esi]
mov dword [edi], ecx
mov dword [esi], edi
mov dword [0x655bd8], ebx
add esp, 4
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
sub eax, edi
cmp edi, ebx
je 0x4b6688
cmp eax, 0x80
jbe 0x4b6662
push edi
call fcn.005e05ca
jmp 0x4b6685
lea esi, [eax - 1]
shr esi, 3
push 0x655bd8
lea esi, [esi*4 + 0x655be0]
call fcn.00401450
mov edx, dword [esi]
mov dword [edi], edx
mov dword [esi], edi
mov dword [0x655bd8], ebx
add esp, 4
mov ecx, dword [esp + 0x40]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x34]
pop ebx
call fcn.005e149c
add esp, 0x40
ret
Function at 0x4bba10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x603740
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov eax, dword [0x65480c]
mov dword [esp + 0x30], eax
push ebx
xor eax, eax
mov dword [esp + 0x29], eax
push esi
mov dword [esp + 0x31], eax
xor ebx, ebx
push edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], bl
mov byte [esp + 0x39], al
call fcn.00402680
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx]
mov esi, dword [eax]
cmp esi, eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x54], eax
je 0x4bbb6d
push ebp
lea ebx, [ebx]
mov eax, esi
lea ecx, [eax + 8]
mov byte [esp + 0x34], bl
mov eax, dword [ecx]
mov esi, dword [esi]
push 0xa
lea edx, [esp + 0x38]
push edx
call dword [eax]
push eax
call fcn.005e1dcf
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.00412be0
push 0x60c800
push eax
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x70], 1
call fcn.00412be0
add esp, 0x24
lea ecx, [esp + 0x10]
cmp eax, ecx
mov byte [esp + 0x4c], 2
je 0x4bbad6
mov ecx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0x58]
push edx
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.0040c800
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
sub eax, ebp
cmp ebp, ebx
je 0x4bbb1a
cmp eax, 0x80
jbe 0x4bbaf3
push ebp
call fcn.005e05ca
jmp 0x4bbb17
lea edi, [eax - 1]
shr edi, 3
push 0x655bd8
lea edi, [edi*4 + 0x655be0]
call fcn.00401450
mov eax, dword [edi]
mov dword [ebp], eax
mov dword [edi], ebp
mov dword [0x655bd8], ebx
add esp, 4
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
sub eax, ebp
cmp ebp, ebx
mov byte [esp + 0x4c], bl
je 0x4bbb62
cmp eax, 0x80
jbe 0x4bbb3b
push ebp
call fcn.005e05ca
jmp 0x4bbb5f
lea edi, [eax - 1]
shr edi, 3
push 0x655bd8
lea edi, [edi*4 + 0x655be0]
call fcn.00401450
mov ecx, dword [edi]
mov dword [ebp], ecx
mov dword [edi], ebp
mov dword [0x655bd8], ebx
add esp, 4
cmp esi, dword [esp + 0x58]
jne 0x4bba70
pop ebp
push 0x60c800
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00412be0
add esp, 0xc
mov ecx, dword [esp + 0x50]
cmp eax, ecx
mov byte [esp + 0x48], 3
je 0x4bbba2
lea edx, [esp + 0x54]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
call fcn.0040c800
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
sub eax, edi
cmp edi, ebx
je 0x4bbbe5
cmp eax, 0x80
jbe 0x4bbbbf
push edi
call fcn.005e05ca
jmp 0x4bbbe2
lea esi, [eax - 1]
shr esi, 3
push 0x655bd8
lea esi, [esi*4 + 0x655be0]
call fcn.00401450
mov ecx, dword [esi]
mov dword [edi], ecx
mov dword [esi], edi
mov dword [0x655bd8], ebx
add esp, 4
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
sub eax, edi
cmp edi, ebx
je 0x4bbc28
cmp eax, 0x80
jbe 0x4bbc02
push edi
call fcn.005e05ca
jmp 0x4bbc25
lea esi, [eax - 1]
shr esi, 3
push 0x655bd8
lea esi, [esi*4 + 0x655be0]
call fcn.00401450
mov edx, dword [esi]
mov dword [edi], edx
mov dword [esi], edi
mov dword [0x655bd8], ebx
add esp, 4
mov ecx, dword [esp + 0x40]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x34]
pop ebx
call fcn.005e149c
add esp, 0x40
ret
Function at 0x4bd1a0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x6038d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [0x656378]
lea ecx, [esp + 0x10]
call fcn.00402680
lea eax, [esp + 0x38]
push eax
xor ebx, ebx
push str.record
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], ebx
call fcn.00402f20
lea ecx, [esi + 0x30]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esi + 0x24]
push ecx
lea edx, [esi + 0x14]
push edx
lea eax, [esi + 0x1c]
push eax
lea ecx, [esi + 0x18]
push ecx
lea edx, [esi + 0x20]
push edx
mov edx, dword [esp + 0x58]
lea eax, [esi + 0x10]
push eax
lea ecx, [esp + 0x34]
push ecx
push edx
lea eax, [esp + 0x48]
push eax
mov ecx, edi
mov byte [esp + 0x60], 1
call fcn.004bc110
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
sub eax, ecx
cmp ecx, ebx
mov byte [esp + 0x30], bl
mov edi, ecx
je 0x4bd276
cmp eax, 0x80
jbe 0x4bd24c
push ecx
call fcn.005e05ca
add esp, 4
jmp 0x4bd276
push ebp
lea ebp, [eax - 1]
shr ebp, 3
push 0x655bd8
lea ebp, [ebp*4 + 0x655be0]
call fcn.00401450
mov ecx, dword [ebp]
mov dword [edi], ecx
add esp, 4
mov dword [ebp], edi
mov dword [0x655bd8], ebx
pop ebp
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov dword [esi + 0x28], edx
push ecx
lea edx, [esp + 0x20]
push edx
mov dword [esi + 0x2c], eax
call fcn.0041b290
add esp, 8
lea ecx, [esi + 4]
cmp eax, ecx
mov byte [esp + 0x30], 2
je 0x4bd2b3
lea edx, [esp + 0x38]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
call fcn.0040c800
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
sub eax, edi
cmp edi, ebx
je 0x4bd2f6
cmp eax, 0x80
jbe 0x4bd2d0
push edi
call fcn.005e05ca
jmp 0x4bd2f3
lea esi, [eax - 1]
shr esi, 3
push 0x655bd8
lea esi, [esi*4 + 0x655be0]
call fcn.00401450
mov ecx, dword [esi]
mov dword [edi], ecx
mov dword [esi], edi
mov dword [0x655bd8], ebx
add esp, 4
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
sub eax, edi
cmp edi, ebx
je 0x4bd339
cmp eax, 0x80
jbe 0x4bd313
push edi
call fcn.005e05ca
jmp 0x4bd336
lea esi, [eax - 1]
shr esi, 3
push 0x655bd8
lea esi, [esi*4 + 0x655be0]
call fcn.00401450
mov edx, dword [esi]
mov dword [edi], edx
mov dword [esi], edi
mov dword [0x655bd8], ebx
add esp, 4
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x4bd7b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x603969
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x70], ebx
call fcn.00491b20
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
sub edi, ecx
sar edi, 2
add esp, 8
cmp edi, ebx
mov dword [esp + 0x10], edi
jbe 0x4bd946
lea edx, [esp + 0x30]
push ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x18], edx
jmp 0x4bd820
mov dword [esp + 0x30], 0x6117c8
push 8
mov byte [esp + 0x70], 1
call fcn.00401cc0
lea ecx, [eax + 8]
add esp, 4
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov byte [eax], 0
mov edx, dword [esp + 0x24]
mov eax, dword [edx + ebx*4]
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x70], 2
call fcn.004bd1a0
mov esi, dword [ebp + 4]
cmp esi, dword [ebp + 8]
je 0x4bd8d0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
test esi, esi
mov byte [esp + 0x6c], 3
je 0x4bd8ca
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esi + 4]
mov dword [esi], 0x6117c8
call fcn.00404e60
mov edx, dword [esp + 0x40]
mov al, byte [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov dword [esi + 0x10], edx
mov edx, dword [esp + 0x4c]
mov byte [esi + 0x14], al
mov eax, dword [esp + 0x50]
mov dword [esi + 0x18], ecx
mov cl, byte [esp + 0x54]
mov dword [esi + 0x1c], edx
mov edx, dword [esp + 0x58]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x5c]
mov byte [esi + 0x24], cl
mov cl, byte [esp + 0x60]
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], cl
add dword [ebp + 4], 0x34
jmp 0x4bd8e6
push 1
push 1
lea edx, [esp + 0x1b]
push edx
lea eax, [esp + 0x3c]
push eax
push esi
mov ecx, ebp
call fcn.004bbd50
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
sub eax, esi
test esi, esi
mov byte [esp + 0x6c], 0
je 0x4bd936
cmp eax, 0x80
jbe 0x4bd908
push esi
call fcn.005e05ca
jmp 0x4bd933
lea edi, [eax - 1]
shr edi, 3
push 0x655bd8
lea edi, [edi*4 + 0x655be0]
call fcn.00401450
mov ecx, dword [edi]
mov dword [esi], ecx
mov dword [edi], esi
mov edi, dword [esp + 0x18]
mov dword [0x655bd8], 0
add esp, 4
inc ebx
cmp ebx, edi
jb 0x4bd820
mov ecx, dword [esp + 0x24]
xor ebx, ebx
pop ebp
cmp ecx, ebx
je 0x4bd9a4
mov eax, dword [esp + 0x28]
sub eax, ecx
sar eax, 2
shl eax, 2
cmp eax, 0x80
mov edi, ecx
jbe 0x4bd97a
push ecx
call fcn.005e05ca
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret
lea esi, [eax - 1]
shr esi, 3
push 0x655bd8
lea esi, [esi*4 + 0x655be0]
call fcn.00401450
mov edx, dword [esi]
mov dword [edi], edx
mov dword [esi], edi
mov dword [0x655bd8], 0
add esp, 4
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret
Function at 0x4c1ab0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x603d67
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0xa
lea ecx, [esi + 4]
mov dword [esp + 8], esi
mov dword [esi], 0x611850
call fcn.004bd6d0
push 0x64
lea ecx, [esi + 0x10]
mov dword [esp + 0x14], 0
call fcn.004bd6d0
push 0x64
lea ecx, [esi + 0x1c]
mov byte [esp + 0x14], 1
call fcn.004bd6d0
push 0x3c
mov byte [esp + 0x14], 2
mov dword [esi + 0x28], 0
call fcn.00401cc0
mov dword [eax], eax
mov dword [eax + 4], eax
add esp, 4
mov dword [esi + 0x28], eax
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 3
mov dword [esi + 0x2c], 0xffffffff
call fcn.00513f60
mov ecx, esi
mov byte [esp + 0x10], 4
call fcn.004bfdc0
push 0
mov ecx, esi
call fcn.004be940
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4c52f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6040c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov eax, dword [0x65480c]
mov dword [esp + 0x54], eax
mov eax, 0x64f960
push ebx
xor ebx, ebx
mov edx, 7
mov ecx, 0x64fbc8
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edx
mov byte [esp + 0x54], bl
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 0x64fff0
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0x650040
mov dword [esp + 0x44], ecx
mov dword [esp + 0x14], edx
mov cx, word [esp + 0x70]
mov eax, dword [esp + 0x70]
mov word [esp + 8], cx
mov edx, dword [esp + 8]
push edx
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x18], 0x4c3f30
call fcn.004c5260
mov ecx, dword [esp + 0x6c]
lea eax, [esp + 0xc]
push eax
push ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x14], 0x4c4e20
call fcn.004200c0
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [esp + 0x64], 0xffffffff
pop ebx
je 0x4c53c4
mov edx, dword [esp + 0x18]
push 1
push edx
call eax
add esp, 8
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x54]
call fcn.005e149c
add esp, 0x64
ret

Function at 0x4cb510
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6047f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
push 0x20
mov dword [esp + 0x14], esi
mov dword [esi], ebx
call fcn.00401cc0
mov dword [esi], eax
mov dword [esi + 4], ebx
mov byte [eax], bl
mov eax, dword [esi]
mov dword [eax + 4], ebx
mov eax, dword [esi]
mov dword [eax + 8], eax
mov eax, dword [esi]
add esp, 4
mov dword [eax + 0xc], eax
lea ecx, [esp + 0xf]
push ecx
push str.properties_strings.xml
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], ebx
call fcn.00402f20
lea edx, [esp + 0x14]
push edx
mov ecx, esi
mov byte [esp + 0x2c], 1
call fcn.004cb470
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
sub eax, ecx
cmp ecx, ebx
mov edi, ecx
je 0x4cb5db
cmp eax, 0x80
jbe 0x4cb5b1
push ecx
call fcn.005e05ca
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
push ebp
lea ebp, [eax - 1]
shr ebp, 3
push 0x655bd8
lea ebp, [ebp*4 + 0x655be0]
call fcn.00401450
mov eax, dword [ebp]
mov dword [edi], eax
add esp, 4
mov dword [ebp], edi
mov dword [0x655bd8], ebx
pop ebp
mov ecx, dword [esp + 0x20]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x4cb750
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x604850
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov ecx, dword [esp + 0x30]
push ebx
push esi
push edi
lea eax, [esp + 0x38]
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.00402f20
lea edx, [esp + 0xc]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], ebx
call fcn.00404e60
lea eax, [esp + 0x18]
push eax
mov ecx, eax
mov byte [esp + 0x34], 1
call fcn.004cb5f0
mov eax, dword [esp + 0x38]
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
sub ecx, esi
sub eax, edx
cmp ecx, eax
jne 0x4cb7c9
mov edi, edx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
mov byte [esp + 0x38], 1
je 0x4cb7cd
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x20]
sub eax, edx
cmp edx, ebx
mov edi, edx
je 0x4cb80e
cmp eax, 0x80
jbe 0x4cb7e8
push edx
call fcn.005e05ca
jmp 0x4cb80b
lea esi, [eax - 1]
shr esi, 3
push 0x655bd8
lea esi, [esi*4 + 0x655be0]
call fcn.00401450
mov ecx, dword [esi]
mov dword [edi], ecx
mov dword [esi], edi
mov dword [0x655bd8], ebx
add esp, 4
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
sub eax, edi
cmp edi, ebx
je 0x4cb851
cmp eax, 0x80
jbe 0x4cb82b
push edi
call fcn.005e05ca
jmp 0x4cb84e
lea esi, [eax - 1]
shr esi, 3
push 0x655bd8
lea esi, [esi*4 + 0x655be0]
call fcn.00401450
mov edx, dword [esi]
mov dword [edi], edx
mov dword [esi], edi
mov dword [0x655bd8], ebx
add esp, 4
mov ecx, dword [esp + 0x28]
mov al, byte [esp + 0x38]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x4e9db0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4e9e64
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea ecx, [ebp - 4]
push ecx
push 4
push 0
push str.Version
push eax
mov dword [ebp - 4], 2
call edi
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x58]
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.MinVidMemory
push ecx
mov dword [ebp - 8], edx
call edi
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x5c]
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push str.RecVidMemory
push ecx
mov dword [ebp - 0xc], edx
call edi
mov eax, dword [esi + 0x1c]
push 0x10
lea edx, [esi + 0x20]
push edx
push 3
push 0
push str.DisplayGUID
push eax
call edi
mov edx, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x1c]
sub ecx, edx
inc ecx
push ecx
push edx
push 1
push 0
push str.FailureReason
push eax
call edi
mov edx, dword [esi + 0x4c]
mov ecx, dword [esi + 0x50]
mov eax, dword [esi + 0x1c]
sub ecx, edx
inc ecx
push ecx
push edx
push 1
push 0
push str.Warning
push eax
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4f0e20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x605806
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
lea ecx, [esi + 0x30]
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.Sexy::D3DTester.0
call fcn.004d75e0
xor ebx, ebx
lea ecx, [esi + 0x40]
mov dword [ebp - 4], ebx
call fcn.00402680
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 1
call fcn.00402680
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
xor eax, eax
lea ecx, [esi + 0x20]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], ebx
mov byte [esi + 0x62], bl
mov byte [esi + 0x60], 1
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4f6540
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1028
call fcn.005e2440
mov eax, dword [0x65480c]
push ebx
mov ebx, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x1c]
test eax, eax
mov byte [ebx + 0x62], 1
jne 0x4f6572
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
call fcn.005e149c
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
lea ecx, [ebp - 0x1018]
push ecx
lea edx, [ebp - 0x1024]
push edx
lea ecx, [ebp - 0x101c]
push ecx
push 0
push str.Version
mov edi, 4
push eax
mov dword [ebp - 0x1024], 0
mov dword [ebp - 0x1018], edi
mov dword [ebp - 0x101c], edi
call esi
test eax, eax
jne 0x4f6747
cmp dword [ebp - 0x1024], 2
jne 0x4f6747
lea edx, [ebp - 0x1018]
push edx
mov edx, dword [ebx + 0x1c]
lea eax, [ebp - 0x1020]
push eax
lea ecx, [ebp - 0x101c]
push ecx
push 0
push str.MinVidMemory
push edx
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x1018], edi
mov dword [ebp - 0x101c], edi
call esi
test eax, eax
jne 0x4f6747
mov eax, dword [ebp - 0x1020]
cmp eax, dword [ebx + 0x58]
jne 0x4f6747
lea ecx, [ebp - 0x1018]
push ecx
mov ecx, dword [ebx + 0x1c]
lea edx, [ebp - 0x1028]
push edx
lea eax, [ebp - 0x101c]
push eax
push 0
push str.RecVidMemory
push ecx
mov dword [ebp - 0x1028], 0
mov dword [ebp - 0x1018], edi
mov dword [ebp - 0x101c], edi
call esi
test eax, eax
jne 0x4f6747
mov edx, dword [ebp - 0x1028]
cmp edx, dword [ebx + 0x5c]
jne 0x4f6747
lea eax, [ebp - 0x1018]
push eax
mov eax, dword [ebx + 0x1c]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x101c]
push edx
push 0
push str.DisplayGUID
push eax
mov dword [ebp - 0x1018], 0x10
mov dword [ebp - 0x101c], 3
call esi
test eax, eax
jne 0x4f6747
cmp dword [ebp - 0x1018], 0x10
jne 0x4f6747
mov ecx, edi
lea edi, [ebx + 0x20]
lea esi, [ebp - 0x14]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x4f6747
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x1018]
push eax
mov eax, dword [ebx + 0x1c]
lea ecx, [ebp - 0x1014]
push ecx
lea edx, [ebp - 0x101c]
push edx
push 0
push str.FailureReason
mov edi, 1
push eax
mov dword [ebp - 0x101c], edi
mov dword [ebp - 0x1018], 0x1000
call esi
test eax, eax
jne 0x4f6747
lea ecx, [ebp - 0x1014]
push ecx
lea ecx, [ebx + 0x40]
call fcn.00418800
lea edx, [ebp - 0x1018]
push edx
mov edx, dword [ebx + 0x1c]
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x101c]
push ecx
push 0
push str.Warning
push edx
mov dword [ebp - 0x101c], edi
mov dword [ebp - 0x1018], 0x1000
call esi
test eax, eax
je 0x4f6758
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
call fcn.005e149c
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebx + 0x4c]
call fcn.00418800
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov byte [ebx + 0x62], 0
mov al, 1
pop ebx
call fcn.005e149c
mov esp, ebp
pop ebp
ret