joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10032260
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x18]
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
mov esi, dword [ebp + 0x149]
test eax, eax
jne 0x1003228c
push 2
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll__llseek]
mov ebx, eax
mov dword [esp + 0x18], ebx
jmp 0x1003229d
push 0
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll__llseek]
mov ebx, eax
mov dword [esp + 0x18], eax
push dword [esi + 0x12]
push 0
push dword [esi + 0x1a]
call fcn.10045260
mov eax, dword [esi + 0x1a]
add esp, 0xc
cmp dword [esp + 0x30], 2
jne 0x100322c1
mov edi, 1
mov byte [eax], 3
jmp 0x100322c8
mov edi, dword [esp + 0x34]
mov byte [eax], 2
mov eax, dword [esi + 0x1a]
inc eax
push eax
push edi
call fcn.100345e0
cmp dword [esp + 0x30], 3
jne 0x1003230e
mov eax, dword [esi + 0x1a]
add eax, 3
push eax
mov eax, dword [esp + 0x2c]
push dword [eax + 4]
call fcn.10034600
mov eax, dword [esi + 0x1a]
add eax, 7
push eax
push dword [esp + 0x30]
call fcn.100345e0
mov eax, dword [esp + 0x28]
or ebx, 0xff
mov dword [eax], ebx
jmp 0x100323db
mov ecx, dword [esi + 0x1a]
xorps xmm0, xmm0
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x14], 0
mov bp, word [esp + 0x14]
mov word [ecx + 0x149], ax
mov al, 1
mov byte [ecx + 0x148], dl
sub al, dl
mov edx, dword [esp + 0x28]
mov byte [ecx + 0x147], 0x15
shl al, 4
mov dword [esp + 0x10], 0
add al, byte [edx + 4]
mov bx, word [esp + 0x10]
mov byte [ecx + 0x14b], al
mov eax, dword [esi + 0x1a]
mov ecx, dword [esi + 0x12]
mov dword [esp + 0x38], 0
movq qword [eax + 3], xmm0
mov dword [esp + 0x34], 0
lea edx, [eax + 3]
mov dword [esp + 0x1c], edx
mov dx, word [esp + 0x38]
cmp ecx, 8
jl 0x100323b0
shr ecx, 3
mov dword [esp + 0x30], ecx
mov cx, word [esp + 0x34]
xor cx, word [eax]
lea eax, [eax + 8]
xor dx, word [eax - 6]
xor bx, word [eax - 4]
xor bp, word [eax - 2]
dec dword [esp + 0x30]
jne 0x10032396
jmp 0x100323b5
mov cx, word [esp + 0x34]
mov eax, dword [esp + 0x1c]
mov word [eax], cx
mov ecx, dword [esp + 0x28]
mov word [eax + 2], dx
mov word [eax + 4], bx
mov word [eax + 6], bp
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
or eax, 0x3f
mov dword [ecx], eax
mov eax, ecx
mov ecx, dword [esp + 0x2c]
mov word [eax + 8], cx
test edi, edi
je 0x1003240a
push dword [esi + 0x12]
push dword [esi + 0x1a]
push ebp
call fcn.10036de0
test eax, eax
je 0x10032416
push dword [esi + 0x12]
push 0
push dword [esi + 0x1a]
call fcn.10045260
add esp, 0xc
dec edi
jne 0x100323e7
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret 0x1c
mov eax, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword [eax], 0x6df1
mov eax, 0xffffffe0
pop ebx
add esp, 0x10
ret 0x1c
Function at 0x10032b00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x14]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 0x10], 0
mov dx, word [esp + 0x10]
movq qword [eax + 3], xmm0
push ebx
mov bx, word [esp + 0xc]
push ebp
lea ebp, [eax + 3]
push esi
mov si, word [esp + 0xc]
push edi
mov di, word [esp + 0x14]
cmp ecx, 8
jl 0x10032b6a
shr ecx, 3
xor dx, word [eax]
lea eax, [eax + 8]
xor si, word [eax - 6]
xor di, word [eax - 4]
xor bx, word [eax - 2]
dec ecx
jne 0x10032b55
mov word [ebp], dx
xor eax, eax
mov word [ebp + 2], si
mov word [ebp + 4], di
pop edi
pop esi
mov word [ebp + 6], bx
pop ebp
pop ebx
add esp, 0xc
ret 8

