Function at 0x3e6ca7
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
and dword [ebp - 0x28], 0
mov eax, 0xffff
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
mov byte [ebp - 1], 0
mov byte [ebp - 2], 0
cmp eax, ebx
jb 0x3e7c2c
test bl, 3
jne 0x3e7c2c
test al, 3
jne 0x3e7c2c
cmp eax, dword [ebp + 0x20]
ja 0x3e7c2c
test al, 1
jne 0x3e7c2c
push edi
mov edi, dword [ebp + 8]
push ebx
push edi
push dword [ebp + 0x1c]
call fcn.00363a00
mov ecx, dword [ebp + 0x1c]
lea eax, [edi + ebx]
mov edi, dword [ebp + 0x10]
sub edi, ebx
add esp, 0xc
lea edx, [ebx + ecx]
cmp edi, 8
jb 0x3e6d51
mov ecx, eax
sub ecx, ebx
mov ebx, edi
shr ebx, 3
mov dword [ebp + 0x20], ebx
mov ebx, dword [ecx]
xor ebx, dword [eax]
add ecx, 4
mov dword [edx], ebx
mov ebx, dword [ecx]
add eax, 4
xor ebx, dword [eax]
add edx, 4
mov dword [edx], ebx
add edx, 4
add eax, 4
add ecx, 4
sub edi, 8
dec dword [ebp + 0x20]
jne 0x3e6d2b
test edi, edi
je 0x3e6d60
mov ecx, eax
sub ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
xor ecx, dword [eax]
mov dword [edx], ecx
mov eax, dword [ebp + 0x24]
mov byte [eax + 8], 0
mov byte [eax + 0x14], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
xor edi, edi
and dword [ebp - 0x24], edi
mov byte [ebp + 0x23], 1
mov dword [ebp - 0x14], 2
mov dword [ebp + 0x10], eax
jmp 0x3e754c
cmp dword [ebp - 0x14], 0x2000
jae 0x3e7c2b
jmp 0x3e73ed
mov eax, dword [ebp + 0x1c]
lea ecx, [edi + eax]
movzx dx, byte [ecx]
movzx bx, byte [ecx + 1]
shl dx, 8
or dx, bx
jne 0x3e6ef4
lea edx, [edi + 2]
cmp edx, dword [ebp + 0x10]
jae 0x3e6edf
movzx dx, byte [edi + eax + 2]
movzx bx, byte [edi + eax + 3]
shl dx, 8
or dx, bx
jne 0x3e6edf
lea edx, [edi + 4]
cmp edx, dword [ebp + 0x10]
jae 0x3e6edb
movzx dx, byte [edi + eax + 4]
movzx bx, byte [edi + eax + 5]
shl dx, 8
or dx, bx
jne 0x3e6edb
lea edx, [edi + 6]
cmp edx, dword [ebp + 0x10]
jae 0x3e6ed6
lea eax, [edi + eax + 6]
movzx dx, byte [eax + 1]
movzx ax, byte [eax]
shl ax, 8
or dx, ax
jne 0x3e6ed6
mov edx, dword [ebp + 0x10]
lea eax, [ecx + 8]
movzx bx, byte [eax - 1]
sub ecx, edi
lea edx, [ecx + edx - 8]
movzx cx, byte [eax - 2]
shl cx, 8
or cx, bx
movzx ecx, cx
mov dword [ebp - 0x20], ecx
lea ecx, [eax + 1]
mov dword [ebp - 0x18], 4
cmp ecx, edx
jae 0x3e6e8a
mov dword [ebp - 0xc], ecx
movzx cx, byte [eax]
mov ebx, dword [ebp - 0xc]
movzx bx, byte [ebx]
shl cx, 8
or cx, bx
cmp cx, word [ebp - 0x20]
jne 0x3e6e84
inc dword [ebp - 0x18]
add dword [ebp - 0xc], 2
inc eax
inc eax
cmp dword [ebp - 0xc], edx
jb 0x3e6e5e
cmp dword [ebp - 0x18], 0
jbe 0x3e6ec4
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
mov byte [ebp - 1], 1
cmp edx, 0x14
jb 0x3e6ec7
cmp byte [ebp - 1], 3
mov byte [ebp - 2], 0
jne 0x3e745c
mov eax, dword [ebp + 0x1c]
add eax, edi
movzx cx, byte [eax]
movzx ax, byte [eax + 1]
shl cx, 8
or cx, ax
movzx eax, cx
jmp 0x3e7466
mov edx, dword [ebp - 8]
cmp byte [ebp - 2], 0
je 0x3e7432
jmp 0x3e6fd4
push 3
pop edx
jmp 0x3e6ee2
push 2
jmp 0x3e6ed8
xor edx, edx
inc edx
cmp byte [ebp - 2], 0
mov byte [ebp - 1], 1
mov dword [ebp - 8], edx
je 0x3e6e99
jmp 0x3e6fd4
movzx bx, byte [ecx]
movzx dx, byte [ecx + 1]
shl bx, 8
or dx, bx
movzx bx, byte [edi + eax + 2]
movzx edx, dx
mov dword [ebp - 0x20], edx
movzx dx, byte [edi + eax + 3]
shl bx, 8
or dx, bx
cmp word [ebp - 0x20], dx
jne 0x3e6fd4
movzx bx, byte [edi + eax + 4]
movzx dx, byte [edi + eax + 5]
shl bx, 8
or dx, bx
cmp word [ebp - 0x20], dx
jne 0x3e6fd4
lea eax, [edi + eax + 6]
movzx dx, byte [eax + 1]
movzx ax, byte [eax]
shl ax, 8
or dx, ax
cmp word [ebp - 0x20], dx
jne 0x3e6fd4
mov edx, dword [ebp + 0x10]
lea eax, [ecx + 8]
movzx bx, byte [eax - 2]
sub ecx, edi
lea edx, [ecx + edx - 8]
movzx cx, byte [eax - 1]
shl bx, 8
or cx, bx
movzx ecx, cx
mov dword [ebp - 0x20], ecx
lea ecx, [eax + 1]
mov dword [ebp - 0x18], 4
cmp ecx, edx
jae 0x3e6fd4
mov dword [ebp - 0xc], ecx
movzx cx, byte [eax]
mov ebx, dword [ebp - 0xc]
movzx bx, byte [ebx]
shl cx, 8
or cx, bx
cmp cx, word [ebp - 0x20]
jne 0x3e6fb8
inc dword [ebp - 0x18]
add dword [ebp - 0xc], 2
inc eax
inc eax
cmp dword [ebp - 0xc], edx
jb 0x3e6f92
mov edx, dword [ebp - 0x18]
cmp edx, 5
jbe 0x3e6fd4
test edx, edx
jbe 0x3e6fd4
mov dword [ebp - 8], edx
mov byte [ebp - 1], 3
cmp edx, 0x14
jae 0x3e6e99
mov ecx, dword [ebp + 8]
lea eax, [edi + ecx]
movzx bx, byte [eax]
movzx dx, byte [eax + 1]
shl bx, 8
or dx, bx
movzx bx, byte [edi + ecx + 3]
movzx edx, dx
mov dword [ebp - 0x20], edx
movzx dx, byte [edi + ecx + 2]
shl dx, 8
or dx, bx
lea ecx, [edi + ecx + 4]
movzx bx, byte [ecx + 1]
movzx cx, byte [ecx]
shl cx, 8
or bx, cx
movzx edx, dx
cmp word [ebp - 0x20], bx
jne 0x3e71b4
mov ecx, dword [ebp + 8]
lea ecx, [edi + ecx + 8]
movzx bx, byte [ecx + 1]
movzx cx, byte [ecx]
shl cx, 8
or bx, cx
cmp word [ebp - 0x20], bx
jne 0x3e71b4
mov ecx, dword [ebp + 8]
lea ecx, [edi + ecx + 6]
movzx bx, byte [ecx]
movzx cx, byte [ecx + 1]
shl bx, 8
or bx, cx
cmp dx, bx
jne 0x3e71b4
mov ecx, dword [ebp + 8]
lea ecx, [edi + ecx + 0xa]
movzx bx, byte [ecx]
movzx cx, byte [ecx + 1]
shl bx, 8
or bx, cx
cmp dx, bx
jne 0x3e71b4
cmp word [ebp - 0x20], dx
jne 0x3e7117
cmp byte [ebp + 0x23], 0
jne 0x3e71b4
mov edx, dword [ebp + 0x10]
lea ecx, [eax + 8]
movzx bx, byte [ecx - 2]
sub eax, edi
lea eax, [eax + edx - 8]
movzx dx, byte [ecx - 1]
shl bx, 8
or dx, bx
movzx edx, dx
mov dword [ebp - 0x2c], edx
lea edx, [ecx + 1]
mov dword [ebp - 0xc], 4
cmp edx, eax
jae 0x3e71b4
mov dword [ebp - 0x20], edx
movzx dx, byte [ecx]
mov ebx, dword [ebp - 0x20]
movzx bx, byte [ebx]
shl dx, 8
or dx, bx
cmp dx, word [ebp - 0x2c]
jne 0x3e70f7
inc dword [ebp - 0xc]
add dword [ebp - 0x20], 2
inc ecx
inc ecx
cmp dword [ebp - 0x20], eax
jb 0x3e70d1
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
cmp eax, 5
jbe 0x3e71b7
cmp eax, edx
jbe 0x3e71b7
mov byte [ebp - 1], 4
jmp 0x3e71a4
movzx dx, byte [eax]
movzx bx, byte [eax + 1]
mov ecx, dword [ebp + 0x10]
and dword [ebp - 0xc], 0
shl dx, 8
or dx, bx
movzx bx, byte [eax + 2]
movzx edx, dx
mov dword [ebp - 0x2c], edx
movzx dx, byte [eax + 3]
shl bx, 8
sub ecx, edi
or dx, bx
movsx ecx, cx
cmp ecx, 2
movzx edx, dx
mov dword [ebp - 0x20], edx
jle 0x3e71b4
movzx dx, byte [eax]
movzx bx, byte [eax + 1]
shl dx, 8
or dx, bx
cmp dx, word [ebp - 0x2c]
jne 0x3e7191
inc eax
movzx bx, byte [eax + 2]
inc eax
movzx dx, byte [eax]
shl dx, 8
or dx, bx
cmp dx, word [ebp - 0x20]
jne 0x3e7191
add dword [ebp - 0xc], 2
inc eax
sub ecx, 4
inc eax
cmp ecx, 2
jg 0x3e7155
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
cmp eax, 9
jbe 0x3e71b7
cmp eax, edx
jbe 0x3e71b7
mov byte [ebp - 1], 5
mov edx, eax
mov dword [ebp - 8], edx
cmp eax, 0x14
jae 0x3e6e99
jmp 0x3e71b7
mov edx, dword [ebp - 8]
cmp edx, 6
jae 0x3e739f
mov eax, dword [ebp + 0x1c]
lea ecx, [edi + eax + 2]
movzx dx, byte [ecx]
movzx bx, byte [ecx + 1]
shl dx, 8
or dx, bx
jne 0x3e72d3
movzx dx, byte [edi + eax + 4]
movzx bx, byte [edi + eax + 5]
shl dx, 8
or dx, bx
jne 0x3e72d3
movzx dx, byte [edi + eax + 6]
movzx bx, byte [edi + eax + 7]
shl dx, 8
or dx, bx
jne 0x3e72d3
movzx bx, byte [edi + eax + 8]
movzx dx, byte [edi + eax + 9]
shl bx, 8
or dx, bx
jne 0x3e72d3
movzx bx, byte [edi + eax]
movzx dx, byte [edi + eax + 1]
shl bx, 8
or dx, bx
cmp dx, word [ebp - 0x10]
jne 0x3e72d3
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp + 0x24]
imul edx, edx, 0xc
cmp byte [edx + ebx - 4], 1
jne 0x3e72d3
movzx edx, word [ebp + 0x14]
cmp edi, edx
je 0x3e72d3
mov edx, dword [ebp + 0x10]
lea eax, [ecx + 8]
movzx bx, byte [eax - 2]
sub ecx, edi
lea ecx, [ecx + edx - 0xa]
movzx dx, byte [eax - 1]
shl bx, 8
or dx, bx
movzx edx, dx
mov dword [ebp - 0x2c], edx
lea edx, [eax + 1]
mov dword [ebp - 0xc], 4
cmp edx, ecx
jae 0x3e72b6
mov dword [ebp - 0x20], edx
movzx dx, byte [eax]
mov ebx, dword [ebp - 0x20]
movzx bx, byte [ebx]
shl dx, 8
or dx, bx
cmp dx, word [ebp - 0x2c]
jne 0x3e72b6
inc dword [ebp - 0xc]
add dword [ebp - 0x20], 2
inc eax
inc eax
cmp dword [ebp - 0x20], ecx
jb 0x3e7290
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
inc eax
cmp eax, edx
jbe 0x3e739f
mov edx, eax
mov byte [ebp - 1], 2
cmp eax, 0x14
jmp 0x3e7399
and dword [ebp - 0xc], 0
lea edx, [edi + eax]
mov ecx, edx
lea eax, [edx + 1]
movzx dx, byte [edx]
movzx bx, byte [eax]
sub ecx, edi
add ecx, dword [ebp + 0x10]
shl dx, 8
or dx, bx
movzx edx, dx
mov byte [ebp - 3], 0
mov dword [ebp - 0x1c], edx
inc eax
inc eax
inc dword [ebp - 0xc]
lea edx, [eax + 1]
cmp edx, ecx
ja 0x3e736a
movzx dx, byte [eax - 1]
movzx bx, byte [eax]
shl dx, 8
or dx, bx
movzx edx, dx
cmp dx, word [ebp - 0x1c]
je 0x3e7327
test dx, dx
jne 0x3e736a
test byte [ebp - 0xc], 7
jne 0x3e7364
lea edx, [eax + 0x2f]
cmp edx, ecx
ja 0x3e7364
mov dword [ebp - 0x20], 2
mov edx, dword [ebp - 0x20]
movzx bx, byte [eax + edx - 1]
movzx dx, byte [eax + edx]
shl bx, 8
or bx, dx
cmp bx, word [ebp - 0x1c]
jne 0x3e7364
add dword [ebp - 0x20], 2
cmp dword [ebp - 0x20], 0x30
mov byte [ebp - 3], 1
jl 0x3e733b
cmp byte [ebp - 3], 0
je 0x3e72fd
mov cx, word [ebp - 0x1c]
push 0x30
pop eax
cmp cx, word [ebp - 0x10]
jne 0x3e737a
push 0x20
pop eax
mov ecx, dword [ebp - 0xc]
test cl, 7
jne 0x3e7385
sub eax, 8
mov edx, dword [ebp - 8]
cmp ecx, eax
jb 0x3e739f
cmp ecx, edx
jbe 0x3e739f
mov edx, ecx
mov byte [ebp - 1], 6
cmp ecx, 0x14
jae 0x3e6e99
cmp byte [ebp - 2], 0
jne 0x3e741b
cmp edx, 6
jae 0x3e7432
mov ecx, dword [ebp - 0x18]
cmp ecx, 4
jbe 0x3e7415
mov eax, dword [ebp + 0x1c]
add eax, edi
movzx bx, byte [eax + 1]
movzx ax, byte [eax]
shl ax, 8
or bx, ax
cmp bx, word [ebp - 0x10]
jne 0x3e7415
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 0x24]
imul eax, eax, 0xc
add eax, edx
cmp byte [eax - 4], 3
jne 0x3e740a
cmp edi, dword [ebp + 0x14]
je 0x3e740a
add dword [eax - 8], ecx
lea edi, [edi + ecx*2]
and dword [ebp - 8], 0
and dword [ebp - 0x18], 0
lea eax, [edi + 0xc]
cmp eax, dword [ebp + 0x10]
jb 0x3e6d9e
xor edx, edx
mov byte [ebp - 1], 7
inc edx
jmp 0x3e743c
mov edx, ecx
mov byte [ebp - 1], 3
jmp 0x3e6e99
test edx, edx
jne 0x3e7432
jmp 0x3e742b
cmp edx, 6
jb 0x3e742b
cmp byte [ebp - 1], 1
je 0x3e7432
cmp edx, 8
jae 0x3e7432
xor edx, edx
inc edx
mov byte [ebp - 1], 7
cmp byte [ebp - 1], 7
jne 0x3e6e99
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x24]
imul eax, eax, 0xc
add eax, ecx
cmp byte [eax - 4], 7
mov byte [ebp - 2], 1
jne 0x3e7469
add dword [eax - 8], edx
lea edi, [edi + edx*2]
jmp 0x3e754c
cmp byte [ebp - 1], 6
jne 0x3e7469
movzx eax, word [ebp - 0x1c]
mov dword [ebp - 0x10], eax
movzx eax, word [ebp + 0x14]
cmp edi, eax
lea edi, [edi + edx*2]
je 0x3e752f
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x24]
imul eax, eax, 0xc
mov bl, byte [ebp - 1]
add eax, ecx
mov cl, byte [eax - 4]
cmp bl, cl
jne 0x3e74a5
cmp bl, 1
je 0x3e74b5
cmp bl, 3
je 0x3e749c
cmp bl, 6
jne 0x3e74a5
movzx ebx, word [ebp - 0x10]
cmp ebx, dword [eax - 0xc]
je 0x3e74b5
cmp byte [ebp - 1], 1
jne 0x3e74bd
cmp cl, 1
je 0x3e74b5
cmp cl, 2
jne 0x3e74e8
add dword [eax - 8], edx
jmp 0x3e754c
cmp byte [ebp - 1], 6
jne 0x3e74e2
cmp cl, 1
jne 0x3e752f
mov ecx, dword [eax - 8]
cmp ecx, 8
jae 0x3e752f
add ecx, edx
mov dword [eax - 8], ecx
movzx ecx, word [ebp - 0x10]
mov byte [eax - 4], 6
mov dword [eax - 0xc], ecx
jmp 0x3e754c
cmp byte [ebp - 1], 2
jne 0x3e7514
cmp cl, 6
jne 0x3e7514
mov ebx, dword [eax - 8]
and ebx, 7
je 0x3e7514
push 8
pop ecx
sub ecx, ebx
cmp ecx, edx
jbe 0x3e7500
mov ecx, edx
add dword [eax - 8], ecx
mov ebx, dword [eax - 8]
sub edx, ecx
cmp edx, 9
jae 0x3e7514
add ebx, edx
mov dword [eax - 8], ebx
jmp 0x3e754c
cmp byte [ebp - 1], 7
jne 0x3e752f
cmp byte [eax - 0x10], 7
jne 0x3e752f
cmp dword [eax - 8], 1
jne 0x3e752f
inc edx
add dword [eax - 0x14], edx
dec dword [ebp - 0x14]
jmp 0x3e754c
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x24]
imul eax, eax, 0xc
add eax, ecx
mov cl, byte [ebp - 1]
inc dword [ebp - 0x14]
mov byte [eax + 8], cl
movzx ecx, word [ebp - 0x10]
mov dword [eax + 4], edx
mov dword [eax], ecx
cmp edi, dword [ebp + 0x10]
jb 0x3e6d8c
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 2
mov eax, dword [ebp - 0x30]
mov dword [ebp + 0x10], eax
mov byte [ebp + 0x23], 0
jb 0x3e754c
push 2
pop eax
xor ebx, ebx
cmp dword [ebp - 0x14], eax
mov dword [ebp + 0x10], ebx
mov byte [ebp + 0x23], 1
mov dword [ebp - 0x10], 0xffff
mov dword [ebp - 0x20], eax
jle 0x3e7c25
mov eax, esi
sub eax, dword [ebp + 0xc]
add eax, 5
cmp eax, dword [ebp + 0x18]
ja 0x3e7c2b
cmp byte [ebp + 0x23], 0
je 0x3e75a7
cmp ebx, dword [ebp + 0x14]
jb 0x3e75a7
mov byte [ebp + 0x23], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x24]
imul eax, eax, 0xc
lea edi, [eax + ecx]
mov al, byte [edi + 8]
test al, al
jbe 0x3e7c16
cmp al, 2
jbe 0x3e7bea
cmp al, 3
je 0x3e7b87
cmp al, 4
je 0x3e7b46
cmp al, 5
je 0x3e7ac6
cmp al, 6
je 0x3e7691
cmp al, 7
jne 0x3e7c16
mov eax, dword [edi + 4]
cmp eax, 1
jne 0x3e763a
mov ecx, dword [ebp + 8]
add ecx, ebx
movzx dx, byte [ecx]
movzx bx, byte [ecx + 1]
shl dx, 8
or dx, bx
mov ebx, dword [ebp + 0x10]
jne 0x3e761b
mov byte [esi], 0xfe
inc esi
inc ebx
inc ebx
jmp 0x3e7c13
movzx dx, byte [ecx]
movzx cx, byte [ecx + 1]
shl dx, 8
or dx, cx
mov ecx, 0xffff
cmp dx, cx
jne 0x3e763a
mov byte [esi], 0xfd
jmp 0x3e7613
cmp eax, 0x1f
ja 0x3e7643
or al, 0x80
jmp 0x3e7650
cmp eax, 0x11f
ja 0x3e7655
mov byte [esi], 0x80
inc esi
sub al, 0x20
mov byte [esi], al
inc esi
jmp 0x3e765e
mov byte [esi], 0xf4
inc esi
mov word [esi], ax
inc esi
inc esi
mov eax, dword [edi + 4]
add eax, eax
mov ecx, eax
sub ecx, dword [ebp + 0xc]
add ecx, esi
cmp ecx, dword [ebp + 0x18]
ja 0x3e7c2b
push eax
mov eax, dword [ebp + 8]
add eax, ebx
push eax
push esi
call fcn.00363a00
mov edi, dword [edi + 4]
add edi, edi
add esp, 0xc
add esi, edi
add ebx, edi
jmp 0x3e7c13
mov ecx, dword [edi + 4]
lea eax, [ecx + 7]
shr eax, 3
sub eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], ecx
lea eax, [eax + esi + 5]
cmp eax, dword [ebp + 0x18]
ja 0x3e7c2b
movzx eax, word [ebp - 0x10]
cmp eax, dword [edi]
je 0x3e78be
movzx eax, word [edi]
mov dword [ebp - 0x10], eax
test cl, 7
jne 0x3e76d3
cmp ecx, 0x78
ja 0x3e76d3
mov edx, ecx
shr edx, 3
or dl, 0xd0
jmp 0x3e76e8
cmp ecx, 0xff
ja 0x3e76ed
cmp ecx, 2
jb 0x3e7705
mov byte [esi], 0xd0
mov dl, cl
inc esi
dec dl
mov byte [esi], dl
inc esi
jmp 0x3e76fb
cmp ecx, 3
jb 0x3e7705
mov byte [esi], 0xf7
inc esi
mov word [esi], cx
inc esi
inc esi
mov byte [esi + 1], al
shr eax, 8
mov byte [esi], al
inc esi
inc esi
cmp ecx, 8
jb 0x3e77e7
mov eax, dword [ebp + 0x1c]
mov edx, ecx
shr edx, 3
mov dword [ebp - 0x24], edx
shl edx, 4
lea eax, [ebx + eax + 0xd]
add ebx, edx
mov dword [ebp + 0x10], ebx
mov byte [esi], 0
movzx dx, byte [eax - 0xd]
movzx di, byte [eax - 0xc]
shl dx, 8
or dx, di
je 0x3e773e
mov byte [esi], 1
movzx dx, byte [eax - 0xb]
movzx di, byte [eax - 0xa]
shl dx, 8
or dx, di
je 0x3e7754
or byte [esi], 2
movzx dx, byte [eax - 9]
movzx di, byte [eax - 8]
shl dx, 8
or dx, di
je 0x3e776a
or byte [esi], 4
movzx dx, byte [eax - 7]
movzx di, byte [eax - 6]
shl dx, 8
or dx, di
je 0x3e7780
or byte [esi], 8
movzx dx, byte [eax - 5]
movzx di, byte [eax - 4]
shl dx, 8
or dx, di
je 0x3e7796
or byte [esi], 0x10
movzx dx, byte [eax - 3]
movzx di, byte [eax - 2]
shl dx, 8
or dx, di
je 0x3e77ac
or byte [esi], 0x20
movzx dx, byte [eax - 1]
movzx di, byte [eax]
shl dx, 8
or dx, di
je 0x3e77c1
or byte [esi], 0x40
movzx dx, byte [eax + 1]
movzx di, byte [eax + 2]
shl dx, 8
or dx, di
je 0x3e77d7
or byte [esi], 0x80
inc esi
add eax, 0x10
sub ecx, 8
dec dword [ebp - 0x24]
jne 0x3e7725
test ecx, ecx
je 0x3e7c16
mov eax, dword [ebp + 0x1c]
add eax, ebx
mov byte [esi], 0
movzx di, byte [eax]
movzx dx, byte [eax + 1]
shl di, 8
or dx, di
je 0x3e780c
mov byte [esi], 1
inc eax
movzx dx, byte [eax + 2]
inc eax
movzx di, byte [eax]
shl di, 8
or dx, di
je 0x3e7823
or byte [esi], 2
inc eax
movzx dx, byte [eax + 2]
inc eax
movzx di, byte [eax]
shl di, 8
or dx, di
je 0x3e783a
or byte [esi], 4
inc eax
movzx dx, byte [eax + 2]
inc eax
movzx di, byte [eax]
shl di, 8
or dx, di
je 0x3e7851
or byte [esi], 8
inc eax
movzx dx, byte [eax + 2]
inc eax
movzx di, byte [eax]
shl di, 8
or dx, di
je 0x3e7868
or byte [esi], 0x10
inc eax
movzx dx, byte [eax + 2]
inc eax
movzx di, byte [eax]
shl di, 8
or dx, di
je 0x3e787f
or byte [esi], 0x20
inc eax
movzx dx, byte [eax + 2]
inc eax
movzx di, byte [eax]
shl di, 8
or dx, di
je 0x3e7896
or byte [esi], 0x40
inc eax
movzx dx, byte [eax + 2]
inc eax
movzx ax, byte [eax]
shl ax, 8
or dx, ax
je 0x3e78ad
or byte [esi], 0x80
mov al, 1
shl al, cl
lea ebx, [ebx + ecx*2]
dec al
and byte [esi], al
inc esi
jmp 0x3e7c13
cmp ecx, 8
jne 0x3e79a8
mov eax, dword [ebp + 0x1c]
add eax, ebx
movzx di, byte [eax]
movzx dx, byte [eax + 1]
shl di, 8
xor cl, cl
or dx, di
je 0x3e78e2
inc cl
inc eax
movzx dx, byte [eax + 2]
inc eax
movzx di, byte [eax]
shl di, 8
or dx, di
je 0x3e78f9
or cl, 2
inc eax
movzx dx, byte [eax + 2]
inc eax
movzx di, byte [eax]
shl di, 8
or dx, di
je 0x3e7910
or cl, 4
inc eax
movzx dx, byte [eax + 2]
inc eax
movzx di, byte [eax]
shl di, 8
or dx, di
je 0x3e7927
or cl, 8
inc eax
movzx dx, byte [eax + 2]
inc eax
movzx di, byte [eax]
shl di, 8
or dx, di
je 0x3e793e
or cl, 0x10
inc eax
movzx dx, byte [eax + 2]
inc eax
movzx di, byte [eax]
shl di, 8
or dx, di
je 0x3e7955
or cl, 0x20
inc eax
movzx dx, byte [eax + 2]
inc eax
movzx di, byte [eax]
shl di, 8
or dx, di
je 0x3e796c
or cl, 0x40
inc eax
movzx dx, byte [eax + 2]
inc eax
movzx ax, byte [eax]
shl ax, 8
or dx, ax
je 0x3e7983
or cl, 0x80
movzx eax, cl
sub eax, 3
je 0x3e799c
dec eax
dec eax
je 0x3e7997
mov byte [esi], 0x41
inc esi
mov byte [esi], cl
jmp 0x3e799f
mov byte [esi], 0xfa
jmp 0x3e799f
mov byte [esi], 0xf9
inc esi
add ebx, 0x10
jmp 0x3e7c13
test cl, 7
jne 0x3e79be
cmp ecx, 0xf8
ja 0x3e79be
mov eax, ecx
shr eax, 3
or al, 0x40
jmp 0x3e79ce
cmp ecx, 0xff
ja 0x3e79d3
mov byte [esi], 0x40
mov al, cl
inc esi
dec al
mov byte [esi], al
inc esi
jmp 0x3e79dc
mov byte [esi], 0xf2
inc esi
mov word [esi], cx
inc esi
inc esi
cmp ecx, 8
jb 0x3e77e7
mov eax, dword [ebp + 0x1c]
mov edi, ecx
shr edi, 3
mov ecx, edi
shl ecx, 4
lea eax, [ebx + eax + 0xd]
add ebx, ecx
mov dword [ebp + 0x10], ebx
mov byte [esi], 0
movzx cx, byte [eax - 0xd]
movzx dx, byte [eax - 0xc]
shl cx, 8
or cx, dx
je 0x3e7a14
mov byte [esi], 1
movzx cx, byte [eax - 0xb]
movzx dx, byte [eax - 0xa]
shl cx, 8
or cx, dx
je 0x3e7a2a
or byte [esi], 2
movzx cx, byte [eax - 9]
movzx dx, byte [eax - 8]
shl cx, 8
or cx, dx
je 0x3e7a40
or byte [esi], 4
movzx cx, byte [eax - 7]
movzx dx, byte [eax - 6]
shl cx, 8
or cx, dx
je 0x3e7a56
or byte [esi], 8
movzx cx, byte [eax - 5]
movzx dx, byte [eax - 4]
shl cx, 8
or cx, dx
je 0x3e7a6c
or byte [esi], 0x10
movzx cx, byte [eax - 3]
movzx dx, byte [eax - 2]
shl cx, 8
or cx, dx
je 0x3e7a82
or byte [esi], 0x20
movzx cx, byte [eax - 1]
movzx dx, byte [eax]
shl cx, 8
or cx, dx
je 0x3e7a97
or byte [esi], 0x40
movzx cx, byte [eax + 1]
movzx dx, byte [eax + 2]
shl cx, 8
or cx, dx
je 0x3e7aad
or byte [esi], 0x80
mov ecx, dword [ebp - 0x24]
sub ecx, 8
inc esi
add eax, 0x10
dec edi
mov dword [ebp - 0x24], ecx
jne 0x3e79fb
jmp 0x3e77e7
mov eax, dword [edi + 4]
shr eax, 1
cmp eax, 0xf
ja 0x3e7ad4
or al, 0xe0
jmp 0x3e7ae1
cmp eax, 0x10f
ja 0x3e7ae6
mov byte [esi], pe_nt_image_headers32
inc esi
sub al, 0x10
mov byte [esi], al
inc esi
jmp 0x3e7aef
mov byte [esi], 0xf8
inc esi
mov word [esi], ax
inc esi
inc esi
mov eax, esi
sub eax, dword [ebp + 0xc]
add eax, 4
cmp eax, dword [ebp + 0x18]
ja 0x3e7c2b
mov ecx, dword [ebp + 8]
movzx ax, byte [ebx + ecx]
movzx dx, byte [ebx + ecx + 1]
shl ax, 8
or ax, dx
movzx eax, ax
mov byte [esi + 1], al
shr eax, 8
mov byte [esi], al
lea ecx, [ebx + ecx + 2]
movzx ax, byte [ecx]
movzx cx, byte [ecx + 1]
inc esi
shl ax, 8
inc esi
or ax, cx
movzx eax, ax
mov byte [esi + 1], al
shr eax, 8
mov byte [esi], al
jmp 0x3e7c0b
mov eax, dword [edi + 4]
cmp eax, 0x1f
ja 0x3e7b52
or al, 0x60
jmp 0x3e7b5f
cmp eax, 0x11f
ja 0x3e7b64
mov byte [esi], 0x60
inc esi
sub al, 0x20
mov byte [esi], al
inc esi
jmp 0x3e7b6d
mov byte [esi], 0xf3
inc esi
mov word [esi], ax
inc esi
inc esi
mov eax, dword [ebp + 8]
add eax, ebx
movzx cx, byte [eax + 1]
movzx ax, byte [eax]
shl ax, 8
or cx, ax
movzx eax, cx
jmp 0x3e7b39
movzx eax, word [ebp - 0x10]
cmp eax, dword [edi]
mov eax, dword [edi + 4]
je 0x3e7bd0
movzx ecx, word [edi]
mov dword [ebp - 0x10], ecx
cmp eax, 0xf
ja 0x3e7ba1
or al, 0xc0
jmp 0x3e7bb3
cmp eax, 0x10f
ja 0x3e7bb8
cmp eax, 2
jb 0x3e7c0d
mov byte [esi], 0xc0
inc esi
sub al, 0x10
mov byte [esi], al
inc esi
jmp 0x3e7bc6
cmp eax, 3
jb 0x3e7c0d
mov byte [esi], 0xf6
inc esi
mov word [esi], ax
inc esi
inc esi
mov byte [esi + 1], cl
shr ecx, 8
mov byte [esi], cl
jmp 0x3e7c0b
cmp eax, 0x1f
ja 0x3e7bd9
or al, 0x20
jmp 0x3e7bff
cmp eax, 0x11f
ja 0x3e7be5
mov byte [esi], 0x20
jmp 0x3e7bfc
mov byte [esi], 0xf1
jmp 0x3e7c07
mov eax, dword [edi + 4]
cmp eax, 0x1f
jbe 0x3e7bff
cmp eax, 0x11f
ja 0x3e7c04
mov byte [esi], 0
inc esi
sub al, 0x20
mov byte [esi], al
inc esi
jmp 0x3e7c0d
mov byte [esi], 0xf0
inc esi
mov word [esi], ax
inc esi
inc esi
mov eax, dword [edi + 4]
lea ebx, [ebx + eax*2]
mov dword [ebp + 0x10], ebx
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x14]
jl 0x3e7587
sub esi, dword [ebp + 0xc]
mov dword [ebp - 0x28], esi
pop edi
mov eax, dword [ebp - 0x28]
pop esi
pop ebx
leave
ret 0x20