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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x5242aa
mov dword [ebp - 0x10], 1
jmp 0x5243fa
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0xa]
test ax, ax
jne 0x5242c2
mov dword [ebp - 0x10], 2
jmp 0x5243fa
xor edx, edx
mov dword [ebp - 0x10], edx
mov word [ebp - 0x14], ax
mov word [ebp - 0x12], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 4
call fcn.004048c8
movzx eax, word [ebp + 8]
dec eax
movzx edx, word [ebp - 0x14]
mov ecx, edx
cdq
idiv ecx
inc eax
test ax, ax
jbe 0x5243fa
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x20]
call fcn.00524270
lea eax, [ebp - 0xa8]
xor ecx, ecx
mov edx, 0x40
call fcn.004048c8
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x5243c0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 1
movzx eax, word [ebp - 0xa]
push eax
lea eax, [ebp - 0x200]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00523974
cmp dword [ebp - 0x18], 1
jne 0x524374
movzx ecx, word [ebp + 0x14]
lea eax, [ebp - 0x200]
mov edx, dword [ebp + 0x18]
call fcn.00523a30
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x200]
mov ecx, 4
call fcn.00523a30
jmp 0x524386
movzx ecx, word [ebp - 0x14]
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x200]
call fcn.00523a30
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x200]
call fcn.00523a40
movzx ecx, word [ebp - 0x14]
dec ecx
test cx, cx
jb 0x5243b4
inc ecx
lea eax, [ebp - 0x68]
lea edx, [ebp - 0xa8]
movzx ebx, byte [eax]
xor byte [edx], bl
inc edx
inc eax
dec cx
jne 0x5243a8
inc dword [ebp - 0x18]
dec dword [ebp - 0x28]
jne 0x524331
movzx ecx, word [ebp - 0x14]
dec ecx
test cx, cx
jb 0x5243f0
inc ecx
lea eax, [ebp - 0xa8]
movzx edx, word [ebp - 0x12]
cmp dx, word [ebp + 8]
jae 0x5243ea
movzx edx, byte [eax]
mov ebx, dword [ebp - 0x1c]
mov byte [ebx], dl
inc word [ebp - 0x12]
inc dword [ebp - 0x1c]
inc eax
dec cx
jne 0x5243d1
dec word [ebp - 0x22]
jne 0x524302
mov eax, dword [ebp - 0x10]
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x524a7c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov ecx, 8
mov edx, 0x3020100
mov dword [eax], edx
add edx, 0x4040404
mov dword [eax + 4], edx
add edx, 0x4040404
mov dword [eax + 8], edx
add edx, 0x4040404
mov dword [eax + 0xc], edx
add edx, 0x4040404
mov dword [eax + 0x10], edx
add edx, 0x4040404
mov dword [eax + 0x14], edx
add edx, 0x4040404
mov dword [eax + 0x18], edx
add edx, 0x4040404
mov dword [eax + 0x1c], edx
add edx, 0x4040404
add eax, 0x20
dec ecx
jne 0x524a86
ret

Function at 0x52baac
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CopyFileW
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x52c84c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x52c8b0
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00414db4
mov eax, dword [ebp - 4]
call fcn.0052c79c
test al, al
je 0x52c885
mov byte [ebp - 5], 1
jmp 0x52c89a
mov eax, dword [ebp - 0xc]
call fcn.00406e14
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 2
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52c8b7
lea eax, [ebp - 0xc]
call fcn.00406d78
ret

Function at 0x52cba8
Capabilities:
Encode data using xor

Disassembly:
and edx, edx
je 0x52cbcb
and ecx, ecx
jle 0x52cbcb
push ebx
push edi
xor ebx, ebx
lea edi, cs:[0x52cbd1]
mov bl, al
shr eax, 8
xor bl, byte [edx]
xor eax, dword [edi + ebx*4]
inc edx
dec ecx
jne 0x52cbbb
pop edi
pop ebx
ret

