joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406528
Capabilities:
Parse pe header

Disassembly:
jmp 0x452607
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x452646
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x452646
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x452646
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x452646
cmp dword [ecx + 0x74], 0xe
jbe 0x452646
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4075f4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x422f10
sub esp, 0x2c
mov eax, dword [0x847a58]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
mov ebx, dword [esp + 0x34]
push ebp
push esi
push edi
mov eax, dword [ebx + 0x3c]
xor esi, esi
mov dword [esp + 0x10], 0
mov eax, dword [eax + ebx + 0x78]
add eax, ebx
mov dword [esp + 0x1c], eax
mov edi, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
add edi, ebx
mov dword [esp + 0x18], eax
test eax, eax
je 0x422ff9
mov ebp, dword [esp + 0x44]
mov edx, dword [edi]
xorps xmm0, xmm0
add edx, ebx
mov dword [esp + 0x30], 0
mov eax, edx
mov dword [esp + 0x34], 0
movups xmmword [esp + 0x20], xmm0
lea ecx, [eax + 1]
mov dword [esp + 0x14], ecx
nop word [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x422f80
sub eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push eax
push edx
call fcn.0040619a
test ebx, ebx
je 0x422fb9
cmp ebp, 3
jbe 0x422fb9
lea eax, [esp + 0x20]
push 0x14d
push eax
call fcn.00403210
add esp, 8
test eax, eax
je 0x422fb9
cmp eax, ebp
je 0x423012
mov ecx, dword [esp + 0x34]
add edi, 4
cmp ecx, 0x10
jb 0x422fee
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x422fe4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423061
push ecx
push edx
call fcn.00401c12
add esp, 8
inc esi
cmp esi, dword [esp + 0x18]
jb 0x422f55
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
add eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00403602
add esp, 0x2c
ret
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x24]
lea eax, [eax + esi*2]
movzx ecx, word [eax + ebx]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + ebx]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x34]
cmp ecx, 0x10
jb 0x422ff9
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x423055
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423061
push ecx
push edx
call fcn.00401c12
add esp, 8
jmp 0x422ff9
call fcn.004051f5
int3
Function at 0x4a6491
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00402027
mov eax, dword [0x847a58]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00406d2f
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4a64d3
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4a662f
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00406eba
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x84ce80]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00403878
mov ecx, dword [esi*4 + 0x84ce80]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x4a6628
cmp eax, dword [edi + ecx + 0x24]
jne 0x4a6628
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4a6628
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00403878
add esp, 0x14
test edx, edx
jl 0x4a6628
jg 0x4a659e
test eax, eax
jb 0x4a6628
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4a6628
jl 0x4a65b8
cmp dword [ebp - 0x1008], eax
ja 0x4a6628
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4a65d6
test ebx, ebx
je 0x4a660f
cmp ecx, edi
jae 0x4a660f
mov al, byte [ecx]
cmp al, 0xd
jne 0x4a65f0
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4a65fc
cmp byte [ecx + 1], 0xa
jne 0x4a65fc
inc ecx
jmp 0x4a65fc
movzx eax, al
movsx eax, byte [eax + 0x847d78]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4a65d6
cmp edx, ebx
jne 0x4a65d6
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4a662d
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00403602
leave
ret
Function at 0x4a6834
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
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 + 0x84ce80]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4a6874
cmp byte [ebx], 0xa
jne 0x4a6874
or byte [eax + edi + 0x28], 4
jmp 0x4a6879
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4a6977
mov al, byte [edx]
cmp al, 0x1a
je 0x4a6959
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4a68a8
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4a68cd
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4a68d7
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x4a688a
jmp 0x4a6977
push 0
lea eax, [ebp - 0xc]
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 0x4a6954
cmp dword [ebp - 0xc], 0
je 0x4a6954
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x84ce80]
test byte [eax + edi + 0x28], 0x48
je 0x4a692e
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4a6919
mov byte [esi], dl
jmp 0x4a692a
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x84ce80]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4a6977
cmp byte [ebp - 1], 0xa
jne 0x4a693d
cmp esi, ebx
jne 0x4a693d
mov byte [esi], 0xa
jmp 0x4a6976
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00401afa
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4a6977
mov byte [esi], 0xd
jmp 0x4a6976
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x84ce80]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4a6973
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4a6977
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4a69d3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x84ce80]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4a6a16
cmp word [esi], dx
jne 0x4a6a16
or byte [edi + eax + 0x28], 4
jmp 0x4a6a1b
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x4a6b6e
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4a6b4e
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4a6a5d
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4a6a93
cmp eax, edx
jae 0x4a6a9f
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
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 - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4a6a35
jmp 0x4a6b6e
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4a6b4a
cmp dword [ebp - 0x14], 0
je 0x4a6b4a
mov eax, dword [ebx*4 + 0x84ce80]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4a6b22
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4a6aeb
mov word [esi], cx
jmp 0x4a6b1e
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x84ce80]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x84ce80]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x84ce80]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x4a6b6e
pop ebx
cmp word [ebp - 4], bx
jne 0x4a6b33
cmp esi, dword [ebp + 0xc]
jne 0x4a6b33
mov word [esi], bx
jmp 0x4a6b6b
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00401afa
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4a6b6e
push 0xd
jmp 0x4a6b67
mov ecx, dword [ebx*4 + 0x84ce80]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4a6b65
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4a6b6e
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4ab5f4
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x847a58]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4ab63f
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004abab6
test al, al
jne 0x4ab639
sub edx, 2
cmp edx, edi
jne 0x4ab61f
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4ab661
lea eax, [edi + 2]
cmp edx, eax
je 0x4ab661
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004ab1ed
add esp, 0x10
jmp 0x4ab75b
push esi
lea ecx, [ebp - 0x255]
call fcn.004abab6
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4ab6a4
push dword [ebp - 0x25c]
jmp 0x4ab651
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4ab6e1
cmp word [ebp - 0x226], 0
je 0x4ab702
cmp word [ebp - 0x226], ax
jne 0x4ab6e1
cmp word [ebp - 0x224], 0
je 0x4ab702
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004ab1ed
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4ab74e
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4ab6bb
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4ab736
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4ab75b
push 0x4aabd5
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0040624e
add esp, 0x10
jmp 0x4ab72b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403602
leave
ret
Function at 0x1000176f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x20]
mov dword [ecx], eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [esi], eax
mov ecx, dword [ecx]
cmp ecx, dword [ebp + 0x10]
je 0x100018cd
mov eax, ecx
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x1c]
xor ebx, ebx
inc ebx
mov edi, 0x3ff
mov ecx, eax
cmp dword [esi], edx
je 0x100018cd
mov edx, dword [ebp + 8]
movzx ecx, word [eax]
mov eax, ecx
mov byte [ebp + 0x23], 0
movzx edx, word [edx]
cmp bx, dx
jae 0x100017ed
lea eax, [ecx + 0x2400]
cmp ax, di
ja 0x100018dc
mov eax, edx
lea ebx, [ecx - 0xdc00]
shl eax, 0xa
or ebx, eax
mov cl, byte [ebp + 0x23]
cmp ebx, 0x80
jae 0x1000180a
mov dl, bl
xor edi, edi
jmp 0x1000183a
mov ebx, eax
lea eax, [ecx + 0x2800]
cmp ax, di
ja 0x100017dc
add ebx, 0xffff2840
mov cl, 1
shl ebx, 0xa
mov byte [ebp + 0x23], cl
jmp 0x100017df
mov edx, ebx
cmp ebx, 0x800
jae 0x1000181f
shr edx, 6
xor edi, edi
or dl, 0xc0
inc edi
jmp 0x1000183a
cmp ebx, 0x10000
jae 0x10001831
shr edx, 0xc
or dl, 0xe0
push 2
jmp 0x10001839
shr edx, 0x12
or dl, 0xf0
push 3
pop edi
movzx eax, cl
mov ecx, dword [ebp - 4]
xor eax, 1
add eax, eax
cmp edi, 3
cmovb eax, edi
mov dword [ebp - 8], eax
inc eax
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x1c]
sub eax, dword [esi]
cmp eax, dword [ebp + 0x18]
jl 0x100018cd
mov eax, ecx
mov ecx, dword [ebp + 0x14]
add eax, 2
cmp byte [ebp + 0x23], 0
mov dword [ecx], eax
jne 0x10001871
cmp edi, 3
jae 0x1000187c
mov eax, dword [esi]
mov byte [eax], dl
inc dword [esi]
mov eax, dword [ebp - 8]
jmp 0x1000187f
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x100018a4
imul ecx, edi, 6
sub ecx, 6
mov edx, ebx
dec eax
shr edx, cl
mov dword [ebp + 0x18], eax
and dl, 0x3f
mov eax, dword [esi]
or dl, 0x80
mov byte [eax], dl
inc dword [esi]
mov eax, dword [ebp + 0x18]
test eax, eax
jg 0x10001886
xor ecx, ecx
shr ebx, 0xa
inc ecx
movzx eax, bx
cmp byte [ebp + 0x23], 0
cmovne ecx, eax
mov eax, dword [ebp + 8]
mov word [eax], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov eax, ecx
mov dword [ebp - 4], eax
cmp ecx, dword [ebp + 0x10]
jne 0x10001797
xor eax, eax
cmp dword [ebp + 0xc], ecx
sete al
pop edi
pop esi
pop ebx
leave
ret 0x1c
push 2
pop eax
jmp 0x100018d5
Function at 0x1000a0cc
Capabilities:
Get common file path