Function at 0x10032b90
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
or edi, 0xffffffff
mov esi, dword [ebp + 0x1a]
add esi, 0xc
xor ebx, ebx
lea edx, [edi + 3]
lea ecx, [esi + 6]
lea esp, [esp]
movzx eax, byte [ecx - 5]
add ebx, eax
cmp byte [ecx - 6], 0
jne 0x10032bbf
lea edi, [edx - 2]
movzx eax, byte [ecx]
add ebx, eax
cmp byte [ecx - 1], 0
jne 0x10032bcd
lea edi, [edx - 1]
movzx eax, byte [ecx + 5]
add ebx, eax
cmp byte [ecx + 4], 0
movzx eax, byte [ecx + 0xa]
cmove edi, edx
add ebx, eax
cmp byte [ecx + 9], 0
jne 0x10032be9
lea edi, [edx + 1]
add edx, 4
add ecx, 0x14
lea eax, [edx - 2]
cmp eax, 0x40
jl 0x10032bb0
cmp edi, 0xffffffff
jne 0x10032c10
mov eax, dword [esp + 0x28]
mov dword [eax], 0x6e1e
lea eax, [edi - 0x22]
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
mov ecx, dword [esp + 0x1c]
lea eax, [ebx + ecx]
cmp eax, 0xeb
jle 0x10032c34
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword [eax], 0x6e23
mov eax, 0xffffffdd
pop ebx
ret 0x18
lea edx, [esi + edi*4]
mov al, 1
mov esi, dword [esp + 0x24]
add edx, edi
or edi, dword [esp + 0x20]
sub al, cl
add ebx, 0x15
shl al, 4
mov byte [edx + 1], cl
mov ecx, dword [esp + 0x18]
mov byte [edx], bl
mov word [edx + 2], si
shl ebx, 4
add al, byte [ecx + 4]
mov byte [edx + 4], al
mov eax, dword [esp + 0x1c]
shl eax, 4
push eax
mov dword [ecx], edi
mov word [ecx + 8], si
add ebx, dword [ebp + 0x1a]
push 0
push ebx
call fcn.10045260
mov eax, dword [ebp + 0x1a]
add esp, 0xc
mov ebx, dword [ebp + 0x12]
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
mov di, word [esp + 0x24]
mov dword [esp + 0x14], 0
lea ebp, [eax + 3]
mov si, word [esp + 0x14]
mov dword [esp + 0x1c], 0
mov dx, word [esp + 0x1c]
mov dword [esp + 0x28], 0
mov cx, word [esp + 0x28]
movq qword [ebp], xmm0
cmp ebx, 8
jl 0x10032ce5
shr ebx, 3
lea ebx, [ebx]
xor cx, word [eax]
lea eax, [eax + 8]
xor dx, word [eax - 6]
xor si, word [eax - 4]
xor di, word [eax - 2]
dec ebx
jne 0x10032cd0
mov word [ebp], cx
xor eax, eax
mov word [ebp + 2], dx
mov word [ebp + 4], si
mov word [ebp + 6], di
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
Function at 0x100414b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 4

