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

Disassembly:
push 0xffffffffffffffff
push 0x58922f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
mov ebx, ecx
lea eax, [esp + 0xc]
push esi
mov esi, dword [esp + 0x54]
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x30]
push ecx
lea eax, [esp + 0x30]
push edx
push eax
push esi
mov ecx, ebx
mov dword [esp + 0x48], 0
call fcn.004dedf0
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
push esi
mov ecx, ebx
call fcn.004deec0
lea ecx, [esp + 0x38]
call fcn.004e0c90
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
xor eax, eax
cmp ecx, edx
mov dword [esp + 0x48], 1
mov dword [esp + 0xc], ecx
jg 0x4de996
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ebp
push edi
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x28]
cmp ebp, esi
mov dword [esp + 0x24], ebp
jg 0x4de97f
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x20]
cmp esi, edi
mov dword [esp + 0x5c], esi
jg 0x4de96e
cmp ecx, edx
mov esi, ecx
jg 0x4de95b
mov edi, dword [esp + 0x14]
lea ebp, [ebp + edi*2]
mov edi, dword [esp + 0x5c]
lea edi, [edi + ebp*2]
add ebp, edi
lea edi, [ecx + ebp*2]
lea edi, [ebx + edi*8 + 0xc]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x10]
cmp dword [edi], 0
je 0x4de947
lea edi, [esi + ebp*2 + 0x4a]
cmp dword [ebx + edi*4], eax
lea edi, [ebx + edi*4]
jbe 0x4de947
lea edx, [esi + ebp*2]
lea ecx, [esp + 0x40]
lea eax, [ebx + edx*8 + 8]
push eax
call fcn.004b1580
mov eax, dword [edi]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
inc esi
add edi, 8
cmp esi, edx
mov dword [esp + 0x10], edi
jle 0x4de917
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x5c]
inc esi
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0x20]
cmp dword [esp + 0x5c], esi
jle 0x4de8f5
mov esi, dword [esp + 0x28]
inc ebp
cmp ebp, esi
mov dword [esp + 0x24], ebp
jle 0x4de8e5
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x2c]
inc esi
cmp esi, edi
mov dword [esp + 0x14], esi
jle 0x4de8d1
pop edi
pop ebp
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x4de9aa
mov edx, dword [esp + 0x3c]
neg edx
sbb edx, edx
and edx, eax
mov dword [ecx], edx
mov esi, dword [esp + 0x50]
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call fcn.004b15c0
mov dword [esp + 0x34], 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x48], 0
call fcn.004b1570
mov ecx, dword [esp + 0x40]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 0xc
Function at 0x4ef850
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58aca4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov dword [esp + 0xc], esi
lea edi, [esi + 0x1c]
push ebx
push edi
call fcn.005589c0
mov ecx, edi
mov dword [esp + 0x18], ebx
call fcn.004ef670
mov dword [esi + 0x38], ebx
mov dword [esi + 0x44], ebx
lea edi, [esi + 0x54]
mov dword [edi], ebx
mov byte [esp + 0x18], 4
mov dword [esi], 0x59a554
call fcn.00454120
mov dword [esi + 0x50], eax
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], 0x3e8
mov byte [esi + 0x30], bl
mov eax, dword [edi]
cmp eax, ebx
je 0x4ef8bf
push eax
mov ecx, edi
call fcn.00411610
mov ecx, dword [esp + 0x10]
mov dword [edi], ebx
mov dword [esi + 0x34], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4f3d80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58b4f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esp + 0x14], 0
call fcn.004b42c0
sub esp, 8
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
mov byte [esp + 0x20], 1
call fcn.004b15c0
lea ecx, [esi + 0x30]
call fcn.005313e0
mov ecx, dword [esp + 0x1c]
mov dword [esi], 0x59a618
mov dword [esi + 0xa8], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], 0xffffffff
call fcn.004b1570
mov ecx, dword [esp + 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret 0xc
Function at 0x4f5a50
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x58b91f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x59a268
lea ecx, [esi + 0x64]
mov dword [esp + 0x14], 5
call fcn.0041ebf0
lea ecx, [esi + 0x54]
mov byte [esp + 0x14], 4
call fcn.0041ebf0
lea ecx, [esi + 0x44]
mov byte [esp + 0x14], 3
call fcn.0041ebf0
lea ecx, [esi + 0x3c]
mov byte [esp + 0x14], 2
call fcn.0041e7b0
lea ecx, [esi + 0x34]
mov byte [esp + 0x14], 1
call fcn.0041e7b0
mov eax, dword [esi + 0x30]
lea edi, [esi + 0x30]
test eax, eax
mov byte [esp + 0x14], 0
je 0x4f5acf
push eax
mov ecx, edi
call fcn.00411610
mov ecx, esi
mov dword [edi], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.004b4330
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4f68e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58bb7f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
xor ebx, ebx
push esi
mov dword [esp + 8], ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x54], 1
call fcn.004de630
lea ecx, [esp + 0x30]
mov byte [esp + 0x54], 2
mov dword [esp + 0x2c], ebx
call fcn.004e0c90
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x48], bl
lea eax, [esp + 0x2c]
push 0x31
lea ecx, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x60], 3
mov dword [esp + 0x48], 1
call fcn.004b3420
mov ecx, eax
mov byte [esp + 0x54], 4
call fcn.0046e2d0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov byte [esp + 0x54], 3
je 0x4f697c
push eax
lea ecx, [esp + 0x24]
call fcn.00411610
lea edx, [esp + 0x2c]
push 0x32
lea eax, [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x6c]
call fcn.004b3420
mov ecx, eax
mov byte [esp + 0x54], 5
call fcn.0046e2d0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov byte [esp + 0x54], 3
je 0x4f69b8
push eax
lea ecx, [esp + 0x24]
call fcn.00411610
lea ecx, [esp + 0x2c]
push 0x2f
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x6c]
call fcn.004b3420
mov ecx, eax
mov byte [esp + 0x54], 6
call fcn.0046e2d0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov byte [esp + 0x54], 3
je 0x4f69f4
push eax
lea ecx, [esp + 0x24]
call fcn.00411610
lea eax, [esp + 0x2c]
push 0x30
lea ecx, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x6c]
call fcn.004b3420
mov ecx, eax
mov byte [esp + 0x54], 7
call fcn.0046e2d0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov byte [esp + 0x54], 3
je 0x4f6a30
push eax
lea ecx, [esp + 0x24]
call fcn.00411610
mov esi, dword [esp + 0x5c]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.004de640
mov dword [esp + 8], 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x54], 2
call fcn.0046f260
lea ecx, [esp + 0xc]
mov byte [esp + 0x54], 1
call fcn.0044c5e0
lea ecx, [esp + 0x60]
mov byte [esp + 0x54], bl
call fcn.004b1570
mov ecx, dword [esp + 0x4c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 0xc
Function at 0x4f7bb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x58bf2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esp + 0x14], 0
call fcn.004b42c0
lea edi, [esi + 0x30]
mov byte [esp + 0x14], 1
mov ecx, edi
call fcn.004e0c90
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
mov byte [esp + 0x18], 2
mov dword [esi], 0x59a57c
call fcn.0044fc60
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.0044fc50
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x51a6b9
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58fea0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x2c], ebx
call fcn.004e0c90
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x48], bl
sub esp, 0x10
mov dword [esp + 0x4c], 1
mov eax, esp
mov dword [esp + 0x1c], esp
push 3
push 0x90
mov dword [eax], ebx
mov dword [eax + 4], ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 1
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
call fcn.0043d560
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x5c], 2
call fcn.004b2670
mov byte [esp + 0xc], al
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov byte [esp + 0x54], 1
je 0x51a73f
push eax
lea ecx, [esp + 0x24]
call fcn.00411610
sub esp, 0x10
lea ecx, [esp + 0x20]
mov eax, esp
mov dword [esp + 0x18], esp
push 0xa
push 0x90
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
call fcn.0043d560
lea ecx, [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x5c], 3
call fcn.004b2670
mov byte [esp + 8], al
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov byte [esp + 0x54], 1
je 0x51a792
push eax
lea ecx, [esp + 0x24]
call fcn.00411610
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esi + 0xc]
push edx
push eax
push ecx
mov dword [esp + 0x38], ebx
call fcn.00464890
lea ecx, [esp + 0x30]
mov byte [esp + 0x54], bl
call fcn.0046f260
lea ecx, [esp + 0x64]
mov dword [esp + 0x54], 0xffffffff
call fcn.004b1570
mov ecx, dword [esp + 0x4c]
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x50
ret 0x14

