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 0x5e4a80
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x705200]
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.00545380
lea esi, [eax - 4]
mov dword [ebp - 4], 0
push dword [esi]
push 0xc
push eax
call fcn.0041e718
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.0041e488
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x402bf9
push fcn.00545380
lea esi, [eax - 4]
mov dword [ebp - 4], 1
push dword [esi]
push 0xc
push eax
call fcn.0041e718
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.0041e488
add esp, 8
lea ecx, [edi + 0x48]
call fcn.00545380
lea ecx, [edi + 0x3c]
call fcn.00545380
lea ecx, [edi + 0x30]
call fcn.00545380
lea ecx, [edi + 0x24]
call fcn.00545380
lea ecx, [edi + 0x18]
call fcn.00545380
lea ecx, [edi + 0xc]
call fcn.00545380
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e4e66
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x705200]
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.00545530
mov dword [ebp - 4], 0
mov dword [esi + 0x74], 0
lea ecx, [esi + 0x7c]
mov byte [ebp - 4], 1
call fcn.005334b0
lea ecx, [esi + 0x9c]
mov byte [ebp - 4], 2
call fcn.005334b0
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 0x41f277
Capabilities:
Parse pe header

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

Function at 0x42f870
Capabilities:
Parse pe header

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e887b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x705200]
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.00469c30
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 0x4dad00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ef5eb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x705200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00541770
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], 0x62edd8
mov dword [esi + 0xfc], 0x62ee40
call fcn.00530470
mov byte [esi + 0x100], al
mov dword [esi + 0x104], 0
mov byte [esi + 0x108], 0
call fcn.00530470
push ecx
mov ecx, esi
mov byte [esi + 0x48], al
call fcn.004da7d0
push ecx
mov ecx, esi
mov dword [esi + 0x40], eax
call fcn.004da740
push ecx
mov ecx, esi
mov dword [esi + 0x44], eax
call fcn.004da6e0
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 0x4ee4f0
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push edi
mov edi, edx
mov esi, ecx
call fcn.00541c20
cmp eax, 0x26
jge 0x4ee505
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 0x4ee590
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 0x4ee5b2
pop edi
mov al, 1
pop esi
ret
Function at 0x4ff890
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 + 0x67ed20]
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 + 0x67ed20]
mov dword [esi + 8], ecx
pop esi
ret

Function at 0x4ff8e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x4ff8eb
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x4ff9a7
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 + 0x67ed20]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67ed20]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67ed20]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67ed20]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67ed20]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67ed20]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67ed20]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67ed20]
sub edi, 1
jne 0x4ff900
pop edi
test esi, esi
je 0x4ff9ca
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 + 0x67ed20]
sub esi, 1
jne 0x4ff9b0
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x502a20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x705200]
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 0x502a70
mov eax, 0x200
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e475
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 0x502ad4
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 [0x5fd348]
mov esi, eax
cmp esi, 0x28
jbe 0x502b84
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 0x502b84
mov ecx, dword [ebp - 0xc]
lea eax, [ecx + 0x34]
cmp esi, eax
jbe 0x502b84
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 0x502b7e
cmp eax, 0x454e
je 0x502b7e
cmp eax, 0x454c
je 0x502b7e
cmp eax, 0x4550
jne 0x502b84
or edi, 0x400000
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x502b8d
mov dword [eax], edi
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x502b96
mov dword [eax], esi
mov ebx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
test ebx, ebx
je 0x502bd4
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call fcn.00502c90
push esi
push edi
mov dword [ebx], eax
mov dword [ebx + 4], edx
call fcn.00502c90
push dword [ebp - 0x40]
mov dword [ebx + 8], eax
push dword [ebp - 0x44]
mov dword [ebx + 0xc], edx
call fcn.00502c90
add esp, 0x18
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edx
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x502bfa
push esi
push edi
lea edx, [ebp - 0xc]
lea ecx, [ebp - 8]
call fcn.00502c10
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.0041e475
mov esp, ebp
pop ebp
ret
Function at 0x502de0
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 + 0x67ed20]
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 + 0x67ed20]
mov dword [esi + 8], ecx
pop esi
ret

