joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47d8f0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov ebx, edx
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], esi
jb 0x47d90d
mov eax, dword [edi]
jmp 0x47d90f
mov eax, edi
mov byte [eax], 0
test ecx, ecx
je 0x47da6a
test ebx, ebx
je 0x47da6a
mov al, byte [ecx]
dec ebx
mov byte [ebp + esi - 4], al
inc ecx
mov ah, byte [ebp - 2]
inc esi
mov dl, byte [ebp - 3]
mov dh, byte [ebp - 4]
mov dword [ebp - 0x10], ecx
mov byte [ebp - 0xb], ah
mov byte [ebp - 9], dl
mov byte [ebp - 0xa], dh
cmp esi, 3
jne 0x47d9a7
mov al, dh
mov cl, dh
shr al, 2
and cl, 3
mov byte [ebp - 8], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ah
mov byte [ebp - 7], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ah
and al, 0x3f
mov byte [ebp - 6], cl
mov byte [ebp - 5], al
xor esi, esi
nop word [eax + eax]
movzx eax, byte [ebp + esi - 8]
mov ecx, edi
movzx eax, byte [eax + 0x5d4740]
push eax
push 1
call fcn.00453520
inc esi
cmp esi, 4
jl 0x47d980
mov ecx, dword [ebp - 0x10]
xor esi, esi
mov dl, byte [ebp - 9]
mov dh, byte [ebp - 0xa]
test ebx, ebx
jne 0x47d922
mov dword [ebp - 0x10], esi
test esi, esi
je 0x47da60
mov eax, esi
cmp esi, 3
jge 0x47d9e0
cmp eax, 3
jae 0x47da73
mov byte [ebp + eax - 4], 0
inc eax
cmp eax, 3
jl 0x47d9c4
mov cl, byte [ebp - 2]
mov dl, byte [ebp - 3]
mov dh, byte [ebp - 4]
jmp 0x47d9e3
mov cl, byte [ebp - 0xb]
mov al, dh
xor ebx, ebx
shr al, 2
and dh, 3
mov byte [ebp - 8], al
mov al, dl
shr al, 4
and dl, 0xf
shl dh, 4
add dh, al
shl dl, 2
mov al, cl
mov byte [ebp - 7], dh
shr al, 6
and cl, 0x3f
add dl, al
mov byte [ebp - 5], cl
lea eax, [esi + 1]
mov byte [ebp - 6], dl
mov dword [ebp - 4], eax
test eax, eax
jle 0x47da3e
mov esi, eax
nop
movzx eax, byte [ebp + ebx - 8]
mov ecx, edi
movzx eax, byte [eax + 0x5d4740]
push eax
push 1
call fcn.00453520
inc ebx
cmp ebx, esi
jl 0x47da20
mov esi, dword [ebp - 0x10]
cmp esi, 3
jge 0x47da60
mov ebx, 3
sub ebx, esi
nop word [eax + eax]
push 0x3d
push 1
mov ecx, edi
call fcn.00453520
sub ebx, 1
jne 0x47da50
mov eax, dword [edi + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00544a28
int3

Function at 0x47e8f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
test edx, edx
je 0x47e94b
push ebx
push esi
push edi
mov edi, 0x5d49a8
mov byte [edx], 0xd0
mov ebx, 0x5d49a9
lea eax, [edx + 1]
mov ecx, 0x5d49aa
sub edi, edx
sub ebx, edx
mov esi, 0x15
sub ecx, edx
mov dword [ebp + 8], ecx
movzx ecx, byte [edi + eax]
lea eax, [eax + 3]
xor cl, byte [edx]
mov byte [eax - 3], cl
movzx ecx, byte [ebx + eax - 3]
xor cl, byte [edx]
mov byte [eax - 2], cl
mov ecx, dword [ebp + 8]
movzx ecx, byte [ecx + eax - 3]
xor cl, byte [edx]
mov byte [eax - 1], cl
sub esi, 1
jne 0x47e920
pop edi
pop esi
pop ebx
mov eax, 0x40
pop ebp
ret 4
Function at 0x47e960
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
test edx, edx
je 0x47e9bb
push ebx
push esi
push edi
mov edi, 0x5d4928
mov byte [edx], 0xbd
mov ebx, 0x5d4929
lea eax, [edx + 1]
mov ecx, 0x5d492a
sub edi, edx
sub ebx, edx
mov esi, 0x15
sub ecx, edx
mov dword [ebp + 8], ecx
movzx ecx, byte [edi + eax]
lea eax, [eax + 3]
xor cl, byte [edx]
mov byte [eax - 3], cl
movzx ecx, byte [ebx + eax - 3]
xor cl, byte [edx]
mov byte [eax - 2], cl
mov ecx, dword [ebp + 8]
movzx ecx, byte [ecx + eax - 3]
xor cl, byte [edx]
mov byte [eax - 1], cl
sub esi, 1
jne 0x47e990
pop edi
pop esi
pop ebx
mov eax, 0x40
pop ebp
ret 4

Function at 0x47e9d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
test edx, edx
je 0x47ea48
push ebx
push esi
mov ecx, str.1e210
mov byte [edx], 0x30
sub ecx, edx
lea eax, [edx + 1]
push edi
mov dword [ebp + 8], ecx
mov edi, 0x5d47c8
mov ebx, 0x5d47c9
mov ecx, 0x5d47cb
sub edi, edx
sub ebx, edx
sub ecx, edx
mov esi, 0x56
mov dword [ebp - 4], ecx
nop dword [eax + eax]
movzx ecx, byte [edi + eax]
lea eax, [eax + 4]
xor cl, byte [edx]
mov byte [eax - 4], cl
movzx ecx, byte [ebx + eax - 4]
xor cl, byte [edx]
mov byte [eax - 3], cl
mov ecx, dword [ebp + 8]
movzx ecx, byte [ecx + eax - 4]
xor cl, byte [edx]
mov byte [eax - 2], cl
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + eax - 4]
xor cl, byte [edx]
mov byte [eax - 1], cl
sub esi, 1
jne 0x47ea10
pop edi
pop esi
pop ebx
mov eax, 0x159
mov esp, ebp
pop ebp
ret 4
Function at 0x47ea90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x610684]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push eax
push 1
mov dword [ebp - 0x18], eax
mov esi, ecx
lea eax, [ebp - 0x14]
push 0xe
push eax
call fcn.0055bb31
add esp, 0x10
cmp eax, 1
je 0x47ead5
mov eax, 0xfffffffe
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00544516
mov esp, ebp
pop ebp
ret 4
mov cl, byte [ebp - 0x14]
mov ch, byte [ebp - 0x13]
mov edx, dword [ebp - 0x12]
mov eax, dword [ebp - 0xa]
mov byte [esi], cl
mov byte [esi + 1], ch
mov dword [esi + 4], edx
mov dword [esi + 0xc], eax
push ebx
mov bx, word [ebp - 0xe]
mov word [esi + 8], bx
push edi
mov di, word [ebp - 0xc]
mov word [esi + 0xa], di
cmp cl, 0x42
jne 0x47ec3c
cmp ch, 0x4d
jne 0x47ec3c
test bx, bx
jne 0x47ec3c
test di, di
jne 0x47ec3c
cmp edx, 0x36
jbe 0x47ec3c
cmp edx, 0x1e8480
ja 0x47ec3c
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x47eb47
push eax
call fcn.0054ca06
add esp, 4
push dword [esi + 4]
call fcn.00563454
add esp, 4
mov dword [esi + 0x3c], eax
test eax, eax
jne 0x47eb71
pop edi
pop ebx
mov eax, 0xfffffff9
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00544516
mov esp, ebp
pop ebp
ret 4
xor edx, edx
mov ecx, dword [esi + 0x3c]
movzx eax, byte [ebp + edx - 0x14]
mov byte [edx + ecx], al
mov ecx, dword [esi + 0x3c]
movzx eax, byte [ebp + edx - 0x13]
mov byte [ecx + edx + 1], al
add edx, 2
cmp edx, 0xe
jl 0x47eb73
push dword [ebp - 0x18]
mov eax, dword [esi + 4]
sub eax, 0xe
push 1
push eax
mov eax, dword [esi + 0x3c]
add eax, 0xe
push eax
call fcn.0055bb31
add esp, 0x10
cmp eax, 1
je 0x47ebb7
push dword [esi + 0x3c]
jmp 0x47ec2d
mov ecx, dword [esi + 0x3c]
mov eax, dword [ecx + 0xe]
mov dword [esi + 0x10], eax
mov eax, dword [ecx + 0x12]
mov dword [esi + 0x14], eax
mov eax, dword [ecx + 0x16]
mov dword [esi + 0x18], eax
movzx eax, word [ecx + 0x1a]
mov dword [esi + 0x1c], eax
cmp dword [esi + 0x1c], 1
movzx eax, word [ecx + 0x1c]
mov dword [esi + 0x20], eax
mov eax, dword [ecx + 0x1e]
mov dword [esi + 0x24], eax
mov eax, dword [ecx + 0x22]
mov dword [esi + 0x28], eax
mov eax, dword [ecx + 0x26]
mov dword [esi + 0x2c], eax
mov eax, dword [ecx + 0x2a]
mov dword [esi + 0x30], eax
mov eax, dword [ecx + 0x2e]
mov dword [esi + 0x34], eax
mov eax, dword [ecx + 0x32]
mov dword [esi + 0x38], eax
jne 0x47ec2c
cmp dword [esi + 0x24], 0
jne 0x47ec2c
mov eax, dword [esi + 0x20]
cmp eax, 0x18
je 0x47ec17
cmp eax, 0x20
jne 0x47ec2c
pop edi
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00544516
mov esp, ebp
pop ebp
ret 4
push ecx
call fcn.0054ca06
mov dword [esi + 0x3c], 0
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, 0xfffffffe
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.00544516
mov esp, ebp
pop ebp
ret 4
Function at 0x47ec60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x610684]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edi
mov edx, dword [edi + 0x3c]
test edx, edx
jne 0x47ec97
lea eax, [edx - 3]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00544516
mov esp, ebp
pop ebp
ret 8
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x47ecb4
lea eax, [ebx - 4]
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00544516
mov esp, ebp
pop ebp
ret 8
mov ecx, ebx
push esi
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47ecc0
mov eax, dword [edi + 0x18]
sub ecx, esi
imul eax, dword [edi + 0x14]
inc ecx
mov dword [ebp - 0x10], ecx
lea eax, [eax + eax*2]
cmp ecx, eax
jbe 0x47ecf3
pop esi
pop ebx
mov eax, 0xfffffffb
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00544516
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 0x20]
xor ecx, ecx
mov edi, dword [edi + 0xc]
xor esi, esi
add edi, edx
shr eax, 3
xor edx, edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0x8040201
mov dword [ebp - 8], 0x80402010
cmp dword [ebp - 0x10], ecx
jbe 0x47ed66
nop word [eax + eax]
mov al, byte [esi + ebx]
test byte [ebp + edx - 0xc], al
mov al, byte [ecx + edi]
jne 0x47ed34
test al, 1
je 0x47ed3d
dec al
jmp 0x47ed3a
test al, 1
jne 0x47ed3d
inc al
mov byte [ecx + edi], al
inc ecx
cmp dword [ebp - 0x14], 4
jne 0x47ed58
mov eax, ecx
and eax, 0x80000003
jns 0x47ed52
dec eax
or eax, 0xfffffffc
inc eax
cmp eax, 3
jne 0x47ed58
inc ecx
inc edx
cmp edx, 8
jne 0x47ed61
xor edx, edx
inc esi
cmp esi, dword [ebp - 0x10]
jb 0x47ed20
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
push 1
push dword [eax + 4]
push dword [eax + 0x3c]
call fcn.00563c84
mov ecx, dword [ebp - 4]
add esp, 0x10
dec eax
neg eax
pop esi
sbb eax, eax
xor ecx, ebp
pop ebx
and eax, 0xfffffffa
pop edi
call fcn.00544516
mov esp, ebp
pop ebp
ret 8
Function at 0x481e90
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59cb70
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x610684]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
xor bl, bl
cmp dword [ebp + 0x18], 0
je 0x481fde
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0
cmovae eax, dword [ebp + 8]
push eax
call fcn.0055e605
add esp, 8
test eax, eax
jne 0x481ef0
mov bl, 1
jmp 0x481fde
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
push 2
sub esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00488730
cmp eax, 0xffffffff
je 0x481fde
push eax
push 0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp + 8]
call fcn.0046e080
push eax
lea ecx, [ebp - 0x28]
call fcn.004611b0
lea ecx, [ebp - 0x44]
call fcn.0044f210
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x28]
push eax
call fcn.0044f880
mov ecx, esi
call fcn.00481e90
cmp al, 1
jne 0x481fc9
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call fcn.005601d1
add esp, 4
test eax, eax
jne 0x481fae
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push str.Created__S
push 0
push 4
push str.AdobeGCUpdaterCFU
push dword [esi + 4]
call fcn.004b11f0
add esp, 0x18
mov bl, 1
jmp 0x481fc9
push str.Failed_to_Create__S
push 0
push 4
push str.AdobeGCUpdaterCFU
push dword [esi + 4]
call fcn.004b11f0
add esp, 0x14
xor bl, bl
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x481fde
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0044f7a0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 8
jb 0x481ff3
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.0044f7a0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00544516
mov esp, ebp
pop ebp
ret 0x18
Function at 0x482020
Capabilities:
Check for time delay via gettickcount
Enumerate services
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5f1280
push 0x54c8a0
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x610684]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov esi, edx
mov eax, ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x64], eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], 0x7530
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 1
push esi
mov edi, dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
call edi
test eax, eax
jne 0x4821ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x48217e
push dword [ebp - 0x48]
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x48217e
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x48]
push ecx
push dword [ebp - 0x48]
push eax
push 1
push esi
call edi
test eax, eax
je 0x48216b
xor edi, edi
mov dword [ebp - 0x50], edi
cmp edi, dword [ebp - 0x20]
jae 0x4821ae
lea eax, [edi + edi*8]
mov ecx, dword [ebp - 0x54]
movups xmm1, xmmword [ecx + eax*4]
movups xmm0, xmmword [ecx + eax*4 + 0x10]
movups xmmword [ebp - 0x78], xmm0
mov eax, dword [ecx + eax*4 + 0x20]
mov dword [ebp - 0x68], eax
push 0x24
movd eax, xmm1
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x60], esi
test esi, esi
je 0x48216b
mov dword [ebp - 4], 1
lea eax, [ebp - 0x44]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x48216b
cmp dword [ebp - 0x40], 1
je 0x482182
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x48]
push eax
push 0x24
lea eax, [ebp - 0x44]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x48216b
cmp dword [ebp - 0x40], 1
je 0x482182
call ebx
sub eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x5c]
jbe 0x482135
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x610684
call fcn.0054cfc0
add esp, 0xc
xor eax, eax
jmp 0x4821bf
mov dword [ebp - 4], 0
call fcn.004821a6
inc edi
jmp 0x4820de
mov dword [ebp - 4], 0xfffffffe
call fcn.004821db
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00544516
mov esp, ebp
pop ebp
ret
Function at 0x485290
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x610684]
xor eax, ebp
mov dword [ebp - 4], eax
xor ecx, ecx
mov eax, 3
cmp byte [0x5dc2ec], cl
push edi
mov edi, dword [ebp + 8]
cmove eax, ecx
push eax
push 0x5dc2ec
mov ecx, edi
call fcn.0044f570
xorps xmm0, xmm0
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
movq qword [ebp - 0x1b], xmm0
movups xmmword [ebp - 0x2b], xmm0
mov dword [ebp - 0x13], 0
mov word [ebp - 0xf], 0
mov byte [ebp - 0xd], 0
call fcn.00461030
cmp byte [ebp - 0x2c], 0
jne 0x4852f4
xor ecx, ecx
jmp 0x485309
lea ecx, [ebp - 0x2c]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x485300
sub ecx, edx
push ecx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [edi + 0x18]
call fcn.0044f570
xor eax, eax
mov byte [ebp - 0xc], 0
push 8
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
lea eax, [ebp - 0xc]
push eax
push 0x59
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea ecx, [eax - 2]
cmp ecx, 5
ja 0x48535a
lea ecx, [ebp - 0xc]
push 8
add eax, ecx
push eax
push 0x5a
push 0x400
mov byte [eax - 1], 0x5f
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
cmp byte [ebp - 0xc], 0
jne 0x485364
xor ecx, ecx
jmp 0x485379
lea ecx, [ebp - 0xc]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x485370
sub ecx, edx
push ecx
lea eax, [ebp - 0xc]
push eax
lea ecx, [edi + 0x30]
call fcn.0044f570
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00544516
mov esp, ebp
pop ebp
ret 4
Function at 0x48a650
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d7be
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x610684]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0054aa90
add esp, 0xc
xor bl, bl
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x48a79c
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x48a795
cmp word [ebp - 0x218], 0
je 0x48a795
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x218]
call fcn.00460e30
test al, al
je 0x48a78a
mov dword [ebp - 0x234], 0xf
mov dword [ebp - 0x238], 0
mov byte [ebp - 0x248], bl
mov byte [ebp - 4], 2
lea eax, [ebp - 0x24c]
cmp dword [ebp - 0x21c], 8
lea esi, [ebp - 0x230]
push eax
cmovae esi, dword [ebp - 0x230]
lea ecx, [ebp - 0x230]
call fcn.004526d0
lea ecx, [ebp - 0x248]
push dword [eax]
push esi
call fcn.00454cc0
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x248]
call fcn.004527b0
lea ecx, [ebp - 0x248]
mov esi, eax
call fcn.0044f2b0
test esi, esi
sete bl
lea ecx, [ebp - 0x230]
call fcn.0044f210
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x20]
cmp ecx, 0x10
jb 0x48a7b1
inc ecx
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0044c890
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00544516
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x48d450
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x610684]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, edx
test ecx, ecx
je 0x48d4da
test esi, esi
je 0x48d4da
push ebx
lea eax, [ebp - 0x14]
xor bl, bl
push eax
push 1
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48d4bf
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48d4bf
cmp dword [ebp - 0x10], 0
mov eax, 1
movzx ebx, bl
cmove ebx, eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00544516
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.00544516
mov esp, ebp
pop ebp
ret

