joyce8/EMBER2024-capa huggingface dataset:
Function at 0x582a41
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x582a7a
cmp dword [ebp + 0x10], 0
je 0x582a7a
cmp dword [ebp + 0x14], 0
je 0x582a7a
cmp dword [ebp + 0x18], 0
je 0x582a7a
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push str.SELECT_value_FROM_domain_data_WHERE_domain___d_AND_subdomain___q_AND_key___q
push dword [ebp + 0x18]
push dword [eax]
call fcn.0058e141
add esp, 0x18
pop ebp
ret
push 0xa
pop eax
pop ebp
ret

Function at 0x582a7f
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x582aaf
cmp dword [ebp + 0x10], 0
je 0x582aaf
cmp dword [ebp + 0x14], 0
je 0x582aaf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push str.SELECT_key_FROM_domain_data_WHERE_domain___d_AND_subdomain___q
push dword [ebp + 0x14]
push dword [eax]
call fcn.0058df71
add esp, 0x14
pop ebp
ret
push 0xa
pop eax
pop ebp
ret

Function at 0x582ab4
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x582adb
cmp dword [ebp + 0x10], 0
je 0x582adb
push dword [ebp + 0xc]
push str.SELECT_DISTINCT_subdomain_FROM_domain_data_WHERE_domain___d
push dword [ebp + 0x10]
push dword [eax]
call fcn.0058df71
add esp, 0x10
pop ebp
ret
push 0xa
pop eax
pop ebp
ret
Function at 0x583550
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x7994f4]
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.0061abd4
add esp, 0x10
cmp eax, 1
jne 0x5836e0
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 0x5836e0
cmp dh, 0x4d
jne 0x5836e0
test di, di
jne 0x5836e0
test bx, bx
jne 0x5836e0
lea eax, [ecx - 0x37]
cmp eax, 0x1e8449
ja 0x5836e0
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x5835ee
push eax
call fcn.00619f90
mov ecx, dword [esi + 4]
add esp, 4
push ecx
call fcn.0061e440
add esp, 4
mov dword [esi + 0x3c], eax
test eax, eax
jne 0x583616
pop edi
pop esi
mov eax, 0xfffffff9
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0060565a
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 0x583620
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.0061abd4
mov edx, dword [esi + 0x3c]
add esp, 0x10
cmp eax, 1
jne 0x5836d0
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 0x5836d0
test ebx, ebx
jne 0x5836d0
cmp edi, 0x18
je 0x5836bb
cmp edi, 0x20
jne 0x5836d0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0060565a
mov esp, ebp
pop ebp
ret 4
push edx
call fcn.00619f90
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.0060565a
mov esp, ebp
pop ebp
ret 4
Function at 0x583750
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x7994f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, ecx
push 0x6f19b8
push eax
mov dword [ebp - 0x20], ebx
call fcn.0049e280
mov esi, eax
add esp, 8
mov dword [ebp - 0x14], esi
test esi, esi
jne 0x583796
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0060565a
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebx + 0x3c]
push edi
test esi, esi
jne 0x5837aa
mov esi, 0xfffffffd
mov edi, eax
jmp 0x5838a6
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x5837bc
mov edi, dword [ebp - 0x14]
lea esi, [eax - 4]
jmp 0x5838a6
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5837c1
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 0x5837e9
mov edi, dword [ebp - 0x14]
mov esi, 0xfffffffb
jmp 0x5838a6
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 0x583887
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 0x583836
test al, 1
je 0x583845
mov ecx, dword [ebp - 0x10]
dec al
mov byte [ecx + edx], al
mov ecx, dword [ebp - 0x1c]
jmp 0x583845
test al, 1
jne 0x583845
mov esi, dword [ebp - 0x10]
inc al
mov byte [esi + edx], al
mov esi, dword [ebp + 0xc]
inc edx
cmp ecx, 4
jne 0x58385f
mov eax, edx
and eax, 0x80000003
jns 0x583859
dec eax
or eax, 0xfffffffc
inc eax
cmp eax, 3
jne 0x58385f
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 0x583816
mov eax, dword [ebp - 0x20]
mov esi, dword [eax + 0x3c]
jmp 0x58388a
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x14]
push edi
push 1
push dword [eax + 4]
push esi
call fcn.00621c5f
add esp, 0x10
lea esi, [eax - 1]
neg esi
sbb esi, esi
and esi, 0xfffffffa
push edi
call fcn.0061a7df
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0060565a
mov esp, ebp
pop ebp
ret 8

Function at 0x5838f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
mov esi, ecx
xor bh, bh
push edi
mov dword [esi + 0x204], 9
movq xmm0, qword [str.Adobe_ALM]
movq qword [esi + 0x102], xmm0
mov al, byte [0x6f4ec8]
mov byte [esi + 0x10a], al
xor eax, eax
mov word [esi + 0x100], 0
mov byte [eax + esi], al
inc eax
cmp eax, 0x100
jl 0x583927
xor edi, edi
mov eax, edi
mov bl, byte [edi + esi]
cdq
idiv dword [esi + 0x204]
movzx eax, byte [edx + esi + 0x102]
add al, bl
add bh, al
movzx ecx, bh
movzx eax, byte [ecx + esi]
mov byte [edi + esi], al
inc edi
mov byte [ecx + esi], bl
cmp edi, 0x100
jl 0x583934
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x5838f1
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
mov esi, ecx
xor bh, bh
push edi
mov dword [esi + 0x204], 9
movq xmm0, qword [str.Adobe_ALM]
movq qword [esi + 0x102], xmm0
mov al, byte [0x6f4ec8]
mov byte [esi + 0x10a], al
xor eax, eax
mov word [esi + 0x100], 0
mov byte [eax + esi], al
inc eax
cmp eax, 0x100
jl 0x583927
xor edi, edi
mov eax, edi
mov bl, byte [edi + esi]
cdq
idiv dword [esi + 0x204]
movzx eax, byte [edx + esi + 0x102]
add al, bl
add bh, al
movzx ecx, bh
movzx eax, byte [ecx + esi]
mov byte [edi + esi], al
inc edi
mov byte [ecx + esi], bl
cmp edi, 0x100
jl 0x583934
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x583970
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00583980

Function at 0x583980
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push edi
test ecx, ecx
je 0x583a0b
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x583a0b
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x583a0b
mov dl, byte [esi + 0x101]
sub ecx, edi
push ebx
mov bh, byte [esi + 0x100]
mov byte [ebp + 0xf], dl
mov dword [ebp + 8], ecx
dec eax
lea edi, [edi + 1]
mov dword [ebp + 0x10], eax
inc bh
mov al, byte [ebp + 0xf]
movzx edx, bh
mov bl, byte [edx + esi]
add al, bl
movzx ecx, al
mov byte [ebp + 0xf], al
movzx eax, byte [ecx + esi]
mov byte [edx + esi], al
mov byte [ecx + esi], bl
movzx eax, byte [edx + esi]
mov ecx, dword [ebp + 8]
add al, bl
movzx eax, al
movzx eax, byte [eax + esi]
xor al, byte [ecx + edi - 1]
mov byte [edi - 1], al
mov eax, dword [ebp + 0x10]
test eax, eax
jg 0x5839b1
mov dl, byte [ebp + 0xf]
mov al, 1
mov byte [esi + 0x100], bh
pop ebx
pop edi
mov byte [esi + 0x101], dl
pop esi
pop ebp
ret 0xc
pop edi
xor al, al
pop esi
pop ebp
ret 0xc

Function at 0x583a20
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
mov esi, ecx
xor bh, bh
push edi
xor eax, eax
mov word [esi + 0x100], 0
mov byte [eax + esi], al
inc eax
cmp eax, 0x100
jl 0x583a32
xor edi, edi
nop
mov eax, edi
mov bl, byte [edi + esi]
cdq
idiv dword [esi + 0x204]
movzx eax, byte [edx + esi + 0x102]
add al, bl
add bh, al
movzx ecx, bh
movzx eax, byte [ecx + esi]
mov byte [edi + esi], al
inc edi
mov byte [ecx + esi], bl
cmp edi, 0x100
jl 0x583a40
pop edi
pop esi
pop ebx
ret
Function at 0x583a80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x583b08
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x583b08
mov edx, 0x100
push ebx
cmp eax, edx
push edi
cmovge eax, edx
push eax
mov dword [esi + 0x204], eax
lea eax, [esi + 0x102]
push ecx
push eax
call fcn.00607170
add esp, 0xc
mov word [esi + 0x100], 0
xor bh, bh
xor eax, eax
mov byte [eax + esi], al
inc eax
cmp eax, 0x100
jl 0x583ac4
xor edi, edi
mov eax, edi
mov bl, byte [edi + esi]
cdq
idiv dword [esi + 0x204]
movzx eax, byte [edx + esi + 0x102]
add al, bl
add bh, al
movzx ecx, bh
movzx eax, byte [ecx + esi]
mov byte [edi + esi], al
inc edi
mov byte [ecx + esi], bl
cmp edi, 0x100
jl 0x583ad1
pop edi
pop ebx
mov al, 1
pop esi
pop ebp
ret 8
xor al, al
pop esi
pop ebp
ret 8

Function at 0x583b40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
test edx, edx
je 0x583b8e
push ebx
push esi
mov ebx, 0x6f4f60
mov byte [edx], 0xd0
push edi
mov esi, 0x6f4f62
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 0x583b64
pop edi
pop esi
pop ebx
mov eax, 0x40
pop ebp
ret 4

Function at 0x583ba0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
test edx, edx
je 0x583c07
push ebx
mov ebx, 0x6f4fe8
mov byte [edx], 0x30
push esi
mov ecx, 0x6f4fe9
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 0x583bd0
pop edi
pop esi
pop ebx
mov eax, 0x159
pop ebp
ret 4

Function at 0x583c40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
test edx, edx
je 0x583c8e
push ebx
push esi
mov ebx, 0x6f4fa0
mov byte [edx], 0xbd
push edi
mov esi, 0x6f4fa2
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 0x583c64
pop edi
pop esi
pop ebx
mov eax, 0x40
pop ebp
ret 4
Function at 0x5840a0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a0cf8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
mov eax, dword [0x7994f4]
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 0x6f5150
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0
mov dword [esi], vtable.std::codecvt_wchar_t__char__struct__Mbstatet_.0
call fcn.0047bd70
lea eax, [ebp - 0x3c]
push eax
call fcn.005f2c63
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.0047be30
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 0x588560
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a202e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x7994f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
lea esi, [edi + 0x40]
mov byte [ebp - 4], 1
push 0x2c
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006051c2
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x48]
mov byte [ebp - 4], 2
push 0x2c
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006051c2
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x50], eax
mov eax, edi
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x58dba6
Capabilities:
Reference sql statements

Disassembly:
push 0x28
mov eax, 0x697468
call fcn.00606064
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
push eax
lea eax, [edi + 0x30]
push eax
lea esi, [edi + 0x18]
push esi
call fcn.0058e77c
add esp, 0xc
test al, al
jne 0x58dbe6
push 0xa
pop esi
jmp 0x58dd2f
lea eax, [ebp - 0x28]
push eax
call fcn.0058e6e2
pop ecx
test al, al
jne 0x58dc1b
lea eax, [ebp - 0x28]
push eax
call fcn.0058e876
pop ecx
test al, al
je 0x58dc0a
xor esi, esi
inc esi
jmp 0x58dd2f
push esi
call fcn.0058da0e
mov esi, eax
pop ecx
test esi, esi
jne 0x58dd2f
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push ebx
push dword [ebp + 8]
cmovae eax, dword [ebp - 0x28]
lea esi, [edi + 4]
push esi
push eax
call fcn.004e72a0
add esp, 0x10
test eax, eax
je 0x58dc4b
push eax
mov dword [esi], ebx
call fcn.0058da88
pop ecx
mov esi, eax
jmp 0x58dd2f
push 0x7d0
push dword [esi]
call fcn.004e3c50
cmp byte [edi + 0x4c], 0
mov esi, ebx
pop ecx
pop ecx
mov dword [edi], ebx
je 0x58dd2f
mov eax, dword [edi + 0x50]
mov ecx, ebx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ebx
sub eax, ebx
je 0x58dc8f
sub eax, 1
je 0x58dc8a
sub eax, 1
jne 0x58dc8f
xor ecx, ecx
inc ecx
mov dword [ebp - 0x30], ecx
push 3
jmp 0x58dc91
xor ebx, ebx
inc ebx
jmp 0x58dc92
push 2
pop ebx
push str.SELECT_value_FROM_pcd_meta_WHERE_key__schema_version
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], ecx
push eax
push edi
call fcn.0058e141
mov esi, eax
add esp, 0xc
mov eax, dword [ebp - 0x30]
mov ecx, eax
test esi, esi
jne 0x58dce8
push dword [ebp - 0x2c]
call fcn.0061bd7c
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x2c]
mov dword [esp], str.SELECT_value_FROM_pcd_meta_WHERE_key__schema_compatibility_version
push eax
push edi
call fcn.0058e141
mov ecx, dword [ebp - 0x34]
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x58dce5
push dword [ebp - 0x2c]
call fcn.0061bd7c
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x30]
cmp ebx, ecx
jge 0x58dcf1
push 0xd
pop esi
jmp 0x58dd26
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], eax
cmp eax, ebx
jg 0x58dd22
push eax
mov ecx, edi
call fcn.0058dd44
mov esi, eax
test esi, esi
jne 0x58dd17
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, ebx
jle 0x58dcfc
jmp 0x58dd2d
mov eax, dword [ebp - 0x34]
xor ecx, ecx
cmp eax, dword [ebp - 0x2c]
cmove esi, ecx
test esi, esi
je 0x58dd2d
mov ecx, edi
call fcn.0058db78
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0047aff0
mov eax, esi
call fcn.0060601f
ret 4
Function at 0x58e4b7
Capabilities:
Create directory