Function at 0x502e30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x502e3b
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x502ef7
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 + 0x67ed20]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67ed20]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67ed20]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67ed20]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67ed20]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67ed20]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67ed20]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x67ed20]
sub edi, 1
jne 0x502e50
pop edi
test esi, esi
je 0x502f1a
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 + 0x67ed20]
sub esi, 1
jne 0x502f00
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x503c90
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 0x503ead
cmp eax, 3
jb 0x503d06
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 0x503d43
mov eax, dword [esi + 0x6af84]
sub eax, ebx
cmp eax, 0x7efa
ja 0x503d43
mov eax, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], eax
jbe 0x503d2d
mov dword [esi + 0x6afa0], eax
mov edx, ebx
mov ecx, esi
call fcn.00504040
mov ecx, dword [esi + 0x6af90]
mov edi, eax
cmp edi, ecx
cmova edi, ecx
mov ecx, dword [esi + 0x6af84]
cmp edi, 3
jb 0x503e2b
sub ecx, dword [esi + 0x6af88]
lea eax, [edi - 3]
mov edx, ecx
mov ecx, esi
push eax
call fcn.00504940
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 0x503de9
cmp ecx, 3
jb 0x503de9
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 0x503d90
jmp 0x503e49
add dword [esi + 0x6af84], edi
mov dl, 1
mov eax, dword [esi + 0x6af84]
xor edi, edi
push 0x626ea4
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.00505ab0
add esp, 4
jmp 0x503e4f
movzx eax, byte [ecx + esi + 0x1af70]
xor edx, edx
push eax
mov ecx, esi
call fcn.00504940
add esp, 4
mov dword [ebp - 4], eax
dec dword [esi + 0x6af90]
inc dword [esi + 0x6af84]
cmp dword [ebp - 4], 0
je 0x503e8c
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x503e69
lea edx, [esi + 0x1af70]
add edx, ecx
jmp 0x503e6b
xor edx, edx
mov eax, dword [esi + 0x6af84]
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.00504b50
mov eax, dword [esi + 0x6af84]
add esp, 8
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x503e9f
mov ecx, esi
call fcn.00503ee0
mov eax, dword [esi + 0x6af90]
test eax, eax
jne 0x503cb5
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x503ec1
lea edx, [esi + 0x1af70]
add edx, ecx
jmp 0x503ec3
xor edx, edx
mov eax, dword [esi + 0x6af84]
sub eax, ecx
mov ecx, esi
push 1
push eax
call fcn.00504b50
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x50bf20
Capabilities:
Access peb ldr_data
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f2b5e
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x705200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 0xc]
call fcn.005452f0
cmp eax, 6
jle 0x50bf65
lea ecx, [edi + 0xc]
call fcn.005450e0
push eax
lea ecx, [edi + 0x34]
call fcn.0053e730
mov eax, dword [edi + 0xa4]
test eax, eax
je 0x50bf78
push eax
call fcn.00418d50
add esp, 4
lea ecx, [edi + 0xa0]
mov dword [edi + 0xa4], 0
call fcn.0050de10
lea ecx, [edi + 0x9c]
call fcn.0050de10
mov eax, dword [edi + 0x98]
test eax, eax
je 0x50bfd1
push fcn.00545380
lea esi, [eax - 4]
mov dword [ebp - 4], 0
push dword [esi]
push 0xc
push eax
call fcn.0041e718
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.0041e488
add esp, 8
lea ecx, [edi + 0x84]
call fcn.00545380
lea ecx, [edi + 0x78]
call fcn.00545380
mov eax, dword [edi + 0x70]
test eax, eax
je 0x50bff4
push eax
call fcn.0041e483
add esp, 4
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x50c004
push eax
call fcn.0041e483
add esp, 4
mov eax, dword [edi + 0x48]
test eax, eax
je 0x50c014
push eax
call fcn.0041e483
add esp, 4
lea ecx, [edi + 0x34]
call fcn.0053f9b0
lea ecx, [edi + 0x30]
call fcn.0053f9b0
lea ecx, [edi + 0xc]
call fcn.00545380
mov ecx, edi
call fcn.00545380
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 0x50c050
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f2c1b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x705200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00545530
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 0
call fcn.00545530
lea ecx, [esi + 0x30]
call fcn.0053fa70
lea ecx, [esi + 0x34]
call fcn.0053fa70
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 3
call fcn.0050c230
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 4
call fcn.0050c230
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 5
call fcn.0050c230
lea ecx, [esi + 0x78]
call fcn.00545530
lea ecx, [esi + 0x84]
call fcn.00545530
mov dword [esi + 0x98], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
lea ecx, [esi + 0x9c]
call fcn.0050de30
lea ecx, [esi + 0xa0]
call fcn.0050de30
mov dword [esi + 0xa4], 0
push ecx
mov ecx, esi
mov byte [ebp - 4], 0xc
call fcn.0050be60
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 0x5118e0
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.0041e693
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.00545530
lea ecx, [esi + 0x60]
call fcn.00545530
lea ecx, [esi + 0x6c]
call fcn.00545530
lea ecx, [esi + 0x78]
call fcn.00545530
lea ecx, [esi + 0x84]
call fcn.00545530
push 0x44
push 0
push esi
call fcn.004201e0
add esp, 0xc
lea ecx, [esi + 0x6c]
push edi
call fcn.00545460
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x60]
push ebx
mov dword [esi + 0x24], eax
call fcn.00545460
lea ecx, [esi + 0x60]
call fcn.005452f0
test eax, eax
je 0x5119e2
lea ecx, [esi + 0x60]
call fcn.00543030
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.00545460
push 0x622050
lea ecx, [esi + 0x84]
call fcn.00545460
push 0
push 0
push esi
push 0x510b10
push 0
push 0
call dword [0x5fd390]
mov dword [esi + 0x3c], eax
test eax, eax
jne 0x511a88
lea ecx, [esi + 0x84]
call fcn.00545380
lea ecx, [esi + 0x78]
call fcn.00545380
lea ecx, [esi + 0x6c]
call fcn.00545380
lea ecx, [esi + 0x60]
call fcn.00545380
lea ecx, [esi + 0x54]
call fcn.00545380
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x511a5f
push eax
call fcn.0041e483
add esp, 4
mov eax, dword [esi + 0x44]
test eax, eax
je 0x511a6f
push eax
call fcn.0041e483
add esp, 4
push 0x90
push esi
call fcn.0041ea7e
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 0x511abc
xor edx, edx
mov ecx, eax
call fcn.00529eb0
test al, al
je 0x511abc
mov edi, dword [0x5fd45c]
call fcn.00541fd0
test al, al
jne 0x511aae
push 5
call edi
mov ecx, dword [esi + 0x3c]
xor edx, edx
call fcn.00529eb0
test al, al
jne 0x511aa1
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x515b80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f36bf
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x705200]
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.00523810
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.00515130
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x20