Function at 0x10041970
Capabilities:
Move file

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov edx, 0x104
push esi
mov esi, dword [esp + 0x14]
push edi
lea ebx, [ebp + 0x17c]
mov ecx, ebx
sub esi, ebx
jmp 0x10041990
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x100419a9
mov al, byte [esi + ecx]
test al, al
je 0x100419a9
mov byte [ecx], al
inc ecx
dec edx
jne 0x10041990
jmp 0x100419ad
test edx, edx
jne 0x100419ae
dec ecx
mov esi, dword [esp + 0x1c]
lea edi, [ebp + 0x280]
mov byte [ecx], 0
mov edx, 0x104
mov ecx, edi
sub esi, edi
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x100419dd
mov al, byte [esi + ecx]
test al, al
je 0x100419dd
mov byte [ecx], al
inc ecx
dec edx
jne 0x100419c4
jmp 0x100419e1
test edx, edx
jne 0x100419e2
dec ecx
push edi
push ebx
mov byte [ecx], 0
call fcn.10047bd4
add esp, 8
test eax, eax
jne 0x100419fa
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
call fcn.100472a6
cmp dword [eax], 0x12
je 0x10041a10
pop edi
pop esi
pop ebp
mov eax, 0xfffffff0
pop ebx
ret 0xc
mov esi, 0x1000
push esi
call fcn.10034280
mov edi, eax
test edi, edi
jne 0x10041a37
cmp esi, 0x100
jbe 0x10041a57
shr esi, 1
push esi
call fcn.10034280
mov edi, eax
test edi, edi
je 0x10041a21
push 0
push dword [esp + 0x1c]
call fcn.100344c0
mov ebp, eax
test ebp, ebp
jns 0x10041a63
push edi
call fcn.100342c0
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
ret 0xc
pop edi
pop esi
pop ebp
mov eax, 0xfffffff3
pop ebx
ret 0xc
push 0xffffff7f
push dword [esp + 0x20]
push dword [esp + 0x1c]
call fcn.100414d0
mov ebx, eax
mov dword [esp + 0x1c], ebx
test ebx, ebx
jns 0x10041a94
push ebp
call sub.KERNEL32.dll__lclose
push edi
call fcn.100342c0
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 0xc
push esi
push edi
push ebp
call dword [sym.imp.KERNEL32.dll__lread]
mov ebx, eax
test ebx, ebx
jle 0x10041ac2
push ebx
push edi
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll__lwrite]
cmp eax, ebx
jne 0x10041aef
push esi
push edi
push ebp
call dword [sym.imp.KERNEL32.dll__lread]
mov ebx, eax
test ebx, ebx
jg 0x10041aa3
xor esi, esi
push ebp
call sub.KERNEL32.dll__lclose
push dword [esp + 0x1c]
call sub.KERNEL32.dll__lclose
push edi
call fcn.100342c0
test esi, esi
jne 0x10041ae6
push dword [esp + 0x18]
call fcn.10041920
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret 0xc
mov esi, 0xfffffff0
jmp 0x10041ac4
Function at 0x10041b00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov cl, byte [esp + 0x28]
push ebx
mov bl, byte [esp + 0x28]
push ebp
mov ebp, dword [esp + 0x20]
lea eax, [ecx + 1]
movzx eax, al
mov dword [esp + 0xc], eax
lea edx, [ebx + 1]
movzx ecx, cl
movzx eax, dl
sub eax, ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
cdq
and edx, 0xff
movzx ebx, bl
add eax, edx
mov dword [esp + 8], 0
push esi
sar eax, 8
add ebx, 0xff
push edi
mov edi, 0x10057ae8
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], ebx
lea eax, [ecx + 0xff]
sub edi, ecx
mov ecx, ebx
mov dword [esp + 0x38], eax
mov esi, 0xff
mov dword [esp + 0x34], ecx
lea esp, [esp]
movsx edx, byte [edi + eax]
lea eax, [eax - 1]
sub edx, dword [esp + 0x14]
movzx ecx, cl
and edx, 0xff
mov bl, byte [ecx + 0x100578e8]
xor bl, byte [edx + ebp]
add edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
and edx, 0xff
add ecx, edx
and ecx, 0xff
mov cl, byte [ecx + 0x10057ae8]
xor cl, byte [edx + 0x100579e8]
xor cl, bl
mov byte [eax + 1], cl
mov ecx, dword [esp + 0x34]
dec ecx
dec esi
mov dword [esp + 0x34], ecx
jns 0x10041b80
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x30]
jge 0x10041bfd
mov eax, dword [esp + 0x38]
sub edi, 0x100
mov ebx, dword [esp + 0x20]
add eax, 0x100
add ebp, 0x100
jmp 0x10041b6a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x14

