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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x701e68
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x82d084]
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 - 0x50], ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x44]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
push eax
call fcn.00440c40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push dword [esi + 4]
push dword [esi]
call fcn.004ba0a0
add esp, 8
mov esi, eax
mov byte [ebp - 4], 1
mov eax, edi
cmp dword [edi + 0x14], 0x10
jb 0x5fb077
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x44]
push eax
call fcn.00441450
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x5fb08d
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.00441450
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x5fb0d0
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5fb0c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5fb1d8
push edx
push ecx
call fcn.0067bc93
add esp, 8
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
push 0
push dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
push eax
sub esp, 8
call fcn.00554f20
xor esi, esi
mov dword [ebp - 0x48], edx
mov ebx, eax
lea edi, [ebp - 0x4c]
mov dword [ebp - 0x4c], 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 + 0x75bf48]
movzx esi, si
sub edx, 1
jne 0x5fb100
push 2
push 0x7ce6cc
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], dl
call fcn.00430160
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x2c]
push 1
push esi
mov byte [ebp - 4], 2
push dword [ebp - 0x48]
push ebx
push eax
call fcn.005fac80
mov edx, dword [ebp - 0x18]
mov esi, eax
cmp edx, 0x10
jb 0x5fb188
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5fb17e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5fb1dd
push edx
push ecx
call fcn.0067bc93
add esp, 8
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x5fb1b8
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5fb1ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5fb1dd
push edx
push ecx
call fcn.0067bc93
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 - 0x14]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret 0xc
call fcn.00691015
call fcn.00691015
int3
Function at 0x5fbbb0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x701f76
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x82d084]
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.0067f606
add esp, 4
test eax, eax
jne 0x5fbd10
mov dword [ebp - 4], eax
cmp byte [edi + 0xa1], al
je 0x5fbcd8
push 0x202
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x234], 1
push eax
xor bl, bl
call fcn.0068e800
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 0x5fbcb7
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5fbc80
sub ecx, edx
lea eax, [ebp - 0x214]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.0042fe00
cmp dword [ebp - 0x220], 0
je 0x5fbcb7
mov bl, 1
mov dword [ebp - 0x234], 0
lea ecx, [ebp - 0x230]
call fcn.0042fd70
cmp dword [ebp - 0x234], 0
jne 0x5fbcd8
mov byte [edi + 0x9c], bl
mov byte [edi + 0xa1], 0
mov bl, byte [edi + 0x9c]
push esi
mov dword [ebp - 4], 2
call fcn.0067f62b
add esp, 4
test eax, eax
jne 0x5fbd16
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.0067ba01
mov esp, ebp
pop ebp
ret
push eax
call fcn.0067f8f8
push eax
call fcn.0067f8f8
int3
Function at 0x5fbd20
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x701fa8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x82d084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push 0x854f7c
mov dword [ebp - 0x28], 0x854f7c
call fcn.0067f606
add esp, 4
test eax, eax
jne 0x5fbe32
mov dword [ebp - 4], eax
mov esi, dword [0x854ee4]
test esi, esi
jne 0x5fbe05
push 4
call fcn.0067ba12
add esp, 4
mov dword [ebp - 0x2c], eax
mov dword [eax], esi
mov dword [eax], esi
mov ecx, dword [0x854ee4]
mov dword [0x854ee4], eax
test ecx, ecx
je 0x5fbda4
push 4
push ecx
mov dword [ecx], esi
call fcn.0067bc93
add esp, 8
push edi
lea ecx, [ebp - 0x24]
call fcn.0042fc50
mov esi, dword [0x854ee4]
cmp dword [esi], 0
jne 0x5fbdf7
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 0x5fbdf7
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 5
jne 0x5fbdf7
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.0042fd70
mov esi, dword [0x854ee4]
push 0x854f7c
mov dword [ebp - 4], 1
call fcn.0067f62b
add esp, 4
test eax, eax
jne 0x5fbe38
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.0067f8f8
push eax
call fcn.0067f8f8
int3
Function at 0x5fc420
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7020c1
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x82d084]
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 0x854f18
mov dword [ebp - 0x454], esi
mov dword [ebp - 0x458], 0x854f18
call fcn.0067f606
add esp, 4
test eax, eax
jne 0x5fc67b
mov dword [ebp - 4], eax
cmp dword [esi + 0x48], eax
jne 0x5fc644
push 0xf
push str.unknown_machine
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 1
call fcn.00430160
push 0x200
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0068e800
add esp, 0xc
mov dword [ebp - 0x41c], 0x100
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x218]
push eax
push 5
call dword [sym.imp.KERNEL32.DLL_GetComputerNameExW]
test eax, eax
je 0x5fc644
xor eax, eax
mov dword [ebp - 0x440], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5fc500
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x450]
call fcn.0042fe00
mov byte [ebp - 4], 2
cmp dword [ebp - 0x440], 0
je 0x5fc55b
cmp dword [ebp - 0x43c], 8
lea ecx, [ebp - 0x450]
lea edx, [esi + 0x38]
cmovae ecx, dword [ebp - 0x450]
call fcn.0050b660
lea ecx, [ebp - 0x450]
call fcn.0042fd70
jmp 0x5fc644
push 0x200
lea eax, [ebp - 0x418]
push 0
push eax
call fcn.0068e800
add esp, 0xc
mov dword [ebp - 0x420], 0x100
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x418]
push eax
push 1
call dword [sym.imp.KERNEL32.DLL_GetComputerNameExW]
test eax, eax
je 0x5fc616
xor eax, eax
mov dword [ebp - 0x428], 0
lea ecx, [ebp - 0x418]
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5fc5c0
sub ecx, edx
lea eax, [ebp - 0x418]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.0042fe00
mov byte [ebp - 4], 3
cmp dword [ebp - 0x428], 0
je 0x5fc60b
cmp dword [ebp - 0x424], 8
lea ecx, [ebp - 0x438]
lea edx, [esi + 0x38]
cmovae ecx, dword [ebp - 0x438]
call fcn.0050b660
lea ecx, [ebp - 0x438]
call fcn.0042fd70
lea ecx, [ebp - 0x450]
call fcn.0042fd70
jmp 0x5fc644
push 0x854f18
mov dword [ebp - 4], 5
call fcn.0067f62b
add esp, 4
test eax, eax
jne 0x5fc681
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.0067ba01
mov esp, ebp
pop ebp
ret
push eax
call fcn.0067f8f8
push eax
call fcn.0067f8f8
int3
Function at 0x602520
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d5e89
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x82d084]
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.00458200
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 + 0x75d818]
xor al, byte [esi + ebx]
movzx ecx, al
push ecx
push 1
mov ecx, edi
call fcn.004455a0
inc esi
cmp esi, 0x1e
jb 0x602580
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 0x602920
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70283e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x82d084]
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.00440c40
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 4
push eax
lea ecx, [esi + 0x18]
call fcn.00440c40
lea eax, [ebp + 0x38]
mov byte [ebp - 4], 5
push eax
lea ecx, [esi + 0x30]
call fcn.00440c40
lea eax, [ebp + 0x50]
mov byte [ebp - 4], 6
push eax
lea ecx, [esi + 0x48]
call fcn.00440c40
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x6029c2
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6029b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x602aa0
push edx
push ecx
call fcn.0067bc93
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 0x602a08
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6029fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x602aa0
push edx
push ecx
call fcn.0067bc93
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 0x602a4a
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x602a40
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x602aa0
push edx
push ecx
call fcn.0067bc93
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 0x602a8c
mov ecx, dword [ebp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x602a82
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x602aa0
push edx
push ecx
call fcn.0067bc93
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.00691015
int3
Function at 0x6090c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6eaf48
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x82d084]
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.0051cd60
test eax, eax
jne 0x60921d
push 1
push 0x761550
lea ecx, [ebp - 0x28]
call fcn.0042ff20
cmp dword [0x849a24], 8
mov ecx, 0x849a10
push dword [0x849a20]
cmovae ecx, dword [0x849a10]
push ecx
mov ecx, eax
call fcn.0042ff20
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 0x609182
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 0x609182
cmp eax, 0xb7
je 0x609182
cmp eax, 0x50
jne 0x60921d
push 1
push 0x761550
lea ecx, [ebp - 0x28]
call fcn.0042ff20
cmp dword [0x8498a4], 8
mov ecx, 0x849890
push dword [0x8498a0]
cmovae ecx, dword [0x849890]
push ecx
mov ecx, eax
call fcn.0042ff20
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x28]
push ecx
cmp eax, dword [esi + 8]
je 0x6091cb
mov ecx, eax
call fcn.0042fc50
add dword [esi + 4], 0x18
jmp 0x6091d3
push eax
mov ecx, esi
call fcn.00449a40
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.00520f10
test eax, eax
jne 0x609219
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x28]
push ecx
cmp eax, dword [esi + 8]
je 0x609211
mov ecx, eax
call fcn.0042fc50
add dword [esi + 4], 0x18
xor esi, esi
jmp 0x609222
push eax
mov ecx, esi
call fcn.00449a40
xor esi, esi
jmp 0x609222
mov esi, 1
lea ecx, [ebp - 0x28]
call fcn.0042fd70
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.0067ba01
mov esp, ebp
pop ebp
ret
Function at 0x60c0f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x82d084]
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.0068e800
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 0x60c1b9
inc esi
cmp esi, 0xf
jl 0x60c130
jmp 0x60c1be
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.0068e800
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 0x60c24d
inc edi
cmp edi, 0xa
jl 0x60c1c3
jmp 0x60c253
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.0068e800
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 0x60c304
inc ebx
cmp ebx, 0xa
jl 0x60c260
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.0067ba01
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.0067ba01
mov esp, ebp
pop ebp
ret
Function at 0x60d330
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x82d084]
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 0x60d3be
push dword [ebp - 0x210]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x60d3b0
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x60d390
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0042fe00
mov bl, 1
push dword [ebp - 0x210]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x60d400
push 1
push 0
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x60d400
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x60d3e0
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0042fe00
mov bl, 1
mov eax, dword [esi + 0x10]
test eax, eax
je 0x60d450
mov edx, dword [esi + 0x14]
mov ecx, esi
cmp edx, 8
jb 0x60d413
mov ecx, dword [esi]
cmp word [ecx + eax*2 - 2], 0x5c
jne 0x60d450
lea ecx, [eax - 1]
cmp ecx, eax
ja 0x60d445
mov dword [esi + 0x10], ecx
cmp edx, 8
jb 0x60d42c
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.0067ba01
mov esp, ebp
pop ebp
ret
push 0
push 0xffffffffffffffff
mov ecx, esi
call fcn.0050cfe0
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0067ba01
mov esp, ebp
pop ebp
ret

