joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b5c0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4ae259
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4dd704]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 4], 1
mov byte [esi + 8], bl
mov eax, dword [esp + 0x2c]
lea ecx, [esi + 0xc]
mov dword [esi], vtable.CImgVmdkSparseIo.0
push eax
mov byte [esp + 0x20], 2
mov dword [ecx], ebx
call fcn.00404b10
mov ecx, dword [esp + 0x30]
lea edi, [esi + 0x18]
push ecx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov ecx, edi
mov byte [esp + 0x20], 3
mov dword [edi], ebx
call fcn.00404b10
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], 0xffffffff
mov dword [esi + 0x5c], ebx
mov ecx, dword [edi]
mov byte [esp + 0x1c], 5
cmp ecx, ebx
je 0x43b684
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edx
mov edx, dword [esp + 0x2c]
mov byte [esp + 0x1c], bl
cmp edx, ebx
je 0x43b6bb
lea ecx, [edx + 4]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x34]
mov eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
cmp eax, ebx
jg 0x43b6b7
cmp edx, ebx
je 0x43b6b7
mov eax, dword [edx]
mov ecx, edx
mov edx, dword [eax]
push 1
call edx
mov dword [esp + 0x2c], ebx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x1c], 0xffffffff
cmp edx, ebx
je 0x43b6f2
lea eax, [edx + 4]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x34]
mov eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
cmp eax, ebx
jg 0x43b6f2
cmp edx, ebx
je 0x43b6f2
mov eax, dword [edx]
mov ecx, edx
mov edx, dword [eax]
push 1
call edx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x18

Function at 0x43bcc0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
push 8
mov dword [edi], 0
call fcn.0049c196
add esp, 4
test eax, eax
je 0x43bcea
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [eax + 4], edx
jmp 0x43bcec
xor eax, eax
push edi
push 0
push eax
mov eax, dword [esp + 0x20]
push 0x43bc90
push eax
push 0
call fcn.0049e28c
add esp, 0x18
mov dword [esi], eax
pop edi
mov eax, esi
pop esi
ret 0xc
Function at 0x43d1b0
Capabilities:
Hash data using sha256

Disassembly:
mov eax, ecx
mov dword [eax + 0x20], 0x100
xor ecx, ecx
mov byte [eax + 0x24], cl
mov dword [eax + 0x68], ecx
mov dword [eax + 0x70], ecx
mov dword [eax + 0x74], ecx
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
ret
Function at 0x43ff30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x40
push esi
mov esi, dword [esp + 0x48]
test esi, esi
jne 0x43ff43
xor al, al
pop esi
add esp, 0x40
ret
mov edx, dword [esi]
test edx, edx
je 0x43ff3c
push ebx
push ebp
xor ebx, ebx
push edi
test edx, edx
jbe 0x43ffb0
mov ebp, dword [esi + 4]
lea eax, [ebp + 3]
shl eax, 4
mov dword [esp + 0x14], eax
lea eax, [esi + 0x4a]
mov dword [esp + 0x54], eax
mov dword [esp + 0x10], edx
lea ebx, [ebx]
test ebp, ebp
jbe 0x43ff8f
mov edi, ebp
cmp word [eax - 2], 1
jne 0x43ff87
movzx ecx, word [eax]
inc ecx
cmp ebx, ecx
ja 0x43ff87
mov ebx, ecx
add eax, 0x10
sub edi, 1
jne 0x43ff76
mov eax, dword [esp + 0x54]
add eax, dword [esp + 0x14]
sub dword [esp + 0x10], 1
mov dword [esp + 0x54], eax
jne 0x43ff70
cmp dword [esp + 0x58], ebx
jb 0x4400d7
lea esp, [esp]
mov ebp, 1
mov dword [esp + 0x54], 0
cmp edx, ebp
jbe 0x440099
mov ecx, dword [esi + 4]
add ecx, 3
lea eax, [ebp - 1]
imul eax, ecx
imul ecx, ebp
shl ecx, 4
mov edx, dword [ecx + esi + 0x3c]
shl eax, 4
cmp edx, dword [eax + esi + 0x3c]
ja 0x440083
jb 0x43fff8
mov ecx, dword [ecx + esi + 0x38]
cmp ecx, dword [eax + esi + 0x38]
jae 0x440083
mov edi, dword [esi + 4]
add edi, 3
shl edi, 4
test edi, edi
je 0x4400d7
push edi
call fcn.0049badd
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4400d7
mov edx, dword [esi + 4]
add edx, 3
imul edx, ebp
shl edx, 4
push edi
lea eax, [edx + esi + 0x18]
push eax
push ebx
call fcn.0049c200
mov eax, dword [esi + 4]
add eax, 3
mov edx, eax
imul eax, ebp
lea ecx, [ebp - 1]
imul edx, ecx
shl edx, 4
lea ecx, [edx + esi + 0x18]
push edi
shl eax, 4
push ecx
lea edx, [eax + esi + 0x18]
push edx
call fcn.0049c200
mov ecx, dword [esi + 4]
add ecx, 3
lea eax, [ebp - 1]
imul ecx, eax
push edi
shl ecx, 4
lea edx, [ecx + esi + 0x18]
push ebx
push edx
call fcn.0049c200
inc dword [esp + 0x78]
push ebx
call fcn.0049ba00
add esp, 0x28
mov edx, dword [esi]
inc ebp
cmp ebp, edx
jb 0x43ffc5
cmp dword [esp + 0x54], 0
ja 0x43ffb0
xor ebx, ebx
cmp dword [esi], ebx
jbe 0x44014b
mov eax, dword [esi + 4]
lea ecx, [eax + 3]
imul ecx, ebx
shl ecx, 4
lea edi, [ecx + esi + 0x18]
mov ecx, dword [edi]
cmp ecx, 1
je 0x440142
cmp ecx, 2
je 0x4400e1
cmp ecx, 0x10
je 0x440142
cmp ecx, 0x20
je 0x440142
cmp ecx, 0x21
je 0x440142
cmp ecx, 0x22
je 0x440142
pop edi
pop ebp
pop ebx
xor al, al
pop esi
add esp, 0x40
ret
mov ecx, dword [edi + 0xc]
cmp ecx, 1
jb 0x4400d7
cmp ecx, eax
ja 0x4400d7
xor edx, edx
div ecx
xor ecx, ecx
cmp edx, ecx
jne 0x4400d7
cmp eax, 1
jbe 0x440101
cmp dword [edi + 0x10], ecx
jbe 0x4400d7
mov eax, dword [edi + 8]
mov edx, dword [edi + 4]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], edx
call fcn.00475360
add esp, 8
test al, al
je 0x4400d7
cmp dword [esp + 0x18], 1
mov eax, 1
je 0x44013d
mov eax, dword [esp + 0x30]
cmp dword [esi + 4], eax
jb 0x4400d7
inc ebx
cmp ebx, dword [esi]
jb 0x4400a3
pop edi
pop ebp
pop ebx
mov al, 1
pop esi
add esp, 0x40
ret
Function at 0x441f60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4aea1e
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4dd704]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x2c]
xor ebx, ebx
lea edi, [esi + 0xc]
mov dword [esi], vtable.CRMPCreatorBase.0
mov byte [esi + 4], bl
mov dword [esi + 8], eax
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov byte [edi + 0xc], bl
mov dword [esi + 0x1c], ebx
mov dword [esp + 0x24], 1
mov dword [esi + 0x20], ebx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x24], ebx
mov byte [esp + 0x24], 2
mov dword [esi + 0x28], ebx
cmp ecx, ebx
jne 0x441fd4
mov ecx, eax
cmp eax, ebx
je 0x442004
mov eax, dword [ecx]
mov eax, dword [eax]
push 0x10010
push ebx
lea edx, [esp + 0x38]
push edx
call eax
mov ecx, dword [esi + 0x20]
mov ebp, dword [eax]
mov dword [esi + 0x20], ebx
cmp ecx, ebx
je 0x442001
mov edx, dword [ecx]
mov edx, dword [edx + 8]
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x30], ecx
call edx
mov dword [esi + 0x20], ebp
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x44203b
cmp dword [esi + 0x20], ebx
je 0x44203b
push eax
mov ecx, edi
call fcn.0043fd90
mov ecx, dword [esi + 8]
lea eax, [esp + 0x2c]
push eax
push 0x4354524c
push 3
push ecx
mov dword [esp + 0x3c], ebx
call fcn.00404200
add esp, 0x10
mov dword [esi + 0x1c], eax
mov byte [esi + 4], 1
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
Function at 0x449560
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push ebp
push esi
push edi
mov esi, ecx
push 0x8000
mov dword [esi], vtable.CADllApi.0
mov byte [esi + 4], 0
call ebx
push str.ntdll.dll
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push ebp
mov edi, eax
call ebx
mov dword [esi + 8], edi
mov dword [esi], vtable.CWNTNativeApi.0
test edi, edi
je 0x449743
push str.RtlNtStatusToDosError
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call edi
mov dword [esi + 0xc], eax
test eax, eax
je 0x449743
mov eax, dword [esi + 8]
push str.RtlInitUnicodeString
push eax
call edi
mov dword [esi + 0x10], eax
test eax, eax
je 0x449743
mov ecx, dword [esi + 8]
push str.NtOpenFile
push ecx
call edi
mov dword [esi + 0x14], eax
test eax, eax
je 0x449743
mov edx, dword [esi + 8]
push str.NtCreateFile
push edx
call edi
mov dword [esi + 0x18], eax
test eax, eax
je 0x449743
mov eax, dword [esi + 8]
push str.NtClose
push eax
call edi
mov dword [esi + 0x1c], eax
test eax, eax
je 0x449743
mov ecx, dword [esi + 8]
push str.NtDeleteFile
push ecx
call edi
mov dword [esi + 0x20], eax
test eax, eax
je 0x449743
mov edx, dword [esi + 8]
push str.NtOpenSymbolicLinkObject
push edx
call edi
mov dword [esi + 0x24], eax
test eax, eax
je 0x449743
mov eax, dword [esi + 8]
push str.NtCreateSymbolicLinkObject
push eax
call edi
mov dword [esi + 0x28], eax
test eax, eax
je 0x449743
mov ecx, dword [esi + 8]
push str.NtQuerySymbolicLinkObject
push ecx
call edi
mov dword [esi + 0x2c], eax
test eax, eax
je 0x449743
mov edx, dword [esi + 8]
push str.NtMakeTemporaryObject
push edx
call edi
mov dword [esi + 0x30], eax
test eax, eax
je 0x449743
mov eax, dword [esi + 8]
push str.ZwQuerySystemInformation
push eax
call edi
mov dword [esi + 0x40], eax
test eax, eax
je 0x449743
mov ecx, dword [esi + 8]
push str.ZwQueryObject
push ecx
call edi
mov dword [esi + 0x44], eax
test eax, eax
je 0x449743
mov edx, dword [esi + 8]
push str.NtOpenDirectoryObject
push edx
call edi
mov dword [esi + 0x48], eax
test eax, eax
je 0x449743
mov eax, dword [esi + 8]
push str.NtQueryDirectoryObject
push eax
call edi
mov dword [esi + 0x4c], eax
test eax, eax
je 0x449743
mov ecx, dword [esi + 8]
push str.NtQueryInformationFile
push ecx
call edi
mov dword [esi + 0x50], eax
test eax, eax
je 0x449743
mov edx, dword [esi + 8]
push str.NtQueryDirectoryFile
push edx
call edi
mov dword [esi + 0x54], eax
test eax, eax
je 0x449743
mov eax, dword [esi + 8]
push str.NtQueryInformationProcess
push eax
call edi
mov dword [esi + 0x58], eax
test eax, eax
je 0x449743
mov ecx, dword [esi + 8]
push str.NtOpenSection
push ecx
call edi
mov dword [esi + 0x34], eax
test eax, eax
je 0x449743
mov edx, dword [esi + 8]
push str.NtMapViewOfSection
push edx
call edi
mov dword [esi + 0x38], eax
test eax, eax
je 0x449743
mov eax, dword [esi + 8]
push str.NtUnmapViewOfSection
push eax
call edi
mov dword [esi + 0x3c], eax
test eax, eax
je 0x449743
mov byte [esi + 4], 1
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x449980
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4af228
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4dd704]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor eax, eax
mov byte [esi + 4], al
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
lea ecx, [eax + 8]
push ecx
push eax
lea ecx, [esi + 0x14]
mov dword [esi], vtable.CFrameDecoderGost.0
call fcn.0047d990
mov edi, dword [esp + 0x24]
mov edx, dword [edi]
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x2c]
cmp dword [edx], 4
jb 0x449a0f
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov bx, word [ecx]
mov word [esi + 0x10], bx
mov cx, word [ecx + 2]
mov word [esi + 0x12], cx
add dword [eax], 4
add dword [edx], 0xfffffffc
movzx ecx, word [esi + 0x12]
mov eax, dword [edi]
cmp ecx, eax
ja 0x449a0f
sub eax, ecx
mov dword [edi], eax
mov byte [esi + 4], 1
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x10
Function at 0x44e630
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b1199
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
mov eax, dword [0x4dd704]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
push esi
push ecx
mov dword [esp + 0x30], esp
mov ebp, esp
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
mov dword [ecx], 0
mov edx, dword [esp + 0x3c]
push edx
mov dword [esp + 0x2c], 1
call fcn.00404b10
mov eax, dword [esp + 0x34]
push esi
push eax
push ebp
call fcn.0044e520
lea ecx, [esp + 0x44]
add esp, 0x14
push ecx
call fcn.0044dee0
add esp, 0xc
mov esi, dword [esp + 0x20]
mov dword [esi], 0
mov eax, dword [eax]
push eax
mov ecx, esi
mov byte [esp + 0x1c], 2
call fcn.00404b10
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], 1
mov byte [esp + 0x18], 1
test eax, eax
je 0x44e706
mov edx, eax
add eax, 4
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x30]
mov eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x44e6fe
test edx, edx
je 0x44e6fe
mov eax, dword [edx]
mov ecx, edx
mov edx, dword [eax]
push 1
call edx
mov dword [esp + 0x28], 0
mov edx, dword [esp + 0x2c]
mov byte [esp + 0x18], 0
test edx, edx
je 0x44e73a
lea eax, [edx + 4]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x30]
mov eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x44e73a
test edx, edx
je 0x44e73a
mov eax, dword [edx]
mov ecx, edx
mov edx, dword [eax]
push 1
call edx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x450160
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4af748
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4dd704]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x18]
add ecx, 0x68
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], ecx
call fcn.00404540
mov edi, dword [esi + 0x18]
lea eax, [esi + 4]
xor ebx, ebx
push eax
lea ecx, [edi + 0x18]
mov dword [esp + 0x30], ebx
call fcn.0044fe20
mov ebp, eax
cmp ebp, ebx
je 0x4501c1
mov eax, dword [edi + 0xc]
cmp dword [ebp], eax
jb 0x4501c1
xor ebp, ebp
mov edi, dword [edi + 0xc]
cmp dword [esi + 0x1c], edi
jae 0x45029e
lea ecx, [ecx]
cmp ebp, ebx
je 0x4501d9
mov ecx, dword [ebp]
jmp 0x4501e2
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0xc]
lea ecx, [eax - 1]
mov eax, dword [esi + 0x1c]
cmp eax, ebx
jne 0x4501ed
mov eax, ecx
jmp 0x4501f2
cmp eax, ecx
ja 0x4501f2
dec eax
or edi, 0xffffffff
cmp dword [esi + 8], edi
jne 0x450233
lea edx, [eax + eax*2]
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 8]
shl edx, 4
add eax, edx
add eax, 4
push eax
mov ecx, esi
call fcn.0044f680
test al, al
jne 0x45021c
inc dword [esi + 0x1c]
jmp 0x45028f
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 8]
add eax, edx
lea ecx, [esi + 0x20]
cmp ecx, eax
je 0x450233
mov eax, dword [eax]
push eax
call fcn.00404b10
mov ecx, esi
call fcn.0044fb50
test al, al
jne 0x4502e6
inc dword [esi + 0x1c]
mov dword [esi + 8], edi
mov dword [esp + 0x18], ebx
lea edi, [esi + 0x20]
lea edx, [esp + 0x18]
mov byte [esp + 0x2c], 1
cmp edi, edx
je 0x45028b
mov edx, dword [edi]
cmp edx, ebx
je 0x45028b
lea eax, [edx + 4]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
cmp eax, ebx
jg 0x450289
cmp edx, ebx
je 0x450289
mov eax, dword [edx]
mov ecx, edx
mov edx, dword [eax]
push 1
call edx
mov dword [edi], ebx
mov byte [esp + 0x2c], bl
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 0xc]
cmp dword [esi + 0x1c], eax
jb 0x4501d0
or edi, 0xffffffff
mov dword [esi + 0x1c], edi
mov dword [esp + 0x1c], ebx
lea ecx, [esi + 0x20]
lea edx, [esp + 0x1c]
mov byte [esp + 0x2c], 2
cmp ecx, edx
je 0x4502be
push ebx
call fcn.00404b10
mov eax, dword [esp + 0x14]
push ebx
push eax
mov dword [esp + 0x34], edi
call fcn.00404520
add esp, 8
xor al, al
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov ecx, dword [esp + 0x14]
push ebx
push ecx
mov dword [esp + 0x34], edi
call fcn.00404520
add esp, 8
mov al, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x451160
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4af818
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4dd704]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx]
mov eax, dword [esp + 0x2c]
mov dword [edx + 0x18], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 0x28], eax
mov eax, dword [esp + 0x34]
mov dword [edx + 0x2c], eax
mov dword [edx + 0x14], edi
mov eax, dword [ecx + 0xc]
mov dword [edx + 0x30], eax
mov eax, dword [esp + 0x28]
sub eax, 1
mov dword [esp + 0x14], 0
mov dword [edx + 0x10], 0
je 0x4511d0
sub eax, 1
jne 0x4511d7
mov dword [edx + 0x10], 3
jmp 0x4511d7
mov dword [edx + 0x10], 2
mov eax, dword [ecx + 4]
mov esi, dword [esp + 0x3c]
mov ecx, eax
and ecx, 0x101
test esi, esi
je 0x4511f1
or esi, 1
mov eax, esi
jmp 0x4511f4
and eax, 0x30
or eax, ecx
mov ecx, dword [edx + 0x10]
push eax
push edi
push ecx
call fcn.00450730
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov dword [edx], eax
test ecx, ecx
je 0x45121d
mov eax, dword [ecx]
add edx, 8
push edx
mov edx, dword [eax + 4]
call edx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], 0xffffffff
test ecx, ecx
je 0x451252
mov edx, ecx
add ecx, 4
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x24]
mov eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x451252
test edx, edx
je 0x451252
mov eax, dword [edx]
mov ecx, edx
mov edx, dword [eax]
push 1
call edx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret
Function at 0x45eac0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b014b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x4dd704]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
push ecx
mov ecx, esp
mov dword [ecx], 0
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], esp
push eax
mov dword [esp + 0x28], 0
call fcn.00404b10
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push ecx
push edx
push 0x4b35fc
lea ecx, [esp + 0x1c]
call fcn.0045dfa0
push 0x88
mov byte [esp + 0x24], 1
call fcn.0049c196
mov esi, eax
add esp, 4
mov dword [esp + 8], esi
mov byte [esp + 0x20], 2
test esi, esi
je 0x45eb65
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.0045e040
mov dword [esi], vtable.CRLoopIO_class_CRWssCacheIo_.3.0
mov dword [esi + 0x38], vtable.CRLoopIO_class_CRWssCacheIo_.2.0
mov dword [esi + 0x68], vtable.CRLoopIO_class_CRWssCacheIo_.1.0
mov dword [esi + 0x6c], vtable.CRLoopIO_class_CRWssCacheIo_.0
jmp 0x45eb67
xor esi, esi
lea ecx, [esp + 0xc]
push ecx
push 0x11001
push esi
mov esi, dword [esp + 0x34]
push esi
mov byte [esp + 0x30], 1
call fcn.00404f10
mov eax, dword [esp + 0x24]
add esp, 0x10
mov byte [esp + 0x20], 0
test eax, eax
je 0x45ebc2
mov edx, eax
add eax, 4
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x28]
mov eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x45ebba
test edx, edx
je 0x45ebba
mov eax, dword [edx]
mov ecx, edx
mov edx, dword [eax]
push 1
call edx
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x34]
mov dword [esp + 0x20], 0xffffffff
test edx, edx
je 0x45ebf9
lea eax, [edx + 4]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x28]
mov eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x45ebf9
test edx, edx
je 0x45ebf9
mov eax, dword [edx]
mov ecx, edx
mov edx, dword [eax]
push 1
call edx
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret
Function at 0x4637d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b051b
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x4dd704]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0xc], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x10], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], ecx
mov ecx, eax
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x48]
and ecx, 0x7fffffff
and eax, 0x80000000
push 0x1e0
mov byte [esp + 0xc], 1
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
call fcn.0049c196
mov esi, eax
add esp, 4
mov dword [esp + 0x40], esi
mov dword [esp + 0x30], 0
test esi, esi
je 0x463881
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.00462ef0
mov dword [esi], vtable.CRLoopIO_class_CRDirectBlockRaidIO_.3.0
mov dword [esi + 0x38], vtable.CRLoopIO_class_CRDirectBlockRaidIO_.2.0
mov dword [esi + 0x68], vtable.CRLoopIO_class_CRDirectBlockRaidIO_.1.0
mov dword [esi + 0x78], vtable.CRLoopIO_class_CRDirectBlockRaidIO_.0
jmp 0x463883
xor esi, esi
lea ecx, [esp + 8]
push ecx
push 0x11001
push esi
mov esi, dword [esp + 0x44]
push esi
mov dword [esp + 0x40], 0xffffffff
call fcn.00404f10
add esp, 0x10
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret
Function at 0x47bfd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b0b5b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4dd704]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
push 0xa
push 0x11
push 8
lea edi, [esi + 0x10]
push 4
mov ecx, edi
call fcn.0047bf40
xor eax, eax
push eax
push 0x10
push esi
mov dword [esp + 0x24], eax
mov dword [esi + 0x30], eax
call fcn.0040b240
add esp, 0xc
push 0x75
mov ecx, edi
call fcn.0047be90
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x47dc70
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
mov esi, ecx
test eax, eax
je 0x47dce3
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x47dce3
mov edx, dword [esp + 0xc]
test edx, edx
je 0x47dce3
push ebx
mov ebx, dword [edi + 4]
mov dword [esp + 0x14], ebx
lea ebx, [esp + 0x14]
push ebx
push eax
lea eax, [esp + 0x18]
push eax
push 0
push edx
push ecx
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x14]
mov dword [esi], eax
mov dword [edi + 4], ecx
cmp dword [esi], 0
pop ebx
jne 0x47dce3
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x47dcd2
cmp eax, ecx
jne 0x47dce3
mov eax, dword [esp + 0x18]
test eax, eax
je 0x47dcdc
mov dword [eax], ecx
pop edi
mov al, 1
pop esi
ret 0x10
pop edi
xor al, al
pop esi
ret 0x10