Function at 0x10041c10
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov cl, byte [esp + 0x20]
push ebx
mov bl, byte [esp + 0x20]
push ebp
lea eax, [ecx + 1]
mov dword [esp + 0x28], 0
movzx eax, al
push esi
lea edx, [ebx + 1]
movzx ebx, bl
push edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x20], eax
movzx eax, dl
mov dword [esp + 0x14], eax
movzx eax, cl
mov ecx, 0x10057ae8
mov dword [esp + 0x10], eax
sub ecx, edi
mov eax, dword [esp + 0x28]
cdq
and edx, 0xff
mov dword [esp + 0x18], ebx
add eax, edx
sar eax, 8
sub dword [esp + 0x24], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov eax, edi
mov ebp, 0x100
jmp 0x10041c80
movsx esi, byte [ecx + eax]
lea eax, [eax + 1]
sub esi, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
and esi, 0xff
mov ecx, dword [esp + 0x14]
add edx, esi
add ecx, esi
and edx, 0xff
and ecx, 0xff
mov dl, byte [edx + 0x100579e8]
xor dl, byte [ecx + 0x10057ae8]
movzx ecx, bl
inc ebx
xor dl, byte [ecx + 0x100578e8]
mov ecx, dword [esp + 0x24]
xor dl, byte [eax - 1]
add ecx, esi
mov byte [ecx + edi], dl
mov ecx, dword [esp + 0x2c]
dec ebp
jne 0x10041c80
mov esi, dword [esp + 0x30]
inc esi
mov dword [esp + 0x30], esi
cmp esi, dword [esp + 0x28]
jae 0x10041cf6
mov ebx, dword [esp + 0x18]
add edi, 0x100
sub ecx, 0x100
jmp 0x10041c6c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x14
Function at 0x10041d00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
push ebx
movzx ebx, ax
mov eax, dword [esp + 0x1c]
movsx eax, al
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
movsx eax, al
add eax, 0xff
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
cdq
and edx, 0xff
push ebp
add eax, edx
mov ebp, 0x10057ae8
sar eax, 8
push esi
xor esi, esi
mov dword [esp + 0x20], eax
push edi
lea eax, [ecx + 0xff]
sub ebp, ecx
mov ecx, dword [esp + 0x14]
mov edi, 0xff
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
movzx edx, byte [eax + ebp]
lea eax, [eax - 1]
movzx ecx, cl
sub edx, ebx
and edx, 0xff
mov bl, byte [ecx + 0x100578e8]
mov ecx, dword [esp + 0x1c]
xor bl, byte [ecx + edx]
add edx, dword [esp + 0x30]
and edx, 0xff
mov ecx, edx
sub ecx, dword [esp + 0x30]
add ecx, esi
and ecx, 0xff
mov cl, byte [ecx + 0x10057ae8]
xor cl, byte [edx + 0x100579e8]
xor cl, bl
mov ebx, dword [esp + 0x10]
mov byte [eax + 1], cl
mov ecx, dword [esp + 0x28]
dec ecx
dec edi
mov dword [esp + 0x28], ecx
jns 0x10041d65
inc esi
cmp esi, dword [esp + 0x24]
jge 0x10041de0
mov eax, dword [esp + 0x2c]
sub ebp, 0x100
add eax, 0x100
add dword [esp + 0x1c], 0x100
jmp 0x10041d54
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x18