Function at 0x52d1ac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x52d209
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, dword [ebp - 0x18]
mov al, byte [eax]
mov byte [ebp - 0x12], al
mov eax, dword [ebp - 0x10]
call fcn.0052d0fc
xor al, byte [ebp - 0x12]
mov byte [ebp - 0x11], al
mov edx, dword [ebp - 0x10]
mov al, byte [ebp - 0x11]
call fcn.0052d064
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, dword [ebp - 0x18]
mov dl, byte [ebp - 0x11]
mov byte [eax], dl
inc dword [ebp - 0x18]
dec dword [ebp - 0x1c]
jne 0x52d1ce
mov esp, ebp
pop ebp
ret
Function at 0x52d264
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406710
xor eax, eax
push ebp
push 0x52d346
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax], 0x12345678
mov dword [eax + 4], 0
mov eax, dword [ebp - 8]
mov dword [eax + 8], 0x23456789
mov dword [eax + 0xc], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x10], 0x34567890
mov dword [eax + 0x14], 0
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406428
call fcn.004065a0
dec eax
test eax, eax
jl 0x52d2f7
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
call fcn.00406720
add eax, dword [ebp - 0x14]
mov al, byte [eax]
mov edx, dword [ebp - 8]
call fcn.0052d064
inc dword [ebp - 0x14]
dec dword [ebp - 0x1c]
jne 0x52d2da
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
call fcn.0052d0fc
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
xor al, byte [edx + ecx]
mov byte [ebp - 0x15], al
mov edx, dword [ebp - 8]
mov al, byte [ebp - 0x15]
call fcn.0052d064
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov cl, byte [ebp - 0x15]
mov byte [eax + edx], cl
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xc
jne 0x52d2fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52d34d
lea eax, [ebp - 4]
call fcn.004061fc
ret
Function at 0x53a654
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21e]
mov edx, 0x53a6e0
call fcn.004156e4
mov eax, dword [ebp - 4]
cmp dword [eax + 0x50], 0
je 0x53a68f
lea eax, [ebp - 0x208]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x50]
call fcn.004156e4
jmp 0x53a6a0
lea eax, [ebp - 0x208]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathW
lea eax, [ebp - 0x428]
push eax
push 0
lea eax, [ebp - 0x21e]
push eax
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetTempFileNameW
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x428]
mov ecx, 0x105
call fcn.00406f88
mov esp, ebp
pop ebp
ret

Function at 0x544ec4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x40d0c8]
call fcn.00407a94
xor eax, eax
push ebp
push 0x54500e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5a489c], 0
jne 0x544f18
mov ecx, dword [0x5a4b34]
mov dl, 1
mov eax, dword [0x40e98c]
call fcn.004198c0
call fcn.00405a34
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x10
call fcn.004048c8
mov eax, ebx
call fcn.00406ae8
mov dword [ebp - 0x20], eax
push esi
mov esi, 0x54501c
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x34]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00409e0c
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
test eax, eax
je 0x544f5f
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x544fb4
mov dword [ebp - 0x14], 0x20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x544fad
lea eax, [ebp - 0x58]
mov edx, ebx
call fcn.00406ff0
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x54]
mov ecx, 0x10
call fcn.00406f88
mov eax, dword [ebp - 0x5c]
pop edx
call fcn.00413638
test eax, eax
jne 0x544fad
mov ebx, 0x15
jmp 0x544fb9
mov ebx, 0x10
jmp 0x544fb9
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push ebx
push 0
push esi
call dword [0x5a489c]
call fcn.00544d30
mov eax, dword [ebp - 4]
call fcn.00544d30
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00409e24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x545015
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00406d80
lea eax, [ebp - 0xc]
mov edx, dword [0x40d0c8]
call fcn.00407b6c
ret
Function at 0x5492dc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x54934d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x5a48cc]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x549337
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.005492c4
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5460ec]
call fcn.0054a264
mov dword [0x5a4934], eax
mov eax, dword [ebp - 4]
call fcn.0054914c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x549354
lea eax, [ebp - 8]
call fcn.00409e0c
ret

Function at 0x5493ec
Capabilities:
Get file system object information

