joyce8/EMBER2024-capa huggingface dataset:
Function at 0x524100
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4844a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [esp + 0x20]
mov ebx, dword [edi + 8]
sub esp, 0x44
mov dword [esp + 0x5c], 0
mov esi, esp
mov dword [esp + 0x50], esp
mov dword [esi], eax
mov ecx, dword [esp + 0x68]
mov dword [esi + 4], ecx
mov eax, dword [esp + 0x6c]
lea edx, [esi + 8]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x70]
mov dword [edx + 4], ecx
mov eax, dword [esp + 0x74]
mov dword [edx + 8], eax
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0x80]
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0x7c]
push eax
lea ecx, [esi + 0x1c]
mov dword [esi + 0x18], edx
call fcn.005414c2
mov ecx, dword [esp + 0x84]
push ebx
mov dword [esi + 0x20], ecx
mov edx, dword [esp + 0x8c]
mov dword [esi + 0x24], edx
mov eax, dword [esp + 0x90]
mov dword [esi + 0x28], eax
mov ecx, dword [esp + 0x94]
mov dword [esi + 0x2c], ecx
mov edx, dword [esp + 0x98]
mov dword [esi + 0x30], edx
mov al, byte [esp + 0x9c]
mov byte [esi + 0x34], al
mov ecx, dword [esp + 0xa0]
mov dword [esi + 0x38], ecx
mov edx, dword [esp + 0xa4]
mov dword [esi + 0x3c], edx
mov eax, dword [esp + 0xa8]
mov ecx, edi
mov dword [esi + 0x40], eax
call fcn.005247d0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x18], 0xffffffff
call fcn.00541342
mov ecx, dword [esp + 0x10]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0x44

Function at 0x5244c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4844e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [edi + 8]
sub esp, 0x10
mov esi, esp
lea eax, [esp + 0x30]
mov dword [esp + 0x1c], esp
push eax
mov ecx, esi
mov dword [esp + 0x2c], 0
call fcn.005414c2
mov ecx, dword [esp + 0x34]
push ebx
mov dword [esi + 4], ecx
mov dl, byte [esp + 0x3c]
mov byte [esi + 8], dl
mov eax, dword [esp + 0x40]
mov ecx, edi
mov dword [esi + 0xc], eax
call fcn.00524a90
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.00541342
mov ecx, dword [esp + 0x10]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0x10
Function at 0x524a90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x484569
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [ebp + 8]
mov edi, dword [esp + 0x28]
cmp edi, eax
mov dword [esp + 0x20], 0
jl 0x524c46
lea ebx, [edi + 1]
test ebx, ebx
jne 0x524b0c
mov esi, dword [ebp + 4]
test esi, esi
je 0x524aff
mov ecx, eax
dec eax
test ecx, ecx
je 0x524aec
lea ebx, [eax + 1]
push 0
mov ecx, esi
call fcn.00524d00
add esi, 0x10
dec ebx
jne 0x524add
mov eax, dword [ebp + 4]
push eax
call fcn.00541330
add esp, 4
mov dword [ebp + 4], 0
xor eax, eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], eax
jmp 0x524c46
mov ecx, dword [ebp + 4]
test ecx, ecx
jne 0x524b6e
mov edi, ebx
shl edi, 4
push edi
call fcn.0054166c
mov ecx, edi
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
mov dword [ebp + 4], esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x10], esi
rep stosb byte es:[edi], al
lea edi, [ebx]
mov dword [esp + 0x14], esi
test esi, esi
mov byte [esp + 0x20], 1
je 0x524b54
mov ecx, esi
call fcn.00524ca0
add esi, 0x10
dec edi
mov byte [esp + 0x20], 0
mov dword [esp + 0x10], esi
jne 0x524b40
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], ebx
jmp 0x524c42
mov esi, dword [ebp + 0xc]
cmp ebx, esi
jg 0x524bab
cmp eax, ebx
jge 0x524b91
mov edx, ebx
sub edx, eax
shl eax, 4
add eax, ecx
push edx
push eax
call fcn.00524db0
mov dword [ebp + 8], ebx
jmp 0x524c46
jle 0x524ba3
sub eax, ebx
push eax
mov eax, ebx
shl eax, 4
add eax, ecx
push eax
call fcn.00524cb0
mov dword [ebp + 8], ebx
jmp 0x524c46
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jne 0x524bd6
cdq
and edx, 7
add eax, edx
mov ecx, eax
sar ecx, 3
cmp ecx, 4
jge 0x524bc9
mov ecx, 4
jmp 0x524bd6
cmp ecx, 0x400
jle 0x524bd6
mov ecx, 0x400
lea eax, [esi + ecx]
cmp ebx, eax
mov dword [esp + 0x10], eax
jl 0x524be5
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x10]
shl ecx, 4
push ecx
call fcn.0054166c
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 4]
shl ecx, 4
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebx
and ecx, 3
add esp, 4
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x14], eax
sub edx, ecx
shl ecx, 4
add ecx, eax
push edx
push ecx
call fcn.00524db0
mov eax, dword [ebp + 4]
push eax
call fcn.00541330
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ebp + 4], eax
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ecx
mov edi, dword [esp + 0x28]
mov ecx, dword [ebp + 4]
lea edx, [esp + 0x2c]
shl edi, 4
add edi, ecx
push edx
mov esi, edi
mov ecx, esi
call fcn.005414b6
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], 0xffffffff
mov dword [esi + 4], eax
mov cl, byte [esp + 0x34]
mov byte [esi + 8], cl
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x2c]
mov dword [esi + 0xc], edx
call fcn.00541342
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0x14
Function at 0x52d8f8
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4859df
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
mov dword [esp + 0x10], 0
call fcn.0054148c
lea eax, [esi + 0x50]
push 0x4a6300
lea ecx, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x28], 1
call fcn.0054165a
mov eax, dword [eax]
mov ecx, dword [esi + 0x88]
push eax
push 0
push ecx
push 0x4a62e4
call dword [fcn.0048a1b0]
lea ecx, [esp + 0xc]
mov edi, eax
call fcn.00541342
mov edx, dword [esi + 0x58]
lea eax, [esp + 8]
sub edx, edi
push edx
push 0x4a557c
push eax
call fcn.0054152e
mov esi, dword [esp + 0x30]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.005414c2
mov dword [esp + 0x10], 1
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 0
call fcn.00541342
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 4

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

