joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101dd7fa
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x102d4a48]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x103ef400]
xor ecx, ecx
cmp dword [0x102962f0], 0x78
push ebx
push esi
mov dword [ebp - 0xa0], eax
mov ebx, ecx
mov eax, dword [0x103ef404]
mov esi, ecx
push edi
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x94], eax
ja 0x101dd990
rdtsc
xor dword [0x103ef43c], eax
rdtsc
xor dword [0x103ef4ac], edx
call fcn.10235019
mov edi, eax
xor edx, edx
sub eax, ebx
mov ecx, 0xc46031b9
mov dword [ebp - 0xa4], eax
div ecx
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x9c], edx
lea ecx, [ebx + eax*2]
cmp ecx, edi
mov ecx, dword [0x103ef400]
jl 0x101dd8a4
and ecx, 0x1ff
imul eax, dword [ecx*4 + 0x103ef408], 0x19660d
add eax, 0x3c6ef35f
add eax, edx
mov dword [ecx*4 + 0x103ef408], eax
jmp 0x101dd978
mov edx, dword [0x103ef404]
add ecx, 1
mov ebx, dword [ebp - 0x9c]
mov eax, ecx
adc edx, 0
mov dword [0x103ef400], ecx
and eax, 0x1ff
mov dword [0x103ef404], edx
add dword [eax*4 + 0x103ef408], ebx
mov eax, edi
sub eax, esi
cmp eax, 0x1f
jl 0x101dd978
mov ebx, dword [ebp - 0xa0]
mov eax, ebx
or eax, dword [ebp - 0x94]
je 0x101dd965
sub ecx, ebx
sbb edx, dword [ebp - 0x94]
test edx, edx
ja 0x101dd900
jb 0x101dd978
cmp ecx, 4
jbe 0x101dd96d
rdtsc
add dword [0x103ef5c4], eax
lea eax, [ebp - 0x90]
push 0xa0
push eax
call fcn.101d9315
push 0x800
lea eax, [ebp - 0x90]
push 0x103ef408
push eax
call fcn.101d93f0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.101d927f
push dword [ebp - 0x18]
call fcn.1023241c
push dword [ebp - 8]
mov esi, eax
call fcn.1023241c
mov ecx, dword [ebp - 4]
add esp, 0x24
add eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1008a9cb
leave
ret
sub ecx, ebx
sbb edx, dword [ebp - 0x94]
test edx, edx
ja 0x101dd900
jb 0x101dd978
cmp ecx, 0x40
ja 0x101dd900
mov eax, dword [ebp - 0xa4]
test esi, esi
mov ebx, edi
mov dword [ebp - 0x98], eax
cmove esi, edi
jmp 0x101dd84f
push 0x4d
push str.libavutil_random_seed.c
push str.sizeof_tmp____av_sha_size
push str.Assertion__s_failed_at__s:_d_n
push ecx
push ecx
call fcn.101ceb2e
add esp, 0x18
call fcn.1009dc33
int3
Function at 0x101e78c8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
movsd xmm6, qword [0x102d0c08]
movsd xmm3, qword [ebp + 0x28]
comisd xmm6, xmm3
movsd xmm2, qword [ebp + 0x20]
movsd xmm4, qword [ebp + 0x18]
movsd xmm5, qword [ebp + 0x10]
jae 0x101e7942
xorps xmm7, xmm7
movaps xmm0, xmm4
subsd xmm3, xmm6
mulsd xmm0, qword [0x1029a208]
movaps xmm1, xmm5
xorps xmm1, xmmword [0x1024c260]
comisd xmm6, xmm3
subsd xmm1, xmm0
movaps xmm0, xmm2
mulsd xmm0, qword [0x10299b20]
mulsd xmm2, qword [0x1029a208]
subsd xmm1, xmm0
movaps xmm0, xmm4
addsd xmm0, xmm4
addsd xmm4, xmm2
addsd xmm5, xmm0
addsd xmm5, xmm2
movaps xmm2, xmm1
jb 0x101e78f0
jmp 0x101e7947
movsd xmm7, qword [ebp + 8]
mulsd xmm2, xmm3
addsd xmm2, xmm4
mulsd xmm2, xmm3
addsd xmm2, xmm5
mulsd xmm2, xmm3
addsd xmm2, xmm7
movsd qword [ebp + 0x20], xmm2
fld qword [ebp + 0x20]
pop ebp
ret
Function at 0x1023a3bb
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
push 0x398
push ebx
push esi
call fcn.1008c9e0
mov edi, dword [ebp + 0xc]
add esp, 0xc
mov dword [esi], str.AVCodecContext
test edi, edi
je 0x1023a3e7
mov ecx, dword [edi + 8]
jmp 0x1023a3ea
or ecx, 0xffffffff
mov dword [esi + 8], ecx
test edi, edi
je 0x1023a3fa
mov dword [esi + 0xc], edi
mov eax, dword [edi + 0xc]
mov dword [esi + 0x10], eax
cmp ecx, 1
jne 0x1023a403
push 8
jmp 0x1023a409
test ecx, ecx
jne 0x1023a40c
push 0x10
pop eax
jmp 0x1023a417
push 0x20
cmp ecx, 3
mov eax, ebx
pop edx
cmove eax, edx
push eax
push eax
push esi
call fcn.101d4e6b
or dword [esi + 0x70], 0xffffffff
xor eax, eax
or dword [esi + 0x300], 0xffffffff
inc eax
or dword [esi + 0x160], 0xffffffff
add esp, 0xc
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], eax
mov dword [esi + 0x2f8], ebx
mov dword [esi + 0x2fc], eax
mov dword [esi + 0x304], ebx
mov dword [esi + 0x308], eax
mov dword [esi + 0x190], 0x100adf4b
mov dword [esi + 0x78], 0x100adfb5
mov dword [esi + 0x2c0], fcn.100b04be
mov dword [esi + 0x2c4], 0x100b04f3
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xc0], eax
mov dword [esi + 0x248], ebx
mov dword [esi + 0x24c], SysStringLen
test edi, edi
je 0x1023a4d4
cmp dword [edi + 0x38], ebx
je 0x1023a4cd
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x1023a4bb
push dword [edi + 0x38]
call fcn.101d0768
mov dword [esi + 0x18], eax
pop ecx
test eax, eax
jne 0x1023a4bb
push 0xfffffffffffffff4
pop eax
jmp 0x1023a4d6
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x1023a4cd
mov dword [eax], ecx
push dword [esi + 0x18]
call fcn.101d4e57
pop ecx
mov edi, dword [edi + 0x44]
test edi, edi
jne 0x1023a4f0
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
push ebx
push dword [edi + 4]
push eax
push esi
call fcn.101d4b4b
add esp, 0x10
test eax, eax
js 0x1023a4f8
add edi, 8
mov eax, dword [edi]
test eax, eax
jne 0x1023a4db
jmp 0x1023a4d4
push 0x9e
push str.libavcodec_options.c
push str.ret___0
push str.Assertion__s_failed_at__s:_d_n
push ebx
push ebx
call fcn.101ceb2e
add esp, 0x18
call fcn.1009dc33
int3
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x401443
pop dword [ebp - 0x10]
mov eax, 0x2e4defbe
add eax, 0xd1f22485
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x9af3c870
add dword [ebp - 0x20], 0xb35e7cdb
mov dword [ebp - 0x1c], 0x97ab14f7
add dword [ebp - 0x1c], 0x9a88374e
mov dword [ebp - 0x18], 0xb0414100
add dword [ebp - 0x18], 0x9c0b032e
mov dword [ebp - 0x14], 0x88c194a4
sub dword [ebp - 0x14], 0x88c194a4
lea eax, [ebp - 0x20]
push eax
mov eax, 0x5b82a915
add eax, 0xa4bdd7ef
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x99f56c3a
add dword [ebp - 0x20], 0xda7cfd1c
mov dword [ebp - 0x1c], 0xa1097125
sub dword [ebp - 0x1c], 0x5f9d0fb0
mov dword [ebp - 0x18], 0x7e84bd13
sub dword [ebp - 0x18], 0x1b1550a7
mov dword [ebp - 0x14], 0xf8a4d1eb
sub dword [ebp - 0x14], 0xf8a4d1eb
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x35aca
push 0
call eax
mov ecx, 0x8aec713f
add ecx, 0x7513cc4a
mov esi, eax
mov edi, 0x6578cfad
add edi, 0x9ace1453
add edi, dword [ebp - 0x10]
mov ebx, 0xfba1fb9b
sub ebx, 0xf7206d4b
add dword [ebp - 8], edx
mov edx, dword [edi]
mov dword [ebp - 0xc], 0x94135404
xor edx, ebx
sub dword [ebp - 0xc], esi
mov dword [esi], edx
sub dword [ebp - 0xc], eax
add esi, 4
add edi, 0x5079b7f5
sub edi, 0x5079b7f1
loop 0x401560
add eax, 0xe8f7
xor ebx, ebx
add ebx, eax
add eax, 0x3b7d8c93
sub eax, 0x3b7d8c8e
mov ecx, 0x400000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x402c93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x42a2f0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402d27
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402ce4
cmp dword [ebp + 0x10], ebx
jne 0x402d1b
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.00401434
test eax, eax
jne 0x402cf6
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402ccb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004065ec
cmp eax, ebx
je 0x402d2e
push ebx
push dword [0x42a2f0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402d27
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42a2f0], ebx
jne 0x402d24
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x402d24
jmp 0x402d27
Function at 0x10021c7e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x10021c8d
pop dword [ebp - 0x34]
mov eax, 0xe4c9a7b9
sub eax, 0xd4c78b2c
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x418ee
push 0
mov eax, 0x2d952079
sub eax, 0x1d91bf9d
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0x917e487e
add ecx, 0x6e8203c0
xor esi, esi
add esi, eax
mov edi, 0xdf90a59a
sub edi, 0xcf8ce79a
add edi, dword [ebp - 0x34]
mov edx, 0x28b36d31
add edx, 0x9c9e0507
xor dword [ebp - 8], eax
mov ebx, dword [edi]
sub dword [ebp - 0x20], 0xe6cef26b
xor ebx, edx
sub dword [ebp - 0x18], 0x8fd0766a
mov dword [esi], ebx
add dword [ebp - 0x14], 0xf326a2ff
add esi, 0xc7c2885e
add esi, 0x383d77a6
add edi, 0x4069c888
add edi, 0xbf96377c
loop 0x10021cee
add eax, 0xd341b5e0
sub eax, 0xd3409215
xor ebx, ebx
add ebx, eax
add eax, 0x133ecd8e
add eax, 0xecc13277
mov ecx, 0x4e9c45da
add ecx, 0xc163ba26
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x100289d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x100330b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10035b0c]
test dword [ebp + 8], eax
je 0x10028a7a
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x808]
push eax
call fcn.10021c7e
xor eax, eax
add esp, 0xc
mov word [ebp - 8], ax
mov eax, dword [0x10035b08]
test eax, eax
je 0x10028a6d
lea ecx, [ebp - 0x808]
push ecx
push eax
call fcn.10021c7e
mov eax, dword [0x100330ac]
pop ecx
pop ecx
test eax, eax
jle 0x10028a7a
push esi
mov esi, dword [0x10035b10]
push edi
mov edi, dword [0x10035b14]
cdq
push edx
push eax
push edi
push esi
call fcn.10029420
add esi, 1
mov dword [0x10035b10], esi
adc edi, 0
or eax, edx
mov dword [0x10035b14], edi
pop edi
pop esi
jne 0x10028a7a
push dword [0x10035b08]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
pop ecx
jmp 0x10028a7a
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10028d50
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x401933
Capabilities:
Encode data using xor

