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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e4be0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x704200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x68]
test eax, eax
je 0x402bc3
push fcn.00545790
lea esi, [eax - 4]
mov dword [ebp - 4], 0
push dword [esi]
push 0xc
push eax
call fcn.0041e708
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.0041e478
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x402bf9
push fcn.00545790
lea esi, [eax - 4]
mov dword [ebp - 4], 1
push dword [esi]
push 0xc
push eax
call fcn.0041e708
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.0041e478
add esp, 8
lea ecx, [edi + 0x48]
call fcn.00545790
lea ecx, [edi + 0x3c]
call fcn.00545790
lea ecx, [edi + 0x30]
call fcn.00545790
lea ecx, [edi + 0x24]
call fcn.00545790
lea ecx, [edi + 0x18]
call fcn.00545790
lea ecx, [edi + 0xc]
call fcn.00545790
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e4fc6
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x704200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
mov dword [esi], 0
lea ecx, [esi + 0x68]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movsd qword [esi + 0x18], xmm0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
call fcn.00545940
mov dword [ebp - 4], 0
mov dword [esi + 0x74], 0
lea ecx, [esi + 0x7c]
mov byte [ebp - 4], 1
call fcn.00533850
lea ecx, [esi + 0x9c]
mov byte [ebp - 4], 2
call fcn.00533850
mov byte [esi + 0xbc], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41f268
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x5fd42c]
test eax, eax
je 0x41f2a7
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41f2a7
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41f2a7
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41f2a7
cmp dword [ecx + 0x74], 0xe
jbe 0x41f2a7
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x42f860
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42f88d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42f88d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x46a240
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e89ea
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x704200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x40], 0x64
call fcn.0046a0a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4db120
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ef768
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x704200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00541b70
movsd qword [esi], xmm0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xb4], 0
mov dword [esi + 0xb8], 0
mov dword [esi + 0xbc], 0
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc8], 0
mov dword [esi + 0xd4], 0xffffffff
mov dword [ebp - 4], 0
mov dword [esi + 0xd8], 0xffffffff
mov byte [ebp - 4], 1
mov dword [esi + 0xec], 0
mov dword [esi + 0xf0], 0
mov dword [esi + 0xf4], 0
mov dword [esi + 0xf8], 0x62edc8
mov dword [esi + 0xfc], 0x62ee18
call fcn.00530810
mov byte [esi + 0x100], al
mov dword [esi + 0x104], 0
mov byte [esi + 0x108], 0
call fcn.00530810
push ecx
mov ecx, esi
mov byte [esi + 0x48], al
call fcn.004dabf0
push ecx
mov ecx, esi
mov dword [esi + 0x40], eax
call fcn.004dab60
push ecx
mov ecx, esi
mov dword [esi + 0x44], eax
call fcn.004dab00
mov dword [esi + 0x3c], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4ee910
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push edi
mov edi, edx
mov esi, ecx
call fcn.00542020
cmp eax, 0x26
jge 0x4ee925
pop edi
xor al, al
pop esi
ret
movzx eax, word [esi + 0x10]
mov edx, 0x14
mov word [edi], ax
movzx eax, word [esi + 0xe]
mov word [edi + 2], ax
movzx eax, word [esi + 0xc]
mov word [edi + 4], ax
movzx eax, word [esi + 0xa]
mov word [edi + 6], ax
movzx eax, word [esi + 8]
mov word [edi + 8], ax
movzx eax, word [esi + 6]
mov word [edi + 0xa], ax
movzx eax, word [esi + 4]
mov word [edi + 0xc], ax
movzx eax, word [esi + 2]
mov word [edi + 0xe], ax
movzx eax, word [esi + 0x1a]
mov word [edi + 0x10], ax
movzx eax, word [esi + 0x18]
mov word [edi + 0x12], ax
movzx eax, word [esi + 0x16]
mov word [edi + 0x14], ax
movzx eax, word [esi + 0x14]
mov word [edi + 0x16], ax
movzx eax, word [esi + 0x24]
mov word [edi + 0x18], ax
movzx eax, word [esi + 0x22]
mov word [edi + 0x1a], ax
movzx eax, word [esi + 0x20]
mov word [edi + 0x1c], ax
movzx eax, word [esi + 0x1e]
mov word [edi + 0x1e], ax
mov eax, 0x10
nop
movzx ecx, word [esi + edx*2 + 2]
mov word [edi + eax*2], cx
movzx ecx, word [esi + edx*2]
add edx, 2
mov word [edi + eax*2 + 2], cx
add eax, 2
cmp edx, 0x18
jl 0x4ee9b0
mov edx, 0x19
movzx ecx, word [esi + edx*2 + 2]
lea eax, [eax + 2]
mov word [edi + eax*2 - 4], cx
movzx ecx, word [esi + edx*2]
add edx, 2
mov word [edi + eax*2 - 2], cx
cmp edx, 0x24
jl 0x4ee9d2
pop edi
mov al, 1
pop esi
ret
Function at 0x4ffca0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push esi
mov esi, ecx
movsx eax, dl
mov ecx, dword [esi]
xor eax, ecx
movzx eax, al
shr ecx, 8
xor ecx, dword [eax*4 + 0x67e760]
movzx eax, cl
add eax, dword [esi + 4]
imul eax, eax, 0x8088405
mov dword [esi], ecx
mov ecx, dword [esi + 8]
inc eax
mov dword [esi + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67e760]
mov dword [esi + 8], ecx
pop esi
ret