Disassembly:
push esi
add esp, 0xfffffd4c
mov esi, 0x4008
test cl, cl
je 0x5493ff
or esi, 2
test dl, dl
je 0x549408
or esi, 0
jmp 0x54940b
or esi, 1
push esi
push 0x2b4
lea edx, [esp + 8]
push edx
push 0
push eax
call sub.shell32.dll_SHGetFileInfoW
mov eax, dword [esp + 4]
add esp, 0x2b4
pop esi
ret
Function at 0x54a090
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00406d70
xor eax, eax
push ebp
push 0x54a244
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 1
mov edx, dword [ebx]
mov eax, dword [0x545d24]
call fcn.004290ac
test eax, eax
jl 0x54a0fa
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebx]
call fcn.005493d0
and eax, 0x7f
mov eax, dword [eax*4 + 0x5a48cc]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
mov esi, eax
jmp 0x54a1b6
mov eax, dword [ebx]
test eax, eax
je 0x54a114
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x54a114
mov edx, dword [ebx]
mov eax, ebx
call fcn.004063e8
test eax, eax
je 0x54a11d
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x54a1b6
mov eax, dword [ebx]
test eax, eax
je 0x54a13f
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x54a13f
mov edx, dword [ebx]
mov eax, ebx
call fcn.004063e8
test eax, eax
je 0x54a148
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebx]
cmp word [edx + eax*2 - 2], 0x3a
jne 0x54a15e
mov eax, ebx
mov edx, 0x54a260
call fcn.0040719c
mov eax, dword [ebx]
test eax, eax
je 0x54a178
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x54a178
mov edx, dword [ebx]
mov eax, ebx
call fcn.004063e8
test eax, eax
je 0x54a181
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx]
call fcn.00408268
mov esi, eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0
push 0
lea eax, [ebp - 0x18]
call fcn.005492c4
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov esi, eax
test esi, esi
je 0x54a201
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x1c]
mov eax, dword [0x5a4b6c]
call fcn.0040a488
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebx]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
pop eax
call fcn.00415b1c
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00406d88
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x40e98c]
call fcn.0041978c
call fcn.00405a34
mov eax, dword [ebp - 0xc]
call fcn.0054a008
mov ebx, eax
test edi, edi
je 0x54a216
mov eax, edi
call fcn.00404f5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54a24b
lea eax, [ebp - 0x1c]
call fcn.00406d78
lea eax, [ebp - 0x18]
call fcn.00409e0c
lea eax, [ebp - 8]
call fcn.00406d78
lea eax, [ebp - 4]
call fcn.00406d78
ret

Function at 0x54ae48
Capabilities:
Create process on windows

Disassembly:
push ebx
add esp, 0xffffffc4
mov ebx, eax
mov eax, esp
xor ecx, ecx
mov edx, 0x3c
call fcn.004048c8
mov dword [esp], 0x3c
mov eax, dword [0x5a4f54]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
mov dword [esp + 8], eax
mov dword [esp + 4], 0xc
mov eax, dword [ebx + 8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 5
push esp
call sub.shell32.dll_ShellExecuteExW
add esp, 0x3c
pop ebx
ret
Function at 0x55361c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
test dl, dl
je 0x553634
add esp, 0xfffffff0
call fcn.00405490
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x55374e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 8], ebx
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
call fcn.00404254
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
dec ebx
test ebx, ebx
jl 0x553738
inc ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.00544d30
xor eax, eax
push ebp
push 0x553725
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.00544d30
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
lea ebx, [eax + edx*8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [ebx], eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 4]
call fcn.00406ff0
jmp 0x5536f6
lea eax, [ebx + 4]
mov ecx, 1
mov edx, 1
call fcn.00407598
mov eax, dword [ebx + 4]
call fcn.004070f8
dec eax
jle 0x55370a
mov eax, dword [ebx + 4]
cmp word [eax], 0x5f
je 0x5536e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55372c
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x553755
lea eax, [ebp - 4]
call fcn.0040691c
ret
Function at 0x567c7c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x1c], ebx
test dl, dl
je 0x567c9f
add esp, 0xfffffff0
call fcn.00405490
mov dword [ebp - 4], ecx
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.00406d70
xor eax, eax
push ebp
push 0x567e2e
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00404f2c
xor eax, eax
push ebp
push 0x567db1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.00406e14
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
lea edx, [ebx + 1]
mov eax, dword [ebp - 8]
add eax, 8
call fcn.00407104
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
push eax
push ebx
mov eax, dword [ebp - 0x14]
push eax
push esi
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x567da7
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x567e58
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x567da7
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
shr eax, 0x10
movzx eax, ax
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x2c]
mov ecx, 1
mov eax, 0x567e98
call fcn.00415b1c
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
add eax, 0xc
call fcn.00406d88
mov eax, dword [ebp - 8]
mov byte [eax + 4], 1
xor esi, esi
mov ebx, 0x5a4a58
lea ecx, [ebp - 0x30]
mov edx, dword [ebx]
mov eax, dword [ebp - 8]
call fcn.00567f24
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 8]
lea eax, [eax + esi*4 + 0x10]
call fcn.00406d88
inc esi
add ebx, 4
cmp esi, 0xa
jne 0x567d82
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x567e03
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x567e35
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00406d80
lea eax, [ebp - 0x1c]
call fcn.00406d78
lea eax, [ebp - 4]
call fcn.00406d78
ret
Function at 0x569044
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov esi, ecx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x569120
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x5690b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x104
call fcn.0040426c
mov ebx, eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
push ebx
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
mov eax, esi
mov edx, ebx
call fcn.00406f34
mov eax, ebx
call fcn.00404288
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x569105
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x569127
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00406d80
ret