Function at 0x48d9f0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x610684]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
lea eax, [ebp - 0x108]
mov esi, ecx
push 0
push eax
call fcn.0054aa90
add esp, 0xc
lea eax, [ebp - 0x108]
push 0x104
push eax
push str.SystemRoot
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push SysReAllocString
push str.System32driversetchosts
call fcn.0055fbc3
push eax
push str.System32driversetchosts
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0055f72e
lea eax, [ebp - 0x108]
push eax
call fcn.004659c0
add esp, 0x1c
test eax, eax
je 0x48da9b
lea eax, [ebp - 0x108]
push 0x5d7b98
push eax
call fcn.004657b0
add esp, 8
mov dword [0x618c18], eax
test eax, eax
je 0x48da90
push str.Hostfile_opened_successfully
jmp 0x48daa0
push str.Error_opening_host_file
push 0
push 5
jmp 0x48daa4
push str.No_host_file_found
push 0
push 4
push str.AdobeGCHostfileValidation
push dword [esi]
call fcn.004b11f0
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
pop esi
call fcn.00544516
mov esp, ebp
pop ebp
ret
Function at 0x492740
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x610684]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], 0xc
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 1
push eax
lea eax, [esi + 8]
mov dword [ebp - 0xc], 0
push eax
lea edi, [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x4927af
push str.Failed_to_create_pipe
push dword [0x602028]
push 2
push str.AdobeGCClientNSLookup
push dword [esi]
call fcn.004b11f0
add esp, 0x14
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00544516
mov esp, ebp
pop ebp
ret
push 0
push 1
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x4927ed
push str.Failed_to_set_handle_information
push dword [0x602028]
push 2
push str.AdobeGCClientNSLookup
push dword [esi]
call fcn.004b11f0
add esp, 0x14
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00544516
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00544516
mov esp, ebp
pop ebp
ret
Function at 0x492800
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ed80
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x98
mov eax, dword [0x610684]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0x44]
push 0
push 0x5d7b58
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.0044f570
xor ecx, ecx
mov dword [ebp - 4], 0
cmp byte [str.nslookup], cl
mov eax, 9
cmove eax, ecx
lea ecx, [ebp - 0x44]
push eax
push str.nslookup
call fcn.0044c660
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x44]
call fcn.0044c790
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x30], 0x10
mov eax, dword [ebp - 0x34]
cmovae ecx, dword [ebp - 0x44]
add eax, ecx
cmp dword [ebp - 0x30], 0x10
push eax
lea ecx, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x2c]
push ecx
push eax
push eax
mov ecx, eax
call fcn.00492ca0
push 0x44
lea eax, [ebp - 0xa0]
xorps xmm0, xmm0
push 0
push eax
movups xmmword [ebp - 0x54], xmm0
call fcn.0054aa90
mov eax, dword [edi + 8]
lea ecx, [ebp - 0x54]
add esp, 0xc
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], eax
xor eax, eax
cmp dword [ebp - 0x18], 8
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xa0], 0x44
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
push eax
push 0
mov dword [ebp - 0x74], 0x101
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x492968
push str.Failed_to_create_new_process
push dword [0x602028]
push 2
push str.AdobeGCClientNSLookup
push dword [edi]
call fcn.004b11f0
add esp, 0x14
mov byte [ebp - 0xa1], 0
jmp 0x4929a9
push str.Successfully_created_new_process
push dword [0x602028]
push 2
push str.AdobeGCClientNSLookup
push dword [edi]
call fcn.004b11f0
add esp, 0x14
push 0x2710
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x54]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x50]
call esi
mov byte [ebp - 0xa1], 1
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x4929be
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.0044f7a0
mov ecx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp ecx, 0x10
jb 0x4929e7
inc ecx
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x44]
call fcn.0044c890
mov al, byte [ebp - 0xa1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00544516
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4