Disassembly:
push esi
mov eax, section..data
mov ecx, 0x45be
mov esi, 0x506972
imul ecx, ecx, 0x19660d
add ecx, 0x3c6ef35f
mov edx, ecx
shr edx, 0xc
xor byte [eax], dl
inc eax
dec esi
jne 0x401943
pop esi
ret

Function at 0x401a9f
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
and dword [ebp - 4], 0
push ebx
mov ebx, eax
push esi
mov esi, dword [ebx + 0x3c]
add esi, ebx
movzx eax, word [esi + 0x14]
push edi
lea edi, [eax + esi + 0x18]
xor eax, eax
cmp ax, word [esi + 6]
jae 0x401ae6
push 7
push str..custom
push edi
call fcn.00401618
add esp, 0xc
test eax, eax
je 0x401aed
movzx eax, word [esi + 6]
inc dword [ebp - 4]
add edi, 0x28
cmp dword [ebp - 4], eax
jl 0x401ac3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [edi + 0xc]
mov esi, dword [eax + ebx]
lea edi, [eax + ebx + 8]
mov ebx, dword [eax + ebx + 4]
push esi
call fcn.00401e2c
and dword [ebp - 8], 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 8]
push ecx
push 1
push 5
push edi
lea ecx, [ebp - 0xc]
push ecx
add edi, 5
push edi
lea ecx, [ebp - 0x10]
push ecx
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], 0x40195c
mov dword [ebp - 0x14], 0x401967
call fcn.004037de
add esp, 0x28
test eax, eax
je 0x401b4d
push dword [ebp - 4]
call fcn.00401e43
pop ecx
jmp 0x401ae6
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov eax, dword [ebp - 4]
jmp 0x401ae8

