joyce8/EMBER2024-capa huggingface dataset:
Function at 0x66a8b5
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x772a40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x70a518
push esi
call fcn.0067a51e
pop ecx
pop ecx
test eax, eax
jne 0x66a8e3
xor al, al
jmp 0x66a960
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.0066a5f6
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x66a91d
push dword [ebp - 0x210]
call fcn.0065f980
xor al, al
jmp 0x66a95e
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x66a923
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x66a943
push edx
call fcn.0066a7ec
pop ecx
test al, al
je 0x66a90e
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x66a951
mov bl, 1
push dword [ebp - 0x210]
call fcn.0065f980
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00616d7d
leave
ret

Function at 0x66b9d7
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x772a40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x66ba1a
call fcn.006650aa
mov dword [eax], 0xf
call fcn.006650bd
mov dword [eax], 0xd
call fcn.0065aeaf
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00616d7d
leave
ret
test eax, eax
jne 0x66ba21
inc eax
jmp 0x66ba0e
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x66ba0c
xor eax, eax
cmp ecx, 1
setne al
jmp 0x66ba0e

Function at 0x6764ac
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x70c8ac
push 0x70c8a4
push str.FlsAlloc
push 0x1f
call fcn.006762d7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x6764e0
push dword [ebp + 8]
mov ecx, esi
call dword [0x6d0860]
call esi
jmp 0x6764e6
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x67652a
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x70c8bc
push 0x70c8b4
push str.FlsGetValue
push 0x21
call fcn.006762d7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x676561
push dword [ebp + 8]
mov ecx, esi
call dword [0x6d0860]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x676569
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x70c8c4
push 0x70c8bc
push str.FlsSetValue
push 0x22
call fcn.006762d7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x6765a3
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x6d0860]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x678992
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x8056e0]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x6789d2
cmp byte [ebx], 0xa
jne 0x6789d2
or byte [edi + eax + 0x28], 4
jmp 0x6789d7
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x678ad6
mov dl, byte [eax]
cmp dl, 0x1a
je 0x678ab9
inc eax
cmp dl, 0xd
je 0x678a03
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x678a29
cmp eax, ecx
jae 0x678a37
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x6789eb
jmp 0x678ad6
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x678ab4
cmp dword [ebp - 0x10], 0
je 0x678ab4
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x8056e0]
test byte [eax + edi + 0x28], 0x48
je 0x678a8e
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x678a79
mov byte [esi], dl
jmp 0x678a8a
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x8056e0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x678ad6
cmp byte [ebp - 1], 0xa
jne 0x678a9d
cmp esi, ebx
jne 0x678a9d
mov byte [esi], 0xa
jmp 0x678ad5
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00679518
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x678ad6
mov byte [esi], 0xd
jmp 0x678ad5
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x8056e0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x678ad3
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x678ad6
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x678adf
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x8056e0]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x678b25
cmp word [ebx], dx
jne 0x678b25
or byte [eax + edi + 0x28], 4
jmp 0x678b2a
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x678c8d
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x678c6d
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x678b6b
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x678ba1
cmp eax, edx
jae 0x678baf
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x678b46
jmp 0x678c8d
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x678c68
cmp dword [ebp - 0x18], 0
je 0x678c68
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x8056e0]
test byte [eax + edi + 0x28], 0x48
je 0x678c3e
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x678c02
mov word [esi], cx
jmp 0x678c39
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x8056e0]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x8056e0]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x8056e0]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x678c8d
pop eax
cmp word [ebp - 4], ax
jne 0x678c4e
cmp esi, ebx
jne 0x678c4e
mov word [esi], ax
jmp 0x678c8a
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00679518
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x678c8d
push 0xd
pop eax
jmp 0x678c49
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x8056e0]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x678c87
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x678c8d
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x680242
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x6802df
push ebx
push esi
call fcn.0068020b
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0067e046
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x68028c
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x6802de
push edi
push eax
call fcn.00672fb5
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x6802ac
call fcn.00672f7b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x6802dd
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0067e046
add esp, 0x20
test eax, eax
jne 0x6802cb
push edi
call fcn.00672f7b
jmp 0x6802d3
push ebx
call fcn.00672f7b
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x6802e2
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x6802f3
pop esi
ret
push ebx
push edi
push esi
call fcn.0068020b
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00672fb5
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x68031b
push ebx
push esi
push edi
call fcn.0064fba0
add esp, 0xc
push 0
call fcn.00672f7b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x680a75
Capabilities:
Set environment variable

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

Function at 0x682c60
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00672c90
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x682ccf
cmp esi, dword [ebp - 4]
je 0x682cca
cmp dword [ebp + 0xc], 0
je 0x682cca
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x682ca7
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.006827b2
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x682cd1
xor eax, eax
inc eax
jmp 0x682cd1
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x682d36
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x772a40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00672c90
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00672c90
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x682dad
cmp word [ecx], dx
je 0x682dad
mov eax, dword [0x7152f4]
push edi
dec eax
push eax
push 0x7151e0
call fcn.00682cd5
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x682e20
cmp word [eax], dx
je 0x682e20
mov eax, dword [edi]
test eax, eax
je 0x682dd1
cmp word [eax], dx
je 0x682dd1
lea eax, [ebp - 0x10]
push eax
call fcn.006826b8
jmp 0x682dda
lea eax, [ebp - 0x10]
push eax
call fcn.00682753
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x682e4a
mov eax, dword [0x7151dc]
push dword [ebp - 0x14]
dec eax
push eax
push 0x714ed0
call fcn.00682cd5
add esp, 0xc
test al, al
je 0x682e4a
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x682e15
cmp word [eax], di
je 0x682e15
lea eax, [ebp - 0x10]
push eax
call fcn.006826b8
pop ecx
jmp 0x682e4c
lea eax, [ebp - 0x10]
push eax
call fcn.00682753
jmp 0x682e12
mov eax, dword [edi]
test eax, eax
je 0x682e37
cmp word [eax], dx
je 0x682e37
lea eax, [ebp - 0x10]
push eax
call fcn.0068266d
pop ecx
jmp 0x682e4a
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x682f15
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00682b5a
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x682f15
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x682f15
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x682f15
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x682ea2
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.006766a9
test ebx, ebx
je 0x682f10
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.006766a9
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x682f15
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x682f15
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.00685ae6
add esp, 0x10
xor eax, eax
inc eax
jmp 0x682f17
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00616d7d
leave
ret
Function at 0x685f9e
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00685f1a
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x68610d
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x68610d
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x6860c2
jg 0x685ffa
test eax, eax
je 0x6860b8
push 1
push 0x1000
call fcn.006774c0
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x68601d
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x6860af
push 0x8000
push ebx
call fcn.00670605
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x686046
jg 0x686041
cmp ecx, 0x1000
jb 0x686046
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00677fd1
add esp, 0x10
cmp eax, 0xffffffff
je 0x68608b
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x686041
jl 0x686072
test ecx, ecx
jne 0x686033
push dword [ebp - 0xc]
push ebx
call fcn.00670605
push esi
call fcn.00672f7b
add esp, 0xc
xor ebx, ebx
jmp 0x68611b
cmp byte [edi + 0x24], 0
je 0x6860a2
cmp dword [edi + 0x20], 5
jne 0x6860a2
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x6860ad
mov ebx, dword [edi + 0x18]
jmp 0x6860af
xor ebx, ebx
push esi
call fcn.00672f7b
pop ecx
jmp 0x68611b
test ecx, ecx
jg 0x686084
jl 0x6860c2
test eax, eax
jae 0x686084
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00679518
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x6860e2
cmp byte [edi + 0x1c], 0
je 0x686084
jmp 0x686113
push ebx
call fcn.0067aab3
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x686084
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x68611b
cmp byte [edi + 0x1c], 0
je 0x686118
mov ebx, dword [edi + 0x18]
jmp 0x68611b
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00679518
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x68e6c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6cdef2
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x772a40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.0056e040
mov dword [edi], vtable.CSkyObject.0
xorps xmm0, xmm0
movups xmmword [edi + 4], xmm0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
movups xmmword [edi + 0x1c], xmm0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0xf
mov byte [edi + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
lea esi, [edi + 0x134]
mov byte [ebp - 4], 1
push 0x2c
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00616d3f
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0x1bc], 0
xorps xmm0, xmm0
mov dword [edi + 0x1c0], 0
mov dword [edi + 0x1c4], 0
mov dword [edi + 0x1c8], 0x3f800000
mov dword [edi + 0x1cc], 0x3f800000
mov dword [edi + 0x1d0], 0x3f800000
movups xmmword [edi + 0x1d8], xmm0
mov dword [edi + 0x1e8], 0
mov dword [edi + 0x1ec], 0xf
mov byte [edi + 0x1d8], 0
lea ecx, [edi + 0x1f8]
mov byte [ebp - 4], 3
call fcn.00582900
mov dword [edi + 0x174], 0
mov dword [edi + 0x170], 0
mov dword [edi + 0x16c], 0
mov dword [edi + 0x168], 0
mov dword [edi + 0x160], 0
mov dword [edi + 0x15c], 0
mov dword [edi + 0x158], 0
mov dword [edi + 0x154], 0
mov dword [edi + 0x14c], 0
mov dword [edi + 0x148], 0
mov dword [edi + 0x144], 0
mov dword [edi + 0x140], 0
mov dword [edi + 0x178], 0x3f800000
mov dword [edi + 0x164], 0x3f800000
mov dword [edi + 0x150], 0x3f800000
mov dword [edi + 0x13c], 0x3f800000
mov dword [edi + 0x1b4], 0
mov dword [edi + 0x1b0], 0
mov dword [edi + 0x1ac], 0
mov dword [edi + 0x1a8], 0
mov dword [edi + 0x1a0], 0
mov dword [edi + 0x19c], 0
mov dword [edi + 0x198], 0
mov dword [edi + 0x194], 0
mov dword [edi + 0x18c], 0
mov dword [edi + 0x188], 0
mov dword [edi + 0x184], 0
mov dword [edi + 0x180], 0
mov dword [edi + 0x1b8], 0x3f800000
mov dword [edi + 0x1a4], 0x3f800000
mov dword [edi + 0x190], 0x3f800000
mov dword [edi + 0x17c], 0x3f800000
mov byte [ebp - 4], 4
mov dword [edi + 0xf8], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0xf0], 0
mov dword [edi + 0xec], 0
mov dword [edi + 0xe4], 0
mov dword [edi + 0xe0], 0
mov dword [edi + 0xdc], 0
mov dword [edi + 0xd8], 0
mov dword [edi + 0xd0], 0
mov dword [edi + 0xcc], 0
mov dword [edi + 0xc8], 0
mov dword [edi + 0xc4], 0
mov dword [edi + 0xfc], 0x3f800000
mov dword [edi + 0xe8], 0x3f800000
mov dword [edi + 0xd4], 0x3f800000
mov dword [edi + 0xc0], 0x3f800000
mov ecx, dword [0x78dea4]
call fcn.00560660
mov dword [edi + 0x130], eax
mov eax, edi
mov dword [edi + 0x128], 0
mov dword [edi + 0x12c], 0
mov word [edi + 0x1f0], 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 0x6949a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x6949cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x6949cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x694c00
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push esi
push edi
lea edi, [edx + eax]
mov dword [ebp - 8], edi
cmp eax, 0x10
jb 0x694ca6
mov esi, dword [ebp + 0x10]
lea eax, [edi - 0x10]
push ebx
mov dword [ebp - 4], eax
lea ebx, [esi + 0x24234428]
lea edi, [esi - 0x7a143589]
lea eax, [esi + 0x61c8864f]
nop dword [eax]
imul ecx, dword [edx], 0x7a143589
sub ebx, ecx
imul ecx, dword [edx + 4], 0x7a143589
rol ebx, 0xd
imul ebx, ebx, 0x9e3779b1
sub edi, ecx
imul ecx, dword [edx + 8], 0x7a143589
rol edi, 0xd
imul edi, edi, 0x9e3779b1
sub esi, ecx
imul ecx, dword [edx + 0xc], 0x7a143589
rol esi, 0xd
add edx, 0x10
imul esi, esi, 0x9e3779b1
sub eax, ecx
rol eax, 0xd
imul eax, eax, 0x9e3779b1
cmp edx, dword [ebp - 4]
jbe 0x694c40
rol eax, 0x12
rol esi, 0xc
rol edi, 7
add eax, esi
add eax, edi
rol ebx, 1
mov edi, dword [ebp - 8]
add eax, ebx
pop ebx
jmp 0x694cae
mov eax, dword [ebp + 0x10]
add eax, 0x165667b1
add eax, dword [ebp + 0xc]
lea esi, [edx + 4]
cmp esi, edi
ja 0x694cda
nop dword [eax + eax]
imul ecx, dword [edx], 0x3d4d51c3
mov edx, esi
lea esi, [edx + 4]
sub eax, ecx
rol eax, 0x11
imul eax, eax, 0x27d4eb2f
cmp esi, edi
jbe 0x694cc0
cmp edx, edi
jae 0x694cf9
nop
movzx ecx, byte [edx]
inc edx
imul ecx, ecx, 0x165667b1
add ecx, eax
rol ecx, 0xb
imul eax, ecx, 0x9e3779b1
cmp edx, edi
jb 0x694ce0
mov ecx, eax
shr ecx, 0xf
xor ecx, eax
imul ecx, ecx, 0x85ebca77
pop edi
pop esi
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae3d
mov eax, ecx
shr eax, 0x10
xor eax, ecx
mov esp, ebp
pop ebp
ret
Function at 0x696640
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [ecx + 0x14]
mov edx, dword [eax]
mov dword [esp + 0xc], edx
mov edx, dword [eax + 8]
push esi
push edi
mov edi, dword [ebp]
add edi, dword [eax + 4]
mov dword [esp + 0x10], edx
mov edx, dword [ebp + 4]
add ebp, 8
add edx, dword [eax + 0xc]
mov eax, dword [ecx + 8]
mov dword [esp + 0x18], eax
test eax, eax
je 0x6966dc
mov ebx, edx
nop dword [eax + eax]
lea edx, [edi*2 + 1]
imul edx, edi
lea eax, [ebx*2 + 1]
imul eax, ebx
rol edx, 5
rol eax, 5
mov esi, edx
xor esi, dword [esp + 0x14]
movzx ecx, al
and ecx, 0x1f
mov dword [esp + 0x14], edi
rol esi, cl
mov edi, eax
xor edi, dword [esp + 0x10]
movzx ecx, dl
and ecx, 0x1f
mov dword [esp + 0x10], ebx
mov ebx, dword [ebp]
rol edi, cl
add ebx, esi
add edi, dword [ebp + 4]
add ebp, 8
sub dword [esp + 0x18], 1
jne 0x696680
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
add ecx, dword [ebp + 4]
mov eax, dword [ebp]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
add ebp, eax
mov dword [esp + 0x28], ecx
test esi, esi
je 0x696757
mov eax, dword [esi]
lea ecx, [esi + 4]
xor eax, ebp
mov dword [ebx], eax
test ecx, ecx
je 0x696713
mov eax, dword [ecx]
xor eax, edi
mov dword [ebx + 4], eax
add ebx, 8
mov esi, ebx
jmp 0x69671f
mov dword [ebx + 4], edi
add ebx, 8
mov esi, ebx
test ecx, ecx
je 0x696731
add ecx, 4
je 0x696731
mov eax, dword [ecx]
lea ebx, [esi + 4]
xor eax, dword [esp + 0x28]
mov dword [esi], eax
jmp 0x69673e
mov edi, dword [esp + 0x28]
mov dword [ebx], edi
add ebx, 4
test ecx, ecx
je 0x696741
add ecx, 4
xor eax, eax
test ecx, ecx
je 0x696764
mov eax, dword [ecx]
pop edi
pop esi
xor eax, edx
pop ebp
mov dword [ebx], eax
pop ebx
add esp, 0xc
ret 0xc
mov dword [ebx], ebp
mov dword [ebx + 4], edi
mov dword [ebx + 8], ecx
add ebx, 0xc
xor eax, eax
pop edi
pop esi
xor eax, edx
pop ebp
mov dword [ebx], eax
pop ebx
add esp, 0xc
ret 0xc
Function at 0x69c8b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
mov ebp, dword [esp + 0x14]
mov edx, dword [eax + 4]
push esi
push edi
mov edi, dword [ecx + 0x14]
xor esi, esi
mov ecx, dword [ecx + 8]
mov ebx, dword [edi]
add ebx, dword [eax]
mov eax, dword [edi + 4]
add eax, edx
test ecx, ecx
je 0x69c8fb
mov ebp, ecx
movzx ecx, al
xor ebx, eax
and ecx, 0x1f
rol ebx, cl
add ebx, dword [edi + esi*8 + 8]
movzx ecx, bl
xor eax, ebx
and ecx, 0x1f
rol eax, cl
add eax, dword [edi + esi*8 + 0xc]
inc esi
cmp esi, ebp
jb 0x69c8d6
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
test edx, edx
je 0x69c91f
mov ecx, dword [edx]
xor ecx, ebx
mov dword [ebp], ecx
xor ecx, ecx
add edx, 4
je 0x69c924
mov ecx, dword [edx]
pop edi
xor ecx, eax
pop esi
mov dword [ebp + 4], ecx
pop ebp
pop ebx
ret 0xc
mov dword [ebp], ebx
xor ecx, ecx
pop edi
xor ecx, eax
pop esi
mov dword [ebp + 4], ecx
pop ebp
pop ebx
ret 0xc