joyce8/EMBER2024-capa huggingface dataset:
Function at 0x66094a
Capabilities:
Execute anti-debugging instructions

Disassembly:
add esi, 0xb8eeec49
jmp 0x660b9d
push word [esp + 1]
pop word [esp + 3]
pop word [esp + 1]
call 0x66097e
xchg esp, eax
pop es
scasb al, byte es:[edi]
mov ecx, 0xdbebfb98
jmp 0x660941
mov byte [esp + 4], ch
push edx
lea esp, [esp + 9]
push word [esp + 2]
lea esp, [esp + 1]
call fcn.006609e0
rcl byte [ebx + ebp*8 - 0x1b], cl
mov dword [esp + 0x90], edi
lea esp, [esp + 0x90]
jmp 0x660a53
jmp 0x660a86
jmp 0x660a64
lea edi, [esp + 0xc]
rdtsc
sub bl, ah
jns 0x660a6f
js 0x660add
int1
push 0xd66899fe
add eax, 0x377d8d9c
pushfd
lea edi, [ebp + 0x37]
mov dx, 0xc82b
sub esp, 0xc
jnp 0x660a38
mov al, ah
jmp 0x660a88
sub bl, ah
mov edi, 0x1a9f7b7c
rdtsc
jmp 0x660a3c
mov al, 0xf6
neg ax
jmp 0x660ac6
mov al, ah
mov esi, dword [esp + 0x34]
inc di
jnp 0x660a3a
sub bl, ah
mov edi, 0x1a9f7b7c
rdtsc
jmp 0x660a3c
push dword [esp + 0x16]
push dword [esp + 0x48]
ret 0x4c
mov ebp, esp
bsf dx, si
ja 0x660b18
sub esp, 0x14
bts edx, edi
pop ecx
jmp 0x660aff
sub esp, 0xb4
jmp 0x660ab0
mov al, 0xf6
neg ax
jmp 0x660ac6
mov ebx, esi
lea eax, [edi*4]
jmp 0x660bb3
sub esp, 0x14
call 0x660ae4
xchg ecx, eax
pop ss
xchg edx, esp
adc ebx, ebx
or dword [eax + reloc.RASAPI32.dll_RasHangUpA], ecx
movsd dword es:[edi], dword [esi]
aam 0x47
out dx, al
stc
fmul dword [ecx - reloc.RASAPI32.dll_RasHangUpA]
mov dword [esp], esi
mov word [esp], bx
pushal
jmp 0x660aa5
bswap eax
bsr ax, bp
jno 0x660c15
not ax
sub esp, 0x1e
jmp 0x660d61
rdtsc
mov ax, word [esp]
not ah
jmp 0x6607e6
not ax
sub esp, 0x1e
lea esp, [esp + 2]
jmp 0x660bf4
lea esp, [esp + 2]
jmp fcn.00660bfe

Function at 0x660964
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [esp + 0x6c], ebp
call fcn.0066092a
jmp 0x660941

Function at 0x77e4b4
Capabilities:
Parse pe header

Disassembly:
call fcn.0077d064
call fcn.0077e4ec
lea esp, [esp + 2]
mov dword [esp + 0x48], edi
lea esp, [esp + 0x48]
jmp 0x77e4f7
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0x77e530
push eax
jmp 0x77d05f
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0x77e516

Function at 0x77e4ec
Capabilities:
Parse pe header

Disassembly:
mov byte [esp + 7], dh
mov word [esp + 2], dx
jmp 0x77e4b9

Function at 0x77e514
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
mov dword [esp], esi
mov byte [esp], ch
mov word [esp], sp
pop word [esp]
call fcn.0077e4b4
jmp 0x77e4d9
Function at 0x44f2a0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
lea ecx, [eax - 3]
cmp ecx, 0x79
ja 0x44f2c2
movzx ecx, byte [ecx + 0x44e788]
jmp dword [ecx*4 + 0x44e780]
xor eax, eax
pop ebp
ret 0x24
cmp eax, 0xc8
jle 0x44f32d
cmp eax, 0x259
jg 0x44f2eb
je 0x44f32d
lea ecx, [eax - 0xe8]
cmp ecx, 0x13
ja 0x44f304
movzx edx, byte [ecx + 0x44e80c]
jmp dword [edx*4 + 0x44e804]
lea ecx, [eax - 0x25d]
cmp ecx, 0x6f
ja 0x44f304
movzx ecx, byte [ecx + 0x44e828]
jmp dword [ecx*4 + 0x44e820]
lea edx, [eax - 0x320]
mov ecx, 5
cmp edx, ecx
jbe 0x44f32d
lea edx, [eax - 0x191]
cmp edx, 0xc6
jbe 0x44f32d
cmp eax, 0xbb8
jne 0x44f336
cmp dword [ebp + 0x10], ecx
ja 0x44f2bc
mov eax, 1
pop ebp
ret 0x24
cmp eax, 0xbb9
je 0x44f328
cmp eax, 0x7530
jle 0x44f2bc
call fcn.0055057e
mov eax, dword [eax + 4]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x20]
mov ecx, dword [eax + 0xb988]
add edx, 0xffff8acf
push edx
call fcn.004a7e90
test eax, eax
je 0x44f2bc
xor ecx, ecx
cmp dword [eax + 0x10], ecx
setne cl
mov eax, ecx
pop ebp
ret 0x24
Function at 0x470400
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5667a4
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5f2100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x60]
mov dword [esi], 0x58ef34
call fcn.0040a060
xor ebx, ebx
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xec], ebx
mov dword [esi + 0xf0], ebx
mov dword [esi + 0xf4], ebx
mov dword [esi + 0xf8], ebx
mov dword [esi + 0x108], ebx
mov dword [esi + 0x10c], ebx
mov dword [esi + 0x110], ebx
mov dword [esi + 0x114], ebx
lea edi, [esi + 0x118]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
lea ecx, [esi + 0x130]
mov dword [ebp - 4], ebx
mov dword [esi + 0x128], ebx
mov dword [esi + 0x12c], ebx
call dword [0x5854fc]
lea ecx, [esi + 0x134]
call dword [0x5854fc]
push esi
lea ecx, [esi + 0x138]
mov byte [ebp - 4], 2
call fcn.004ffe60
fldz
push ebx
fstp dword [esi + 0x34]
push ebx
push ebx
push ebx
or eax, 0xffffffff
xor ecx, ecx
push edi
mov byte [ebp - 4], 3
mov word [esi + 0xe8], ax
mov dword [esi + 0x104], ebx
mov byte [esi + 0x2e], bl
mov word [esi + 0x2c], cx
call dword [0x583774]
xor eax, eax
mov dword [esi + 0x1b4], ebx
mov byte [esi + 0x2f], bl
mov dword [esi + 0x30], ebx
mov dword [esi + 0xa8], eax
mov dword [esi + 0xac], eax
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], eax
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc4], eax
call fcn.00463a80
push 0x58ed20
lea ecx, [esi + 0x134]
mov dword [esi + 0xc], eax
call dword [0x5854d8]
mov eax, 1
mov dword [esi + 0xa0], 0xffffffff
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x1b0], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x100], ebx
mov dword [esi + 0xa4], ebx
mov eax, esi
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 0x4a8640
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
or esi, 0xffffffff
call dword [case.0x493226.0]
test edi, edi
je 0x4a867b
jmp 0x4a8660
movzx edx, byte [eax]
mov ecx, esi
and ecx, 0xff
xor ecx, edx
shr esi, 8
xor esi, dword [ecx*4 + 0x5ef450]
inc eax
dec edi
jne 0x4a8660
mov eax, esi
pop edi
not eax
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56e213
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5f2100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00550d9c
xor ecx, ecx
mov dword [esi], 0x5950ac
mov dword [ebp - 4], ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], 0x588724
mov ebx, dword [ebp + 8]
lea edi, [esi + 0x20]
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ecx
xor eax, eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
cmp dword [ebx + 0xc], ecx
mov byte [ebp - 4], 1
sete al
mov dword [esi + 0x30], eax
cmp eax, ecx
je 0x4bdc0b
mov eax, dword [ebx]
mov edx, dword [eax + 0x58]
push edi
mov ecx, ebx
call edx
mov eax, dword [ebx + 4]
push eax
call dword [0x5831d0]
push eax
mov ecx, esi
call fcn.00550d54
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, dword [edi]
push eax
mov eax, dword [ebx + 4]
push ecx
push eax
call dword [0x5831d8]
push eax
lea ecx, [esi + 0x10]
call fcn.00550d42
lea eax, [esi + 0x10]
test eax, eax
je 0x4bdbd7
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.00550d5a
mov edx, dword [esi + 0x24]
mov dword [esi + 0x18], eax
mov eax, dword [edi]
push edx
push eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, esi
call fcn.005516ba
mov edx, dword [ebx + 8]
push edx
call dword [0x5830ec]
push eax
push edi
mov ecx, esi
call fcn.00550f5e
jmp 0x4bdc1d
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [ebx + 4]
mov dword [esi + 4], ecx
mov edx, dword [ebx + 8]
mov dword [esi + 8], edx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4d0220
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571048
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5f2100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
call fcn.004d03c0
xor ebx, ebx
lea ecx, [esi + 0xd8]
push 0xa
mov dword [ebp - 4], ebx
mov dword [esi], 0x597e64
call fcn.00551498
mov byte [ebp - 4], 1
call fcn.0055057e
mov edi, dword [eax + 4]
mov dword [ebp - 0x10], edi
cmp dword [edi + 0x450], ebx
jne 0x4d0299
mov ecx, 0x5f7de4
call dword [case.0x493226.0]
push eax
call dword [0x583200]
mov dword [edi + 0x450], eax
mov eax, dword [0x5efd34]
push 0x5f7ddc
lea ecx, [esi + 8]
mov dword [esi + 4], eax
call dword [0x585548]
lea edi, [esi + 0xc]
push 0x5f7de0
mov ecx, edi
call dword [0x585548]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
mov dword [esi + 0xd4], edx
mov dword [esi + 0xd0], ecx
mov ecx, dword [eax + 0x3f0]
xor eax, eax
mov dword [esi + 0xcc], ecx
mov dword [esi + 0x18], ebx
xor edx, edx
mov word [esi + 0x60], dx
mov dword [esi + 0x62], eax
mov dword [esi + 0x66], eax
mov dword [esi + 0x6a], eax
mov word [esi + 0x6e], ax
push 0x50
mov byte [esi + 0x70], al
lea eax, [esi + 0x72]
push ebx
push eax
call fcn.00553048
add esp, 0xc
push 0x597b88
lea ecx, [esi + 0x40]
mov byte [esi + 0x76], bl
mov dword [esi + 0x1c], 0xffffffff
mov dword [esi + 0x20], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
call dword [0x5854d8]
push 0x597b8c
lea ecx, [esi + 0x4c]
mov dword [esi + 0x48], ebx
call dword [0x5854d8]
lea ecx, [esi + 0x54]
push 0x597b90
mov dword [esi + 0x50], ebx
call dword [0x5854d8]
push 0x597b94
lea ecx, [esi + 0x58]
call dword [0x5854d8]
push 0x597b98
lea ecx, [esi + 0x44]
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x48], 1
mov dword [esi + 0x34], 0x3e8
call dword [0x5854d8]
push edi
lea ecx, [esi + 0x54]
call dword [0x585548]
lea ecx, [esi + 0xd8]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0xf4], ebx
call fcn.00551492
mov ecx, esi
call fcn.004cff80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4d43f0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx + 0x57dc]
pop ebp
jmp fcn.00419730
Function at 0x515550
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57a274
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5f2100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x1c]
call fcn.00550d9c
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
test edi, edi
jne 0x515594
xor eax, eax
jmp 0x515597
mov eax, dword [edi + 4]
push eax
call dword [0x5831d0]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00550d54
lea eax, [esi + 0x78]
test eax, eax
je 0x5155b1
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.00550d5a
mov edx, dword [ebp - 0x18]
mov ecx, dword [esi + 0xb0]
push 0xcc0020
push 0
push 0
push edx
mov ebx, eax
mov eax, dword [esi + 0xb4]
push eax
mov eax, dword [edi + 4]
push ecx
push 0
push 0
push eax
call dword [0x5831cc]
test ebx, ebx
je 0x5155ed
mov ebx, dword [ebx + 4]
mov ecx, dword [ebp - 0x18]
push ebx
push ecx
call fcn.00550d5a
mov edx, dword [edi]
mov edx, dword [edx + 0x30]
lea eax, [esi + 0x80]
push eax
mov ecx, edi
call edx
push 1
mov ecx, edi
mov ebx, eax
call fcn.00550fe2
mov ecx, dword [esi + 0xac]
mov eax, dword [edi]
mov edx, dword [eax + 0x38]
push ecx
mov ecx, edi
call edx
mov ecx, dword [esi + 0xa8]
mov eax, dword [edi]
push ecx
lea edx, [esi + 0x98]
push edx
push 0xffffffffffffffff
lea ecx, [esi + 0x94]
mov dword [ebp + 8], eax
call dword [case.0x493226.0]
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x70]
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
push ebx
mov ecx, edi
call edx
mov eax, dword [esi + 0xdc]
mov ecx, dword [esi + 0xd8]
mov edx, dword [esi + 0xc0]
push eax
mov eax, dword [esi + 0xc4]
push ecx
mov ecx, dword [esi + 0xc8]
push edx
mov edx, dword [esi + 0xcc]
push 0
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 0xd0]
mov dword [eax + 4], edx
mov edx, dword [esi + 0xd4]
mov dword [eax + 8], ecx
push edi
mov ecx, esi
mov dword [eax + 0xc], edx
call fcn.00515000
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.00550d90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x518740
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57a560
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5f2100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0xc]
mov dword [esi], 0x5a433c
call dword [0x5854fc]
xor edi, edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
lea ecx, [esi + 0x2c]
mov dword [ebp - 4], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
call dword [0x5854fc]
lea ecx, [esi + 0x30]
call dword [0x5854fc]
lea ecx, [esi + 0x34]
call dword [0x5854fc]
xor eax, eax
push 0x5a3c30
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 3
mov dword [esi + 0x10], edi
mov word [esi + 8], ax
call dword [0x5854d8]
push 0x5a3c34
lea ecx, [esi + 0x34]
call dword [0x5854d8]
xor eax, eax
mov dword [esi + 0x1c], eax
xor ecx, ecx
xor edx, edx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], edi
mov eax, esi
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 0x553b00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x553b3b
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jle 0x553b3a
xor ecx, ecx
test edi, edi
jle 0x553b3a
push ebx
lea ebx, [ebx]
mov eax, ecx
cdq
mov ebx, 0x4d
idiv ebx
inc ecx
inc esi
mov al, byte [edx + 0x5ae028]
xor byte [esi - 1], al
cmp ecx, edi
jl 0x553b20
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x556900
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
lea esi, [ecx + 0x18]
mov dword [ebp - 4], 0x10
mov edx, dword [ecx + 0xe8]
mov al, dl
mov dword [ebp - 8], edx
shr edx, 0x1b
mov bl, al
and bl, 1
shl bl, 5
xor bl, dl
mov edx, dword [ecx + 0xe8]
shr edx, 0x17
and dl, 0x3f
mov byte [ecx + 0x99], dl
mov edx, dword [ecx + 0xe8]
shr edx, 0x13
and dl, 0x3f
mov byte [ecx + 0x9a], dl
mov edx, dword [ecx + 0xe8]
shr edx, 0xf
and dl, 0x3f
mov byte [ecx + 0x9b], dl
mov edx, dword [ecx + 0xe8]
shr edx, 0xb
and dl, 0x3f
mov byte [ecx + 0x9c], dl
mov edx, dword [ecx + 0xe8]
shr edx, 7
and dl, 0x3f
mov byte [ecx + 0x9d], dl
mov edx, dword [ecx + 0xe8]
shr edx, 3
and dl, 0x3f
mov byte [ecx + 0x9e], dl
mov edx, dword [ecx + 0xe8]
and al, 0x1f
add al, al
shr edx, 0x1f
xor al, dl
mov byte [ecx + 0x9f], al
mov byte [ecx + 0x98], bl
lea eax, [ecx + 0x98]
mov edx, 8
lea ecx, [ecx]
mov bl, byte [esi]
xor byte [eax], bl
inc esi
inc eax
dec edx
jne 0x5569c0
movzx eax, byte [ecx + 0x98]
mov edx, dword [eax*4 + 0x5aed08]
movzx eax, byte [ecx + 0x99]
mov dword [ecx + 0xe8], edx
mov eax, dword [eax*4 + 0x5aee08]
xor eax, edx
movzx edx, byte [ecx + 0x9a]
mov dword [ecx + 0xe8], eax
mov edx, dword [edx*4 + str.EFORCECON_XKEY_RUN]
xor edx, eax
movzx eax, byte [ecx + 0x9b]
mov dword [ecx + 0xe8], edx
mov eax, dword [eax*4 + 0x5af008]
xor eax, edx
movzx edx, byte [ecx + 0x9c]
mov dword [ecx + 0xe8], eax
mov edx, dword [edx*4 + 0x5af108]
xor edx, eax
movzx eax, byte [ecx + 0x9d]
mov dword [ecx + 0xe8], edx
mov eax, dword [eax*4 + 0x5af208]
xor eax, edx
movzx edx, byte [ecx + 0x9e]
mov dword [ecx + 0xe8], eax
mov edx, dword [edx*4 + 0x5af308]
xor edx, eax
movzx eax, byte [ecx + 0x9f]
mov dword [ecx + 0xe8], edx
mov eax, dword [eax*4 + 0x5af408]
xor eax, edx
xor eax, dword [ecx + 0xe4]
dec dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 0xe8], eax
mov dword [ecx + 0xe4], edx
jne 0x556913
pop edi
pop esi
mov dword [ecx + 0xe8], edx
mov dword [ecx + 0xe4], eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x557160
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x5f2100]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x48]
lea eax, [ebp - 0x38]
push eax
mov ebx, edx
push ecx
mov dword [ebp - 0x4c], ebx
call dword [0x5833c4]
test eax, eax
jne 0x5571a0
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00553038
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x38]
push edi
mov edx, eax
xor edi, edi
and edx, 1
je 0x5571b7
mov dword [ebp - 0x3c], 1
mov edi, dword [ebp - 0x3c]
test al, 2
je 0x5571be
or edi, 2
test al, 4
je 0x5571c5
or edi, 4
mov ecx, eax
and ecx, 0x10
je 0x5571cf
or edi, 0x10
test al, 0x20
je 0x5571d6
or edi, 0x20
test ecx, ecx
je 0x5571e2
or edi, 0x40000000
jmp 0x5571e8
or edi, 0x80000000
or edi, 0x1000000
mov dword [ebp - 0x3c], edi
test edx, edx
jne 0x5571fe
or edi, 0x800000
mov dword [ebp - 0x3c], edi
mov edx, dword [esi + 0x48]
push 0
push edx
call dword [0x5832d8]
mov dword [esi + 0x3c], eax
cmp eax, 0x28
jbe 0x5572d3
cmp dword [esi + 0x10], 0
jne 0x5572d3
mov eax, dword [esi + 0x48]
mov edi, dword [0x5833c0]
push 0
push 0
push 0
push eax
call edi
mov eax, dword [esi + 0x48]
mov ebx, dword [0x5832d4]
push 0
lea ecx, [ebp - 0x44]
push ecx
push 2
lea edx, [ebp - 0x40]
push edx
push eax
call ebx
mov ecx, dword [esi + 0x48]
push 0
push 0
push 0x24
push ecx
call edi
mov ecx, dword [esi + 0x48]
push 0
lea edx, [ebp - 0x44]
push edx
push 4
lea eax, [ebp - 0x48]
push eax
push ecx
call ebx
mov edx, 0x54ad
cmp word [ebp - 0x40], dx
jne 0x5572c1
mov eax, dword [ebp - 0x48]
lea ecx, [eax + 0x34]
cmp dword [esi + 0x3c], ecx
jbe 0x5572c1
mov edx, dword [esi + 0x48]
push 0
push 0
push eax
push edx
call edi
mov edx, dword [esi + 0x48]
push 0
lea eax, [ebp - 0x44]
push eax
push 4
lea ecx, [ebp - 0x50]
push ecx
push edx
call ebx
mov eax, dword [ebp - 0x50]
cmp eax, 0x5a4d
je 0x5572ba
cmp eax, 0x454e
je 0x5572ba
cmp eax, 0x454c
je 0x5572ba
cmp eax, 0x4550
jne 0x5572c1
or dword [ebp - 0x3c], 0x400000
mov eax, dword [esi + 0x48]
push 0
push 0
push 0
push eax
call edi
mov ebx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
push ecx
push edx
mov dword [ebx + 0x10], edi
call fcn.005570c0
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
push esi
push edi
mov dword [ebx], eax
call fcn.005570c0
mov ecx, dword [ebp - 0x34]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x30]
push eax
push ecx
call fcn.005570c0
lea edx, [ebp - 0x3c]
push edx
mov dword [ebx + 8], eax
lea eax, [ebp - 0x40]
push eax
push esi
push edi
call fcn.00557030
movzx ecx, word [ebp - 0x40]
movzx edx, word [ebp - 0x3c]
shl ecx, 0x10
add esp, 0x28
or ecx, edx
mov dword [ebx + 0xc], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00553038
mov esp, ebp
pop ebp
ret
Function at 0x557b30
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
jne 0x557b37
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x557c0d
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5af890]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5af890]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5af890]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5af890]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5af890]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5af890]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5af890]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5af890]
add ecx, 8
sub edx, 8
dec esi
jne 0x557b50
pop edi
test edx, edx
je 0x557c2a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x5af890]
inc ecx
dec edx
jne 0x557c11
not eax
pop esi
ret

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

Disassembly:
mov eax, dword [edx]
movsx ecx, cl
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5af890]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x5af890]
mov dword [edx + 8], ecx
ret
Function at 0x55ad40
Capabilities:
Encode data using xor

Disassembly:
push esi
not eax
cmp edx, 8
jb 0x55ae0f
mov esi, edx
shr esi, 3
push edi
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5afcb8]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5afcb8]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5afcb8]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5afcb8]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5afcb8]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5afcb8]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5afcb8]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5afcb8]
add ecx, 8
sub edx, 8
dec esi
jne 0x55ad52
pop edi
test edx, edx
je 0x55ae2c
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x5afcb8]
inc ecx
dec edx
jne 0x55ae13
not eax
pop esi
ret

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

Disassembly:
mov eax, dword [edx]
movsx ecx, cl
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5afcb8]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x5afcb8]
mov dword [edx + 8], ecx
ret