Function at 0x10041df0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x20]
xor ecx, ecx
movzx eax, ax
push ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x14]
push esi
movsx esi, al
mov eax, dword [esp + 0x28]
movsx ebx, al
mov eax, dword [esp + 0x20]
cdq
and edx, 0xff
mov dword [esp + 0x18], ecx
add eax, edx
mov dword [esp + 0x24], esi
sar eax, 8
mov edx, 0x10057ae8
sub edx, ebp
mov dword [esp + 0x10], ebx
sub dword [esp + 0x1c], ebp
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], edx
mov eax, ebp
mov dword [esp + 0x2c], 0x100
nop
movzx edi, byte [edx + eax]
lea eax, [eax + 1]
sub edi, dword [esp + 0x10]
and edi, 0xff
add esi, edi
and esi, 0xff
mov edx, esi
sub edx, dword [esp + 0x28]
add edx, ecx
movzx ecx, bl
and edx, 0xff
inc ebx
mov dl, byte [edx + 0x10057ae8]
xor dl, byte [ecx + 0x100578e8]
xor dl, byte [esi + 0x100579e8]
mov ecx, dword [esp + 0x20]
xor dl, byte [eax - 1]
add ecx, edi
dec dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov byte [ecx + ebp], dl
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
jne 0x10041e50
inc ecx
mov dword [esp + 0x1c], ecx
cmp ecx, dword [esp + 0x24]
jae 0x10041ecb
mov ebx, dword [esp + 0x14]
add ebp, 0x100
sub edx, 0x100
jmp 0x10041e41
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x18
Function at 0x1004edee
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10057bf0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10049bef
mov dword [ebp - 0x14], eax
cmp dword [0x1005c20c], esi
jne 0x1004eee1
push 0x800
push esi
push 0x100067ac
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1004ee6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1004efc1
push esi
push esi
push 0x100067ac
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1004efc1
push 0x100067c4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1004efc1
push eax
call ebx
push 0x100067d0
push edi
mov dword [0x1005c20c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100067e0
push edi
mov dword [0x1005c210], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100067f4
push edi
mov dword [0x1005c214], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1005c21c], eax
test eax, eax
je 0x1004eede
push 0x10006810
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1005c218], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1004ef06
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1004eef9
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1004ef1b
push 4
pop eax
jmp 0x1004efc3
cmp dword [ebp - 0x14], esi
je 0x1004ef1b
push dword [0x1005c20c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1004ef00
mov eax, dword [0x1005c218]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1004ef79
cmp dword [0x1005c21c], edi
je 0x1004ef79
push eax
call ebx
push dword [0x1005c21c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1004ef79
test eax, eax
je 0x1004ef79
call ecx
test eax, eax
je 0x1004ef6e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1004ef6e
test byte [ebp - 8], 1
jne 0x1004ef79
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1004efa9
mov eax, dword [0x1005c210]
cmp eax, edi
je 0x1004efa6
push eax
call ebx
test eax, eax
je 0x1004efa6
call eax
mov esi, eax
test esi, esi
je 0x1004efa6
mov eax, dword [0x1005c214]
cmp eax, edi
je 0x1004efa6
push eax
call ebx
test eax, eax
je 0x1004efa6
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1005c20c]
call ebx
test eax, eax
je 0x1004efc1
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1004efc3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004486e
mov esp, ebp
pop ebp
ret
Function at 0x100642a8
Capabilities:
Encode data using xor

Disassembly:
call 0x10064221
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x10064251
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x1006426d
xor edx, 0
jmp 0x10064278
xor edx, edx
jmp 0x1006428f
jmp 0x1006429b
xor eax, eax
push 0x8427d7c0
call 0x100642a8
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x100642e4
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x100642bd
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x100642fb
add eax, 0
jno 0x10064300
add esi, 0
ret 0x10

Function at 0x10065069
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1006508b
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1006522d
cmp edi, dword [ebp + 0x10]
jb 0x1006522d
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.10064b55
inc edi
jmp 0x10065114
jmp 0x10065121
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10064b55
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10064b55
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x10065175
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x10065159
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.100651a3
add dword [eax], 0x39
jle 0x1006517f
sub al, 0xf5
mov ch, al
call fcn.100651b8
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x10066e90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x10066ea6
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x10066eb7
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.10066ef8
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x10069264
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x100691ad
add ebx, 0
push ecx
call 0x100691c2
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x717e604f
sub ebx, dword [0x7180588e]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x7180587e
call fcn.10064c8c
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1006419a
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x10069320
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x10069320
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x100692d7
mov eax, 1
lock xchg dword [0x7180588a], eax
push 0x3dd1fc71
call 0x10069264
push esi
add esp, 8
cmp eax, 0
jne 0x1006924d
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x10069273
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x10069288
cmp ecx, edx
cmp eax, 0
je 0x100692ad
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x10069297
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.100692c6
dec eax
loope 0x100692c9
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x7180588a], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x100692fd
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x10069312
jmp 0x1006931d
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1006920b
Function at 0x10070385
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x1007065b
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x717f2502
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x717e94c8
push 0xffffffffffffffff
call fcn.10067585
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x100703ef
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.10070407
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x1007064f
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x10070623