Function at 0x4ffcf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x4ffcfb
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x4ffdb7
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67e760]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67e760]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67e760]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67e760]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67e760]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67e760]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67e760]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67e760]
sub edi, 1
jne 0x4ffd10
pop edi
test esi, esi
je 0x4ffdda
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67e760]
sub esi, 1
jne 0x4ffdc0
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x502e30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x704200]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x48]
push eax
push ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 8], ecx
call dword [0x5fd458]
test eax, eax
jne 0x502e80
mov eax, 0x200
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e465
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x48]
mov edi, 0x41000000
mov esi, ebx
and esi, 1
mov ecx, esi
or ecx, 2
test bl, 2
cmove ecx, esi
mov edx, ecx
or edx, 4
test bl, 4
cmove edx, ecx
mov ecx, ebx
and ecx, 0x10
mov eax, edx
or eax, 0x10
mov dword [ebp - 0xc], ecx
test ecx, ecx
cmove eax, edx
mov edx, 0x81000000
mov ecx, eax
or ecx, 0x20
test bl, 0x20
cmove ecx, eax
mov eax, dword [ebp - 0xc]
test eax, eax
cmove edi, edx
or edi, ecx
test esi, esi
jne 0x502ee4
test eax, eax
mov edi, 0x41800000
mov edx, 0x81800000
cmove edi, edx
or edi, ecx
mov ebx, dword [ebp - 8]
push 0
push ebx
call dword [0x5fd34c]
mov esi, eax
cmp esi, 0x28
jbe 0x502f94
push 0
push 0
push 0
push ebx
call dword [0x5fd4c0]
push 0
lea eax, [ebp - 0x10]
push eax
push 2
lea eax, [ebp - 8]
push eax
push ebx
call dword [0x5fd528]
push 0
push 0
push 0x24
push ebx
call dword [0x5fd4c0]
push 0
lea eax, [ebp - 0x10]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push ebx
call dword [0x5fd528]
mov eax, 0x54ad
cmp word [ebp - 8], ax
jne 0x502f94
mov ecx, dword [ebp - 0xc]
lea eax, [ecx + 0x34]
cmp esi, eax
jbe 0x502f94
push 0
push 0
push ecx
push ebx
call dword [0x5fd4c0]
push 0
lea eax, [ebp - 0x10]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [0x5fd528]
mov eax, dword [ebp - 0x14]
cmp eax, 0x5a4d
je 0x502f8e
cmp eax, 0x454e
je 0x502f8e
cmp eax, 0x454c
je 0x502f8e
cmp eax, 0x4550
jne 0x502f94
or edi, 0x400000
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x502f9d
mov dword [eax], edi
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x502fa6
mov dword [eax], esi
mov ebx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
test ebx, ebx
je 0x502fe4
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call fcn.005030a0
push esi
push edi
mov dword [ebx], eax
mov dword [ebx + 4], edx
call fcn.005030a0
push dword [ebp - 0x40]
mov dword [ebx + 8], eax
push dword [ebp - 0x44]
mov dword [ebx + 0xc], edx
call fcn.005030a0
add esp, 0x18
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edx
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x50300a
push esi
push edi
lea edx, [ebp - 0xc]
lea ecx, [ebp - 8]
call fcn.00503020
movzx ecx, word [ebp - 8]
add esp, 8
movzx eax, word [ebp - 0xc]
shl ecx, 0x10
or ecx, eax
mov dword [ebx], ecx
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e465
mov esp, ebp
pop ebp
ret
Function at 0x5031f0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push esi
mov esi, ecx
movsx eax, dl
mov ecx, dword [esi]
xor eax, ecx
movzx eax, al
shr ecx, 8
xor ecx, dword [eax*4 + 0x67e760]
movzx eax, cl
add eax, dword [esi + 4]
imul eax, eax, 0x8088405
mov dword [esi], ecx
mov ecx, dword [esi + 8]
inc eax
mov dword [esi + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67e760]
mov dword [esi + 8], ecx
pop esi
ret

Function at 0x503240
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x50324b
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x503307
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67e760]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67e760]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67e760]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67e760]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67e760]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67e760]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67e760]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67e760]
sub edi, 1
jne 0x503260
pop edi
test esi, esi
je 0x50332a
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67e760]
sub esi, 1
jne 0x503310
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x5040a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
xor edi, edi
mov eax, dword [esi + 0x6af90]
mov dword [esi + 0x6af80], 2
test eax, eax
je 0x5042bd
cmp eax, 3
jb 0x504116
mov edx, dword [esi + 0x6af84]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
movzx ecx, byte [edx + esi + 0x1af72]
xor ecx, eax
and ecx, 0x7fff
and edx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov ebx, dword [esi + ecx*4 + 0x4af70]
mov dword [esi + edx*4 + 0x2af70], ebx
mov ecx, dword [esi + 0x6af7c]
mov eax, dword [esi + 0x6af84]
mov dword [esi + ecx*4 + 0x4af70], eax
test ebx, ebx
je 0x504153
mov eax, dword [esi + 0x6af84]
sub eax, ebx
cmp eax, 0x7efa
ja 0x504153
mov eax, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], eax
jbe 0x50413d
mov dword [esi + 0x6afa0], eax
mov edx, ebx
mov ecx, esi
call fcn.00504450
mov ecx, dword [esi + 0x6af90]
mov edi, eax
cmp edi, ecx
cmova edi, ecx
mov ecx, dword [esi + 0x6af84]
cmp edi, 3
jb 0x50423b
sub ecx, dword [esi + 0x6af88]
lea eax, [edi - 3]
mov edx, ecx
mov ecx, esi
push eax
call fcn.00504d50
mov ecx, dword [esi + 0x6af90]
add esp, 4
sub ecx, edi
mov dword [ebp - 4], eax
mov dword [esi + 0x6af90], ecx
cmp edi, dword [esi + 0x6af98]
ja 0x5041f9
cmp ecx, 3
jb 0x5041f9
dec edi
nop word [eax + eax]
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
movzx ecx, byte [edx + esi + 0x1af72]
and edx, 0x7fff
xor ecx, eax
and ecx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov ebx, dword [esi + ecx*4 + 0x4af70]
mov dword [esi + edx*4 + 0x2af70], ebx
mov ecx, dword [esi + 0x6af7c]
mov eax, dword [esi + 0x6af84]
mov dword [esi + ecx*4 + 0x4af70], eax
sub edi, 1
jne 0x5041a0
jmp 0x504259
add dword [esi + 0x6af84], edi
mov dl, 1
mov eax, dword [esi + 0x6af84]
xor edi, edi
push 0x626e94
movzx ecx, byte [eax + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx eax, byte [eax + esi + 0x1af71]
shl ecx, 5
xor eax, ecx
mov ecx, esi
mov dword [esi + 0x6af7c], eax
call fcn.00505ed0
add esp, 4
jmp 0x50425f
movzx eax, byte [ecx + esi + 0x1af70]
xor edx, edx
push eax
mov ecx, esi
call fcn.00504d50
add esp, 4
mov dword [ebp - 4], eax
dec dword [esi + 0x6af90]
inc dword [esi + 0x6af84]
cmp dword [ebp - 4], 0
je 0x50429c
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x504279
lea edx, [esi + 0x1af70]
add edx, ecx
jmp 0x50427b
xor edx, edx
mov eax, dword [esi + 0x6af84]
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.00504f60
mov eax, dword [esi + 0x6af84]
add esp, 8
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x5042af
mov ecx, esi
call fcn.005042f0
mov eax, dword [esi + 0x6af90]
test eax, eax
jne 0x5040c5
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x5042d1
lea edx, [esi + 0x1af70]
add edx, ecx
jmp 0x5042d3
xor edx, edx
mov eax, dword [esi + 0x6af84]
sub eax, ecx
mov ecx, esi
push 1
push eax
call fcn.00504f60
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x50c340
Capabilities:
Access peb ldr_data
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f2d0f
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x704200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 0xc]
call fcn.00545700
cmp eax, 6
jle 0x50c385
lea ecx, [edi + 0xc]
call fcn.005454f0
push eax
lea ecx, [edi + 0x34]
call fcn.0053eb20
mov eax, dword [edi + 0xa4]
test eax, eax
je 0x50c398
push eax
call fcn.00418d40
add esp, 4
lea ecx, [edi + 0xa0]
mov dword [edi + 0xa4], 0
call fcn.0050e220
lea ecx, [edi + 0x9c]
call fcn.0050e220
mov eax, dword [edi + 0x98]
test eax, eax
je 0x50c3f1
push fcn.00545790
lea esi, [eax - 4]
mov dword [ebp - 4], 0
push dword [esi]
push 0xc
push eax
call fcn.0041e708
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.0041e478
add esp, 8
lea ecx, [edi + 0x84]
call fcn.00545790
lea ecx, [edi + 0x78]
call fcn.00545790
mov eax, dword [edi + 0x70]
test eax, eax
je 0x50c414
push eax
call fcn.0041e473
add esp, 4
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x50c424
push eax
call fcn.0041e473
add esp, 4
mov eax, dword [edi + 0x48]
test eax, eax
je 0x50c434
push eax
call fcn.0041e473
add esp, 4
lea ecx, [edi + 0x34]
call fcn.0053fda0
lea ecx, [edi + 0x30]
call fcn.0053fda0
lea ecx, [edi + 0xc]
call fcn.00545790
mov ecx, edi
call fcn.00545790
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x50c470
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f2dcc
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x704200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00545940
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 0
call fcn.00545940
lea ecx, [esi + 0x30]
call fcn.0053fe60
lea ecx, [esi + 0x34]
call fcn.0053fe60
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 3
call fcn.0050c650
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 4
call fcn.0050c650
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 5
call fcn.0050c650
lea ecx, [esi + 0x78]
call fcn.00545940
lea ecx, [esi + 0x84]
call fcn.00545940
mov dword [esi + 0x98], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
lea ecx, [esi + 0x9c]
call fcn.0050e240
lea ecx, [esi + 0xa0]
call fcn.0050e240
mov dword [esi + 0xa4], 0
push ecx
mov ecx, esi
mov byte [ebp - 4], 0xc
call fcn.0050c280
mov dword [esi + 0x1c], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x511cf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x90
mov ebx, edx
mov edi, ecx
call fcn.0041e683
mov esi, eax
add esp, 4
mov dword [ebp - 4], esi
mov dword [esi], 0
lea ecx, [esi + 0x54]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov byte [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x4c], 0
call fcn.00545940
lea ecx, [esi + 0x60]
call fcn.00545940
lea ecx, [esi + 0x6c]
call fcn.00545940
lea ecx, [esi + 0x78]
call fcn.00545940
lea ecx, [esi + 0x84]
call fcn.00545940
push 0x44
push 0
push esi
call fcn.004201d0
add esp, 0xc
lea ecx, [esi + 0x6c]
push edi
call fcn.00545870
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x60]
push ebx
mov dword [esi + 0x24], eax
call fcn.00545870
lea ecx, [esi + 0x60]
call fcn.00545700
test eax, eax
je 0x511df2
lea ecx, [esi + 0x60]
call fcn.00543410
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
push dword [ebp + 0x10]
mov dword [esi + 0x2c], ecx
lea ecx, [esi + 0x78]
mov dword [esi + 0x28], eax
call fcn.00545870
push 0x622040
lea ecx, [esi + 0x84]
call fcn.00545870
push 0
push 0
push esi
push 0x510f20
push 0
push 0
call dword [0x5fd394]
mov dword [esi + 0x3c], eax
test eax, eax
jne 0x511e98
lea ecx, [esi + 0x84]
call fcn.00545790
lea ecx, [esi + 0x78]
call fcn.00545790
lea ecx, [esi + 0x6c]
call fcn.00545790
lea ecx, [esi + 0x60]
call fcn.00545790
lea ecx, [esi + 0x54]
call fcn.00545790
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x511e6f
push eax
call fcn.0041e473
add esp, 4
mov eax, dword [esi + 0x44]
test eax, eax
je 0x511e7f
push eax
call fcn.0041e473
add esp, 4
push 0x90
push esi
call fcn.0041ea6e
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
test byte [ebp + 8], 1
je 0x511ecc
xor edx, edx
mov ecx, eax
call fcn.0052a250
test al, al
je 0x511ecc
mov edi, dword [0x5fd45c]
call fcn.005423d0
test al, al
jne 0x511ebe
push 5
call edi
mov ecx, dword [esi + 0x3c]
xor edx, edx
call fcn.0052a250
test al, al
jne 0x511eb1
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x515f10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f3870
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x704200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0
lea ecx, [esi + 0x30]
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], 0xffffffff
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xff000000
mov dword [esi + 0x1c], 0xffffffff
mov dword [esi + 0x20], 0xfff0f0ff
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0xc
mov dword [esi + 0x2c], 0
call fcn.00523ba0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push dword [ebp + 0x18]
mov dword [ebp - 4], 0
mov ecx, esi
push dword [ebp + 0x14]
mov dword [esi + 0x298], 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.005154c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x20