Disassembly:
push 0x1c
mov eax, 0x6a2768
call fcn.00606064
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x28]
push 4
pop edi
push esi
push eax
call fcn.005936ed
xor ebx, ebx
push esi
mov dword [ebp - 4], ebx
call fcn.0058e876
add esp, 0xc
test al, al
jne 0x58e4ff
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ebx
cmovae eax, dword [ebp - 0x28]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
neg eax
sbb eax, eax
and edi, eax
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0047ad50
mov eax, edi
call fcn.0060601f
ret

Function at 0x58e512
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0x240
mov eax, 0x6a279b
call fcn.00606064
mov esi, dword [ebp + 8]
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x21c], 7
mov bl, cl
mov dword [ebp - 0x220], ecx
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x24c]
mov dword [ebp - 4], ecx
push eax
push ecx
push ecx
push 0x2b
push ecx
mov dword [ebp - 0x24c], ecx
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
lea eax, [ebp - 0x218]
push eax
js 0x58e5b7
push dword [ebp - 0x24c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x58e5a7
cmp word [ebp - 0x218], 0
jne 0x58e585
xor eax, eax
jmp 0x58e592
lea eax, [ebp - 0x218]
push eax
call fcn.0061db98
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0047ade0
mov bl, 1
push dword [ebp - 0x24c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor edi, edi
jmp 0x58e5f7
xor edi, edi
push edi
push edi
push 0x2b
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x58e5f7
cmp word [ebp - 0x218], di
jne 0x58e5d5
mov eax, edi
jmp 0x58e5e2
lea eax, [ebp - 0x218]
push eax
call fcn.0061db98
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0047ade0
mov bl, 1
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x58e66d
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x58e62d
lea eax, [ecx - 1]
push edi
push eax
lea ecx, [ebp - 0x230]
call fcn.0058eaaa
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.005937a0
pop ecx
pop ecx
push eax
mov ecx, esi
call fcn.004929d0
push edi
push 1
lea ecx, [ebp - 0x248]
call fcn.0047aff0
mov edi, str.Adobe
push edi
call fcn.00621660
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00481670
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.0047ad50
mov al, bl
call fcn.0060601f
ret
Function at 0x58e684
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x7994f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.005936ed
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
pop ecx
cmovae eax, dword [ebp - 0x1c]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x58e6c3
test al, 0x10
jbe 0x58e6c3
mov bl, 1
jmp 0x58e6c5
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.0047ad50
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0060565a
mov esp, ebp
pop ebp
ret

Function at 0x58e876
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x7994f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.005936ed
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
pop ecx
cmovae eax, dword [ebp - 0x1c]
pop ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0
push 1
lea ecx, [ebp - 0x1c]
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
call fcn.0047ad50
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0060565a
mov esp, ebp
pop ebp
ret
Function at 0x592e90
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
mov dword [eax + 0x14], 0
pop ebp
ret

Function at 0x594660
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
mov eax, 0x108
call fcn.00605670
mov eax, dword [0x7994f4]
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 0x5946ff
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x5946ff
lea eax, [esp + 0x114]
push eax
push 0
push dword [esp + 0x118]
lea eax, [esp + 0x14]
push 0x100
push eax
call fcn.0047bb60
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.006154f8
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.0060565a
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.0047bb60
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.006154f8
add esp, 0x1c
mov byte [esp + 0x107], 0
call fcn.00594520
test eax, eax
jle 0x594793
push str.OpenSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
je 0x5947a7
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.0060565a
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.0060565a
add esp, 0x108
ret

Function at 0x59cdf0
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