Function at 0x51b140
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58ffcb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
sub esp, 0x20
mov ebp, ecx
mov esi, esp
mov dword [esp + 0x30], esp
mov dword [esp + 0x30], esi
lea ebx, [esi + 4]
mov dword [esi], 0
mov ecx, ebx
call fcn.004e0c90
mov edi, dword [esp + 0x48]
mov ecx, ebx
mov dword [esp + 0x3c], 0
lea eax, [edi + 4]
push eax
call fcn.0046f2a0
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x3c], 0xffffffff
mov dword [esi + 0xc], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x10], edx
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov ecx, dword [edi + 0x18]
mov dword [esi + 0x18], ecx
mov dl, byte [edi + 0x1c]
mov ecx, dword [esp + 0x44]
mov byte [esi + 0x1c], dl
mov eax, dword [edi]
mov dword [esi], eax
call fcn.0051cea0
mov ecx, dword [esp + 0x14]
pop edi
mov word [ebp + 0x6a], ax
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 8
Function at 0x51b2b0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
xor eax, eax
push esi
mov al, byte [ecx + 0x38]
xor edx, edx
xor esi, esi
test eax, eax
jbe 0x51b2e3
push ebx
push edi
mov edi, edx
xor ebx, ebx
shr edi, 0xe
shl edx, 2
or edi, edx
mov edx, esi
and edx, 0xff
mov bl, byte [edx + ecx + 8]
xor edi, ebx
inc esi
cmp esi, eax
mov edx, edi
jb 0x51b2c0
pop edi
pop ebx
mov eax, edx
shr eax, 0xe
shl edx, 2
or eax, edx
xor edx, edx
mov dx, word [ecx + 0x6a]
add eax, edx
mov edx, eax
shr edx, 0xe
shl eax, 2
or edx, eax
movsx eax, word [ecx + 0x6c]
add edx, eax
mov eax, edx
shr eax, 0xe
shl edx, 2
or eax, edx
xor edx, edx
mov dx, word [ecx + 0x6e]
add eax, edx
mov edx, eax
shr edx, 0xe
shl eax, 2
or edx, eax
movsx eax, word [ecx + 0x70]
add edx, eax
movsx eax, word [ecx + 0x72]
mov esi, edx
shr esi, 0xe
shl edx, 2
or esi, edx
add esi, eax
mov eax, esi
shr eax, 0xe
lea edx, [esi*4]
pop esi
or eax, edx
xor edx, edx
mov dl, byte [ecx + 0x74]
add eax, edx
ret
Function at 0x521730
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x590a7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 8], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
lea ecx, [esi + 0x10]
mov dword [esp + 0x14], ebx
mov dword [esi + 0xc], ebx
call fcn.004e0c90
lea ecx, [esi + 0x30]
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov byte [esi + 0x28], bl
call fcn.0051c5e0
lea ecx, [esi + 0x38]
call fcn.004e0c90
lea ecx, [esi + 0x40]
call fcn.004e0c90
mov dword [esi + 0x2c], ebx
mov eax, dword [0x5de208]
mov edx, dword [0x5de200]
mov ecx, dword [0x5de1e0]
inc eax
inc edx
cmp eax, ecx
mov dword [0x5de208], eax
mov dword [0x5de200], edx
jbe 0x5217b5
mov dword [0x5de1e0], eax
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x590b0f
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
xor ebx, ebx
lea edi, [esi + 4]
mov dword [esi], ebx
mov dword [esp + 0x18], ebx
mov dword [edi], ebx
lea ecx, [esi + 0x10]
mov byte [esp + 0x18], 1
mov dword [esi + 0xc], ebx
call fcn.004e0c90
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov byte [esi + 0x28], bl
lea ecx, [esi + 0x30]
call fcn.0051c5e0
lea ecx, [esi + 0x38]
call fcn.004e0c90
lea ecx, [esi + 0x40]
call fcn.004e0c90
lea eax, [esp + 0x20]
mov byte [esp + 0x18], 5
cmp edi, eax
mov dword [esi + 0x2c], 2
je 0x521901
mov eax, dword [edi]
cmp eax, ebx
je 0x5218f5
push eax
mov ecx, edi
call fcn.00411610
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov dword [edi], eax
je 0x521905
inc dword [eax]
mov eax, dword [esp + 0x20]
mov ecx, dword [0x5de208]
mov edi, dword [0x5de200]
mov edx, dword [0x5de1e0]
inc ecx
inc edi
cmp ecx, edx
mov dword [0x5de208], ecx
mov dword [0x5de200], edi
jbe 0x52192f
mov dword [0x5de1e0], ecx
cmp eax, ebx
mov dword [esp + 0x18], 0xffffffff
je 0x521945
push eax
lea ecx, [esp + 0x24]
call fcn.00411610
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x521960
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x590b2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 8], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
lea ecx, [esi + 0x10]
mov dword [esp + 0x14], ebx
mov dword [esi + 0xc], ebx
call fcn.004e0c90
lea ecx, [esi + 0x30]
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov byte [esi + 0x28], bl
call fcn.0051c5e0
lea ecx, [esi + 0x38]
call fcn.004e0c90
lea ecx, [esi + 0x40]
call fcn.004e0c90
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x2c], 1
mov dword [esi + 8], eax
mov eax, dword [0x5de208]
mov edx, dword [0x5de200]
mov ecx, dword [0x5de1e0]
inc eax
inc edx
cmp eax, ecx
mov dword [0x5de208], eax
mov dword [0x5de200], edx
jbe 0x5219f0
mov dword [0x5de1e0], eax
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

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

Disassembly:
push 0xffffffffffffffff
push 0x590c67
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ebp, [esi + 4]
mov dword [esi], ebx
mov dword [esp + 0x10], esi
mov dword [ebp], ebx
lea ecx, [esi + 0x10]
mov dword [esp + 0x1c], ebx
mov dword [esi + 0xc], ebx
call fcn.004e0c90
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov byte [esi + 0x28], bl
lea ecx, [esi + 0x30]
call fcn.0051c5e0
lea ecx, [esi + 0x38]
call fcn.004e0c90
lea ecx, [esi + 0x40]
call fcn.004e0c90
mov edi, dword [esp + 0x24]
mov byte [esp + 0x1c], 4
lea eax, [edi + 4]
cmp ebp, eax
je 0x521cfb
mov eax, dword [ebp]
cmp eax, ebx
je 0x521cef
push eax
mov ecx, ebp
call fcn.00411610
mov eax, dword [edi + 4]
cmp eax, ebx
mov dword [ebp], eax
je 0x521cfb
inc dword [eax]
mov eax, dword [edi + 8]
lea ecx, [edi + 0x10]
push ecx
lea ecx, [esi + 0x10]
mov dword [esi + 8], eax
call fcn.0046f2a0
mov edx, dword [edi + 0x18]
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov ecx, dword [edi + 0x20]
mov dword [esi + 0x20], ecx
mov edx, dword [edi + 0x24]
mov dword [esi + 0x24], edx
mov al, byte [edi + 0x28]
mov byte [esi + 0x28], al
mov ecx, dword [edi + 0xc]
mov dword [esi + 0xc], ecx
mov edx, dword [edi + 0x2c]
lea eax, [edi + 0x30]
lea ecx, [esi + 0x30]
push eax
mov dword [esi + 0x2c], edx
call fcn.0051c6d0
lea ecx, [edi + 0x38]
push ecx
lea ecx, [esi + 0x38]
call fcn.0051e9c0
lea edx, [edi + 0x40]
lea ecx, [esi + 0x40]
push edx
call fcn.0051fcd0
mov eax, dword [0x5de208]
mov edx, dword [0x5de200]
mov ecx, dword [0x5de1e0]
inc eax
inc edx
cmp eax, ecx
mov dword [0x5de208], eax
mov dword [0x5de200], edx
jbe 0x521d82
mov dword [0x5de1e0], eax
mov eax, dword [edi]
mov ecx, dword [esp + 0x14]
mov dword [esi], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x522548
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x590d78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
mov dword [esp + 4], 0
mov eax, dword [esi + 0x2c]
cmp eax, 5
jne 0x5225ea
lea ecx, [esp + 0x10]
call fcn.004e0c90
sub esp, 8
add esi, 0x30
mov ecx, esp
mov dword [esp + 0xc], esp
push esi
mov dword [esp + 0x34], 0
call fcn.0051c670
lea ecx, [esp + 0x18]
call fcn.0051eac0
lea ecx, [esp + 8]
call fcn.004e0c90
lea eax, [esp + 0x10]
lea ecx, [esp + 8]
push eax
mov byte [esp + 0x2c], 1
call fcn.0051fe50
mov esi, dword [esp + 0x30]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0046f270
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.0051fcc0
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.0051e9b0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop esi
add esp, 0x28
ret 4
cmp eax, 6
jne 0x522642
lea ecx, [esp + 0x18]
call fcn.004e0c90
add esi, 0x38
lea ecx, [esp + 0x18]
push esi
mov dword [esp + 0x2c], 2
call fcn.0051fe50
mov esi, dword [esp + 0x30]
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.0046f270
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call fcn.0051fcc0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop esi
add esp, 0x28
ret 4
cmp eax, 7
jne 0x52266a
add esi, 0x40
push esi
mov esi, dword [esp + 0x34]
mov ecx, esi
call fcn.0046f270
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop esi
add esp, 0x28
ret 4
mov esi, dword [esp + 0x30]
mov ecx, esi
call fcn.004e0c90
mov ecx, dword [esp + 0x20]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x28
ret 4

Function at 0x5226a8
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x590d98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
mov dword [esp + 4], 0
mov eax, dword [esi + 0x2c]
cmp eax, 5
jne 0x52271c
lea ecx, [esp + 8]
call fcn.004e0c90
sub esp, 8
add esi, 0x30
mov ecx, esp
mov dword [esp + 0xc], esp
push esi
mov dword [esp + 0x24], 0
call fcn.0051c670
lea ecx, [esp + 0x10]
call fcn.0051eac0
mov esi, dword [esp + 0x20]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.0046f270
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0xffffffff
call fcn.0051e9b0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop esi
add esp, 0x18
ret 4
cmp eax, 6
jne 0x522744
add esi, 0x38
push esi
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.0046f270
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop esi
add esp, 0x18
ret 4
mov esi, dword [esp + 0x20]
mov ecx, esi
call fcn.004e0c90
mov ecx, dword [esp + 0x10]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x18
ret 4
Function at 0x522e58
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x590edf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
mov dword [esp + 0x14], 0
mov eax, dword [esi]
call dword [eax + 4]
mov eax, dword [esi + 4]
test eax, eax
je 0x522e8e
mov esi, dword [esp + 0x28]
mov ecx, esi
call fcn.004119d0
mov eax, esi
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4
lea ecx, [esp + 4]
call fcn.004119d0
mov cl, byte [esi + 0x2a]
mov dword [esp + 0x20], 1
push ecx
lea ecx, [esp + 8]
call fcn.00411810
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x522f10
mov eax, dword [eax + 8]
test eax, eax
je 0x522f10
dec eax
test eax, eax
je 0x522f10
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x522ed2
mov eax, dword [eax + 8]
test eax, eax
je 0x522ed2
lea ecx, [eax - 1]
jmp 0x522ed4
xor ecx, ecx
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x522ee2
mov eax, dword [0x5c9814]
jmp 0x522ee5
add eax, 0xc
inc ecx
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.00411720
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x24], 2
call fcn.00411850
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 1
call fcn.004119b0
jmp 0x522f1b
push 0
lea ecx, [esp + 8]
call fcn.00411810
push ebx
push edi
lea edx, [esi + 0x28]
push 2
push edx
lea ecx, [esp + 0x1c]
call fcn.00411720
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 3
call fcn.00411850
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.004119b0
lea eax, [esp + 0x10]
lea ecx, [esi + 8]
push eax
call fcn.0051dfd0
mov eax, dword [esp + 0x10]
mov bl, 4
test eax, eax
mov byte [esp + 0x28], bl
je 0x522f69
mov eax, dword [eax + 8]
jmp 0x522f6b
xor eax, eax
lea ecx, [esp + 0x18]
push 2
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], eax
call fcn.00411720
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 5
call fcn.00411850
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.004119b0
lea edx, [esp + 0x10]
lea ecx, [esp + 0xc]
push edx
call fcn.00411850
lea edi, [esi + 0x34]
push 2
push edi
lea ecx, [esp + 0x1c]
call fcn.00411720
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 6
call fcn.00411850
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.004119b0
mov ecx, dword [esi + 0x30]
xor eax, eax
mov ax, word [edi]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00411720
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 7
call fcn.00411850
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.004119b0
mov esi, dword [esp + 0x30]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.00418790
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 1
mov byte [esp + 0x28], 1
call fcn.004119b0
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.004119b0
mov ecx, dword [esp + 0x20]
pop edi
mov eax, esi
pop ebx
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 4