Function at 0x401d80
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x10]
push esi
xor esi, esi
test ebx, ebx
je 0x401dbf
push edi
mov edi, dword [esp + 0x14]
sub edi, 0x1b3e980
imul edx, edx, 0x19660d
add edx, 0x3c6ef35f
mov eax, edx
shr eax, 0xc
xor al, byte [edi + esi + 0x1b3e980]
inc esi
mov byte [esi + 0x1b3e97f], al
cmp esi, ebx
jb 0x401d9b
pop edi
pop esi
mov byte [ebx + 0x1b3e980], 0
mov eax, 0x1b3e980
pop ebx
ret

Function at 0x401dce
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x14]
xor esi, esi
test edi, edi
je 0x401e0c
mov eax, dword [esp + 0x10]
sub eax, 0x1b3e980
push ebx
imul edx, edx, 0x19660d
add edx, 0x3c6ef35f
mov ebx, edx
shr ebx, 0xc
xor bl, byte [eax + esi + 0x1b3e980]
inc esi
mov byte [esi + 0x1b3e97f], bl
cmp esi, edi
jb 0x401de8
pop ebx
mov byte [edi + 0x1b3e980], 0
mov byte [edi + 0x1b3e981], 0
pop edi
mov eax, 0x1b3e980
pop esi
ret
Function at 0x401f2e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
xor eax, eax
and edx, 7
cmp ecx, 5
jae 0x401f47
leave
ret
add dword [ebp + 0x10], 5
or dword [ebp + 0xc], 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [esi + ecx - 4]
push edi
mov dword [ebp - 4], ecx
lea edi, [eax + esi]
jmp 0x401f6a
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x401f6f
inc edi
cmp edi, dword [ebp - 4]
jb 0x401f61
mov eax, edi
sub eax, esi
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 4]
jae 0x402067
mov ecx, eax
sub ecx, dword [ebp + 0xc]
cmp ecx, 3
jbe 0x401fc6
xor edx, edx
mov cl, byte [edi + 4]
mov dword [ebp + 0xc], eax
test cl, cl
je 0x401f9a
cmp cl, 0xff
jne 0x401ff1
movzx esi, cl
movzx ecx, byte [edi + 3]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 2]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 1]
shl esi, 8
or esi, ecx
cmp dword [ebp + 0x18], 0
je 0x401fff
lea ebx, [esi + eax]
add ebx, dword [ebp + 0x10]
jmp 0x402006
dec ecx
shl edx, cl
and edx, 7
je 0x401f8b
movzx ecx, byte [edx + 0x1637294]
mov ebx, edi
sub ebx, ecx
cmp byte [edx + 0x163728c], 0
mov cl, byte [ebx + 4]
je 0x401fee
test cl, cl
je 0x401fee
cmp cl, 0xff
jne 0x401f8b
mov dword [ebp + 0xc], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x401f5c
sub esi, eax
sub esi, dword [ebp + 0x10]
mov ebx, esi
test edx, edx
je 0x40203a
movzx esi, byte [edx + 0x1637294]
push 0x18
shl esi, 3
pop ecx
sub ecx, esi
mov eax, ebx
shr eax, cl
test al, al
je 0x402025
cmp al, 0xff
jne 0x402037
mov eax, dword [ebp - 8]
push 0x20
pop ecx
sub ecx, esi
xor esi, esi
inc esi
shl esi, cl
dec esi
xor esi, ebx
jmp 0x401fb8
mov eax, dword [ebp - 8]
mov esi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [edi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [edi + 2], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x401f5c
mov esi, eax
sub esi, dword [ebp + 0xc]
push 3
lea ecx, [esi - 1]
shl edx, cl
pop edi
and edx, 7
cmp edi, esi
sbb ecx, ecx
not ecx
pop edi
and ecx, edx
mov edx, dword [ebp + 0x14]
pop esi
mov dword [edx], ecx
pop ebx
leave
ret
Function at 0x70015de1
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x70054a46
call fcn.70046968
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi], 0x700015dc
mov dword [ebp - 4], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
lea eax, [esi + 0x38]
mov dword [eax], ebx
lea edi, [esi + 0x3c]
mov dword [edi], ebx
fld qword [0x70001490]
fldln2
or dword [esi + 0x24], 0xffffffff
fxch st(1)
push ebx
push eax
mov byte [ebp - 4], 3
mov dword [esi + 0x14], ebx
fyl2x
mov byte [esi + 0x20], bl
fstp qword [esi + 0x18]
call fcn.7003bec4
push ebx
push edi
call fcn.7003bec4
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x700216bf
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x7005544c
call fcn.70046968
push ecx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x30]
push esi
lea ecx, [edi + 0x18]
mov dword [edi], 0x700019dc
call fcn.7003bec4
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x7002181c
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x7005541b
call fcn.70046968
push ecx
mov eax, ecx
xor ecx, ecx
mov dword [eax], 0x700019c4
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], ecx
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x54], ecx
mov dword [eax + 0x58], ecx
mov dword [eax + 0x5c], ecx
mov dword [eax + 0x60], ecx
mov dword [eax + 0x64], ecx
mov dword [eax + 0x68], ecx
or dword [eax + 0xc], 0xffffffff
or dword [eax + 0x30], 0xffffffff
mov dword [eax + 0x4c], edx
mov edx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x34], ecx
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x48], edx
dec eax

