joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40eb90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push 0x44
push 0
lea eax, [ebp - 0x60]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
push 0x10
push 0
lea ecx, [ebp - 0x14]
push ecx
call sub.ntdll.dll_memset
add esp, 0xc
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 0x34], 1
mov edx, 5
mov word [ebp - 0x30], dx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x60]
push ecx
push 0
push 0
push 0x20
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, 1
jne 0x40ec01
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0x40ec38
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0x4124e4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x64], 0x20
jle 0x40ec36
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0x40ec38
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x40ec40
Capabilities:
Create http request
Get http content length
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov byte [ebp - 5], 0
push 0
push 0
push 0
push 1
push 0x4124f0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40ecd8
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40ecce
mov dword [ebp - 0x14], 4
push 0
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x10]
push eax
push 0x20000005
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
cmp dword [ebp - 0x10], 0x1388
jbe 0x40ecc4
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
cmp eax, dword [edx]
je 0x40ecc4
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x40f2dd
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x40f30e
mov eax, dword fs:[4]
mov dword [ebp + 8], eax
mov eax, dword fs:[8]
mov dword [ebp - 4], eax
cmp ebx, dword [ebp - 4]
jb 0x40f315
cmp ebx, dword [ebp + 8]
jae 0x40f315
xor eax, eax
jmp 0x40f4fb
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x40f326
xor eax, eax
inc eax
jmp 0x40f4fa
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x40f338
cmp ecx, edx
jae 0x40f39c
cmp dword [eax + 4], 0
je 0x40f341
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x40f32d
cmp dword [ebp + 8], 0
je 0x40f35b
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x40f39c
cmp eax, esi
jae 0x40f39c
mov ecx, dword [0x417668]
mov esi, ebx
and esi, 0xfffff000
xor eax, eax
test ecx, ecx
jle 0x40f37d
cmp dword [eax*4 + 0x417670], esi
je 0x40f3a3
inc eax
cmp eax, ecx
jl 0x40f36f
lea eax, [ebp + 8]
push eax
push 0x1c
lea eax, [ebp - 0x20]
push eax
push 0
push ebx
or edi, 0xffffffff
push edi
call sub.ntdll.dll_NtQueryVirtualMemory
test eax, eax
jl 0x40f413
mov eax, dword [ebp + 8]
jmp 0x40f415
xor eax, eax
jmp 0x40f4fa
test eax, eax
jle 0x40f31e
xor edx, edx
mov ebx, 0x4176b0
inc edx
mov edi, ebx
xchg dword [edi], edx
test edx, edx
jne 0x40f31e
cmp dword [eax*4 + 0x417670], esi
je 0x40f3f2
lea eax, [ecx - 1]
test eax, eax
jl 0x40f3df
cmp dword [eax*4 + 0x417670], esi
je 0x40f3db
dec eax
jns 0x40f3cf
test eax, eax
jge 0x40f3f0
cmp ecx, 0x10
jge 0x40f3eb
inc ecx
mov dword [0x417668], ecx
lea eax, [ecx - 1]
jmp 0x40f3f2
je 0x40f40a
xor edx, edx
test eax, eax
jl 0x40f40a
lea ecx, [edx*4 + 0x417670]
mov edi, dword [ecx]
inc edx
cmp edx, eax
mov dword [ecx], esi
mov esi, edi
jle 0x40f3f8
xor eax, eax
xchg dword [ebx], eax
jmp 0x40f31e
xor eax, eax
test eax, eax
je 0x40f4f8
cmp dword [ebp - 8], 0x1000000
jne 0x40f4f8
test byte [ebp - 0xc], 0xcc
je 0x40f48a
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x40f4f8
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40f4f8
cmp word [eax + 0x18], 0x10b
jne 0x40f4f8
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x40f4f8
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x40f48a
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x40f48a
test byte [ecx + 0x27], 0x80
jne 0x40f39c
xor eax, eax
inc eax
mov ecx, eax
mov edx, 0x4176b0
xchg dword [edx], ecx
test ecx, ecx
jne 0x40f4fa
mov ecx, dword [0x417668]
test ecx, ecx
mov edx, ecx
jle 0x40f4b9
lea eax, [ecx*4 + 0x41766c]
cmp dword [eax], esi
je 0x40f4b9
dec edx
sub eax, 4
test edx, edx
jg 0x40f4ad
test edx, edx
jne 0x40f4ea
push 0xf
pop ebx
cmp ecx, ebx
jg 0x40f4c6
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x40f4de
lea eax, [edx*4 + 0x417670]
mov edi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], esi
mov esi, edi
jle 0x40f4cc
cmp ecx, 0x10
jge 0x40f4ea
inc ecx
mov dword [0x417668], ecx
xor eax, eax
mov ecx, 0x4176b0
xchg dword [ecx], eax
jmp 0x40f31e
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10003d77
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, 0x400
push esi
call fcn.100164cd
mov ebx, eax
pop ecx
test ebx, ebx
je 0x10003e15
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push dword [ebp + 8]
push eax
call fcn.10007bc7
add esp, 0xc
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.10007cf2
pop ecx
pop ecx
test eax, eax
jne 0x10003dbf
push ebx
call fcn.100163f0
jmp 0x10003e14
push dword [ebp + 0x10]
push ebx
call fcn.10016ee8
mov esi, eax
pop ecx
pop ecx
cmp esi, 0xffffffff
je 0x10003dfe
test esi, esi
je 0x10003dfe
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.10007c95
add esp, 4
push eax
push 1
lea eax, [ebp - 0x14]
call fcn.10007ca0
push eax
call fcn.10017061
push esi
call fcn.1001715a
add esp, 0x14
jmp 0x10003db7
push ebx
call fcn.100163f0
pop ecx
call dword [0x5398180]
push eax
push 8
call fcn.10003042
pop ecx
pop ecx
pop esi
pop ebx
leave
ret

Function at 0x1000472e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea ebx, [edi + 4]
push esi
mov esi, eax
mov dword [ebp - 4], esi
mov dword [ebp - 8], ebx
cmp ebx, dword [ebp + 0xc]
jbe 0x10004749
xor eax, eax
jmp 0x10004781
call fcn.100038e0
mov dword [esi], eax
add esi, 4
xor ecx, ecx
test edi, edi
jbe 0x1000477f
mov eax, dword [ebp + 8]
sub eax, esi
mov dword [ebp + 0xc], eax
mov ebx, dword [ebp - 4]
mov edx, ecx
and edx, 3
mov dl, byte [edx + ebx]
mov ebx, dword [ebp + 0xc]
lea eax, [ecx + esi]
xor dl, byte [ebx + eax]
inc ecx
mov byte [eax], dl
cmp ecx, edi
jb 0x10004761
mov ebx, dword [ebp - 8]
mov eax, ebx
pop esi
pop ebx
leave
ret

Function at 0x10004785
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, eax
lea eax, [edi - 4]
mov esi, ecx
cmp eax, dword [ebp + 0xc]
jbe 0x1000479a
xor eax, eax
jmp 0x100047c5
mov eax, esi
add esi, 4
sub edi, 4
push 0
pop edx
je 0x100047c3
sub esi, dword [ebp + 8]
push ebx
mov ecx, dword [ebp + 8]
mov ebx, edx
and ebx, 3
mov bl, byte [ebx + eax]
add ecx, edx
xor bl, byte [esi + ecx]
inc edx
mov byte [ecx], bl
cmp edx, edi
jb 0x100047ab
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x10005014
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor edi, edi
mov esi, eax
cmp dword [0x53aa624], edi
jne 0x10005036
push 0x80004
call fcn.100164cd
pop ecx
mov dword [0x53aa624], eax
push dword [esi]
call fcn.10024f76
mov ecx, dword [0x53aa624]
mov dword [ecx], eax
mov ebx, dword [esi + 4]
cmp ebx, dword [ebp + 8]
jbe 0x10005075
mov ebx, dword [ebp + 8]
jmp 0x10005075
push dword [esi + 8]
mov eax, dword [0x53aa624]
push ebx
lea eax, [eax + edi + 4]
push 1
push eax
call fcn.1001780c
add esp, 0x10
test eax, eax
je 0x1000507b
add edi, eax
sub ebx, eax
sub dword [esi + 4], eax
test ebx, ebx
ja 0x10005052
jmp 0x1000507f
and dword [esi + 4], 0
push 8
add edi, 4
push edi
push dword [0x53aa624]
call fcn.10001ed0
add esp, 0xc
call fcn.1000509d
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1000a1d1
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call fcn.1000a8f1
mov dword [ebp - 8], eax
mov eax, 1
test eax, eax
je 0x1000a22f
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x1000a224
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x40
jb 0x1000a224
cmp dword [ebp - 4], 0x400
jae 0x1000a224
mov edx, dword [ebp - 4]
add edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp dword [eax], 0x4550
jne 0x1000a224
jmp 0x1000a22f
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
jmp 0x1000a1df
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x1000a511
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp + 0xc]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + 6]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
sub ecx, 1
mov dword [ebp - 0xc], ecx
test eax, eax
je 0x1000a598
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x10]
add edx, dword [ecx + 0x14]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 0x14]
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x24]
and eax, 0x20000000
je 0x1000a58d
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov edx, dword [ebp - 0x10]
add edx, 0x28
mov dword [ebp - 0x10], edx
jmp 0x1000a534
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000a941
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push edi
mov byte [ebp - 0x30], 0x6b
mov byte [ebp - 0x2f], 0x65
mov byte [ebp - 0x2e], 0x72
mov byte [ebp - 0x2d], 0x6e
mov byte [ebp - 0x2c], 0x65
mov byte [ebp - 0x2b], 0x6c
mov byte [ebp - 0x2a], 0x33
mov byte [ebp - 0x29], 0x32
mov byte [ebp - 0x28], 0
mov byte [ebp - 0x24], 0x4c
mov byte [ebp - 0x23], 0x6f
mov byte [ebp - 0x22], 0x61
mov byte [ebp - 0x21], 0x64
mov byte [ebp - 0x20], 0x4c
mov byte [ebp - 0x1f], 0x69
mov byte [ebp - 0x1e], 0x62
mov byte [ebp - 0x1d], 0x72
mov byte [ebp - 0x1c], 0x61
mov byte [ebp - 0x1b], 0x72
mov byte [ebp - 0x1a], 0x79
mov byte [ebp - 0x19], 0x41
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x14], 0x4c
mov byte [ebp - 0x13], 0x6f
mov byte [ebp - 0x12], 0x61
mov byte [ebp - 0x11], 0x64
mov byte [ebp - 0x10], 0x4c
mov byte [ebp - 0xf], 0x69
mov byte [ebp - 0xe], 0x62
mov byte [ebp - 0xd], 0x72
mov byte [ebp - 0xc], 0x61
mov byte [ebp - 0xb], 0x72
mov byte [ebp - 0xa], 0x79
mov byte [ebp - 9], 0x45
mov byte [ebp - 8], 0x78
mov byte [ebp - 7], 0x41
mov byte [ebp - 6], 0
mov byte [ebp - 0x50], 0x56
mov byte [ebp - 0x4f], 0x69
mov byte [ebp - 0x4e], 0x72
mov byte [ebp - 0x4d], 0x74
mov byte [ebp - 0x4c], 0x75
mov byte [ebp - 0x4b], 0x61
mov byte [ebp - 0x4a], 0x6c
mov byte [ebp - 0x49], 0x41
mov byte [ebp - 0x48], 0x6c
mov byte [ebp - 0x47], 0x6c
mov byte [ebp - 0x46], 0x6f
mov byte [ebp - 0x45], 0x63
mov byte [ebp - 0x44], 0
mov byte [ebp - 0x40], 0x56
mov byte [ebp - 0x3f], 0x69
mov byte [ebp - 0x3e], 0x72
mov byte [ebp - 0x3d], 0x74
mov byte [ebp - 0x3c], 0x75
mov byte [ebp - 0x3b], 0x61
mov byte [ebp - 0x3a], 0x6c
mov byte [ebp - 0x39], 0x50
mov byte [ebp - 0x38], 0x72
mov byte [ebp - 0x37], 0x6f
mov byte [ebp - 0x36], 0x74
mov byte [ebp - 0x35], 0x65
mov byte [ebp - 0x34], 0x63
mov byte [ebp - 0x33], 0x74
mov byte [ebp - 0x32], 0
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
call edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
call edx
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], eax
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
call edx
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], eax
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
call edx
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
lea edi, [ebp - 0x30]
xor al, al
mov ecx, 9
rep stosb byte es:[edi], al
lea edi, [ebp - 0x24]
xor al, al
mov ecx, 0xd
rep stosb byte es:[edi], al
lea edi, [ebp - 0x14]
xor al, al
mov ecx, 0xf
rep stosb byte es:[edi], al
lea edi, [ebp - 0x50]
xor al, al
mov ecx, 0xd
rep stosb byte es:[edi], al
lea edi, [ebp - 0x40]
xor al, al
mov ecx, 0xf
rep stosb byte es:[edi], al
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x1000ae71
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call fcn.1000b591
mov dword [ebp - 8], eax
mov eax, 1
test eax, eax
je 0x1000aecf
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x1000aec4
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x40
jb 0x1000aec4
cmp dword [ebp - 4], 0x400
jae 0x1000aec4
mov edx, dword [ebp - 4]
add edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp dword [eax], 0x4550
jne 0x1000aec4
jmp 0x1000aecf
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
jmp 0x1000ae7f
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x1000b1b1
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp + 0xc]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + 6]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
sub ecx, 1
mov dword [ebp - 0xc], ecx
test eax, eax
je 0x1000b238
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x10]
add edx, dword [ecx + 0x14]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 0x14]
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x24]
and eax, 0x20000000
je 0x1000b22d
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov edx, dword [ebp - 0x10]
add edx, 0x28
mov dword [ebp - 0x10], edx
jmp 0x1000b1d4
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000b962
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, 0x400
push edi
mov dword [0x53adf04], eax
call fcn.100164cd
push edi
mov esi, eax
push 0
push esi
mov dword [0x53adf08], esi
call fcn.1001e0c0
push 0
push 1
push 1
push edi
push esi
call fcn.1000c88c
add esp, 0x24
xor eax, eax
xor byte [eax + 0x53a3020], 0x2e
inc eax
cmp eax, 0x1000
jl 0x1000b9a1
push 0x1000
lea eax, [esp + 0x14]
push 0x53a3020
push eax
call fcn.10007bc7
lea eax, [esp + 0x1c]
push eax
call fcn.10007c23
add esp, 0x10
jmp 0x1000ba7f
lea eax, [esp + 0x10]
push eax
call fcn.10007c23
movzx edi, ax
lea eax, [esp + 0x14]
push eax
call fcn.10007c23
movsx ebx, si
pop ecx
pop ecx
movzx ecx, ax
mov eax, dword [0x53adf08]
shl ebx, 3
lea esi, [ebx + eax]
movsx eax, di
dec eax
mov word [esi], di
je 0x1000ba5e
dec eax
je 0x1000ba47
dec eax
jne 0x1000ba74
movsx edi, cx
push edi
call fcn.100164cd
pop ecx
push edi
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
push edi
push eax
call fcn.10007c4e
pop ecx
pop ecx
push eax
push dword [esi + 4]
call fcn.1001ced0
push 0
push 1
push 1
push edi
push dword [esi + 4]
call fcn.1000c88c
add esp, 0x20
jmp 0x1000ba74
lea eax, [esp + 0x10]
push eax
call fcn.10007be0
pop ecx
mov ecx, dword [0x53adf08]
mov dword [ebx + ecx + 4], eax
jmp 0x1000ba74
lea eax, [esp + 0x10]
push eax
call fcn.10007c23
pop ecx
mov ecx, dword [0x53adf08]
mov word [ebx + ecx + 4], ax
lea eax, [esp + 0x10]
push eax
call fcn.10007c23
pop ecx
movzx esi, ax
test si, si
jg 0x1000b9d6
push 0x1000
push 0
push 0x53a3020
call fcn.1001e0c0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000ce11
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, eax
xor edx, edx
push 3
lea eax, [edi + 2]
pop ebx
div ebx
mov ecx, dword [ebp + 0x10]
shl eax, 2
inc eax
cmp dword [ecx], eax
jae 0x1000ce3b
push 6
mov dword [ecx], eax
pop eax
jmp 0x1000cf1d
xor edx, edx
push 3
mov eax, edi
pop ebx
div ebx
mov ecx, dword [ebp + 0xc]
xor edx, edx
imul eax, eax, 3
test eax, eax
jbe 0x1000ceba
dec eax
push ebx
pop edi
div edi
mov edi, eax
inc edi
mov edx, edi
imul edx, edx, 3
movzx eax, byte [esi]
shr eax, 2
mov al, byte [eax + 0x53a0498]
mov byte [ecx], al
movzx eax, byte [esi + 1]
movzx ebx, byte [esi]
shr eax, 4
shl ebx, 4
add eax, ebx
and eax, 0x3f
mov al, byte [eax + 0x53a0498]
inc ecx
mov byte [ecx], al
movzx eax, byte [esi + 2]
movzx ebx, byte [esi + 1]
shr eax, 6
lea eax, [eax + ebx*4]
and eax, 0x3f
mov al, byte [eax + 0x53a0498]
inc ecx
mov byte [ecx], al
movzx eax, byte [esi + 2]
and eax, 0x3f
mov al, byte [eax + 0x53a0498]
inc ecx
mov byte [ecx], al
inc ecx
add esi, 3
dec edi
jne 0x1000ce5d
mov edi, dword [ebp + 8]
cmp edx, edi
jae 0x1000cf10
movzx eax, byte [esi]
inc edx
cmp edx, edi
jae 0x1000cecc
movzx esi, byte [esi + 1]
jmp 0x1000cece
xor esi, esi
mov ebx, eax
shr ebx, 2
and ebx, 0x3f
mov bl, byte [ebx + 0x53a0498]
mov byte [ecx], bl
shl eax, 4
mov ebx, esi
shr ebx, 4
add ebx, eax
and ebx, 0x3f
mov al, byte [ebx + 0x53a0498]
inc ecx
mov byte [ecx], al
inc ecx
cmp edx, edi
jae 0x1000cf06
and esi, 0xf
movsx eax, byte [esi*4 + 0x53a0498]
jmp 0x1000cf09
push 0x3d
pop eax
mov byte [ecx], al
inc ecx
mov byte [ecx], 0x3d
inc ecx
mov eax, dword [ebp + 0x10]
mov byte [ecx], 0
sub ecx, dword [ebp + 0xc]
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1000e792
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0x28], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], 0x6a09e667
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0x3c6ef372
mov dword [eax + 0x14], 0xa54ff53a
mov dword [eax + 0x18], 0x510e527f
mov dword [eax + 0x1c], 0x9b05688c
mov dword [eax + 0x20], 0x1f83d9ab
mov dword [eax + 0x24], 0x5be0cd19
xor eax, eax
pop ebp
ret