Disassembly:
push 0x274
mov eax, 0x100b6c11
call fcn.1008b85d
mov esi, ecx
mov eax, dword [esi + 0x120]
xor ebx, ebx
mov eax, dword [eax]
cmp dword [eax + 0x178], ebx
je 0x1000a248
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
cmp word [ebp - 0x218], bx
je 0x1000a11c
add eax, 2
cmp word [eax], bx
jne 0x1000a114
push eax
lea eax, [ebp - 0x218]
mov ecx, 0x100e9600
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.10012770
mov eax, dword [esi + 0x120]
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x224], ebx
mov eax, dword [eax]
add eax, 0x168
mov dword [ebp - 0x220], ebx
push eax
call fcn.1000cadf
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.10002392
mov byte [ebp - 0x268], bl
lea eax, [ebp - 0x24c]
push dword [ebp - 0x268]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.10002759
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 3
push eax
call fcn.10010071
add esp, 0x1c
lea ecx, [ebp - 0x280]
mov bl, al
call fcn.1000ea40
test bl, bl
je 0x1000a1e3
cmp dword [ebp - 0x238], 0x10
lea eax, [ebp - 0x24c]
cmovae eax, dword [ebp - 0x24c]
push eax
call fcn.100918cc
pop ecx
lea ecx, [ebp - 0x24c]
call fcn.1000ea1a
mov eax, dword [ebp - 0x220]
cmp eax, 0x10
jb 0x1000a23d
mov ecx, dword [ebp - 0x234]
inc eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x268], ecx
cmp eax, 0x1000
jb 0x1000a234
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.1000c599
mov eax, dword [ebp - 0x21c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x268]
push eax
push ecx
call fcn.1008b2d8
pop ecx
pop ecx
lea ecx, [ebp - 0x264]
call fcn.1000ea1a
call fcn.1008b80c
ret
Function at 0x1000a24e
Capabilities:
Get common file path

Disassembly:
push 0x278
mov eax, 0x100b6c6c
call fcn.1008b85d
mov edi, ecx
mov eax, dword [edi + 0x120]
xor ebx, ebx
mov esi, dword [eax]
add esi, 0x138
cmp dword [esi + 0x10], ebx
je 0x1000a40b
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
cmp word [ebp - 0x218], bx
je 0x1000a2a1
add eax, 2
cmp word [eax], bx
jne 0x1000a299
push eax
lea eax, [ebp - 0x218]
mov ecx, 0x100e9600
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.10012770
mov eax, dword [edi + 0x120]
lea ecx, [ebp - 0x238]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x228], ebx
mov eax, dword [eax]
add eax, 0x168
mov dword [ebp - 0x224], ebx
push eax
call fcn.1000cadf
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.10002392
mov byte [ebp - 0x26c], bl
lea eax, [ebp - 0x250]
push dword [ebp - 0x26c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.10002759
lea eax, [ebp - 0x284]
mov byte [ebp - 4], 3
push eax
call fcn.10010071
add esp, 0x1c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x284]
mov bl, al
call fcn.1000ea40
test bl, bl
jne 0x1000a3a6
lea eax, [ebp - 0x250]
mov dword [ebp - 0x26c], edi
push eax
push esi
lea eax, [ebp - 0x26c]
push eax
push 0x1000bc19
lea eax, [ebp - 0x220]
push 1
push eax
call fcn.10004385
add esp, 0x18
lea ecx, [edi + 8]
push eax
mov byte [ebp - 4], 4
call fcn.1000df05
mov ecx, dword [ebp - 0x220]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x1000a3a6
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x1000a3a6
call fcn.1000cdeb
lea ecx, [ebp - 0x250]
call fcn.1000ea1a
mov eax, dword [ebp - 0x224]
cmp eax, 0x10
jb 0x1000a400
mov ecx, dword [ebp - 0x238]
inc eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x26c], ecx
cmp eax, 0x1000
jb 0x1000a3f7
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.1000c599
mov eax, dword [ebp - 0x21c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x26c]
push eax
push ecx
call fcn.1008b2d8
pop ecx
pop ecx
lea ecx, [ebp - 0x268]
call fcn.1000ea1a
call fcn.1008b80c
ret
Function at 0x1000a411
Capabilities:
Get common file path

