joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c4ad0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
xor edi, edi
cmp dword [esi + 0x14], ebx
jle 0x4c4b46
mov edx, dword [ebp + 0x10]
mov esi, dword [esi + 0x10]
mov eax, edi
xor eax, 1
mov ecx, edi
cmp edi, 2
cmovl ecx, eax
add ecx, ecx
mov eax, dword [esi + ecx*8 + 0xc]
mov dword [ebp - 4], eax
test edx, edx
je 0x4c4b22
mov esi, dword [esi + ecx*8]
mov eax, edx
sub esi, edx
nop dword [eax]
movzx edx, byte [eax]
movzx ecx, byte [esi + eax]
cmp edx, ecx
jne 0x4c4b4f
test edx, edx
jne 0x4c4b61
mov eax, dword [ebp - 4]
push 0
push dword [ebp + 0xc]
add eax, 0x18
push eax
call fcn.0049e180
add esp, 0xc
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x4c4b46
mov esi, dword [ebp + 8]
inc edi
mov edx, dword [ebp + 0x10]
cmp edi, dword [esi + 0x14]
jl 0x4c4ae8
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
movzx ecx, byte [ecx + 0x66d8b0]
movzx edx, byte [edx + 0x66d8b0]
sub edx, ecx
jne 0x4c4b3a
inc eax
jmp 0x4c4b10

Function at 0x4c4b70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
cmp dword [edi + 0x14], esi
jle 0x4c4c0e
nop dword [eax]
mov eax, esi
mov ecx, esi
xor eax, 1
cmp esi, 2
cmovl ecx, eax
mov dword [ebp - 4], ecx
test edx, edx
je 0x4c4bc8
mov eax, edx
mov edx, ecx
mov ecx, dword [edi + 0x10]
add edx, edx
mov edi, dword [ecx + edx*8]
sub edi, dword [ebp + 0x10]
movzx edx, byte [eax]
movzx ecx, byte [edi + eax]
cmp edx, ecx
jne 0x4c4bed
test edx, edx
jne 0x4c4bff
mov ecx, dword [ebp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x10]
add ecx, ecx
push 0
push ebx
mov eax, dword [eax + ecx*8 + 0xc]
add eax, 8
push eax
call fcn.0049e180
add esp, 0xc
mov eax, dword [eax + 8]
test eax, eax
jne 0x4c4c8b
jmp 0x4c4c05
movzx ecx, byte [ecx + 0x66d8b0]
movzx edx, byte [edx + 0x66d8b0]
sub edx, ecx
jne 0x4c4c02
inc eax
jmp 0x4c4bb3
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
inc esi
cmp esi, dword [edi + 0x14]
jl 0x4c4b90
mov edx, str.sqlite_master
sub edx, ebx
movzx ecx, byte [ebx]
movzx eax, byte [edx + ebx]
cmp ecx, eax
jne 0x4c4c37
test ecx, ecx
jne 0x4c4c49
mov eax, dword [edi + 0x10]
mov edx, dword [ebp + 0x10]
mov ecx, dword [eax + 0x10]
test edx, edx
jne 0x4c4c4c
neg ecx
sbb ecx, ecx
jmp 0x4c4c66
movzx eax, byte [eax + 0x66d8b0]
movzx ecx, byte [ecx + 0x66d8b0]
sub ecx, eax
jne 0x4c4c89
inc ebx
jmp 0x4c4c15
test ecx, ecx
je 0x4c4c89
mov esi, ecx
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4c4c74
test ecx, ecx
jne 0x4c4c86
mov edx, dword [ebp + 0x10]
test ecx, ecx
jne 0x4c4c89
mov ebx, str.sqlite_temp_master
jmp 0x4c4b82
movzx eax, byte [eax + 0x66d8b0]
movzx ecx, byte [ecx + 0x66d8b0]
sub ecx, eax
jne 0x4c4c63
inc edx
jmp 0x4c4c54
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4da1c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [edi], 0
cmp dword [0x6e74e0], 0
je 0x4da212
mov eax, dword [0x704b48]
test eax, eax
je 0x4da1ea
push eax
call dword [0x6e7530]
add esp, 4
lea eax, [ebp + 8]
push eax
push 0x14
call fcn.004a54c0
mov eax, dword [0x704b48]
add esp, 8
test eax, eax
je 0x4da20d
push eax
call dword [0x6e7538]
mov esi, dword [ebp + 8]
jmp 0x4da21c
mov esi, dword [ebp + 8]
jmp 0x4da21f
push 0x14
call dword [0x6e7500]
mov esi, eax
add esp, 4
test esi, esi
jne 0x4da22a
pop edi
lea eax, [esi + 7]
pop esi
pop ebp
ret
cmp byte [0x6e74e4], 0
push ebx
mov ebx, dword [ebp + 0x10]
je 0x4da275
mov eax, dword [0x6e75d4]
test eax, eax
je 0x4da24e
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x4da275
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], eax
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x4da310
push 0
push 0
mov dword [esi + 0xc], ebx
call fcn.005d2392
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x4da282
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
jne 0x4da29b
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebx
mov dword [esi + 4], eax
call dword [ebp + 0xc]
add esp, 4
mov dword [esi + 0x10], eax
pop ebx
mov dword [edi], esi
xor eax, eax
pop edi
pop esi
pop ebp
ret
Function at 0x508dd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6f8b74]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push eax
push 1
mov dword [ebp - 0x18], eax
mov esi, ecx
lea eax, [ebp - 0x14]
push 0xe
push eax
call fcn.005c65d0
add esp, 0x10
cmp eax, 1
jne 0x508f60
mov edx, dword [ebp - 0x14]
mov di, word [ebp - 0xe]
mov bx, word [ebp - 0xc]
mov ecx, dword [ebp - 0x12]
mov eax, dword [ebp - 0xa]
mov byte [esi], dl
mov byte [esi + 1], dh
mov dword [esi + 4], ecx
mov word [esi + 8], di
mov word [esi + 0xa], bx
mov dword [esi + 0xc], eax
cmp dl, 0x42
jne 0x508f60
cmp dh, 0x4d
jne 0x508f60
test di, di
jne 0x508f60
test bx, bx
jne 0x508f60
lea eax, [ecx - 0x37]
cmp eax, 0x1e8449
ja 0x508f60
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x508e6e
push eax
call fcn.005c11be
mov ecx, dword [esi + 4]
add esp, 4
push ecx
call fcn.005d19b8
add esp, 4
mov dword [esi + 0x3c], eax
test eax, eax
jne 0x508e96
pop edi
pop esi
mov eax, 0xfffffff9
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b56fe
mov esp, ebp
pop ebp
ret 4
xor edx, edx
nop dword [eax + eax]
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 0x508ea0
push dword [ebp - 0x18]
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 4]
sub eax, 0xe
push 1
push eax
lea eax, [ecx + 0xe]
push eax
call fcn.005c65d0
mov edx, dword [esi + 0x3c]
add esp, 0x10
cmp eax, 1
jne 0x508f50
mov eax, dword [edx + 0xe]
mov dword [esi + 0x10], eax
mov eax, dword [edx + 0x12]
mov dword [esi + 0x14], eax
mov eax, dword [edx + 0x16]
mov dword [esi + 0x18], eax
movzx ecx, word [edx + 0x1a]
mov dword [esi + 0x1c], ecx
movzx eax, word [edx + 0x1c]
mov dword [esi + 0x20], eax
mov edi, eax
mov ebx, dword [edx + 0x1e]
mov dword [esi + 0x24], ebx
mov eax, dword [edx + 0x22]
mov dword [esi + 0x28], eax
mov eax, dword [edx + 0x26]
mov dword [esi + 0x2c], eax
mov eax, dword [edx + 0x2a]
mov dword [esi + 0x30], eax
mov eax, dword [edx + 0x2e]
mov dword [esi + 0x34], eax
mov eax, dword [edx + 0x32]
mov dword [esi + 0x38], eax
cmp ecx, 1
jne 0x508f50
test ebx, ebx
jne 0x508f50
cmp edi, 0x18
je 0x508f3b
cmp edi, 0x20
jne 0x508f50
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b56fe
mov esp, ebp
pop ebp
ret 4
push edx
call fcn.005c11be
mov dword [esi + 0x3c], 0
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, 0xfffffffe
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005b56fe
mov esp, ebp
pop ebp
ret 4
Function at 0x508fd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x6f8b74]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, ecx
push 0x666b9c
push eax
mov dword [ebp - 0x20], ebx
call fcn.00451ba0
mov esi, eax
add esp, 8
mov dword [ebp - 0x14], esi
test esi, esi
jne 0x509016
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b56fe
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebx + 0x3c]
push edi
test esi, esi
jne 0x50902a
mov esi, 0xfffffffd
mov edi, eax
jmp 0x509126
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x50903c
mov edi, dword [ebp - 0x14]
lea esi, [eax - 4]
jmp 0x509126
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x509041
mov eax, dword [ebx + 0x18]
sub ecx, edx
imul eax, dword [ebx + 0x14]
inc ecx
mov dword [ebp - 0x18], ecx
lea eax, [eax + eax*2]
cmp ecx, eax
jbe 0x509069
mov edi, dword [ebp - 0x14]
mov esi, 0xfffffffb
jmp 0x509126
mov ecx, dword [ebx + 0x20]
xor edx, edx
mov eax, dword [ebx + 0xc]
xor edi, edi
shr ecx, 3
add eax, esi
xor ebx, ebx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0x8040201
mov dword [ebp - 8], 0x80402010
cmp dword [ebp - 0x18], edx
jbe 0x509107
mov esi, dword [ebp + 0xc]
mov al, byte [ebx + esi]
test byte [ebp + edi - 0xc], al
mov eax, dword [ebp - 0x10]
mov al, byte [eax + edx]
jne 0x5090b6
test al, 1
je 0x5090c5
mov ecx, dword [ebp - 0x10]
dec al
mov byte [ecx + edx], al
mov ecx, dword [ebp - 0x1c]
jmp 0x5090c5
test al, 1
jne 0x5090c5
mov esi, dword [ebp - 0x10]
inc al
mov byte [esi + edx], al
mov esi, dword [ebp + 0xc]
inc edx
cmp ecx, 4
jne 0x5090df
mov eax, edx
and eax, 0x80000003
jns 0x5090d9
dec eax
or eax, 0xfffffffc
inc eax
cmp eax, 3
jne 0x5090df
inc edx
cmp edi, 7
lea eax, [ebx + 1]
cmovne eax, ebx
xor ecx, ecx
cmp edi, 7
mov ebx, eax
lea eax, [edi + 1]
cmovne ecx, eax
mov edi, ecx
mov ecx, dword [ebp - 0x1c]
cmp ebx, dword [ebp - 0x18]
jb 0x509096
mov eax, dword [ebp - 0x20]
mov esi, dword [eax + 0x3c]
jmp 0x50910a
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x14]
push edi
push 1
push dword [eax + 4]
push esi
call fcn.005d2642
add esp, 0x10
lea esi, [eax - 1]
neg esi
sbb esi, esi
and esi, 0xfffffffa
push edi
call fcn.005c61db
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.005b56fe
mov esp, ebp
pop ebp
ret 8

Function at 0x509180
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
test edx, edx
je 0x5091ce
push ebx
push esi
mov ebx, 0x677650
mov byte [edx], 0xd0
push edi
mov esi, 0x677652
lea eax, [edx + 3]
sub ebx, edx
mov edi, 0x15
movzx ecx, byte [esi - 1]
lea esi, [esi + 3]
xor cl, byte [edx]
lea eax, [eax + 3]
mov byte [eax - 5], cl
movzx ecx, byte [edx]
xor cl, byte [esi - 3]
mov byte [eax - 4], cl
movzx ecx, byte [ebx + eax - 3]
xor cl, byte [edx]
mov byte [eax - 3], cl
sub edi, 1
jne 0x5091a4
pop edi
pop esi
pop ebx
mov eax, 0x40
pop ebp
ret 4
Function at 0x5091e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
test edx, edx
je 0x509247
push ebx
mov ebx, 0x6776d8
mov byte [edx], 0x30
push esi
mov ecx, 0x6776d9
lea eax, [edx + 3]
sub ebx, edx
mov esi, str.1e210
sub ecx, edx
push edi
mov dword [ebp + 8], ecx
mov edi, 0x56
nop
movzx ecx, byte [esi - 1]
lea esi, [esi + 4]
xor cl, byte [edx]
lea eax, [eax + 4]
mov byte [eax - 6], cl
movzx ecx, byte [esi - 4]
xor cl, byte [edx]
mov byte [eax - 5], cl
movzx ecx, byte [ebx + eax - 4]
xor cl, byte [edx]
mov byte [eax - 4], cl
mov ecx, dword [ebp + 8]
movzx ecx, byte [ecx + eax - 4]
xor cl, byte [edx]
mov byte [eax - 3], cl
sub edi, 1
jne 0x509210
pop edi
pop esi
pop ebx
mov eax, 0x159
pop ebp
ret 4

Function at 0x509280
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
test edx, edx
je 0x5092ce
push ebx
push esi
mov ebx, 0x677690
mov byte [edx], 0xbd
push edi
mov esi, 0x677692
lea eax, [edx + 3]
sub ebx, edx
mov edi, 0x15
movzx ecx, byte [esi - 1]
lea esi, [esi + 3]
xor cl, byte [edx]
lea eax, [eax + 3]
mov byte [eax - 5], cl
movzx ecx, byte [edx]
xor cl, byte [esi - 3]
mov byte [eax - 4], cl
movzx ecx, byte [ebx + eax - 3]
xor cl, byte [edx]
mov byte [eax - 3], cl
sub edi, 1
jne 0x5092a4
pop edi
pop esi
pop ebx
mov eax, 0x40
pop ebp
ret 4

Function at 0x509740
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6385c8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
mov eax, dword [0x6f8b74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
push 0x677840
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0
mov dword [esi], vtable.std::codecvt_wchar_t__char__struct__Mbstatet_.0
call fcn.00436b60
lea eax, [ebp - 0x3c]
push eax
call fcn.005a2fbd
add esp, 4
lea ecx, [ebp - 0x70]
movups xmm0, xmmword [eax]
movups xmmword [esi + 8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esi + 0x18], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esi + 0x28], xmm0
mov eax, dword [eax + 0x28]
mov dword [esi + 0x30], eax
call fcn.00436c20
mov dword [esi], vtable.std::codecvt_utf8_wchar_t__1114111__0_.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x50f840
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
mov eax, 0x108
call fcn.005b5710
mov eax, dword [0x6f8b74]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
test esi, esi
je 0x50f8df
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x50f8df
lea eax, [esp + 0x114]
push eax
push 0
push dword [esp + 0x118]
lea eax, [esp + 0x14]
push 0x100
push eax
call fcn.00436950
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.005ca48c
add esp, 0x1c
or ecx, 0xffffffff
test eax, eax
cmovs eax, ecx
lea ecx, [esp + 4]
push 0
push ecx
test eax, eax
mov ecx, 0x100
cmovs eax, ecx
push eax
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.005b56fe
add esp, 0x108
ret
lea eax, [esp + 0x114]
push eax
push 0
push dword [esp + 0x118]
lea eax, [esp + 0x14]
push 0xff
push eax
call fcn.00436950
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.005ca48c
add esp, 0x1c
mov byte [esp + 0x107], 0
call fcn.0050f700
test eax, eax
jle 0x50f973
push str.OpenSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
je 0x50f987
push 0
lea eax, [esp + 0xc]
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.005b56fe
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
call fcn.005b56fe
add esp, 0x108
ret

