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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6bed08
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x7ca00c]
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 - 0x4c], ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x40]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
push eax
call fcn.004392e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push dword [esi + 4]
push dword [esi]
call fcn.004a96b0
add esp, 8
mov esi, eax
mov byte [ebp - 4], 1
mov eax, edi
cmp dword [edi + 0x14], 0x10
jb 0x5c7157
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x40]
push eax
call fcn.00439a20
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x5c716d
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.00439a20
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x5c71b0
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c71a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c72b8
push edx
push ecx
call fcn.0063e103
add esp, 8
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
sub esp, 8
call fcn.00538990
xor esi, esi
mov dword [ebp - 0x44], edx
mov ebx, eax
lea edi, [ebp - 0x48]
mov dword [ebp - 0x48], ebx
lea edx, [esi + 8]
nop dword [eax]
movsx eax, byte [edi]
lea edi, [edi + 1]
mov ecx, esi
shl esi, 8
shr ecx, 8
xor ecx, eax
movzx eax, cl
xor si, word [eax*2 + 0x703d50]
movzx esi, si
sub edx, 1
jne 0x5c71e0
push 2
push 0x770d04
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], dl
call fcn.00428b60
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x28]
push 1
push esi
mov byte [ebp - 4], 2
push dword [ebp - 0x44]
push ebx
push eax
call fcn.005c6dc0
mov edx, dword [ebp - 0x14]
mov esi, eax
cmp edx, 0x10
jb 0x5c7268
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c725e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c72bd
push edx
push ecx
call fcn.0063e103
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x5c7298
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c728e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c72bd
push edx
push ecx
call fcn.0063e103
add esp, 8
mov eax, esi
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.0063de71
mov esp, ebp
pop ebp
ret 0xc
call fcn.006534c5
call fcn.006534c5
int3
Function at 0x5c7c90
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6bee16
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x7ca00c]
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 edi, ecx
lea esi, [edi + 0xa8]
push esi
mov dword [ebp - 0x238], esi
call fcn.00641a44
add esp, 4
test eax, eax
jne 0x5c7df0
mov dword [ebp - 4], eax
cmp byte [edi + 0xa1], al
je 0x5c7db8
push 0x202
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x234], 1
push eax
xor bl, bl
call fcn.006501e0
xor eax, eax
mov dword [ebp - 0x218], 0x100
add esp, 0xc
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x214]
push eax
push 2
call dword [sym.imp.KERNEL32.DLL_GetComputerNameExW]
test eax, eax
je 0x5c7d97
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5c7d60
sub ecx, edx
lea eax, [ebp - 0x214]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00428800
cmp dword [ebp - 0x220], 0
je 0x5c7d97
mov bl, 1
mov dword [ebp - 0x234], 0
lea ecx, [ebp - 0x230]
call fcn.00428770
cmp dword [ebp - 0x234], 0
jne 0x5c7db8
mov byte [edi + 0x9c], bl
mov byte [edi + 0xa1], 0
mov bl, byte [edi + 0x9c]
push esi
mov dword [ebp - 4], 2
call fcn.00641a69
add esp, 4
test eax, eax
jne 0x5c7df6
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.0063de71
mov esp, ebp
pop ebp
ret
push eax
call fcn.00641d36
push eax
call fcn.00641d36
int3
Function at 0x5c7e00
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6bee48
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x7ca00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push 0x7ecbd0
mov dword [ebp - 0x28], 0x7ecbd0
call fcn.00641a44
add esp, 4
test eax, eax
jne 0x5c7f12
mov dword [ebp - 4], eax
mov esi, dword [0x7ecb38]
test esi, esi
jne 0x5c7ee5
push 4
call fcn.0063de82
add esp, 4
mov dword [ebp - 0x2c], eax
mov dword [eax], esi
mov dword [eax], esi
mov ecx, dword [0x7ecb38]
mov dword [0x7ecb38], eax
test ecx, ecx
je 0x5c7e84
push 4
push ecx
mov dword [ecx], esi
call fcn.0063e103
add esp, 8
push edi
lea ecx, [ebp - 0x24]
call fcn.00428650
mov esi, dword [0x7ecb38]
cmp dword [esi], 0
jne 0x5c7ed7
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
cmovae eax, dword [ebp - 0x24]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateMutexW]
mov dword [esi], eax
test eax, eax
jne 0x5c7ed7
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 5
jne 0x5c7ed7
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
cmovae eax, dword [ebp - 0x24]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_OpenMutexW]
mov dword [esi], eax
lea ecx, [ebp - 0x24]
call fcn.00428770
mov esi, dword [0x7ecb38]
push 0x7ecbd0
mov dword [ebp - 4], 1
call fcn.00641a69
add esp, 4
test eax, eax
jne 0x5c7f18
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push eax
call fcn.00641d36
push eax
call fcn.00641d36
int3
Function at 0x5c8500
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6bef61
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x7ca00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
push 0x7ecb6c
mov dword [ebp - 0x450], esi
mov dword [ebp - 0x454], 0x7ecb6c
call fcn.00641a44
add esp, 4
test eax, eax
jne 0x5c875b
mov dword [ebp - 4], eax
cmp dword [esi + 0x48], eax
jne 0x5c8724
push 0xf
push str.unknown_machine
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 1
call fcn.00428b60
push 0x200
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.006501e0
add esp, 0xc
mov dword [ebp - 0x418], 0x100
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x214]
push eax
push 5
call dword [sym.imp.KERNEL32.DLL_GetComputerNameExW]
test eax, eax
je 0x5c8724
xor eax, eax
mov dword [ebp - 0x43c], 0
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x438], 7
mov word [ebp - 0x44c], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5c85e0
sub ecx, edx
lea eax, [ebp - 0x214]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x44c]
call fcn.00428800
mov byte [ebp - 4], 2
cmp dword [ebp - 0x43c], 0
je 0x5c863b
cmp dword [ebp - 0x438], 8
lea ecx, [ebp - 0x44c]
lea edx, [esi + 0x38]
cmovae ecx, dword [ebp - 0x44c]
call fcn.004f58c0
lea ecx, [ebp - 0x44c]
call fcn.00428770
jmp 0x5c8724
push 0x200
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.006501e0
add esp, 0xc
mov dword [ebp - 0x41c], 0x100
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x414]
push eax
push 1
call dword [sym.imp.KERNEL32.DLL_GetComputerNameExW]
test eax, eax
je 0x5c86f6
xor eax, eax
mov dword [ebp - 0x424], 0
lea ecx, [ebp - 0x414]
mov dword [ebp - 0x420], 7
mov word [ebp - 0x434], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5c86a0
sub ecx, edx
lea eax, [ebp - 0x414]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x434]
call fcn.00428800
mov byte [ebp - 4], 3
cmp dword [ebp - 0x424], 0
je 0x5c86eb
cmp dword [ebp - 0x420], 8
lea ecx, [ebp - 0x434]
lea edx, [esi + 0x38]
cmovae ecx, dword [ebp - 0x434]
call fcn.004f58c0
lea ecx, [ebp - 0x434]
call fcn.00428770
lea ecx, [ebp - 0x44c]
call fcn.00428770
jmp 0x5c8724
push 0x7ecb6c
mov dword [ebp - 4], 5
call fcn.00641a69
add esp, 4
test eax, eax
jne 0x5c8761
lea eax, [esi + 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
ret
push eax
call fcn.00641d36
push eax
call fcn.00641d36
int3
Function at 0x5ce4f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a0c99
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x7ca00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], 0
mov edi, dword [ebp + 8]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0
mov ecx, edi
push 0x1e
mov dword [ebp - 0x10], 1
call fcn.0044e070
xor esi, esi
nop dword [eax]
mov eax, 0xf2b9d649
mov ecx, esi
mul esi
shr edx, 8
imul eax, edx, 0x10e
sub ecx, eax
mov al, byte [ecx + 0x705440]
xor al, byte [esi + ebx]
movzx ecx, al
push ecx
push 1
mov ecx, edi
call fcn.0043d8b0
inc esi
cmp esi, 0x1e
jb 0x5ce550
mov eax, edi
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 0x5ce8f0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6bf6ce
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x7ca00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
lea eax, [ebp + 8]
mov dword [ebp - 4], 3
push eax
call fcn.004392e0
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 4
push eax
lea ecx, [esi + 0x18]
call fcn.004392e0
lea eax, [ebp + 0x38]
mov byte [ebp - 4], 5
push eax
lea ecx, [esi + 0x30]
call fcn.004392e0
lea eax, [ebp + 0x50]
mov byte [ebp - 4], 6
push eax
lea ecx, [esi + 0x48]
call fcn.004392e0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x5ce992
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5ce988
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5cea70
push edx
push ecx
call fcn.0063e103
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x5ce9d8
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5ce9ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5cea70
push edx
push ecx
call fcn.0063e103
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x5cea1a
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5cea10
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5cea70
push edx
push ecx
call fcn.0063e103
add esp, 8
mov edx, dword [ebp + 0x64]
mov dword [ebp + 0x48], 0
mov dword [ebp + 0x4c], 0xf
mov byte [ebp + 0x38], 0
cmp edx, 0x10
jb 0x5cea5c
mov ecx, dword [ebp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5cea52
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5cea70
push edx
push ecx
call fcn.0063e103
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x60
call fcn.006534c5
int3
Function at 0x5d3d60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c0060
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x7ca00c]
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, edx
mov ebx, ecx
mov dword [ebp - 0x44], ebx
push 2
push 0x771208
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00428b60
mov dword [ebp - 4], 0
mov edi, dword [esi]
mov esi, dword [esi + 4]
cmp edi, esi
je 0x5d3e37
push edi
lea ecx, [ebp - 0x40]
call fcn.004392e0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x28]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00439a20
push 2
push 0x771208
mov ecx, eax
call fcn.00439a20
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x5d3e30
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5d3e26
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5d3eb6
push edx
push ecx
call fcn.0063e103
add esp, 8
add edi, 0x18
cmp edi, esi
jne 0x5d3dc6
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
mov edi, dword [ebp - 0x18]
mov edx, 0x811c9dc5
cmovae esi, dword [ebp - 0x28]
xor ecx, ecx
test edi, edi
je 0x5d3e61
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x5d3e50
mov ecx, ebx
call fcn.00504df0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x5d3e98
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5d3e8e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5d3eb6
push edx
push ecx
call fcn.0063e103
add esp, 8
mov eax, ebx
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.0063de71
mov esp, ebp
pop ebp
ret
call fcn.006534c5
int3
Function at 0x5d5a60
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6aaa68
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x7ca00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], eax
call fcn.00506d50
test eax, eax
jne 0x5d5bbd
push 1
push 0x702ca8
lea ecx, [ebp - 0x28]
call fcn.00428920
cmp dword [0x7e1558], 8
mov ecx, 0x7e1544
push dword [0x7e1554]
cmovae ecx, dword [0x7e1544]
push ecx
mov ecx, eax
call fcn.00428920
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x5d5b22
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x5d5b22
cmp eax, 0xb7
je 0x5d5b22
cmp eax, 0x50
jne 0x5d5bbd
push 1
push 0x702ca8
lea ecx, [ebp - 0x28]
call fcn.00428920
cmp dword [0x7e1420], 8
mov ecx, 0x7e140c
push dword [0x7e141c]
cmovae ecx, dword [0x7e140c]
push ecx
mov ecx, eax
call fcn.00428920
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x28]
push ecx
cmp eax, dword [esi + 8]
je 0x5d5b6b
mov ecx, eax
call fcn.00428650
add dword [esi + 4], 0x18
jmp 0x5d5b73
push eax
mov ecx, esi
call fcn.00441b90
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x28]
call fcn.00508530
test eax, eax
jne 0x5d5bb9
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x28]
push ecx
cmp eax, dword [esi + 8]
je 0x5d5bb1
mov ecx, eax
call fcn.00428650
add dword [esi + 4], 0x18
xor esi, esi
jmp 0x5d5bc2
push eax
mov ecx, esi
call fcn.00441b90
xor esi, esi
jmp 0x5d5bc2
mov esi, 1
lea ecx, [ebp - 0x28]
call fcn.00428770
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
ret
Function at 0x5d8640
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x7ca00c]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0xc], ebx
mov esi, 4
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
nop dword [eax]
push 0x110
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0x11c
push 0
push eax
call fcn.006501e0
add esp, 0xc
xor eax, eax
mov word [esp + 0x126], ax
mov dword [esp + 0x128], eax
push 3
push 0x20
push 3
push 1
push 3
push 2
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_VerSetConditionMask]
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_VerSetConditionMask]
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_VerSetConditionMask]
push edx
push eax
movzx ecx, si
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], ecx
xor ecx, ecx
push 0x23
push eax
mov dword [esp + 0x28], 0
mov word [esp + 0x134], cx
call dword [sym.imp.KERNEL32.DLL_VerifyVersionInfoW]
test eax, eax
je 0x5d8709
inc esi
cmp esi, 0xf
jl 0x5d8680
jmp 0x5d870e
lea eax, [esi - 1]
mov dword [ebx], eax
mov edi, 1
movzx esi, word [ebx]
lea eax, [esp + 0x14]
push 0x110
push 0
push eax
mov dword [esp + 0x1c], 0x11c
call fcn.006501e0
add esp, 0xc
xor eax, eax
mov word [esp + 0x126], ax
mov dword [esp + 0x128], eax
push 3
push 0x20
push 3
push 1
push 3
push 2
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_VerSetConditionMask]
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_VerSetConditionMask]
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_VerSetConditionMask]
push edx
mov ecx, esi
mov dword [esp + 0x18], ecx
push eax
movzx ecx, di
lea eax, [esp + 0x18]
mov dword [esp + 0x20], ecx
xor ecx, ecx
push 0x23
push eax
mov word [esp + 0x134], cx
call dword [sym.imp.KERNEL32.DLL_VerifyVersionInfoW]
test eax, eax
je 0x5d879d
inc edi
cmp edi, 0xa
jl 0x5d8713
jmp 0x5d87a3
lea eax, [edi - 1]
mov dword [ebx + 4], eax
mov ebx, 1
nop dword [eax + eax]
mov eax, dword [esp + 0xc]
push 0x110
push 0
mov dword [esp + 0x18], 0x11c
movzx edi, word [eax + 4]
movzx esi, word [eax]
lea eax, [esp + 0x1c]
push eax
call fcn.006501e0
add esp, 0xc
xor eax, eax
mov word [esp + 0x126], ax
mov dword [esp + 0x128], eax
push 3
push 0x20
push 3
push 1
push 3
push 2
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_VerSetConditionMask]
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_VerSetConditionMask]
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_VerSetConditionMask]
push edx
push eax
mov ecx, esi
mov word [esp + 0x12c], bx
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0x18]
push 0x23
mov ecx, edi
push eax
mov dword [esp + 0x28], ecx
call dword [sym.imp.KERNEL32.DLL_VerifyVersionInfoW]
test eax, eax
je 0x5d8854
inc ebx
cmp ebx, 0xa
jl 0x5d87b0
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.0063de71
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xc]
lea eax, [ebx - 1]
pop edi
pop esi
pop ebx
mov dword [ecx + 8], eax
mov al, 1
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.0063de71
mov esp, ebp
pop ebp
ret
Function at 0x5d9880
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x7ca00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push eax
push 0
push 0
mov edi, ecx
mov esi, edx
push edi
push 0
xor bl, bl
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
lea eax, [ebp - 0x20c]
push eax
js 0x5d990e
push dword [ebp - 0x210]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x5d9900
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d98e0
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00428800
mov bl, 1
push dword [ebp - 0x210]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x5d9950
push 1
push 0
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x5d9950
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d9930
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00428800
mov bl, 1
mov eax, dword [esi + 0x10]
test eax, eax
je 0x5d99a0
mov edx, dword [esi + 0x14]
mov ecx, esi
cmp edx, 8
jb 0x5d9963
mov ecx, dword [esi]
cmp word [ecx + eax*2 - 2], 0x5c
jne 0x5d99a0
lea ecx, [eax - 1]
cmp ecx, eax
ja 0x5d9995
mov dword [esi + 0x10], ecx
cmp edx, 8
jb 0x5d997c
mov esi, dword [esi]
xor eax, eax
pop edi
mov word [esi + ecx*2], ax
mov al, bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
ret
push 0
push 0xffffffffffffffff
mov ecx, esi
call fcn.004f71e0
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0063de71
mov esp, ebp
pop ebp
ret