Disassembly:
push 0x25c
mov eax, 0x100b6cb1
call fcn.1008b85d
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x220], 0xf
push str.https:__files.playanext.com_Installer_
mov byte [ebp - 0x268], bl
lea ecx, [ebp - 0x234]
push dword [ebp - 0x268]
mov dword [ebp - 0x234], ebx
push 0x26
mov dword [ebp - 0x224], ebx
mov byte [ebp - 0x234], bl
call fcn.100038ed
mov eax, dword [esi + 0x120]
mov dword [ebp - 4], ebx
mov eax, dword [eax]
add eax, 0x40
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x1000a477
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.1000edbe
push 0x1c
push str._PlayaNext.CoreInstaller.exe
lea ecx, [ebp - 0x234]
call fcn.1000edbe
cmp dword [ebp - 0x224], 0
je 0x1000a517
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp word [ebp - 0x218], 0
lea eax, [ebp - 0x218]
je 0x1000a4c9
add eax, 2
cmp word [eax], bx
jne 0x1000a4c1
push eax
lea eax, [ebp - 0x218]
mov ecx, 0x100e9600
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.10012770
push str.PlayaNext.CoreInstaller.exe
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.100023db
add esp, 0xc
lea ecx, [ebp - 0x264]
call fcn.1000ea1a
lea ecx, [ebp - 0x24c]
call fcn.1000ea1a
mov eax, dword [ebp - 0x220]
cmp eax, 0x10
jb 0x1000a566
mov ecx, dword [ebp - 0x234]
inc eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x268], ecx
cmp eax, 0x1000
jb 0x1000a55d
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.1000c599
mov eax, dword [ebp - 0x21c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x268]
push eax
push ecx
call fcn.1008b2d8
pop ecx
pop ecx
call fcn.1008b80c
ret
Function at 0x100105f8
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx]
and dword [ebp - 4], 0
push esi
mov dword [ecx + 4], eax
lea esi, [ecx + 0x1c]
lea eax, [ebp - 4]
push eax
lea eax, [ecx + 0xc]
push esi
push eax
call fcn.10004a6a
push 0x20
push 0x100bd548
push esi
call fcn.1008dd50
add esp, 0x18
pop esi
leave
ret

Function at 0x10011699
Capabilities:
Authenticate hmac

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
jne 0x100116b7
call fcn.1001240e
test al, al
jne 0x100116b7
mov dword [esi + 0x40], str.invalid_BOM__must_be_0xEF_0xBB_0xBF_if_given
push 0xe
pop eax
pop esi
ret
mov ecx, esi
call fcn.10010409
mov eax, dword [esi + 8]
cmp eax, 0x20
je 0x100116b7
cmp eax, 9
je 0x100116b7
cmp eax, 0xa
je 0x100116b7
cmp eax, 0xd
je 0x100116b7
cmp eax, 0x36
jg 0x10011730
je 0x100116ff
cmp eax, 0x30
jg 0x10011717
je 0x100116ff
cmp eax, 0xffffffff
je 0x10011713
test eax, eax
je 0x10011713
cmp eax, 0x22
je 0x1001170b
cmp eax, 0x2c
je 0x10011707
cmp eax, 0x2d
jne 0x1001177f
mov ecx, esi
pop esi
jmp fcn.100117ff
push 0xd
jmp 0x100116b4
mov ecx, esi
pop esi
jmp fcn.10011b48
push 0xf
jmp 0x100116b4
sub eax, 0x31
je 0x100116ff
sub eax, 1
je 0x100116ff
sub eax, 1
je 0x100116ff
sub eax, 1
je 0x100116ff
sub eax, 1
jmp 0x100116f9
cmp eax, 0x5d
jg 0x10011765
je 0x1001175e
sub eax, 0x37
je 0x100116ff
sub eax, 1
je 0x100116ff
sub eax, 1
je 0x100116ff
sub eax, 1
je 0x10011757
sub eax, 0x21
jne 0x1001177f
push 8
jmp 0x100116b4
push 0xc
jmp 0x100116b4
push 0xa
jmp 0x100116b4
sub eax, 0x66
je 0x100117af
sub eax, 8
je 0x100117a4
sub eax, 6
je 0x10011799
sub eax, 7
je 0x10011792
dec eax
sub eax, 1
je 0x1001178b
mov dword [esi + 0x40], str.invalid_literal
jmp 0x100116b2
push 0xb
jmp 0x100116b4
push 9
jmp 0x100116b4
push 1
push 4
push str.true
jmp 0x100117b8
push 3
push 4
push str.null
jmp 0x100117b8
push 2
push 5
push str.false
mov ecx, esi
call fcn.100117c1
pop esi
ret
Function at 0x10012dea
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], edx
push esi
mov esi, ecx
mov dword [ebp - 8], esi
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x10012e15
jl 0x10012e0c
test edi, edi
jne 0x10012e15
xor eax, eax
xor edx, edx
jmp 0x10012ec5
cmp dword [esi + 0x38], 0
je 0x10012e28
push eax
push edi
push edx
call fcn.10012ecf
jmp 0x10012ec5
mov eax, dword [esi + 0x1c]
push ebx
mov ebx, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x10012e62
mov eax, dword [esi + 0x2c]
cmp dword [eax], 0
jbe 0x10012e62
cmp dword [eax], edi
mov esi, edi
cmovb esi, dword [eax]
push esi
push ecx
push edx
call fcn.1008dd50
mov ecx, dword [ebp - 8]
sub ebx, esi
add dword [ebp - 4], esi
add esp, 0xc
mov eax, dword [ecx + 0x2c]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
mov esi, ecx
cmp dword [esi + 0x4c], 0
mov ecx, ebx
je 0x10012eba
mov ecx, esi
call fcn.1000e2d4
mov edx, dword [ebp - 4]
mov ecx, ebx
jmp 0x10012e9a
push dword [esi + 0x4c]
push eax
push 1
push edx
call fcn.10090ef2
mov edx, dword [ebp - 4]
sub ebx, eax
add edx, eax
add esp, 0x10
mov dword [ebp - 4], edx
mov ecx, ebx
cmp eax, 0xfff
jne 0x10012ecb
mov eax, 0xfff
cmp ebx, eax
ja 0x10012e78
test ecx, ecx
je 0x10012eba
push dword [esi + 0x4c]
push ebx
push 1
push edx
call fcn.10090ef2
mov ecx, ebx
add esp, 0x10
sub ecx, eax
sub edi, ecx
mov edx, dword [ebp + 0x10]
mov eax, edi
sbb edx, 0
pop ebx
pop edi
pop esi
leave
ret 0xc
sub edi, ebx
jmp 0x10012ebc