Function at 0x517fe0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0
pop ebp
ret
Function at 0x56c4a0
Capabilities:
Check for time delay via gettickcount
Enumerate services
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x6cf060
push 0x5b8900
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x6f8b74]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov esi, dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
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 0x56c62f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x56c5ff
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 0x56c5ff
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 0x56c5ec
xor edi, edi
mov dword [ebp - 0x50], edi
cmp edi, dword [ebp - 0x20]
jae 0x56c623
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 - 0x74], xmm0
mov eax, dword [ecx + eax*4 + 0x20]
mov dword [ebp - 0x64], 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 0x56c5ec
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 0x56c5ec
cmp dword [ebp - 0x40], 1
je 0x56c603
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 0x56c5ec
cmp dword [ebp - 0x40], 1
je 0x56c603
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x5c]
jbe 0x56c5b2
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x6f8b74
call fcn.005b8e10
add esp, 0xc
xor eax, eax
jmp 0x56c634
mov dword [ebp - 4], 0
call fcn.0056c61b
inc edi
jmp 0x56c55b
mov dword [ebp - 4], 0xfffffffe
call fcn.0056c650
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.005b56fe
mov esp, ebp
pop ebp
ret
Function at 0x577ee0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63a440
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x6f8b74]
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 dword [ebp - 0x12c], ecx
xor bl, bl
mov dword [ebp - 4], 0
cmp dword [ebp + 0x18], 0
je 0x5780d1
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0
cmovae eax, dword [ebp + 8]
push eax
call fcn.005cd05b
add esp, 8
test eax, eax
jne 0x577f48
mov bl, 1
jmp 0x5780d1
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp dword [ebp + 0x1c], 8
lea edi, [ebp + 8]
mov esi, dword [ebp + 0x18]
cmovae edi, dword [ebp + 8]
mov byte [ebp - 4], 1
test esi, esi
je 0x5780c9
push 0x100
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.005b7c20
add esp, 0xc
mov ecx, 0x69dfe4
mov edx, 0x100
movzx eax, word [ecx]
cmp ax, dx
jae 0x577fe0
movzx eax, al
add ecx, 2
mov byte [ebp + eax - 0x128], 1
cmp ecx, 0x69dfe8
jne 0x577f95
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
lea ecx, [edi + ecx*2]
movzx eax, word [ecx]
cmp ax, dx
jae 0x577fd3
cmp byte [ebp + eax - 0x128], 0
jne 0x57801b
cmp ecx, edi
je 0x5780c9
sub ecx, 2
jmp 0x577fc1
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
lea ecx, [edi + ecx*2]
nop
movzx esi, word [ecx]
mov edx, 2
mov eax, 0x69dfe4
nop dword [eax]
cmp word [eax], si
je 0x57801b
add eax, 2
sub edx, 1
jne 0x578000
cmp ecx, edi
je 0x578016
sub ecx, 2
jmp 0x577ff0
or ecx, 0xffffffff
jmp 0x57801f
sub ecx, edi
sar ecx, 1
cmp ecx, 0xffffffff
je 0x5780c9
push ecx
push 0
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp + 8]
call fcn.00440e20
push eax
lea ecx, [ebp - 0x28]
call fcn.0043d8f0
lea ecx, [ebp - 0x148]
call fcn.004359a0
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00435a60
mov esi, dword [ebp - 0x12c]
mov ecx, esi
call fcn.00577ee0
cmp al, 1
jne 0x5780c9
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call fcn.005cd257
add esp, 4
test eax, eax
jne 0x5780ae
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.004515c0
add esp, 0x18
mov bl, 1
jmp 0x5780c9
push str.Failed_to_Create__S
push 0
push 4
push str.AdobeGCUpdaterCFU
push dword [esi + 4]
call fcn.004515c0
add esp, 0x14
xor bl, bl
lea ecx, [ebp - 0x28]
call fcn.004359a0
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x578107
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5780fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x578127
push edx
push ecx
call fcn.005b5296
add esp, 8
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.005b56fe
mov esp, ebp
pop ebp
ret 0x18
call fcn.005c116d
int3
Function at 0x584300
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6f8b74]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test eax, eax
je 0x58438e
test esi, esi
je 0x58438e
push ebx
lea ecx, [ebp - 0x14]
xor bl, bl
push ecx
push 1
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x584373
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 0x584373
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.005b56fe
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.005b56fe
mov esp, ebp
pop ebp
ret