Function at 0x1000e9d7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [0x53a6c78]
mov ebx, eax
push edi
mov eax, esi
call fcn.1000f78b
test eax, eax
jne 0x1000ead9
mov ecx, dword [0x53a6c7c]
cmp ecx, 1
jl 0x1000ead6
cmp ecx, 0x80
jg 0x1000ead6
mov eax, dword [ebp + 0xc]
xor edx, edx
div ecx
test edx, edx
jne 0x1000ead6
test cl, 3
jne 0x1000ead6
mov edx, esi
imul edx, edx, 0x60
mov edx, dword [edx + 0x53aaf08]
test edx, edx
je 0x1000ea4f
push 0x53a6d00
push 0x53a6c80
push eax
push ebx
push dword [ebp + 8]
call edx
add esp, 0x14
jmp 0x1000ead9
cmp dword [ebp + 0xc], 0
je 0x1000ead2
mov edi, 0x53a6c80
jmp 0x1000ea62
mov esi, dword [0x53a6c78]
xor edx, edx
test ecx, ecx
jle 0x1000ea89
mov ecx, dword [ebp + 8]
sub ecx, edi
lea eax, [edx + 0x53a6c80]
mov esi, dword [ecx + eax]
xor dword [eax], esi
add edx, 4
cmp edx, dword [0x53a6c7c]
jl 0x1000ea6d
mov esi, dword [0x53a6c78]
imul esi, esi, 0x60
push 0x53a6d00
push ebx
push edi
call dword [esi + 0x53aaeec]
add esp, 0xc
test eax, eax
jne 0x1000ead9
mov ecx, dword [0x53a6c7c]
xor edx, edx
test ecx, ecx
jle 0x1000eac8
mov esi, ebx
sub esi, edi
lea eax, [edx + 0x53a6c80]
mov ecx, dword [esi + eax]
mov dword [eax], ecx
mov ecx, dword [0x53a6c7c]
add edx, 4
cmp edx, ecx
jl 0x1000eab0
add dword [ebp + 8], ecx
add ebx, ecx
sub dword [ebp + 0xc], ecx
jne 0x1000ea5c
xor eax, eax
jmp 0x1000ead9
push 0x10
pop eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1000ee18
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x53a2628]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x53a7da0]
push edi
mov ebx, ecx
mov edi, edx
mov eax, esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], edi
call fcn.1000f78b
test eax, eax
jne 0x1000ef25
mov ecx, dword [0x53a7da4]
cmp ecx, 1
jl 0x1000ef22
cmp ecx, 0x80
jg 0x1000ef22
mov eax, dword [ebp + 8]
xor edx, edx
div ecx
test edx, edx
jne 0x1000ef22
test cl, 3
jne 0x1000ef22
mov ecx, esi
imul ecx, ecx, 0x60
mov ecx, dword [ecx + 0x53aaf0c]
test ecx, ecx
je 0x1000eea3
push 0x53a7e28
push 0x53a7da8
push eax
push edi
push ebx
call ecx
add esp, 0x14
jmp 0x1000ef25
cmp dword [ebp + 8], 0
je 0x1000ef1e
jmp 0x1000eeb1
mov esi, dword [0x53a7da0]
imul esi, esi, 0x60
push 0x53a7e28
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [esi + 0x53aaef0]
add esp, 0xc
test eax, eax
jne 0x1000ef25
mov eax, dword [0x53a7da4]
xor edi, edi
test eax, eax
jle 0x1000ef0e
mov ecx, dword [ebp - 0x18]
lea esi, [ebp - 0x14]
mov eax, 0x53a7da8
sub esi, ebx
sub ebx, eax
sub ecx, eax
mov dword [ebp - 0x20], ecx
lea eax, [edi + 0x53a7da8]
lea edx, [ebx + eax]
mov ecx, dword [esi + edx]
xor ecx, dword [eax]
mov edx, dword [edx]
mov dword [eax], edx
mov edx, dword [ebp - 0x20]
mov dword [edx + eax], ecx
mov eax, dword [0x53a7da4]
add edi, 4
cmp edi, eax
jl 0x1000eeea
mov ebx, dword [ebp - 0x1c]
add dword [ebp - 0x18], eax
add ebx, eax
sub dword [ebp + 8], eax
mov dword [ebp - 0x1c], ebx
jne 0x1000eeab
xor eax, eax
jmp 0x1000ef25
push 0x10
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001dece
leave
ret