joyce8/EMBER2024-capa huggingface dataset:
Function at 0x531e28
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
mov esi, ecx
mov ebx, eax
mov eax, edx
call fcn.00531dbc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov eax, dword [esi + ebx*8]
mov edx, dword [esi + ebx*8 + 4]
xor eax, dword [ebp - 0x20]
xor edx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
lea ecx, [ebp - 0x10]
mov eax, 8
mov edx, 0x54bba0
movzx ebx, byte [ecx]
movzx ebx, byte [edx + ebx]
mov byte [ecx], bl
inc ecx
add edx, 0x40
dec eax
jne 0x531e61
xor eax, eax
mov ecx, 4
lea edx, [ebp - 4]
movzx ebx, byte [ebp + eax - 0x10]
shl ebx, 4
xor bl, byte [ebp + eax - 0xf]
mov byte [edx], bl
add eax, 2
inc edx
dec ecx
jne 0x531e7b
movzx eax, byte [ebp - 4]
movzx edx, byte [ebp - 3]
movzx ecx, byte [ebp - 2]
mov byte [ebp - 0x21], cl
movzx ecx, byte [ebp - 1]
mov byte [ebp - 0x22], cl
movzx ecx, byte [ebp - 0x22]
movzx ecx, byte [ecx + 0x54bda0]
mov byte [ebp - 0x22], cl
movzx ecx, byte [ebp - 0x21]
movzx ecx, byte [ecx + 0x54bea0]
mov byte [ebp - 0x21], cl
movzx ecx, byte [ebp - 0x21]
xor cl, byte [ebp - 0x22]
and cl, 0x8e
xor byte [ebp - 0x21], cl
xor byte [ebp - 0x22], cl
movzx ecx, byte [ebp - 0x22]
movzx ecx, byte [ecx + 0x54bfa0]
mov byte [ebp - 0x22], cl
movzx eax, al
movzx eax, byte [eax + 0x54c0a0]
movzx edx, dl
movzx edx, byte [edx + 0x54c1a0]
mov ecx, eax
xor cl, dl
and cl, 0x90
xor al, cl
xor dl, cl
movzx ecx, dl
shr ecx, 1
xor cl, al
and cl, 5
xor al, cl
add ecx, ecx
xor dl, cl
mov byte [ebp - 0x12], al
mov byte [ebp - 0x11], dl
movzx eax, byte [ebp - 0x21]
mov byte [ebp - 0x14], al
movzx eax, byte [ebp - 0x22]
mov byte [ebp - 0x13], al
movzx eax, word [ebp - 0x12]
xor ax, word [ebp - 0x14]
and ax, 0x363b
xor word [ebp - 0x12], ax
xor word [ebp - 0x14], ax
movzx eax, word [ebp - 0x14]
shr eax, 4
xor ax, word [ebp - 0x14]
and ax, 8
movzx edx, word [ebp - 0x14]
xor dx, ax
shl eax, 4
xor dx, ax
mov word [ebp - 0x14], dx
movzx eax, word [ebp - 0x14]
shr eax, 1
xor ax, word [ebp - 0x14]
and ax, 0x2020
movzx edx, word [ebp - 0x14]
xor dx, ax
add eax, eax
xor dx, ax
mov word [ebp - 0x14], dx
movzx eax, word [ebp - 0x12]
mov word [ebp - 4], ax
movzx eax, word [ebp - 0x14]
mov word [ebp - 2], ax
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x531f90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 0xc], edx
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
lea edx, [ebp - 8]
lea eax, [ebp - 4]
call fcn.00531cc0
xor ebx, ebx
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00531e28
xor eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
inc ebx
cmp ebx, 0x10
jne 0x531fb0
mov ecx, esi
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00531d38
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x53230c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], eax
mov edi, 8
mov esi, dword [esp]
movzx eax, byte [esi]
xor ebx, ebx
mov edx, 7
mov ecx, edx
movzx ebp, al
shr ebp, cl
mov ecx, ebp
and cl, 1
xor bl, cl
dec edx
test edx, edx
jne 0x532326
and al, 0xfe
or bl, al
mov byte [esi], bl
inc esi
dec edi
jne 0x53231c
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x53234c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], 8
lea esi, [ebp + 8]
movzx edx, byte [esi]
xor ebx, ebx
mov eax, 7
mov ecx, eax
movzx edi, dl
shr edi, cl
mov ecx, edi
and cl, 1
xor bl, cl
dec eax
test eax, eax
jne 0x532367
and dl, 1
cmp bl, dl
sete al
inc esi
dec dword [ebp - 4]
jne 0x53235d
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
Function at 0x534058
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
movzx eax, byte [ebp - 0x11]
mov byte [ebp - 0x18], al
movzx eax, byte [ebp - 0x12]
mov byte [ebp - 0x17], al
movzx eax, byte [ebp - 0x13]
mov byte [ebp - 0x16], al
movzx eax, byte [ebp - 0x14]
mov byte [ebp - 0x15], al
mov eax, dword [ecx]
xor eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
movzx eax, byte [ebp - 0x19]
mov byte [ebp - 0x20], al
movzx eax, byte [ebp - 0x1a]
mov byte [ebp - 0x1f], al
movzx eax, byte [ebp - 0x1b]
mov byte [ebp - 0x1e], al
movzx eax, byte [ebp - 0x1c]
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
mov eax, 1
mov dword [ebp - 0x10], 8
movzx ebx, byte [ebp - 1]
mov esi, dword [edx + ebx*4]
movzx ebx, byte [ebp - 2]
add esi, dword [edx + ebx*4 + 0x400]
movzx ebx, byte [ebp - 3]
xor esi, dword [edx + ebx*4 + 0x800]
movzx ebx, byte [ebp - 4]
add esi, dword [edx + ebx*4 + 0xc00]
xor esi, dword [ebp - 8]
xor esi, dword [ecx + eax*4]
mov dword [ebp - 8], esi
inc eax
movzx ebx, byte [ebp - 5]
mov esi, dword [edx + ebx*4]
movzx ebx, byte [ebp - 6]
add esi, dword [edx + ebx*4 + 0x400]
movzx ebx, byte [ebp - 7]
xor esi, dword [edx + ebx*4 + 0x800]
movzx ebx, byte [ebp - 8]
add esi, dword [edx + ebx*4 + 0xc00]
xor esi, dword [ebp - 4]
xor esi, dword [ecx + eax*4]
mov dword [ebp - 4], esi
inc eax
dec dword [ebp - 0x10]
jne 0x5340c1
mov eax, dword [ecx + 0x44]
xor eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
movzx eax, byte [ebp - 0x21]
mov byte [ebp - 0x28], al
movzx eax, byte [ebp - 0x22]
mov byte [ebp - 0x27], al
movzx eax, byte [ebp - 0x23]
mov byte [ebp - 0x26], al
movzx eax, byte [ebp - 0x24]
mov byte [ebp - 0x25], al
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x28]
mov dword [eax], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x2c], eax
movzx eax, byte [ebp - 0x29]
mov byte [ebp - 0x30], al
movzx eax, byte [ebp - 0x2a]
mov byte [ebp - 0x2f], al
movzx eax, byte [ebp - 0x2b]
mov byte [ebp - 0x2e], al
movzx eax, byte [ebp - 0x2c]
mov byte [ebp - 0x2d], al
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x30]
mov dword [eax + 4], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x53418c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
movzx eax, byte [ebp - 0x11]
mov byte [ebp - 0x18], al
movzx eax, byte [ebp - 0x12]
mov byte [ebp - 0x17], al
movzx eax, byte [ebp - 0x13]
mov byte [ebp - 0x16], al
movzx eax, byte [ebp - 0x14]
mov byte [ebp - 0x15], al
mov eax, dword [ecx + 0x44]
xor eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
movzx eax, byte [ebp - 0x19]
mov byte [ebp - 0x20], al
movzx eax, byte [ebp - 0x1a]
mov byte [ebp - 0x1f], al
movzx eax, byte [ebp - 0x1b]
mov byte [ebp - 0x1e], al
movzx eax, byte [ebp - 0x1c]
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
mov eax, 0x10
mov dword [ebp - 0x10], 8
movzx ebx, byte [ebp - 1]
mov esi, dword [edx + ebx*4]
movzx ebx, byte [ebp - 2]
add esi, dword [edx + ebx*4 + 0x400]
movzx ebx, byte [ebp - 3]
xor esi, dword [edx + ebx*4 + 0x800]
movzx ebx, byte [ebp - 4]
add esi, dword [edx + ebx*4 + 0xc00]
xor esi, dword [ebp - 8]
xor esi, dword [ecx + eax*4]
mov dword [ebp - 8], esi
dec eax
movzx ebx, byte [ebp - 5]
mov esi, dword [edx + ebx*4]
movzx ebx, byte [ebp - 6]
add esi, dword [edx + ebx*4 + 0x400]
movzx ebx, byte [ebp - 7]
xor esi, dword [edx + ebx*4 + 0x800]
movzx ebx, byte [ebp - 8]
add esi, dword [edx + ebx*4 + 0xc00]
xor esi, dword [ebp - 4]
xor esi, dword [ecx + eax*4]
mov dword [ebp - 4], esi
dec eax
dec dword [ebp - 0x10]
jne 0x5341f6
mov eax, dword [ecx]
xor eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
movzx eax, byte [ebp - 0x21]
mov byte [ebp - 0x28], al
movzx eax, byte [ebp - 0x22]
mov byte [ebp - 0x27], al
movzx eax, byte [ebp - 0x23]
mov byte [ebp - 0x26], al
movzx eax, byte [ebp - 0x24]
mov byte [ebp - 0x25], al
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x28]
mov dword [eax], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x2c], eax
movzx eax, byte [ebp - 0x29]
mov byte [ebp - 0x30], al
movzx eax, byte [ebp - 0x2a]
mov byte [ebp - 0x2f], al
movzx eax, byte [ebp - 0x2b]
mov byte [ebp - 0x2e], al
movzx eax, byte [ebp - 0x2c]
mov byte [ebp - 0x2d], al
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x30]
mov dword [eax + 4], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5342c0
Capabilities:
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov esi, eax
mov edx, dword [ebp - 0x14]
mov eax, 0x54c2e8
mov ecx, 0x1000
call fcn.00407380
mov edx, dword [ebp + 8]
mov eax, 0x54c2a0
mov ecx, 0x48
call fcn.00407380
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esi
mov esi, 0x12
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
xor edi, edi
lea ecx, [ebp - 4]
mov eax, dword [ebp - 0x18]
add eax, 3
sub eax, edi
xor edx, edx
div ebx
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax + edx]
mov byte [ecx], al
inc edi
inc ecx
cmp edi, 4
jne 0x53430c
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 4]
xor dword [eax], edx
add dword [ebp - 0x18], 4
mov eax, dword [ebp - 0x18]
cmp eax, ebx
jb 0x53433e
sub dword [ebp - 0x18], ebx
add dword [ebp - 0x40], 4
dec esi
jne 0x534307
lea eax, [ebp - 0x10]
xor ecx, ecx
mov edx, 8
call fcn.00407d5c
mov esi, 9
mov ebx, dword [ebp + 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.00534058
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
movzx eax, byte [ebp - 0x1d]
mov byte [ebp - 0x24], al
movzx eax, byte [ebp - 0x1e]
mov byte [ebp - 0x23], al
movzx eax, byte [ebp - 0x1f]
mov byte [ebp - 0x22], al
movzx eax, byte [ebp - 0x20]
mov byte [ebp - 0x21], al
mov eax, dword [ebp - 0x24]
mov dword [ebx], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
movzx eax, byte [ebp - 0x25]
mov byte [ebp - 0x2c], al
movzx eax, byte [ebp - 0x26]
mov byte [ebp - 0x2b], al
movzx eax, byte [ebp - 0x27]
mov byte [ebp - 0x2a], al
movzx eax, byte [ebp - 0x28]
mov byte [ebp - 0x29], al
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 4], eax
add ebx, 8
dec esi
jne 0x53435c
mov dword [ebp - 0x18], 4
mov edi, dword [ebp - 0x14]
mov esi, 0x80
mov ebx, edi
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.00534058
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x30], eax
movzx eax, byte [ebp - 0x2d]
mov byte [ebp - 0x34], al
movzx eax, byte [ebp - 0x2e]
mov byte [ebp - 0x33], al
movzx eax, byte [ebp - 0x2f]
mov byte [ebp - 0x32], al
movzx eax, byte [ebp - 0x30]
mov byte [ebp - 0x31], al
mov eax, dword [ebp - 0x34]
mov dword [ebx], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x38], eax
movzx eax, byte [ebp - 0x35]
mov byte [ebp - 0x3c], al
movzx eax, byte [ebp - 0x36]
mov byte [ebp - 0x3b], al
movzx eax, byte [ebp - 0x37]
mov byte [ebp - 0x3a], al
movzx eax, byte [ebp - 0x38]
mov byte [ebp - 0x39], al
mov eax, dword [ebp - 0x3c]
mov dword [ebx + 4], eax
add ebx, 8
dec esi
jne 0x5343d6
add edi, 0x400
dec dword [ebp - 0x18]
jne 0x5343cf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x535134
Capabilities:
Encrypt data using twofish

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov dword [esp + 4], ecx
mov dword [esp], eax
mov ebx, dword [esp]
and ebx, 0xff
mov ecx, dword [esp]
shr ecx, 8
and ecx, 0xff
mov eax, dword [esp]
shr eax, 0x10
and eax, 0xff
mov esi, dword [esp]
shr esi, 0x18
mov dword [esp + 8], esi
cmp dword [esp + 4], 0x100
jne 0x5351c5
movzx ebx, byte [ebx + 0x54d3e8]
mov esi, dword [edx + 0xc]
mov edi, esi
and edi, 0xff
xor ebx, edi
movzx ecx, byte [ecx + 0x54d2e8]
mov edi, esi
shr edi, 8
and edi, 0xff
xor ecx, edi
movzx eax, byte [eax + 0x54d2e8]
mov edi, esi
shr edi, 0x10
and edi, 0xff
xor eax, edi
mov edi, dword [esp + 8]
movzx edi, byte [edi + 0x54d3e8]
shr esi, 0x18
xor edi, esi
mov dword [esp + 8], edi
cmp dword [esp + 4], 0xc0
jb 0x53521f
movzx ebx, byte [ebx + 0x54d3e8]
mov esi, dword [edx + 8]
mov edi, esi
and edi, 0xff
xor ebx, edi
movzx ecx, byte [ecx + 0x54d3e8]
mov edi, esi
shr edi, 8
and edi, 0xff
xor ecx, edi
movzx eax, byte [eax + 0x54d2e8]
mov edi, esi
shr edi, 0x10
and edi, 0xff
xor eax, edi
mov edi, dword [esp + 8]
movzx edi, byte [edi + 0x54d2e8]
shr esi, 0x18
xor edi, esi
mov dword [esp + 8], edi
movzx ebx, byte [ebx + 0x54d2e8]
mov esi, dword [edx + 4]
and esi, 0xff
xor ebx, esi
movzx ebx, byte [ebx + 0x54d2e8]
mov esi, dword [edx]
and esi, 0xff
xor ebx, esi
mov ebx, dword [ebx*4 + 0x554f90]
movzx ecx, byte [ecx + 0x54d3e8]
mov esi, dword [edx + 4]
shr esi, 8
and esi, 0xff
xor ecx, esi
movzx ecx, byte [ecx + 0x54d2e8]
mov esi, dword [edx]
shr esi, 8
and esi, 0xff
xor ecx, esi
xor ebx, dword [ecx*4 + 0x555390]
movzx eax, byte [eax + 0x54d2e8]
mov ecx, dword [edx + 4]
shr ecx, 0x10
and ecx, 0xff
xor eax, ecx
movzx eax, byte [eax + 0x54d3e8]
mov ecx, dword [edx]
shr ecx, 0x10
and ecx, 0xff
xor eax, ecx
xor ebx, dword [eax*4 + 0x555790]
mov eax, dword [esp + 8]
movzx eax, byte [eax + 0x54d3e8]
mov ecx, dword [edx + 4]
shr ecx, 0x18
xor eax, ecx
movzx eax, byte [eax + 0x54d3e8]
mov edx, dword [edx]
shr edx, 0x18
xor eax, edx
xor ebx, dword [eax*4 + 0x555b90]
mov eax, ebx
add esp, 0xc
pop edi
pop esi
pop ebx
ret

Function at 0x5352dc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
movzx ecx, cl
imul ebx, ecx, 0x1010101
mov ecx, eax
mov eax, 0x40
mov esi, dword [edx]
xor esi, ebx
mov dword [ecx], esi
add edx, 4
add ecx, 4
dec eax
jne 0x5352ee
pop esi
pop ebx
ret
Function at 0x5360a8
Capabilities:
Encrypt data using twofish

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
mov dword [esp + 0x18], pe_nt_image_headers32
mov esi, 0x54d2e8
mov ebx, 0x554f90
movzx edi, byte [esi]
mov dword [esp], edi
mov eax, edi
call fcn.0053501c
mov dword [esp + 8], eax
mov eax, edi
call fcn.0053502c
mov dword [esp + 0x10], eax
movzx edi, byte [esi + 0x100]
mov dword [esp + 4], edi
mov eax, edi
call fcn.0053501c
mov dword [esp + 0xc], eax
mov eax, edi
call fcn.0053502c
mov ebp, eax
mov dword [esp + 0x14], ebp
mov eax, edi
mov edx, dword [esp + 0xc]
shl edx, 8
or eax, edx
mov edx, ebp
shl edx, 0x10
or eax, edx
mov edx, ebp
shl edx, 0x18
or eax, edx
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
mov edx, eax
mov ecx, eax
shl ecx, 8
or edx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x10
or edx, ecx
mov ecx, dword [esp]
shl ecx, 0x18
or edx, ecx
mov dword [ebx + 0x400], edx
mov edx, dword [esp + 0xc]
shl ebp, 8
or edx, ebp
shl edi, 0x10
or edx, edi
mov ecx, dword [esp + 0x14]
shl ecx, 0x18
or edx, ecx
mov dword [ebx + 0x800], edx
mov edx, dword [esp + 8]
mov ecx, dword [esp]
shl ecx, 8
or edx, ecx
shl eax, 0x10
or edx, eax
mov eax, dword [esp + 8]
shl eax, 0x18
or edx, eax
mov dword [ebx + 0xc00], edx
add ebx, 4
inc esi
dec dword [esp + 0x18]
jne 0x5360c1
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x41fe9a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x422690]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0041ccf3
mov dword [ebp - 0x14], eax
cmp dword [0x46d5c0], edi
jne 0x41ff8b
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x41ff18
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x42006b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x42006b
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42006b
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x46d5c0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x46d5c4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x46d5c8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x46d5d0], eax
test eax, eax
je 0x41ff88
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x46d5cc], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41ffb0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41ffa3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x41ffc5
push 4
pop eax
jmp 0x42006d
cmp dword [ebp - 0x14], edi
je 0x41ffc5
push dword [0x46d5c0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41ffaa
mov eax, dword [0x46d5cc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x420023
cmp dword [0x46d5d0], esi
je 0x420023
push eax
call ebx
push dword [0x46d5d0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x420023
test eax, eax
je 0x420023
call ecx
test eax, eax
je 0x420018
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x420018
test byte [ebp - 8], 1
jne 0x420023
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x420053
mov eax, dword [0x46d5c4]
cmp eax, esi
je 0x420050
push eax
call ebx
test eax, eax
je 0x420050
call eax
mov edi, eax
test edi, edi
je 0x420050
mov eax, dword [0x46d5c8]
cmp eax, esi
je 0x420050
push eax
call ebx
test eax, eax
je 0x420050
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x46d5c0]
call ebx
test eax, eax
je 0x42006b
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x42006d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00419df9
leave
ret
Function at 0x60007880
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov cl, byte [eax]
and dword [ebp - 8], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
and dword [ebp - 4], esi
mov byte [ebx], cl
lea ecx, [ebx + 1]
inc eax
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
call fcn.60007837
test eax, eax
je 0x600079c0
call fcn.60007837
test eax, eax
je 0x60007936
call fcn.60007837
test eax, eax
je 0x600078f8
push 4
xor esi, esi
pop edi
lea ecx, [ebp - 0x14]
call fcn.60007837
dec edi
lea esi, [eax + esi*2]
jne 0x600078cd
mov eax, dword [ebp - 0x10]
test esi, esi
je 0x600078ed
mov ecx, dword [ebp - 0x10]
sub eax, esi
mov al, byte [eax]
mov byte [ecx], al
jmp 0x600078f0
mov byte [eax], 0
inc dword [ebp - 0x10]
jmp 0x600079d0
mov eax, dword [ebp - 0x14]
movzx esi, byte [eax]
inc dword [ebp - 0x14]
xor ecx, ecx
inc ecx
mov eax, esi
and eax, ecx
inc eax
inc eax
shr esi, 1
je 0x6000792e
test eax, eax
je 0x600079b8
mov ecx, dword [ebp - 0x10]
sub ecx, esi
mov edi, dword [ebp - 0x10]
mov dl, byte [ecx]
inc dword [ebp - 0x10]
inc ecx
dec eax
mov byte [edi], dl
jne 0x6000791b
jmp 0x600079b8
mov dword [ebp - 4], ecx
jmp 0x600079b8
call fcn.60007867
test esi, esi
jne 0x6000796b
cmp eax, 2
jne 0x60007966
lea ecx, [ebp - 0x14]
call fcn.60007867
test eax, eax
je 0x600079bb
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp + 8]
mov esi, dword [ebp - 0x10]
mov dl, byte [ecx]
inc dword [ebp - 0x10]
inc ecx
dec eax
mov byte [esi], dl
jne 0x60007956
jmp 0x600079bb
sub eax, 3
jmp 0x6000796d
dec eax
dec eax
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ecx]
shl eax, 8
add eax, ecx
inc dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.60007867
cmp esi, 0x7d00
jb 0x6000798e
inc eax
cmp esi, 0x500
jb 0x60007997
inc eax
cmp esi, 0x80
jae 0x600079a1
inc eax
inc eax
test eax, eax
je 0x600079b8
mov ecx, dword [ebp - 0x10]
sub ecx, esi
mov edi, dword [ebp - 0x10]
mov dl, byte [ecx]
inc dword [ebp - 0x10]
inc ecx
dec eax
mov byte [edi], dl
jne 0x600079aa
mov dword [ebp + 8], esi
xor esi, esi
inc esi
jmp 0x600079d2
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov al, byte [eax]
inc dword [ebp - 0x10]
inc dword [ebp - 0x14]
mov byte [ecx], al
xor esi, esi
cmp dword [ebp - 4], 0
je 0x600078a6
mov eax, dword [ebp - 0x10]
pop edi
pop esi
sub eax, ebx
pop ebx
leave
ret
Function at 0x60008f43
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x10], 0
jle 0x60008fa4
mov eax, dword [ebp + 0x10]
cdq
and edx, 3
add eax, edx
push esi
mov esi, eax
sar esi, 2
test esi, esi
jle 0x60008f7f
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x14]
sub ebx, edi
mov dword [ebp - 4], esi
push dword [ebx + edi]
call dword [ebp + 8]
mov dword [edi], eax
add edi, 4
dec dword [ebp - 4]
jne 0x60008f6d
pop edi
pop ebx
mov eax, dword [ebp + 0x10]
and eax, 0x80000003
jns 0x60008f8e
dec eax
or eax, 0xfffffffc
inc eax
xor ecx, ecx
test eax, eax
jle 0x60008fa3
mov edx, dword [ebp + 0xc]
lea esi, [edx + esi*4]
xor byte [esi + ecx], 0x7b
inc ecx
cmp ecx, eax
jl 0x60008f9a
pop esi
mov eax, dword [ebp + 0x10]
leave
ret

Function at 0x60008fa9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
lea eax, [ebp - 0x50]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.6000d48c
mov eax, dword [ebp + 0xc]
add esp, 0xc
test eax, eax
jle 0x6000901e
push ebx
push esi
lea esi, [eax - 1]
shr esi, 4
push edi
mov edi, dword [ebp + 8]
mov ebx, eax
inc esi
cmp ebx, 0x10
jge 0x60008ff0
xor eax, eax
test ebx, ebx
jle 0x60009012
mov cl, byte [ebp + eax - 0x41]
xor byte [edi + eax], cl
inc eax
cmp eax, ebx
jl 0x60008fe2
jmp 0x60009012
push 0x80
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
call fcn.6000c611
push 0x10
lea eax, [ebp - 0x10]
push eax
push edi
call fcn.6000f060
add esp, 0x1c
sub ebx, 0x10
add edi, 0x10
dec esi
jne 0x60008fd7
pop edi
pop esi
pop ebx
leave
ret