Function at 0x70021cde
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x7005544c
call fcn.70046968
push ecx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x30]
push esi
lea ecx, [edi + 0x18]
mov dword [edi], 0x700018f8
call fcn.7003bec4
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x7002cdc1
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x70055d35
call fcn.70046968
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 8]
mov dword [ebp - 0x10], esi
call fcn.7001c4da
xor edi, edi
lea ebx, [esi + 0x24]
mov dword [ebp - 4], edi
mov dword [ebx], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 3
call fcn.7001e4c6
lea eax, [esi + 0x84]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
lea eax, [esi + 0x94]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
push edi
push ebx
mov byte [ebp - 4], 6
call fcn.7003bec4
or dword [esi + 0x68], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x54], edi
pop edi
mov dword [esi + 0x2c], 3
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x7002fc42
Capabilities:
Get common file path

Disassembly:
mov eax, 0x70055e97
call fcn.70046968
push ecx
push esi
push edi
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
mov dword [ebp - 0x10], esi
call fcn.70022245
fld dword [ebp + 0x14]
push ecx
fstp dword [esp]
push dword [ebp + 0x10]
xor edi, edi
mov ecx, esi
mov dword [ebp - 4], edi
mov dword [esi], 0x70001f14
call fcn.7003bec4
mov ecx, dword [esi + 8]
cmp ecx, edi
mov dword [esi + 4], eax
je 0x7002fc87
sub dword [ecx], eax
push ebx
lea eax, [esi + 0x60]
push eax
mov ebx, 0x104
push ebx
call dword [sym.imp.kernel32.dll_GetTempPathW]
cmp eax, ebx
jb 0x7002fca6
push 0x8000ffff
call fcn.70054690
lea ebx, [esi + 0x60]
push ebx
push edi
push 0x70001efc
push ebx
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
test eax, eax
jne 0x7002fcc7
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.70054690
push edi
push edi
push 2
push edi
push edi
push 0xc0000000
push ebx
mov dword [esi + 0x5c], edi
call dword [sym.imp.kernel32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esi + 0x5c], eax
jne 0x7002fcf0
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.70054690
mov ebx, dword [sym.imp.kernel32.dll_SetFilePointer]
push edi
push edi
push dword [esi + 4]
push dword [esi + 0x5c]
call ebx
cmp eax, 0xffffffff
jne 0x7002fd11
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.70054690
push dword [esi + 0x5c]
call dword [sym.imp.kernel32.dll_SetEndOfFile]
test eax, eax
jne 0x7002fd2a
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.70054690
push edi
push edi
push edi
push dword [esi + 0x5c]
call ebx
cmp eax, 0xffffffff
pop ebx
jne 0x7002fd44
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.70054690
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x58], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x10

Function at 0x7002fdc9
Capabilities:
Delete file

Disassembly:
mov edi, edi
push esi
mov esi, ecx
mov eax, dword [esi + 0x5c]
test eax, eax
mov dword [esi], 0x70001f14
je 0x7002fdec
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
lea eax, [esi + 0x60]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
mov ecx, esi
pop esi
jmp fcn.70020a63

Function at 0x7002fe46
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x70055ed2
call fcn.70046968
push ecx
mov eax, ecx
mov dword [eax], 0x70001f34
xor edx, edx
lea ecx, [eax + 0x34]
mov dword [eax + 0x1c], 0x700012e8
mov dword [eax + 0x20], ecx
mov dword [eax + 0x28], edx
mov dword [eax + 0x24], edx
mov byte [eax + 0x2c], 1
mov dword [eax + 0x30], edx
mov dword [ecx + 4], edx
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], edx
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x18], edx
mov dword fs:[0], ecx
leave
ret
Function at 0x7003bec4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x7003bed3
pop dword [ebp - 0x38]
mov eax, 0x60be5e32
sub eax, 0xf0ba9f5f
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x48b25
push 0
mov eax, 0xd71b1a66
add eax, 0x98e4f5f6
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0xb9c86b0
sub ecx, 0xb9c30f9
xor ebx, ebx
add ebx, eax
mov edx, 0xea5f4b05
sub edx, 0x7a582b05
add edx, dword [ebp - 0x38]
mov edi, 0xd56f899a
add edi, 0xc2f2969b
mov dword [ebp - 0x2c], 0x6d68e07a
mov esi, dword [edx]
xor dword [ebp - 0x2c], ebx
add esi, edi
add dword [ebp - 4], ecx
mov dword [ebx], esi
add ebx, 0x43bd570
sub ebx, 0x43bd56c
add edx, 4
loop 0x7003bf34
add eax, 0xc7138884
add eax, 0x38edc12b
mov ebx, eax
add eax, 0xe840a44e
sub eax, 0xe840a449
mov ecx, 0xb8694f33
add ecx, 0xb796b0cd
add ecx, dword [ebp - 0x38]
call ebx
leave
ret

Function at 0x70048092
Capabilities:
Terminate process

Disassembly:
push 8
push 0x70003448
call fcn.700476b4
push 8
call fcn.7003bec4
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x70060920], esi
jne 0x700480c6
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
mov dword [0x7006091c], esi
mov al, byte [ebp + 0x10]
mov byte [0x70060918], al
cmp dword [ebp + 0xc], edi
jne 0x70048110
cmp dword [0x70062128], edi
je 0x70048100
mov eax, dword [0x70062124]
sub eax, 4
mov dword [0x70062124], eax
cmp eax, dword [0x70062128]
jb 0x70048100
mov eax, dword [eax]
cmp eax, edi
je 0x700480e1
call eax
jmp 0x700480e1
push 0x7005d080
mov eax, 0x7005d078
call fcn.70048006
pop ecx
push 0x7005d08c
mov eax, 0x7005d084
call fcn.70048006
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x70048141
cmp dword [ebp + 0x10], edi
jne 0x7004814f
mov dword [0x70060920], esi
push dword [ebp + 8]
call fcn.70047fb5
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x7004814e
push 8
call fcn.7003bec4
pop ecx
ret
call fcn.700476ef
ret