Function at 0x5d99c0
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
push 0
push 0
mov ebx, ecx
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
mov edi, eax
test edi, edi
je 0x5d9a0c
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00656bb7
mov esi, eax
add esp, 4
test esi, esi
je 0x5d9a0c
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
jne 0x5d9a12
push esi
call fcn.006532ee
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
ret
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d9a17
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, ebx
call fcn.00428800
push esi
call fcn.006532ee
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x5d9c10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x7ca00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea edx, [ebp - 0x214]
lea ecx, [ebp - 0x218]
call fcn.005d8450
cmp dword [ebp - 0x214], 2
jne 0x5d9c56
mov ecx, esi
call fcn.005d9a40
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
ret
push 0
push 0x2c
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x5d9c7e
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
ret
push str.Adobe
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.00667a98
lea ecx, [ebp - 0x210]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d9ca0
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00428800
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0063de71
mov esp, ebp
pop ebp
ret

Function at 0x5d9cd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x7ca00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x1c
lea eax, [ebp - 0x20c]
mov esi, ecx
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x5d9d0e
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
ret
push str.Adobe
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00667a98
lea edx, [ebp - 0x20c]
add esp, 0xc
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x5d9d30
sub edx, ecx
lea eax, [ebp - 0x20c]
sar edx, 1
mov ecx, esi
push edx
push eax
call fcn.00428800
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0063de71
mov esp, ebp
pop ebp
ret