Disassembly:
push 0xffffffffffffffff
push 0x4861f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 8]
mov dword [esp + 0x1c], 1
mov ecx, edi
call fcn.0054148c
lea ebp, [esi + 0xc]
mov byte [esp + 0x1c], 2
mov ecx, ebp
call fcn.0054148c
lea ebx, [esi + 0x10]
mov byte [esp + 0x1c], 3
mov ecx, ebx
call fcn.0054148c
lea ecx, [esi + 0x14]
mov byte [esp + 0x1c], 4
call fcn.0054148c
push 0x4a7dd4
mov ecx, ebx
mov byte [esp + 0x20], 5
call fcn.005414fe
lea eax, [esp + 0x28]
lea ecx, [esi + 0x14]
push eax
call fcn.005414b6
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esi + 0x1c], ecx
xor ebx, ebx
push 0x4a5d34
lea ecx, [esp + 0x28]
mov dword [esi], edx
mov dword [esi + 0x18], ebx
call fcn.00541c12
push 0x5c
lea ecx, [esp + 0x28]
call fcn.005414e6
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x2c]
call fcn.0054153a
push eax
mov ecx, ebp
mov byte [esp + 0x20], 6
call fcn.005414b6
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 5
call fcn.00541342
push 0x4a5d34
mov ecx, ebp
call fcn.0054167e
mov ecx, dword [esp + 0x24]
push 0x5c
mov ebp, dword [ecx - 8]
lea ecx, [esp + 0x28]
call fcn.005414e6
sub ebp, eax
lea edx, [esp + 0x2c]
push ebp
push edx
lea ecx, [esp + 0x2c]
call fcn.005414bc
push eax
mov ecx, edi
mov byte [esp + 0x20], 7
call fcn.005414b6
mov byte [esp + 0x1c], 5
lea ecx, [esp + 0x2c]
call fcn.00541342
push 0x4a5d34
mov ecx, edi
call fcn.00541c12
push 0x4a5d34
mov ecx, edi
call fcn.0054167e
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.00530770
lea ecx, [esp + 0x2c]
call fcn.00541342
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], bl
call fcn.00541342
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00541342
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x53a120
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4870c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 0
push eax
call dword [0x48ae00]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x53a163
mov eax, dword [esi]
jmp 0x53a165
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
push eax
push edi
call dword [ecx + 0x6c]
test eax, eax
jge 0x53a181
push 0x4a6778
push edi
push eax
call fcn.0054246c
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, edi
test esi, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov word [esp + 0xc], 0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
je 0x53a1e1
lea eax, [esi + 8]
push eax
call dword [0x48a130]
test eax, eax
jne 0x53a1e1
mov eax, dword [esi]
test eax, eax
je 0x53a1c8
push eax
call dword [0x48ae08]
mov eax, dword [esi + 4]
test eax, eax
je 0x53a1d8
push eax
call fcn.00541330
add esp, 4
push esi
call fcn.00541330
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x53bfa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x487350
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
lea eax, [esp + 8]
push esi
mov esi, ecx
push eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
call fcn.00541f66
push 3
push 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0
call fcn.00541f60
mov esi, dword [esi + 0xe4]
mov byte [esp + 0x34], 1
test esi, esi
jne 0x53c021
mov esi, dword [0x48adf4]
lea ecx, [esp + 0x1c]
push ecx
call esi
lea edx, [esp + 0xc]
push edx
call esi
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop esi
add esp, 0x34
ret 8
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0xc]
push eax
call fcn.00541f5a
lea edx, [esp + 8]
mov ecx, dword [esi]
push edx
mov edx, dword [esp + 0x20]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
mov dword [eax], edx
mov edx, dword [esp + 0x44]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x48]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x30]
mov eax, esp
push esi
mov dword [eax], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 0xc], edx
call dword [ecx + 0x2c]
mov eax, dword [esp + 8]
test eax, eax
jne 0x53c0aa
mov esi, dword [0x48adf4]
lea eax, [esp + 0x1c]
push eax
call esi
lea ecx, [esp + 0xc]
push ecx
call esi
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop esi
add esp, 0x34
ret 8
mov edx, dword [eax]
lea ecx, [esp + 4]
push ecx
push 0x491d40
push eax
call dword [edx]
mov eax, dword [esp + 4]
test eax, eax
jne 0x53c0e9
mov esi, dword [0x48adf4]
lea edx, [esp + 0x1c]
push edx
call esi
lea eax, [esp + 0xc]
push eax
call esi
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop esi
add esp, 0x34
ret 8
mov ecx, dword [esp + 0x40]
push ecx
lea ecx, [esp + 0x10]
call fcn.00541f5a
mov esi, dword [esp + 0xc]
push 0
sub esp, 0x10
mov eax, dword [esp + 0x18]
mov ecx, esp
mov edx, dword [eax]
push 0x4a6884
mov dword [ecx], esi
mov esi, dword [esp + 0x28]
push eax
mov dword [ecx + 4], esi
mov esi, dword [esp + 0x30]
mov dword [ecx + 8], esi
mov esi, dword [esp + 0x34]
mov dword [ecx + 0xc], esi
call dword [edx + 0x1c]
mov eax, dword [esp + 8]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, dword [0x48adf4]
lea edx, [esp + 0x1c]
push edx
call esi
lea eax, [esp + 0xc]
push eax
call esi
mov ecx, dword [esp + 0x2c]
mov eax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x34
ret 8
Function at 0x54bf30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4884a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov ebx, ecx
push edi
push 0xa
lea ecx, [esp + 0x10]
call fcn.00568e0c
mov ecx, dword [esp + 0x3c]
push 0xffffffffffffffff
lea eax, [esp + 0x10]
push 4
push eax
xor edi, edi
push ecx
mov ecx, ebx
mov dword [esp + 0x40], edi
call fcn.00552a10
cmp dword [esp + 0x18], edi
je 0x54bfd0
mov esi, dword [esp + 0x10]
cmp esi, edi
je 0x54bfd0
push ebp
mov ebp, dword [esp + 0x3c]
mov eax, esi
mov esi, dword [esi]
mov edx, dword [eax + 8]
push edx
push 0x4921e0
call fcn.00568e12
add esp, 8
test eax, eax
je 0x54bfcb
mov ecx, dword [eax + 0xc]
cmp edi, ecx
ja 0x54bfcf
mov edi, ecx
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x54bfcb
mov eax, dword [eax + 0x18]
cmp eax, 0xffffffff
jne 0x54bfbe
mov ecx, ebx
call fcn.00555050
push eax
lea eax, [esp + 0x48]
push eax
mov ecx, ebp
call fcn.005416b4
test esi, esi
jne 0x54bf86
pop ebp
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.00568e18
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0x18
Function at 0x551360
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x488878
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x20], 0
test eax, eax
jne 0x551397
lea ecx, [esp + 0x28]
call fcn.005414b0
mov eax, dword [esp + 0x28]
push eax
mov dword [esp + 0x18], eax
mov ebx, eax
call fcn.005419ea
xor edx, edx
div dword [esi + 0x2e0]
mov eax, dword [esi + 0x2dc]
test eax, eax
mov ebp, edx
mov dword [esp + 0x10], ebp
je 0x5513ee
mov edi, dword [eax + ebp*4]
test edi, edi
je 0x5513ee
mov ebp, dword [fcn.0048ade8]
mov eax, dword [edi + 8]
push ebx
push eax
call ebp
add esp, 8
test eax, eax
je 0x5513e2
mov edi, dword [edi]
test edi, edi
jne 0x5513cc
jmp 0x5513ea
test edi, edi
jne 0x5514f0
mov ebp, dword [esp + 0x10]
mov eax, dword [esi + 0x2dc]
test eax, eax
jne 0x551430
mov ebx, dword [esi + 0x2e0]
lea edi, [ebx*4]
push edi
call fcn.0054166c
mov edx, eax
mov ecx, edi
mov dword [esi + 0x2dc], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [esi + 0x2e0], ebx
mov eax, dword [esi + 0x2e8]
test eax, eax
jne 0x551476
mov eax, dword [esi + 0x2f0]
push 0x18
lea ecx, [esi + 0x2ec]
push eax
push ecx
call fcn.00541900
mov ecx, dword [esi + 0x2f0]
lea edx, [ecx + ecx*2]
dec ecx
test ecx, ecx
lea eax, [eax + edx*8 - 0x14]
jl 0x551476
inc ecx
mov edx, dword [esi + 0x2e8]
mov dword [eax], edx
mov dword [esi + 0x2e8], eax
sub eax, 0x18
dec ecx
jne 0x551462
mov edi, dword [esi + 0x2e8]
mov edx, dword [esi + 0x2e4]
inc edx
push 1
mov eax, dword [edi]
lea ebx, [edi + 8]
push ebx
mov dword [esi + 0x2e8], eax
mov dword [esi + 0x2e4], edx
call fcn.005419f6
lea eax, [edi + 0xc]
xor ecx, ecx
mov edx, eax
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
test eax, eax
je 0x5514c3
mov dword [eax], 0xffffffff
mov dword [eax + 4], 0xffffffff
mov dword [eax + 8], 1
add eax, 0xc
mov edx, ecx
dec ecx
test edx, edx
jne 0x5514ab
mov eax, dword [esp + 0x14]
mov ecx, ebx
push eax
mov dword [edi + 4], ebp
call fcn.005414fe
mov ecx, dword [esi + 0x2dc]
mov edx, dword [ecx + ebp*4]
mov dword [edi], edx
mov eax, dword [esi + 0x2dc]
mov dword [eax + ebp*4], edi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
add edi, 0xc
mov dword [esp + 0x20], 0xffffffff
mov dword [edi], eax
mov eax, dword [esp + 0x30]
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
lea ecx, [esp + 0x28]
call fcn.00541342
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0x10
Function at 0x55a207
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x489313
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
mov dword [esi], 0x48b5a8
lea ebx, [esi + 0x14]
mov dword [esp + 0x18], 0
mov ecx, ebx
call fcn.0054148c
mov edi, dword [esp + 0x20]
mov dword [esi], 0x492488
mov byte [esp + 0x18], 1
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
mov dword [esi + 8], ecx
mov edx, dword [edi + 0xc]
lea ecx, [edi + 0x14]
mov dword [esi + 0xc], edx
mov eax, dword [edi + 0x10]
push ecx
mov ecx, ebx
mov dword [esi + 0x10], eax
call fcn.005414b6
lea edx, [esi + 0x18]
push edx
call dword [fcn.0048afb0]
mov eax, dword [edi + 0x28]
mov edx, dword [esi]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
mov eax, dword [edi + 0x30]
push eax
mov ecx, esi
call dword [edx + 0x1c]
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 0x560980
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
xor ebp, ebp
push esi
cmp ebx, 1
push edi
jl 0x56099b
cmp ebx, 8
jg 0x56099b
mov eax, 1
jmp 0x56099d
xor eax, eax
mov esi, dword [esp + 0x14]
push 0x4a7b04
push eax
push esi
call fcn.0055f200
mov eax, dword [esi + 0x6af70]
add esp, 0xc
cmp eax, ebp
mov dword [esi + 0x6af78], ebp
jne 0x5609d4
mov dword [esi + 0x6af78], 1
mov dword [esi + 0x6af70], 0x10000
mov ecx, 0x7fff
xor eax, eax
lea edi, [esi + 0x4af70]
mov dword [esi + 0x6af6c], ebp
rep stosd dword es:[edi], eax
mov ax, word [ebx*8 + 0x495292]
xor ecx, ecx
mov dword [esi + 0x6af98], eax
mov cx, word [ebx*8 + 0x495290]
xor edx, edx
mov dword [esi + 0x6af9c], ecx
mov dx, word [ebx*8 + 0x495294]
xor eax, eax
mov dword [esi + 0x6afa0], edx
mov ax, word [ebx*8 + 0x495296]
cmp ebx, 2
mov dword [esi + 0x6af94], eax
jg 0x560a35
mov eax, dword [esp + 0x1c]
or byte [eax], 4
jmp 0x560a41
cmp ebx, 8
jl 0x560a41
mov eax, dword [esp + 0x1c]
or byte [eax], 2
lea edi, [esi + 0x1af70]
push 0x10000
push edi
push esi
mov dword [esi + 0x6af84], ebp
mov dword [esi + 0x6af74], ebp
call dword [esi + 0xc]
add esp, 0xc
cmp eax, ebp
mov dword [esi + 0x6af90], eax
je 0x560aba
cmp eax, 0xffffffff
je 0x560aba
cmp eax, 0x106
mov dword [esi + 0x6af8c], ebp
jae 0x560a85
push esi
call fcn.00560cd0
add esp, 4
mov dword [esi + 0x6af7c], ebp
xor eax, eax
mov edx, dword [esi + 0x6af7c]
xor ecx, ecx
mov cl, byte [edi + eax]
and edx, 0x3ff
and ecx, 0x7fff
shl edx, 5
xor ecx, edx
inc eax
cmp eax, 2
mov dword [esi + 0x6af7c], ecx
jb 0x560a8d
pop edi
pop esi
pop ebp
pop ebx
ret
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], ebp
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x560e20
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
push edi
xor ebp, ebp
xor edi, edi
mov eax, dword [esi + 0x6af90]
mov dword [esi + 0x6af80], 2
test eax, eax
je 0x561064
push ebx
cmp eax, 3
jb 0x560e9b
mov ecx, dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af7c]
xor eax, eax
and edx, 0x3ff
mov al, byte [ecx + esi + 0x1af72]
and eax, 0x7fff
shl edx, 5
xor eax, edx
and ecx, 0x7fff
mov dword [esi + 0x6af7c], eax
mov ebp, dword [esi + eax*4 + 0x4af70]
mov dword [esi + ecx*4 + 0x2af70], ebp
mov eax, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
test ebp, ebp
je 0x560edd
mov edx, dword [esi + 0x6af84]
sub edx, ebp
cmp edx, 0x7efa
ja 0x560edd
mov eax, dword [esi + 0x6af90]
mov ecx, dword [esi + 0x6afa0]
cmp ecx, eax
jbe 0x560ec5
mov dword [esi + 0x6afa0], eax
push ebp
push esi
call fcn.00560ad0
mov edi, eax
mov eax, dword [esi + 0x6af90]
add esp, 8
cmp edi, eax
jbe 0x560edd
mov edi, eax
cmp edi, 3
jb 0x560fd6
mov ecx, dword [esi + 0x6af84]
mov ebx, dword [esi + 0x6af88]
lea eax, [edi - 3]
sub ecx, ebx
push eax
push ecx
push esi
call fcn.005601d0
mov edx, dword [esi + 0x6af90]
mov ecx, dword [esi + 0x6af98]
add esp, 0xc
sub edx, edi
mov ebx, eax
cmp edi, ecx
mov dword [esi + 0x6af90], edx
mov eax, edx
ja 0x560f84
cmp eax, 3
jb 0x560f84
dec edi
mov ebp, dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af7c]
inc ebp
xor eax, eax
mov ecx, ebp
mov dword [esi + 0x6af84], ebp
and edx, 0x3ff
mov al, byte [esi + ecx + 0x1af72]
and ecx, 0x7fff
and eax, 0x7fff
shl edx, 5
xor eax, edx
dec edi
mov dword [esi + 0x6af7c], eax
mov ebp, dword [esi + eax*4 + 0x4af70]
mov dword [esi + ecx*4 + 0x2af70], ebp
mov eax, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
jne 0x560f24
jmp 0x561000
mov edx, dword [esi + 0x6af84]
xor eax, eax
add edx, edi
push 0x4a7b60
mov dword [esi + 0x6af84], edx
push 1
mov al, byte [edx + esi + 0x1af70]
lea ecx, [edx + esi]
xor edx, edx
mov dword [esi + 0x6af7c], eax
mov dl, byte [ecx + 0x1af71]
and eax, 0x3ff
and edx, 0x7fff
push esi
shl eax, 5
xor edx, eax
xor edi, edi
mov dword [esi + 0x6af7c], edx
call fcn.0055f200
add esp, 0xc
jmp 0x561006
mov eax, dword [esi + 0x6af84]
xor ecx, ecx
mov cl, byte [eax + esi + 0x1af70]
push ecx
push 0
push esi
call fcn.005601d0
mov ecx, dword [esi + 0x6af90]
add esp, 0xc
dec ecx
mov ebx, eax
mov dword [esi + 0x6af90], ecx
inc dword [esi + 0x6af84]
test ebx, ebx
je 0x561040
mov eax, dword [esi + 0x6af74]
test eax, eax
jl 0x56101d
lea ecx, [eax + esi + 0x1af70]
jmp 0x56101f
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 0
sub edx, eax
push edx
push ecx
push esi
call fcn.0055ff90
mov eax, dword [esi + 0x6af84]
add esp, 0x10
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x561055
push esi
call fcn.00560cd0
add esp, 4
mov eax, dword [esi + 0x6af90]
test eax, eax
jne 0x560e44
pop ebx
mov eax, dword [esi + 0x6af74]
test eax, eax
jl 0x561077
lea ecx, [eax + esi + 0x1af70]
jmp 0x561079
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 1
sub edx, eax
push edx
push ecx
push esi
call fcn.0055ff90
add esp, 0x10
pop edi
pop esi
pop ebp
ret
Function at 0x561d50
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x561d5b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x561e5e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x4952e0]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4952e0]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4952e0]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4952e0]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4952e0]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4952e0]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4952e0]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4952e0]
xor eax, edx
inc ecx
dec edi
jne 0x561d76
pop edi
test esi, esi
je 0x561e80
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4952e0]
xor eax, edx
inc ecx
dec esi
jne 0x561e62
pop esi
pop ebx
not eax
ret

Function at 0x561e90
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov edx, dword [ecx]
and esi, 0xff
mov eax, edx
and eax, 0xff
xor eax, esi
shr edx, 8
mov eax, dword [eax*4 + 0x4952e0]
xor eax, edx
mov edx, dword [ecx + 4]
mov dword [ecx], eax
and eax, 0xff
add eax, edx
mov edx, dword [ecx + 8]
imul eax, eax, 0x8088405
inc eax
mov esi, edx
mov dword [ecx + 4], eax
and esi, 0xff
shr eax, 0x18
xor eax, esi
pop esi
shr edx, 8
mov eax, dword [eax*4 + 0x4952e0]
xor eax, edx
mov dword [ecx + 8], eax
ret