Function at 0x10001049
Capabilities:
Decompress data using aplib
Encode data using xor

Disassembly:
push ebp
xchg bx, bx
and ebp, 0x73343fef
xor ebp, 0x3aa62f60
or ebp, 0x53491e71
dec ebp
mov ebp, esp
jmp 0x100016e7
je 0x10001db6
jmp 0x10001da0
lea ecx, [ebx + 1]
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
push edi
xchg ax, ax
mov dword [ebp - 0x14], ecx
push edi
pop edi
mov dword [ebp - 0x18], eax
cld
lea ecx, [ebp - 0x18]
nop
nop
nop
nop
nop
nop
nop
jmp 0x10001760
je 0x10001dc6
push 4
xchg ebx, ebx
jmp 0x10001965
sub esp, 0x18
nop
mov cl, byte [eax]
mov ecx, ecx
and dword [ebp - 0xc], 0
nop
push esi
xchg cl, cl
xor esi, esi
nop
and dword [ebp - 8], esi
mov al, al
mov byte [ebx], cl
push eax
pop eax
jmp 0x100015b2
call section..text
cld
test eax, eax
nop
nop
nop
nop
je 0x100022ba
call section..text
push eax
pop eax
test eax, eax
nop
nop
nop
nop
je 0x10001f1a
call section..text
nop
test eax, eax
nop
nop
nop
nop
jmp 0x100016ce
xor esi, esi
nop
mov edi, ebp
sub edi, eax
dec edi
rol edi, cl
pop edi
jmp 0x10001afe
lea ecx, [ebp - 0x18]
nop
nop
nop
nop
nop
nop
call section..text
mov edi, edi
jmp 0x10001c24
dec edi
push esi
pop esi
lea esi, [eax + esi*2]
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x10001caa
jne 0x10001afe
test esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x14]
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x10001261
sub cl, bl
mov ecx, dword [ebp - 0x14]
sub eax, esi
xchg cl, cl
mov al, byte [eax]
mov cl, cl
mov byte [ecx], al
push ebp
pop ebp
jmp 0x10001dbc
mov byte [eax], 0
mov bx, bx
inc dword [ebp - 0x14]
nop
jmp 0x100023e1
dec eax
shr ax, cl
mov eax, dword [ebp - 0x18]
jmp 0x10001e35
movzx ecx, byte [eax]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc dword [ebp - 0x18]
mov ebp, ebp
xor edx, edx
nop
jmp 0x10001e96
inc edx
cld
sub al, dl
mov eax, ecx
and eax, edx
xchg cl, cl
inc eax
mov dl, dl
inc eax
xchg al, al
shr ecx, 1
nop
nop
nop
nop
nop
nop
nop
je 0x10001f0a
test eax, eax
nop
nop
nop
nop
je 0x10001f10
jmp 0x10001ed6
sub dx, cx
mov edx, dword [ebp - 0x14]
mov esi, ecx
inc esi
mov esi, dword [ebp - 0x14]
sub edx, ecx
mov ecx, ecx
mov dl, byte [edx]
push ebx
pop ebx
inc dword [ebp - 0x14]
cld
dec eax
nop
mov byte [esi], dl
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x10001ed6
jmp 0x10001f10
mov dword [ebp - 8], edx
xchg dx, dx
mov dword [ebp - 4], ecx
nop
jmp 0x100022a8
call fcn.10001030
xchg al, al
jmp 0x10001f51
test esi, esi
nop
nop
nop
nop
nop
nop
jne 0x10002047
cmp eax, 2
xchg cl, cl
jne 0x10001ffa
lea ecx, [ebp - 0x18]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
call fcn.10001030
xchg dl, dl
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x10001fb4
je 0x100022a8
and cl, dl
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 4]
xchg al, al
or edx, 0x272b424d
sub dx, bx
xor dx, 0x2e20
mov edx, dword [ebp - 0x14]
mov cl, byte [ecx]
mov dx, dx
inc dword [ebp - 0x14]
mov ecx, ecx
nop
nop
nop
nop
nop
dec eax
xchg cx, cx
mov byte [edx], cl
nop
nop
nop
nop
nop
jne 0x10001fba
jmp 0x100022a8
sub eax, 3
xchg esp, esp
jmp 0x10002042
jmp 0x100020b2
dec eax
mov edi, edi
dec eax
nop
jmp 0x100020b2
mov ecx, eax
xor cx, 0x5645
dec ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ecx]
nop
nop
nop
nop
nop
nop
nop
nop
nop
shl eax, 8
nop
nop
nop
nop
add eax, ecx
mov al, al
inc dword [ebp - 0x18]
cld
jmp 0x10002104
lea ecx, [ebp - 0x18]
nop
nop
nop
nop
nop
nop
nop
add esi, esp
mov esi, eax
jmp 0x10002121
call fcn.10001030
mov edx, edx
cmp esi, 0x7d00
nop
jb 0x1000213c
nop
nop
nop
nop
nop
inc eax
nop
cmp esi, 0x500
nop
jmp 0x100021ad
jb 0x100021b6
inc eax
mov esp, esp
cmp esi, 0x80
mov bx, bx
jae 0x1000220c
inc eax
mov ax, ax
inc eax
xchg bl, bl
jmp 0x1000220c
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x10002294
and cx, 0x674f
mov ecx, dword [ebp - 0x14]
add edx, dword [esp]
ror edx, cl
and dx, 0x753d
mov edx, dword [ebp - 0x14]
sub ecx, esi
mov al, al
jmp 0x10002275
mov cl, byte [ecx]
mov cx, cx
inc dword [ebp - 0x14]
mov al, al
dec eax
cld
mov byte [edx], cl
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x1000221b
mov dword [ebp - 4], esi
nop
jmp 0x100022a8
xor esi, esi
xchg edx, edx
inc esi
mov bx, bx
nop
nop
nop
nop
nop
jmp 0x100023e5
shr al, cl
add eax, 0x28972df8
or eax, dword [esp + 8]
xor al, 0xcf
mov eax, dword [ebp - 0x18]
sub ecx, dword [esp + 0x14]
xor cx, dx
mov ecx, dword [ebp - 0x14]
jmp 0x1000236a
mov al, byte [eax]
xchg dx, dx
jmp 0x100023d1
inc dword [ebp - 0x14]
xchg ax, ax
inc dword [ebp - 0x18]
xchg dx, dx
mov byte [ecx], al
mov edx, edx
xor esi, esi
xchg cl, cl
cmp dword [ebp - 8], 0
xchg dx, dx
je 0x100015cd
add eax, dword [esp + 0xc]
and ax, 0x300
mov eax, dword [ebp - 0x14]
mov edi, ebx
pop edi
sub eax, ebx
mov esi, esi
jmp 0x1000243d
ror esi, cl
sub esi, esp
pop esi
leave
nop
nop
nop
nop
ret