Function at 0x60d470
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 0x60d4bc
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00695088
mov esi, eax
add esp, 4
test esi, esi
je 0x60d4bc
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
jne 0x60d4c2
push esi
call fcn.00690e3e
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 0x60d4c7
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, ebx
call fcn.0042fe00
push esi
call fcn.00690e3e
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x60d6c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x82d084]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea edx, [ebp - 0x214]
lea ecx, [ebp - 0x218]
call fcn.0060bf00
cmp dword [ebp - 0x214], 2
jne 0x60d706
mov ecx, esi
call fcn.0060d4f0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0067ba01
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 0x60d72e
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
push str.Adobe
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.006a5f98
lea ecx, [ebp - 0x210]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x60d750
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0042fe00
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0067ba01
mov esp, ebp
pop ebp
ret

Function at 0x60d780
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x82d084]
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 0x60d7be
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
push str.Adobe
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.006a5f98
lea edx, [ebp - 0x20c]
add esp, 0xc
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x60d7e0
sub edx, ecx
lea eax, [ebp - 0x20c]
sar edx, 1
mov ecx, esi
push edx
push eax
call fcn.0042fe00
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0067ba01
mov esp, ebp
pop ebp
ret
Function at 0x60e700
Capabilities:
Check if file exists
Create directory

Disassembly:
push esi
mov esi, ecx
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x60e70d
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [esi + 0x14]
test eax, eax
je 0x60e730
cmp ecx, 8
jb 0x60e722
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
pop esi
setne al
ret
cmp ecx, 8
jb 0x60e737
mov esi, dword [esi]
push edi
push 0
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov edi, eax
test edi, edi
je 0x60e7b4
mov esi, dword [0x853a78]
test esi, esi
je 0x60e784
push edi
push str.SHCreateDirectoryEx_failed._Error:__d
push 0x75b10c
push 0x75b10c
push str.FileUtils
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x1c
test edi, edi
sete al
pop edi
pop esi
ret
mov eax, dword [0x853a7c]
test eax, eax
je 0x60e7b2
mov esi, dword [eax]
push edi
push str.SHCreateDirectoryEx_failed._Error:__d
push str.FileUtils
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x75b10c
push 0x32
push eax
call dword [0x747368]
call esi
add esp, 0x18
test edi, edi
pop edi
sete al
pop esi
ret