Function at 0x569848
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x56991e
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x5698d0
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x104
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
mov ecx, eax
lea edx, [ebp - 0x208]
mov eax, ebx
call fcn.00406ec4
cmp dword [ebx], 0
jne 0x5698c6
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x20c]
call fcn.00418dec
mov ecx, dword [ebp - 0x20c]
mov dl, 1
mov eax, dword [0x40e98c]
call fcn.0041978c
call fcn.00405a34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x569905
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x569925
lea eax, [ebp - 0x20c]
call fcn.00406d78
ret

Function at 0x5699c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x569a96
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x569a48
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x104
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov ecx, eax
lea edx, [ebp - 0x208]
mov eax, ebx
call fcn.00406ec4
cmp dword [ebx], 0
jne 0x569a3e
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x20c]
call fcn.00418dec
mov ecx, dword [ebp - 0x20c]
mov dl, 1
mov eax, dword [0x40e98c]
call fcn.0041978c
call fcn.00405a34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x569a7d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x569a9d
lea eax, [ebp - 0x20c]
call fcn.00406d78
ret
Function at 0x56a014
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 8], edx
xor eax, eax
push ebp
push 0x56a115
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x56a0b6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x210]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathW
mov ecx, eax
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 8]
call fcn.00406ec4
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00413724
cmp dword [ebp - 0x214], 0
je 0x56a0ac
lea ecx, [ebp - 0x218]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, dword [0x5a5044]
mov eax, dword [eax]
call fcn.0057a254
mov edx, dword [ebp - 0x218]
mov eax, dword [ebp - 8]
call fcn.00406d88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x56a0f7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56a11c
lea eax, [ebp - 0x218]
mov edx, 2
call fcn.00406d80
ret

Function at 0x56a570
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffeec
mov dword [esp], 0x114
push esp
call sub.kernel32.dll_GetVersionExW
cmp dword [esp + 4], 6
setae al
add esp, 0x114
ret
Function at 0x57216c
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x572181
add esp, 0xfffffff0
call fcn.00405490
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x572331
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xc], 0
mov eax, dword [ebp - 4]
add eax, 4
xor edx, edx
call fcn.00406d88
mov eax, dword [ebp - 4]
mov byte [eax + 0x2c], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x2d], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x2e], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x2f], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x31], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x32], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x33], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x34], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x35], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x36], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x37], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x38], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x39], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x3c], 0xffffff
mov eax, dword [ebp - 4]
mov byte [eax + 0x40], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x41], 1
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x44], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x48], 0x18
mov eax, dword [ebp - 4]
mov dword [eax + 0x4c], 0xc
mov eax, dword [ebp - 4]
mov byte [eax + 0x50], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x5c], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x68], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x7c], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x7d], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1f4], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1f5], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1f6], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1f7], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1f8], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1f9], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1fa], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1fb], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1fc], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x220], 0
mov eax, dword [ebp - 4]
add eax, 0x58
mov edx, 0x572394
call fcn.00406d88
mov eax, dword [ebp - 4]
add eax, 0x64
mov edx, 0x572394
call fcn.00406d88
mov eax, dword [ebp - 4]
mov byte [eax + 0x221], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x228], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x230], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x248], 0
mov eax, dword [ebp - 4]
add eax, 0x244
xor edx, edx
call fcn.00406d88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x572364
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x57237c
call fcn.004054e8
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret