joyce8/EMBER2024-capa huggingface dataset:
Function at 0x58baa0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x6f8b74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x108]
mov dword [ebp - 0x41c], 0
push 0
push eax
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
call fcn.005b7c20
push 0x104
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005b7c20
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
push 0
push 0
push 0x2e
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x58bb2e
push 0x104
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.005ce4ef
add esp, 0xc
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x58bb37
sub ecx, edx
lea eax, [ebp - 0x20c]
push ecx
push eax
lea ecx, [ebp - 0x42c]
call fcn.00448040
push 0x663dcc
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00452210
push 0x69cd14
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00452210
push 0x663dcc
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00452210
push 0x6a0eac
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00452210
lea ecx, [ebp - 0x108]
add esp, 0x30
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x58bbb7
sub ecx, edx
lea eax, [ebp - 0x108]
push ecx
push eax
lea ecx, [ebp - 0x42c]
call fcn.00448040
sub esp, 0x18
lea ebx, [ebp - 0x42c]
mov esi, esp
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [ebp - 0x418], 0x10
mov eax, dword [ebp - 0x41c]
cmovae ebx, dword [ebp - 0x42c]
mov dword [ebp - 0x430], eax
cmp eax, 0x10
jae 0x58bc18
movups xmm0, xmmword [ebx]
mov edi, 0xf
movups xmmword [esi], xmm0
jmp 0x58bc4c
mov edi, eax
mov ecx, esi
mov eax, SysReAllocString
or edi, 0xf
cmp edi, eax
cmova edi, eax
lea eax, [edi + 1]
push eax
call fcn.004368e0
mov ecx, dword [ebp - 0x430]
inc ecx
mov dword [esi], eax
push ecx
push ebx
push eax
call fcn.005b7120
mov eax, dword [ebp - 0x430]
add esp, 0xc
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edi
call fcn.00455c40
mov edi, eax
add esp, 0x18
test edi, edi
je 0x58bc86
sub esp, 0x18
lea eax, [ebp - 0x42c]
mov ecx, esp
push eax
call fcn.0043a2e0
call fcn.00458e20
add esp, 0x18
test al, al
je 0x58bcba
push edi
call fcn.00457200
add esp, 4
xor esi, esi
mov edx, dword [ebp - 0x418]
cmp edx, 0x10
jb 0x58bd22
mov ecx, dword [ebp - 0x42c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x58bd18
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x58bd35
jmp 0x58bd18
push 4
call fcn.005b5266
mov esi, eax
add esp, 4
test esi, esi
je 0x58bcd2
mov dword [esi], 0
jmp 0x58bcd4
xor esi, esi
cmp dword [ebp - 0x418], 0x10
lea eax, [ebp - 0x42c]
push 0
cmovae eax, dword [ebp - 0x42c]
push 0x1000006
push esi
push eax
call fcn.00488e20
add esp, 0x10
test eax, eax
je 0x58bd0a
push 4
push esi
call fcn.005b5296
add esp, 8
xor esi, esi
push edi
call fcn.00457200
add esp, 4
jmp 0x58bc88
push edx
push ecx
call fcn.005b5296
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005b56fe
mov esp, ebp
pop ebp
ret
call fcn.005c116d
int3
Function at 0x58e091
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push 1
push edi
call fcn.0058e03b
mov esi, dword [ebp + 0xc]
pop ecx
pop ecx
test al, al
je 0x58e116
push 1
push esi
call fcn.0058e03b
mov edx, dword [ebp + 0x10]
pop ecx
pop ecx
test al, al
je 0x58e119
mov ecx, edx
mov eax, ebx
shr ecx, 2
test ecx, ecx
je 0x58e0eb
mov edx, edi
mov dword [ebp - 4], ecx
sub edx, esi
mov edi, esi
mov eax, dword [edx + edi]
xor eax, dword [edi]
lea edi, [edi + 4]
or ebx, eax
sub ecx, 1
jne 0x58e0d3
mov edx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 4]
shl eax, 2
sub edx, eax
jne 0x58e0fb
xor eax, eax
test ebx, ebx
sete al
jmp 0x58e131
add edi, eax
add esi, eax
mov ecx, ebx
mov eax, ebx
shr eax, 0x10
shr ecx, 0x18
or cl, al
mov eax, ebx
shr eax, 8
or cl, al
or bl, cl
jmp 0x58e119
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x58e12c
sub edi, esi
mov al, byte [esi + edi]
xor al, byte [esi]
or bl, al
inc esi
sub edx, 1
jne 0x58e11f
test bl, bl
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x58e138
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 1
push ebx
call fcn.0058e03b
mov edi, dword [ebp + 0xc]
pop ecx
pop ecx
test al, al
je 0x58e1bb
push 1
push edi
call fcn.0058e03b
mov esi, dword [ebp + 0x10]
pop ecx
pop ecx
test al, al
je 0x58e1be
push 1
push esi
call fcn.0058e03b
pop ecx
pop ecx
mov ecx, dword [ebp + 0x14]
test al, al
je 0x58e1c1
mov edx, ecx
xor eax, eax
shr edx, 2
test edx, edx
je 0x58e1ac
mov ecx, edi
mov dword [ebp - 8], edx
mov eax, ebx
sub ecx, esi
sub eax, esi
mov ebx, esi
mov edi, eax
mov eax, dword [ecx + ebx]
xor eax, dword [ebx]
mov dword [edi + ebx], eax
lea ebx, [ebx + 4]
sub edx, 1
jne 0x58e190
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 8]
shl eax, 2
sub ecx, eax
je 0x58e1d7
add ebx, eax
add edi, eax
add esi, eax
jmp 0x58e1c1
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x58e1d7
sub edi, esi
sub ebx, esi
mov al, byte [esi + edi]
xor al, byte [esi]
mov byte [esi + ebx], al
inc esi
sub ecx, 1
jne 0x58e1c9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x58e1de
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push 1
push esi
call fcn.0058e03b
mov edi, dword [ebp + 0xc]
pop ecx
pop ecx
test al, al
je 0x58e242
push 1
push edi
call fcn.0058e03b
pop ecx
pop ecx
mov ecx, dword [ebp + 0x10]
test al, al
je 0x58e245
mov edx, ecx
xor eax, eax
shr edx, 2
test edx, edx
je 0x58e235
mov eax, edi
mov dword [ebp - 8], edx
push ebx
sub eax, esi
mov ebx, esi
mov esi, eax
mov eax, dword [esi + ebx]
xor dword [ebx], eax
lea ebx, [ebx + 4]
sub edx, 1
jne 0x58e221
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 8]
pop ebx
shl eax, 2
sub ecx, eax
je 0x58e256
add esi, eax
add edi, eax
jmp 0x58e245
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x58e256
sub edi, esi
mov al, byte [esi + edi]
xor byte [esi], al
inc esi
sub ecx, 1
jne 0x58e24b
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x58fc2e
Capabilities:
Hash data using sha1

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], 0xc3d2e1f0
pop ebp
ret

Function at 0x58fc58
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push 0x20
push 0x6a1d70
push dword [ebp + 8]
call fcn.005b7120
add esp, 0xc
pop ebp
ret
Function at 0x592d67
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x6363c8
call fcn.005b5fde
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x592e67
cmp byte [ebx + 0x3d], 0
je 0x592e67
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x592da1
xor al, al
jmp 0x592e69
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.0059303b
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x592dff
sub eax, 1
je 0x592e03
dec eax
sub eax, 1
je 0x592e55
xor bl, bl
jmp 0x592e57
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x592e3b
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.005d2642
add esp, 0x10
cmp esi, eax
jne 0x592dfb
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x3d], 0
je 0x592e55
test esi, esi
jne 0x592dc5
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.0043daa0
jmp 0x592dbf
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00435df0
mov al, bl
jmp 0x592e69
mov al, 1
call fcn.005b5f99
ret
Function at 0x597830
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x6f8b74]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x104
lea eax, [ebp - 0x108]
mov dword [ebp - 0x418], 0xf
push 0
push eax
mov dword [ebp - 0x41c], 0
mov byte [ebp - 0x42c], 0
call fcn.005b7c20
push 0x104
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005b7c20
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
push 0
push 0
push 0x2e
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x5978bd
push 0x104
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.005ce4ef
add esp, 0xc
cmp byte [ebp - 0x20c], 0
jne 0x5978ca
xor ecx, ecx
jmp 0x5978dc
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5978d3
sub ecx, edx
push ecx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x42c]
call fcn.0043c570
push 0x6929a8
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00452210
push str.AdobeGCData
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00452210
push 0x6929a8
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00452210
push str.AdobeNGLAppIDMap.db
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00452210
add esp, 0x30
cmp byte [ebp - 0x108], 0
jne 0x597957
xor ecx, ecx
jmp 0x597969
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x597960
sub ecx, edx
push ecx
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x42c]
call fcn.0043c570
sub esp, 0x18
lea eax, [ebp - 0x42c]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00436070
call fcn.00455c40
mov edi, eax
add esp, 0x18
test edi, edi
je 0x5979eb
sub esp, 0x18
lea eax, [ebp - 0x42c]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00436070
call fcn.00458e20
add esp, 0x18
test al, al
je 0x597a1d
push edi
call fcn.00457200
add esp, 4
xor esi, esi
mov ecx, dword [ebp - 0x418]
cmp ecx, 0x10
jb 0x597a0b
inc ecx
push ecx
push dword [ebp - 0x42c]
lea ecx, [ebp - 0x42c]
call fcn.00436220
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.005b56fe
mov esp, ebp
pop ebp
ret
push 4
call fcn.005b5266
mov esi, eax
add esp, 4
test esi, esi
je 0x597a35
mov dword [esi], 0
jmp 0x597a37
xor esi, esi
cmp dword [ebp - 0x418], 0x10
lea eax, [ebp - 0x42c]
push 0
cmovae eax, dword [ebp - 0x42c]
push 0x1000006
push esi
push eax
call fcn.00488e20
add esp, 0x10
test eax, eax
je 0x597a6d
push 4
push esi
call fcn.005b5296
add esp, 8
xor esi, esi
push edi
call fcn.00457200
add esp, 4
jmp 0x5979ed

Function at 0x5993d0
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
push 0xc
mov esi, ecx
call fcn.005b5266
add esp, 4
mov dword [eax], esi
mov edx, dword [esi + 4]
push 0
push 4
push eax
push 0x598de0
push 0
mov dword [eax + 4], edx
mov edx, dword [esi + 8]
push 0
mov dword [eax + 8], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
jmp dword [sym.imp.KERNEL32.dll_SwitchToThread]
Function at 0x59bb40
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x6f8b74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], 0
push eax
push 0
push 8
mov word [ebp - 8], 0x500
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x59bbbe
call esi
cmp eax, 0x3f0
jne 0x59bb9f
lea eax, [ebp - 0x14]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x59bbbe
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
lea esp, [ebp - 0x28]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b56fe
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 2
push dword [ebp - 0x14]
call edi
test eax, eax
jne 0x59bba8
call esi
cmp eax, 0x7a
jne 0x59bba8
mov esi, dword [ebp - 0x18]
mov eax, esi
call fcn.005b6050
mov ebx, esp
test ebx, ebx
je 0x59bba8
lea eax, [ebp - 0x18]
push eax
push esi
push ebx
push 2
push dword [ebp - 0x14]
call edi
test eax, eax
je 0x59bba8
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x222
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x59bba8
xor esi, esi
mov byte [ebp - 0xd], 0
cmp dword [ebx], esi
jbe 0x59bc50
lea edi, [ebx + 4]
push dword [ebp - 0x1c]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x59bc4c
inc esi
add edi, 8
cmp esi, dword [ebx]
jb 0x59bc33
jmp 0x59bc50
mov byte [ebp - 0xd], 1
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0xd]
lea esp, [ebp - 0x28]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b56fe
mov esp, ebp
pop ebp
ret
Function at 0x5a2630
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
test edx, edx
je 0x5a26a7
push ebx
push esi
push edi
mov esi, 0x6a5d8a
mov byte [edx], 0xda
mov edi, 0x6a5d88
mov dword [ebp + 8], 0x33
mov ebx, 0x6a5d89
lea eax, [edx + 3]
mov ecx, esi
sub edi, edx
sub ebx, edx
sub ecx, edx
mov dword [ebp - 4], ecx
movzx ecx, byte [esi - 1]
lea esi, [esi + 5]
xor cl, byte [edx]
lea eax, [eax + 5]
mov byte [eax - 7], cl
movzx ecx, byte [esi - 5]
xor cl, byte [edx]
mov byte [eax - 6], cl
movzx ecx, byte [edi + eax - 5]
xor cl, byte [edx]
mov byte [eax - 5], cl
movzx ecx, byte [ebx + eax - 5]
xor cl, byte [edx]
mov byte [eax - 4], cl
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + eax - 5]
xor cl, byte [edx]
sub dword [ebp + 8], 1
mov byte [eax - 3], cl
jne 0x5a2665
pop edi
pop esi
pop ebx
mov eax, 0x100
mov esp, ebp
pop ebp
ret
Function at 0x5da42a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005da2a0

Function at 0x5e7950
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x642b1e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6f8b74]
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 + 0x30]
mov byte [ebp - 4], 1
push 0x138
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005b5266
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 + 0x38]
mov byte [ebp - 4], 2
push 0x74
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005b5266
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, edi
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0xf
mov byte [edi + 0x40], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0xf
mov byte [edi + 0x58], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0xf
mov byte [edi + 0x7c], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa8], 0xf
mov byte [edi + 0x94], 0
mov dword [edi + 0xbc], 0
mov dword [edi + 0xc0], 0xf
mov byte [edi + 0xac], 0
mov dword [edi + 0xd4], 0
mov dword [edi + 0xd8], 0xf
mov byte [edi + 0xc4], 0
mov dword [edi + 0xec], 0
mov dword [edi + 0xf0], 0xf
mov byte [edi + 0xdc], 0
mov dword [edi + 0x104], 0
mov dword [edi + 0x108], 0xf
mov byte [edi + 0xf4], 0
mov dword [edi + 0x11c], 0
mov dword [edi + 0x120], 0xf
mov byte [edi + 0x10c], 0
mov dword [edi + 0x134], 0
mov dword [edi + 0x138], 0xf
mov byte [edi + 0x124], 0
mov dword [edi + 0x14c], 0
mov dword [edi + 0x150], 0xf
mov byte [edi + 0x13c], 0
mov dword [edi + 0x164], 0
mov dword [edi + 0x168], 0xf
mov byte [edi + 0x154], 0
mov dword [edi + 0x17c], 0
mov dword [edi + 0x180], 0xf
mov byte [edi + 0x16c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x606384
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ecx
push 1
push edi
mov dword [ebp - 4], eax
mov ebx, dword [eax + 4]
call fcn.0058e03b
mov esi, dword [ebp + 0xc]
pop ecx
pop ecx
test al, al
jne 0x6063c9
test esi, esi
je 0x6063c9
movzx eax, byte [edi]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
push 1
xor ebx, dword [ecx*4 + 0x6b5358]
inc edi
push edi
dec esi
call fcn.0058e03b
jmp 0x6063a1
cmp esi, 4
jb 0x606414
mov ecx, esi
shr ecx, 2
xor ebx, dword [edi]
sub esi, 4
movzx eax, bl
add edi, 4
shr ebx, 8
xor ebx, dword [eax*4 + 0x6b5358]
movzx eax, bl
shr ebx, 8
xor ebx, dword [eax*4 + 0x6b5358]
movzx eax, bl
shr ebx, 8
xor ebx, dword [eax*4 + 0x6b5358]
movzx eax, bl
shr ebx, 8
xor ebx, dword [eax*4 + 0x6b5358]
sub ecx, 1
jne 0x6063d3
test esi, esi
je 0x606430
movzx eax, byte [edi]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x6b5358]
inc edi
sub esi, 1
jne 0x606418
mov eax, dword [ebp - 4]
pop edi
pop esi
mov dword [eax + 4], ebx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x61b7a6
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor edx, edx
push esi
mov dword [ebp - 0x14], edx
push edi
movzx edi, byte [edx + 0x6b6890]
mov eax, edi
mov dword [ebp - 8], edi
shr eax, 5
mov esi, edi
mov edx, eax
shr esi, 6
mov ebx, eax
lea ecx, [edi + edi]
xor ecx, edi
and eax, 1
mov dword [ebp - 0x10], eax
and ebx, 2
shr edi, 7
and edx, 4
mov dword [ebp - 0xc], edx
mov edx, esi
lea eax, [ecx + ecx]
and esi, 1
xor eax, dword [ebp - 8]
and edx, 2
shl eax, 0x19
mov dword [ebp - 4], eax
imul eax, edi, 0x1b000000
shl ecx, 2
xor ecx, dword [ebp - 8]
shl ecx, 8
xor dword [ebp - 4], eax
imul eax, dword [ebp - 0x10], 0x1b000000
xor dword [ebp - 4], eax
imul eax, ebx, 0x1b000000
xor dword [ebp - 4], eax
imul eax, esi, 0x1b000000
xor dword [ebp - 4], eax
imul eax, edx, 0x1b000000
xor dword [ebp - 4], eax
imul eax, dword [ebp - 0xc], 0x1b000000
xor dword [ebp - 4], eax
imul eax, dword [ebp - 0x10], 0x11b00
xor ecx, eax
imul eax, ebx, 0x11b00
xor ecx, eax
imul eax, esi, 0x11b00
xor ecx, eax
imul eax, edx, 0x11b00
mov edx, dword [ebp - 4]
xor ecx, eax
imul eax, dword [ebp - 0xc], 0x11b00
xor ecx, eax
imul eax, dword [ebp - 0x10], 0x11b0000
or edx, ecx
mov ecx, dword [ebp - 8]
shl ecx, 3
xor ecx, dword [ebp - 8]
shl ecx, 0x10
xor ecx, eax
imul eax, ebx, 0x11b0000
xor ecx, eax
imul eax, dword [ebp - 0xc], 0x11b0000
xor ecx, eax
imul eax, edi, 0x11b
or edx, ecx
mov ecx, dword [ebp - 8]
shl ecx, 2
xor ecx, dword [ebp - 8]
add ecx, ecx
xor ecx, eax
imul eax, dword [ebp - 0x10], 0x11b
xor ecx, eax
imul eax, ebx, 0x11b
mov ebx, dword [ebp - 8]
xor ecx, eax
imul eax, dword [ebp - 0xc], 0x11b
xor ecx, eax
xor eax, eax
xor ecx, ebx
or ebx, edx
or ecx, edx
mov edx, dword [ebp - 0x14]
or eax, ebx
mov dword [edx*8 + 0x709520], eax
mov dword [edx*8 + 0x709524], ecx
inc edx
mov dword [ebp - 0x14], edx
cmp edx, 0x100
jl 0x61b7b4
pop edi
pop esi
mov byte [0x709d21], 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x620740
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
mov esi, ecx
push eax
push 0
push esi
push 0x61ede0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
pop esi
test eax, eax
jne 0x620782
call fcn.0061d690
push str.FileDownloadManager::runThisThread:_failed_to_create_a_new_thread._Fatal_Error
push 0x6bdeec
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
add esp, 0xc
xor al, al
mov esp, ebp
pop ebp
ret
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x6215c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0
push dword [ebp + 8]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x621614
cmp eax, 0xb7
je 0x621614
cmp eax, 0x50
je 0x621614
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
call fcn.0061d690
mov esi, eax
mov edi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.failed_to_create_dir._Error____d
push 0x6bdeec
push esi
call dword [edi + 0x24]
add esp, 0x10
xor al, al
pop edi
pop esi
pop ebp
ret
mov al, 1
pop ebp
ret
Function at 0x621f60
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x621f8e
call fcn.0061d690
push ebx
push str.File_does_not_exist_at__s
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
add esp, 0xc
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
mov byte [ebp - 1], 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x621f87
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push edi
call ebx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
call fcn.0061d690
mov esi, eax
mov edi, dword [esi]
call ebx
push eax
push dword [ebp + 8]
push str.Failed_to_delete_file_at_path:_ls_error:_d
push esi
call dword [edi + 4]
mov al, byte [ebp - 1]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x622000
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 8], ebx
cmp ebx, 0xffffffff
jne 0x622064
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
call fcn.0061d690
mov edi, eax
mov ebx, dword [edi]
call esi
push eax
push dword [ebp + 8]
push str.Failed_to_open_the_file_handle_at__s._Error___d_
push 0x6bdeec
push edi
call dword [ebx + 0x24]
add esp, 0x14
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0061d690
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
push esi
mov ecx, dword [eax]
push edi
push str.file_size_to_which_we_have_to_extend_is__llu
push eax
call dword [ecx + 4]
add esp, 0x10
push 0
push 0
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x6220d8
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x6220b0
push ebx
mov byte [ebp - 1], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
call fcn.0061d690
mov edi, eax
mov ebx, dword [edi]
call esi
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
push str.Failed_to_set_the_end_of_the_file_to_size__llu._Error____d
jmp 0x6220fe
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
call fcn.0061d690
mov edi, eax
mov ebx, dword [edi]
call esi
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
push str.Failed_to_resize_the_file_to_size__ld._Error____d
push 0x6bdeec
push edi
call dword [ebx + 0x24]
mov ebx, dword [ebp - 8]
add esp, 0x18
mov byte [ebp - 1], 0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret