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

Disassembly:
push 0xffffffffffffffff
push 0x576158
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
push edi
sub eax, dword [esi + 0x1c]
sar eax, 3
push eax
lea ecx, [esp + 0x14]
call fcn.00490f10
lea edi, [esi + 0x10]
push edi
lea ecx, [esi + 4]
mov dword [esp + 0x30], 0
call fcn.00490fb0
mov ecx, dword [esi + 0x28]
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
push edi
call dword [edx + 0xc]
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, dword [esi + 0x40]
sub edx, ecx
mov dword [eax], edx
mov edi, dword [edi]
mov edx, dword [esi + 0x44]
sub dword [edi + 4], edx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
sub eax, ecx
sar eax, 2
shl eax, 5
mov ebp, eax
mov eax, edx
sub ebp, eax
xor edi, edi
add ebp, ebx
je 0x49148d
mov edi, edi
mov ebx, ecx
lea ecx, [edx + edi]
mov eax, ecx
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
and ecx, 0x8000001f
lea eax, [ebx + eax*4]
jns 0x491438
dec ecx
or ecx, 0xffffffe0
inc ecx
jns 0x491438
add ecx, 0x20
sub eax, 4
mov edx, eax
mov ebx, dword [edx]
mov eax, 1
shl eax, cl
test eax, ebx
mov eax, dword [esi + 0x1c]
setne cl
test cl, cl
mov ecx, dword [eax + edi*8]
je 0x491458
inc ecx
mov dword [eax + edi*8], ecx
jmp 0x491468
test ecx, ecx
setne cl
mov byte [eax + edi*8 + 4], cl
mov dword [eax + edi*8], 0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
sub eax, ecx
sar eax, 2
shl eax, 5
mov ebp, eax
mov eax, edx
sub ebp, eax
inc edi
add ebp, ebx
cmp edi, ebp
jb 0x491410
test ecx, ecx
pop edi
pop esi
pop ebp
mov dword [esp + 0x20], 0xffffffff
pop ebx
je 0x4914d2
mov eax, dword [esp + 0x10]
sub eax, ecx
sar eax, 2
shl eax, 2
cmp eax, 0x80
jbe 0x4914c8
push ecx
call fcn.0052b8dd
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
push eax
push ecx
call fcn.0050e390
add esp, 8
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret

Function at 0x493530
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x57640e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
call fcn.004aba50
xor ebx, ebx
push 0x1c
mov dword [esp + 0x18], ebx
mov dword [esi + 0x14], ebx
call fcn.0050e320
mov dword [eax], eax
mov dword [eax + 4], eax
add esp, 4
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x18]
mov byte [esp + 0x14], 1
call fcn.004aa180
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 2
call fcn.004aa180
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov byte [esi + 0x54], bl
mov byte [esi + 0x5c], bl
mov dword [esi + 0x58], 0x1388
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x493810
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x576480
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov al, byte [esi + 0x5d]
xor ebx, ebx
cmp al, bl
push edi
je 0x4938bb
lea edi, [esi + 0x18]
mov ecx, edi
mov dword [esp + 0xc], edi
call fcn.004aa1a0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
mov dword [esp + 0x14], ebx
call fcn.00412b30
lea ecx, [esi + 0x14]
mov esi, dword [ecx]
lea edx, [esp + 0x10]
push edx
call fcn.00493200
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov dword [eax], esi
mov dword [ecx], eax
lea ecx, [esp + 0x18]
mov dword [esi + 4], eax
mov byte [esp + 0x2c], bl
call fcn.004102b0
mov ecx, edi
mov dword [esp + 0x2c], 0xffffffff
call fcn.004aa1b0
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4
mov eax, dword [esp + 0x34]
push eax
mov ecx, esi
call fcn.00493060
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 4

Function at 0x4939c9
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x576480
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov al, byte [esi + 0x5d]
xor ebx, ebx
cmp al, bl
push edi
je 0x493a55
lea edi, [esi + 0x18]
mov ecx, edi
mov dword [esp + 0xc], edi
call fcn.004aa1a0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x34]
lea ecx, [esi + 0x14]
mov esi, dword [ecx]
lea edx, [esp + 0x10]
push edx
mov byte [esp + 0x30], 1
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], eax
call fcn.00493200
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov dword [eax], esi
mov dword [ecx], eax
lea ecx, [esp + 0x18]
mov dword [esi + 4], eax
mov byte [esp + 0x2c], bl
call fcn.004102b0
mov ecx, edi
mov dword [esp + 0x2c], 0xffffffff
call fcn.004aa1b0
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4
mov eax, dword [esp + 0x34]
push eax
mov ecx, esi
call fcn.00492600
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 4
Function at 0x493a80
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x576480
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov al, byte [esi + 0x5d]
xor ebx, ebx
cmp al, bl
push edi
je 0x493b1b
lea edi, [esi + 0x18]
mov ecx, edi
mov dword [esp + 0xc], edi
call fcn.004aa1a0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
lea ecx, [esi + 0x14]
mov esi, dword [ecx]
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x30], 1
mov dword [esp + 0x14], 4
call fcn.00493200
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov dword [eax], esi
mov dword [ecx], eax
lea ecx, [esp + 0x18]
mov dword [esi + 4], eax
mov byte [esp + 0x2c], bl
call fcn.004102b0
mov ecx, edi
mov dword [esp + 0x2c], 0xffffffff
call fcn.004aa1b0
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret
mov ecx, dword [esi + 0x4c]
sub ecx, dword [esi + 0x48]
sar ecx, 3
test ecx, ecx
jbe 0x493b3e
push ebx
mov ecx, esi
call fcn.00492ae0
mov edx, dword [esi + 0x4c]
sub edx, dword [esi + 0x48]
inc ebx
sar edx, 3
cmp ebx, edx
jb 0x493b28
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret

Function at 0x493b50
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x576480
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov al, byte [esi + 0x5d]
xor ebx, ebx
cmp al, bl
push edi
je 0x493beb
lea edi, [esi + 0x18]
mov ecx, edi
mov dword [esp + 0xc], edi
call fcn.004aa1a0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
lea ecx, [esi + 0x14]
mov esi, dword [ecx]
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x30], 1
mov dword [esp + 0x14], 5
call fcn.00493200
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov dword [eax], esi
mov dword [ecx], eax
lea ecx, [esp + 0x18]
mov dword [esi + 4], eax
mov byte [esp + 0x2c], bl
call fcn.004102b0
mov ecx, edi
mov dword [esp + 0x2c], 0xffffffff
call fcn.004aa1b0
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret
mov ecx, dword [esi + 0x4c]
sub ecx, dword [esi + 0x48]
sar ecx, 3
test ecx, ecx
jbe 0x493c0e
push ebx
mov ecx, esi
call fcn.00492600
mov edx, dword [esi + 0x4c]
sub edx, dword [esi + 0x48]
inc ebx
sar edx, 3
cmp ebx, edx
jb 0x493bf8
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret
Function at 0x493c20
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x576480
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov al, byte [esi + 0x5d]
xor ebx, ebx
cmp al, bl
push edi
je 0x493cc5
lea edi, [esi + 0x18]
mov ecx, edi
mov dword [esp + 0xc], edi
call fcn.004aa1a0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x34]
lea ecx, [esi + 0x14]
mov esi, dword [ecx]
lea edx, [esp + 0x10]
push edx
mov byte [esp + 0x30], 1
mov dword [esp + 0x14], 7
mov dword [esp + 0x18], eax
call fcn.00493200
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov dword [eax], esi
mov dword [ecx], eax
lea ecx, [esp + 0x18]
mov dword [esi + 4], eax
mov byte [esp + 0x2c], bl
call fcn.004102b0
mov ecx, edi
mov dword [esp + 0x2c], 0xffffffff
call fcn.004aa1b0
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4
mov eax, dword [esp + 0x34]
push eax
mov ecx, esi
call fcn.004927f0
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 4

Function at 0x493cf0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x576480
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov al, byte [esi + 0x5d]
xor ebx, ebx
cmp al, bl
push edi
je 0x493da0
lea edi, [esi + 0x18]
mov ecx, edi
mov dword [esp + 0xc], edi
call fcn.004aa1a0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov cl, byte [esp + 0x34]
xor eax, eax
cmp cl, bl
setne al
lea ecx, [esi + 0x14]
mov esi, dword [ecx]
lea edx, [esp + 0x10]
push edx
mov byte [esp + 0x30], 1
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], eax
call fcn.00493200
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov dword [eax], esi
mov dword [ecx], eax
lea ecx, [esp + 0x18]
mov dword [esi + 4], eax
mov byte [esp + 0x2c], bl
call fcn.004102b0
mov ecx, edi
mov dword [esp + 0x2c], 0xffffffff
call fcn.004aa1b0
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4
mov eax, dword [esp + 0x34]
push eax
mov ecx, esi
call fcn.00492840
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 4
Function at 0x4955b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [0x5c4b9c]
cmp eax, 0x270
jl 0x495699
cmp eax, 0x271
jne 0x4955d4
push 0x1105
call fcn.004954a0
add esp, 4
xor ecx, ecx
push esi
jmp 0x4955e0
mov edx, dword [ecx*4 + 0x5d6078]
mov eax, dword [ecx*4 + 0x5d607c]
xor eax, edx
and eax, 0x7fffffff
xor eax, edx
mov edx, eax
and edx, 1
mov esi, dword [edx*4 + 0x5c4ba0]
mov edx, dword [ecx*4 + 0x5d66ac]
shr eax, 1
xor eax, esi
xor eax, edx
mov dword [ecx*4 + 0x5d6078], eax
inc ecx
cmp ecx, 0xe3
jl 0x4955e0
cmp ecx, 0x26f
jge 0x495665
lea ecx, [ecx*4 + 0x5d6078]
nop
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov esi, dword [ecx - 0x38c]
xor eax, edx
mov edx, dword [ecx]
and eax, 0x7fffffff
xor eax, edx
mov edx, eax
and edx, 1
mov edx, dword [edx*4 + 0x5c4ba0]
xor edx, esi
shr eax, 1
xor edx, eax
mov dword [ecx], edx
add ecx, 4
cmp ecx, 0x5d6a34
jl 0x495630
mov ecx, dword [0x5d6a34]
mov eax, dword [0x5d6078]
xor eax, ecx
and eax, 0x7fffffff
xor eax, ecx
mov ecx, eax
and ecx, 1
mov edx, dword [ecx*4 + 0x5c4ba0]
mov ecx, dword [0x5d66a8]
shr eax, 1
xor eax, edx
xor eax, ecx
mov dword [0x5d6a34], eax
xor eax, eax
pop esi
mov ecx, dword [eax*4 + 0x5d6078]
inc eax
mov edx, ecx
shr edx, 0xb
xor ecx, edx
mov dword [0x5c4b9c], eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov edx, ecx
and edx, 0xffffdf8c
shl edx, 0xf
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret

Function at 0x4960c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x576744
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
xor eax, eax
push esi
mov esi, ecx
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esp + 4], esi
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
lea ecx, [esi + 0x24]
mov byte [esp + 0x10], 3
call fcn.004021e0
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 4
call fcn.004021e0
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x49bad0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x576f75
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x30]
mov dword [esi], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 4], ecx
push edi
lea ecx, [esi + 0x10]
mov dword [esp + 0x10], esi
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
call fcn.004021e0
xor ebx, ebx
lea edi, [esi + 0x1c]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [esp + 0x28], ebx
mov dword [edi + 8], ebx
push 0x18
mov byte [esp + 0x2c], 1
mov dword [esi + 0x28], ebx
call fcn.0050e320
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebx
mov byte [eax], bl
mov ecx, dword [esi + 0x28]
mov dword [ecx + 4], ebx
mov eax, dword [esi + 0x28]
mov dword [eax + 8], eax
mov eax, dword [esi + 0x28]
mov dword [eax + 0xc], eax
push 0xc
mov byte [esp + 0x30], 2
mov dword [esi + 0x34], ebx
call fcn.0050e320
mov dword [eax], eax
mov dword [eax + 4], eax
add esp, 8
mov dword [esi + 0x34], eax
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x2c], 3
call dword [0x57e0d4]
push eax
call fcn.0049ad70
mov ebp, eax
add esp, 8
cmp ebp, 1
mov dword [esp + 0x30], 1
jle 0x49bc40
jmp 0x49bba0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x30]
push eax
mov eax, dword [ecx + edx*4]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402250
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
mov byte [esp + 0x28], 4
je 0x49bbea
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
cmp eax, ebx
mov byte [esp + 0x28], 5
je 0x49bbe4
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.00404140
add dword [edi + 4], 0xc
jmp 0x49bc00
push 1
push 1
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x20]
push ecx
push eax
mov ecx, edi
call fcn.00433800
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
sub eax, ecx
cmp ecx, ebx
mov byte [esp + 0x28], 3
je 0x49bc2f
cmp eax, 0x80
jbe 0x49bc25
push ecx
call fcn.0052b8dd
add esp, 4
jmp 0x49bc2f
push eax
push ecx
call fcn.0050e390
add esp, 8
mov eax, dword [esp + 0x30]
inc eax
cmp eax, ebp
mov dword [esp + 0x30], eax
jl 0x49bba0
xor edi, edi
cmp ebp, ebx
jle 0x49bc5b
mov edx, dword [esp + 0x34]
mov eax, dword [edx + edi*4]
push eax
call fcn.0052ca92
add esp, 4
inc edi
cmp edi, ebp
jl 0x49bc46
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0052ca92
mov ecx, dword [esp + 0x24]
add esp, 4
pop edi
mov dword [0x5d6a58], esi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x4a1550
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x577231
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
xor ebx, ebx
mov dword [esp + 4], ebx
push esi
mov esi, dword [esp + 0x2c]
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
inc eax
inc eax
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.00401f40
mov eax, dword [esp + 0x10]
mov byte [eax], bl
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea ecx, [esp + 0x2c]
push ecx
push eax
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 1
call fcn.004022e0
mov edx, dword [esp + 0x30]
push edx
lea ecx, [esp + 0x10]
call fcn.00430f00
mov esi, dword [esp + 0x28]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00404140
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
sub eax, ecx
cmp ecx, ebx
mov dword [esp + 8], 1
mov byte [esp + 0x20], bl
je 0x4a161b
cmp eax, 0x80
jbe 0x4a1611
push ecx
call fcn.0052b8dd
add esp, 4
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
push eax
push ecx
call fcn.0050e390
add esp, 8
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x4a3970
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x577538
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.004a3660
mov eax, dword [esi + 0x20]
add esp, 0x24
test eax, eax
mov dword [esp + 0x30], 0xffffffff
je 0x4a3a56
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0xc]
add edx, 4
push edx
push eax
mov ecx, esi
call fcn.0040feb0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4a3a56
mov esi, dword [esi + 0x24]
shl esi, 2
cmp esi, 0x80
jbe 0x4a3a4c
push eax
call fcn.0052b8dd
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
push esi
push eax
call fcn.0050e390
add esp, 8
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret

Function at 0x4a5040
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5777c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
xor ebx, ebx
mov dword [esp + 4], ebx
push esi
mov esi, dword [esp + 0x30]
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
inc eax
inc eax
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.00401f40
mov eax, dword [esp + 0x10]
mov byte [eax], bl
mov ecx, dword [esp + 0x2c]
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 1
call fcn.00430f00
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea edx, [esp + 0x30]
push edx
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.004022e0
mov esi, dword [esp + 0x28]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00404140
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
sub eax, ecx
cmp ecx, ebx
mov dword [esp + 8], 1
mov byte [esp + 0x20], bl
je 0x4a510b
cmp eax, 0x80
jbe 0x4a5101
push ecx
call fcn.0052b8dd
add esp, 4
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
push eax
push ecx
call fcn.0050e390
add esp, 8
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x4a5700
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x577848
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x5ccef4]
push esi
mov esi, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 4], esi
call fcn.004021e0
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0xc]
push 0x580448
push ecx
mov dword [esp + 0x30], 0
call fcn.0052c14e
lea eax, [esp + 0x14]
add esp, 0xc
mov dword [esi + 0xc], 1
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a5760
sub eax, edx
lea edx, [esp + eax + 8]
push edx
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.004027f0
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
call fcn.0052bbbf
add esp, 0x24
ret 4
Function at 0x4a68a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5779f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebp
mov ebp, dword [esp + 0x30]
mov eax, dword [ebp]
mov edx, dword [ebp + 4]
sub edx, eax
cmp edx, 0x80
mov dword [esp + 0xc], ecx
jbe 0x4a6a7e
cmp dword [eax], 0x46504644
je 0x4a68ea
cmp dword [eax + 4], 0x656c69
jne 0x4a6a7e
push ebx
mov ebx, dword [eax + 8]
add eax, 8
push esi
push edi
mov dword [esp + 0x10], eax
lea eax, [esp + 0x3c]
push eax
push ebx
lea ecx, [esp + 0x28]
call fcn.004a0e60
mov esi, dword [esp + 0x20]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [ebx + esi]
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], 0x586770
mov ecx, dword [ebp]
sub eax, esi
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ebp + 4]
sub eax, ecx
push esi
sub eax, 0x80
add ecx, 0x80
push eax
push ecx
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], 1
call fcn.004f0d00
test eax, eax
je 0x4a69d8
push 0x586908
push 0
push 0x1d9
push 0x586868
lea ecx, [esp + 0x28]
call fcn.004a2ec0
push eax
call fcn.004a2fb0
add esp, 0xc
test esi, esi
mov dword [esp + 0x3c], 0x586744
mov dword [esp + 0x34], 0xffffffff
je 0x4a69be
mov eax, dword [esp + 0x28]
sub eax, esi
cmp eax, 0x80
jbe 0x4a69b4
push esi
call fcn.0052b8dd
add esp, 4
jmp 0x4a69be
push eax
push esi
call fcn.0050e390
add esp, 8
pop edi
pop esi
pop ebx
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 4
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
je 0x4a6a3e
push eax
push ecx
push 0x5868e4
push 0
push 0x1da
push 0x586868
lea ecx, [esp + 0x30]
call fcn.004a2ec0
push eax
call fcn.004a2fb0
add esp, 0x14
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 0x586744
mov dword [esp + 0x34], 0xffffffff
call fcn.00409720
pop edi
pop esi
pop ebx
mov eax, 2
pop ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 4
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
call fcn.004a64d0
lea ecx, [esp + 0x20]
mov esi, eax
mov dword [esp + 0x3c], 0x586744
mov dword [esp + 0x34], 0xffffffff
call fcn.00409720
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 4
push ebp
call fcn.004a64d0
mov ecx, dword [esp + 0x20]
pop ebp
mov dword fs:[0], ecx
add esp, 0x28
ret 4