Function at 0x428efc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x428f05
mov eax, dword [ebp - 4]
add esp, 0xfffffb20
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, 0xdee
call fcn.0040f04c
push eax
call fcn.0042bc00
pop ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00409f3c
mov byte [ebp - 9], al
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0xffffffff
jne 0x428f52
mov eax, 2
jmp 0x429932
cmp byte [ebp - 9], 0
je 0x428f8a
mov edx, dword [ebp - 4]
cmp byte [edx + 0x6e0f], 0
jne 0x428f8a
push 0
push 0
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004039b0
mov eax, 0xdf0
call fcn.0040f04c
push eax
call fcn.0042bc00
pop ecx
xor eax, eax
jmp 0x429932
lea eax, [ebp - 0x94]
mov edx, dword [ebp - 4]
call fcn.00403104
mov edx, 0x44510c
mov eax, dword [ebp - 4]
call fcn.0040a5c4
test eax, eax
je 0x42901b
lea eax, [ebp - 0xb0]
xor edx, edx
call fcn.0040e91c
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x6050]
lea eax, [ebp - 0xb0]
mov ecx, dword [ecx + 0x6054]
call fcn.0040e9dc
lea edx, [ebp - 0x24]
lea eax, [ebp - 0xb0]
mov ecx, 8
call fcn.0040eb00
lea edx, [ebp - 0x10]
lea eax, [ebp - 0xb0]
call fcn.0040ea64
lea edx, [ebp - 0x18]
lea eax, [ebp - 0xb0]
call fcn.0040eab8
mov byte [ebp - 0x19], 1
lea eax, [ebp - 0xb0]
mov edx, 2
call fcn.004029a4
jmp 0x42930b
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, dword [ecx + 0x6e14]
push edx
push eax
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004039b0
mov edx, 0x78
mov eax, dword [ebp - 4]
call fcn.0040a56c
test eax, eax
je 0x429080
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ax, word [ecx + 0x6e1a]
cmp ax, word [edx + 0x6138]
jne 0x429080
mov ecx, dword [ebp - 4]
movzx eax, word [ecx + 0x614a]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x614c]
xor edx, edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov byte [ebp - 0x19], 0
jmp 0x42930b
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x6df8], 0
mov dword [ecx + 0x6dfc], 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004039b0
lea edx, [ebp - 0x20b0]
mov ecx, 0x2000
mov eax, dword [ebp - 4]
call fcn.00403838
mov edi, eax
test edi, edi
je 0x4292be
xor esi, esi
jmp 0x4292a3
lea ebx, [ebp - 0x20b0]
add ebx, esi
cmp byte [ebx + 2], 0x7a
jne 0x4291ef
push 8
push str.Protect
lea eax, [ebx + 0x22]
push eax
call fcn.0043be1c
add esp, 0xc
test eax, eax
jne 0x4291ef
xor ecx, ecx
xor edx, edx
mov cl, byte [ebx + 1]
mov dl, byte [ebx]
shl ecx, 8
add dx, cx
mov ecx, 0x34
not dx
and dx, 0xffff
or eax, 0xffffffff
mov word [ebp - 0x2e], dx
lea edx, [ebx + 2]
call fcn.0040c898
and eax, 0xffff
movzx edx, word [ebp - 0x2e]
cmp eax, edx
jne 0x4292a2
xor ecx, ecx
xor eax, eax
mov cl, byte [ebx + 0x2b]
mov al, byte [ebx + 0x2a]
shl ecx, 8
xor edx, edx
add eax, ecx
mov dl, byte [ebx + 0x2c]
xor ecx, ecx
mov cl, byte [ebx + 0x2d]
shl edx, 0x10
shl ecx, 0x18
add eax, edx
add eax, ecx
xor edx, edx
mov dword [ebp - 0x10], eax
xor eax, eax
mov dl, byte [ebx + 0x2f]
mov al, byte [ebx + 0x2e]
shl edx, 8
xor ecx, ecx
add eax, edx
mov cl, byte [ebx + 0x30]
xor edx, edx
mov dl, byte [ebx + 0x31]
shl ecx, 0x10
shl edx, 0x18
add eax, ecx
add eax, edx
xor edx, edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
xor edx, edx
xor eax, eax
mov dl, byte [ebx + 0x33]
mov al, byte [ebx + 0x32]
shl edx, 8
xor ecx, ecx
add eax, edx
mov cl, byte [ebx + 0x34]
xor edx, edx
mov dl, byte [ebx + 0x35]
shl ecx, 0x10
shl edx, 0x18
add eax, ecx
add eax, edx
xor edx, edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x38]
xor eax, eax
add dword [ebp - 0x18], eax
adc dword [ebp - 0x14], edx
mov eax, esi
cdq
add eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 4]
adc edx, dword [ebp - 0x28]
mov dword [ecx + 0x6df8], eax
mov dword [ecx + 0x6dfc], edx
mov byte [ebp - 0x19], 1
jmp 0x4292ae
cmp byte [ebx + 2], 0x78
jne 0x4292a2
push 8
push str.Protect_
lea eax, [ebx + 0x12]
push eax
call fcn.0043be1c
add esp, 0xc
test eax, eax
jne 0x4292a2
xor ecx, ecx
xor edx, edx
mov cl, byte [ebx + 1]
mov dl, byte [ebx]
shl ecx, 8
add edx, ecx
mov ecx, 0x18
not edx
and edx, 0xffff
or eax, 0xffffffff
mov dword [ebp - 0x3c], edx
lea edx, [ebx + 2]
call fcn.0040c898
and eax, 0xffff
cmp eax, dword [ebp - 0x3c]
jne 0x4292a2
xor edx, edx
xor eax, eax
mov dl, byte [ebx + 0xd]
mov al, byte [ebx + 0xc]
shl edx, 8
xor ecx, ecx
add eax, edx
xor edx, edx
mov dword [ebp - 0x10], eax
xor eax, eax
mov dl, byte [ebx + 0xf]
mov al, byte [ebx + 0xe]
shl edx, 8
mov cl, byte [ebx + 0x10]
add eax, edx
xor edx, edx
mov dl, byte [ebx + 0x11]
shl ecx, 0x10
shl edx, 0x18
add eax, ecx
add eax, edx
xor edx, edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov eax, esi
mov ecx, dword [ebp - 4]
cdq
add eax, dword [ebp - 0x2c]
adc edx, dword [ebp - 0x28]
mov dword [ecx + 0x6df8], eax
mov dword [ecx + 0x6dfc], edx
mov byte [ebp - 0x19], 0
jmp 0x4292ae
inc esi
lea eax, [edi - 0x32]
cmp esi, eax
jl 0x4290d9
add dword [ebp - 0x2c], 0x1fce
adc dword [ebp - 0x28], 0
jmp 0x4290a5
mov edx, dword [ebp - 4]
cmp dword [edx + 0x6dfc], 0
jne 0x42930b
cmp dword [edx + 0x6df8], 0
jne 0x42930b
push 0
push 0
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004039b0
mov eax, 0xdf0
call fcn.0040f04c
push eax
call fcn.0042bc00
pop ecx
xor eax, eax
push eax
lea eax, [ebp - 0x94]
mov edx, 2
call fcn.00403128
pop eax
jmp 0x429932
mov eax, 0xdf2
call fcn.0040f04c
push eax
call fcn.0042bc00
pop ecx
push 0
push 0
push 0
push 0
or edx, 0xffffffff
mov eax, dword [ebp - 4]
call fcn.00429ea3
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x6df8]
mov dword [ebp - 0x44], ecx
mov ecx, dword [edx + 0x6dfc]
mov dword [ebp - 0x40], ecx
xor ecx, ecx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x6df8]
mov dword [ebp - 0x4c], edx
mov edx, dword [eax + 0x6dfc]
mov eax, 0x36
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x50], ecx
cmp byte [ebp - 0x19], 0
jne 0x42936c
add eax, 0xffffffe4
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 4]
cmp byte [edx + 0x6e10], 0
je 0x42938a
mov ecx, dword [ebp - 0x58]
not ecx
inc ecx
and ecx, 0xf
add ecx, 8
add dword [ebp - 0x58], ecx
mov eax, dword [ebp - 0x58]
cdq
add eax, dword [ebp - 0x4c]
adc edx, dword [ebp - 0x48]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
lea eax, [ebp - 0x22bc]
call fcn.0042acb8
lea eax, [ebp - 0x22c8]
call fcn.00401198
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x40]
push dword [ebp - 0x44]
lea ecx, [ebp - 0x22c8]
lea edx, [ebp - 0x22bc]
mov eax, dword [ebp - 4]
call fcn.0042999f
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x22d4]
shl edx, 9
call fcn.00403e58
push dword [ebp - 0x22d0]
push 0
push dword [ebp - 0x22d4]
call fcn.0043bba4
add esp, 0xc
xor edx, edx
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004039b0
xor edx, edx
mov dword [ebp - 0x64], edx
jmp 0x4294e4
call fcn.0040c348
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x48]
sub eax, dword [ebp - 0x44]
sbb edx, dword [ebp - 0x40]
push edx
push eax
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00429ea3
mov ecx, dword [ebp - 0x64]
cmp ecx, dword [ebp - 0x22b8]
jge 0x42949b
mov eax, dword [ebp - 4]
call fcn.00403a68
mov ecx, dword [ebp - 0x22bc]
mov ebx, dword [ebp - 0x64]
cmp edx, dword [ecx + ebx*8 + 4]
jne 0x429467
cmp eax, dword [ecx + ebx*8]
jb 0x42949b
jmp 0x429469
jl 0x42949b
mov eax, dword [ebp - 0x22c8]
mov edx, dword [ebp - 0x64]
mov eax, dword [eax + edx*4]
cdq
push edx
push eax
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004039b0
mov ecx, dword [ebp - 0x22c8]
mov eax, dword [ebp - 0x64]
mov eax, dword [ecx + eax*4]
cdq
sub dword [ebp - 0x44], eax
sbb dword [ebp - 0x40], edx
inc dword [ebp - 0x64]
lea ecx, [ebp - 0x44]
push ecx
push 1
lea edx, [ebp - 0x22b0]
mov ecx, pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00429e31
mov edx, dword [ebp - 0x50]
shl edx, 9
add edx, dword [ebp - 0x22d4]
xor eax, eax
mov cl, byte [ebp + eax - 0x22b0]
xor byte [edx + eax], cl
inc eax
cmp eax, 0x200
jl 0x4294c2
inc dword [ebp - 0x50]
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x10]
jb 0x4294e4
xor edx, edx
mov dword [ebp - 0x50], edx
cmp dword [ebp - 0x40], 0
jne 0x4294f6
cmp dword [ebp - 0x44], 0
ja 0x429418
jmp 0x4294fc
jg 0x429418
push 0
push 0x64
push 0
push 0x64
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00429ea3
push 0
push 2
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.0043e820
add eax, dword [ebp - 0x60]
adc edx, dword [ebp - 0x5c]
push edx
push eax
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004039b0
xor ebx, ebx
jmp 0x429569
lea edx, [ebp - 0x22b0]
mov ecx, pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00403838
mov edx, ebx
shl edx, 9
add edx, dword [ebp - 0x22d4]
xor eax, eax
mov cl, byte [ebp + eax - 0x22b0]
xor byte [edx + eax], cl
inc eax
cmp eax, 0x200
jl 0x429556
inc ebx
cmp ebx, dword [ebp - 0x10]
jb 0x429536
push 0
push 0
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004039b0
mov ecx, dword [ebp - 0x60]
xor edx, edx
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x68], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x74], ecx
xor eax, eax
mov dword [ebp - 0x78], 0xffffffff
mov dword [ebp - 0x50], eax
xor edx, edx
mov dword [ebp - 0x64], edx
jmp 0x42988c
call fcn.0040c348
mov ecx, dword [ebp - 0x64]
cmp ecx, dword [ebp - 0x22b8]
jge 0x429616
mov eax, dword [ebp - 4]
call fcn.00403a68
mov ecx, dword [ebp - 0x22bc]
mov ebx, dword [ebp - 0x64]
cmp edx, dword [ecx + ebx*8 + 4]
jne 0x4295e2
cmp eax, dword [ecx + ebx*8]
jb 0x429616
jmp 0x4295e4
jl 0x429616
mov eax, dword [ebp - 0x22c8]
mov edx, dword [ebp - 0x64]
mov eax, dword [eax + edx*4]
cdq
push edx
push eax
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004039b0
mov ecx, dword [ebp - 0x22c8]
mov eax, dword [ebp - 0x64]
mov eax, dword [ecx + eax*4]
cdq
sub dword [ebp - 0x44], eax
sbb dword [ebp - 0x40], edx
inc dword [ebp - 0x64]
lea ecx, [ebp - 0x44]
push ecx
push 1
lea edx, [ebp - 0x22b0]
mov ecx, pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00429e31
mov dword [ebp - 0x7c], eax
lea edx, [ebp - 0x22b0]
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ebp - 8]
call fcn.00403674
lea edx, [ebp - 0x22b0]
mov ecx, pe_nt_image_headers32
or eax, 0xffffffff
call fcn.0040c898
mov edi, eax
and edi, 0xffff
lea eax, [ebp - 0x22e4]
mov edx, dword [ebp - 4]
call fcn.00403104
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004039b0
mov eax, dword [ebp - 4]
call fcn.00403b04
xor ebx, ebx
mov bl, al
mov eax, dword [ebp - 4]
call fcn.00403b04
xor edx, edx
mov dl, al
lea eax, [ebp - 0x22e4]
shl edx, 8
add ebx, edx
mov edx, 2
mov dword [ebp - 0x80], ebx
add dword [ebp - 0x6c], 2
adc dword [ebp - 0x68], 0
call fcn.00403128
cmp edi, dword [ebp - 0x80]
jne 0x4296ce
push 1
lea ecx, [ebp - 0x78]
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x78]
call fcn.00429939
jmp 0x429879
push pe_nt_image_headers32
lea ecx, [ebp - 0x22b0]
push ecx
lea eax, [ebp - 0x24e4]
push eax
call fcn.0043bb34
add esp, 0xc
mov ebx, dword [ebp - 0x50]
shl ebx, 9
add ebx, dword [ebp - 0x22d4]
mov byte [ebp - 0x81], 0
xor eax, eax
mov dl, byte [ebx + eax]
xor byte [ebp + eax - 0x22b0], dl
inc eax
cmp eax, 0x200
jl 0x4296fe
lea edx, [ebp - 0x22b0]
mov ecx, pe_nt_image_headers32
or eax, 0xffffffff
call fcn.0040c898
mov edi, eax
and edi, 0xffff
cmp edi, dword [ebp - 0x80]
jne 0x42973c
mov byte [ebp - 0x81], 1
jmp 0x429809
mov esi, 1
push pe_nt_image_headers32
lea eax, [ebp - 0x24e4]
push eax
lea edx, [ebp - 0x22b0]
push edx
call fcn.0043bb34
add esp, 0xc
xor eax, eax
jmp 0x42976b
mov dl, byte [ebx + eax]
xor byte [ebp + eax - 0x22b0], dl
inc eax
mov ecx, esi
shl ecx, 6
cmp eax, ecx
jl 0x429760
lea edx, [ebp - 0x22b0]
mov ecx, pe_nt_image_headers32
or eax, 0xffffffff
call fcn.0040c898
mov edi, eax
and edi, 0xffff
cmp edi, dword [ebp - 0x80]
jne 0x42979d
mov byte [ebp - 0x81], 1
jmp 0x429809
push pe_nt_image_headers32
lea eax, [ebp - 0x24e4]
push eax
lea edx, [ebp - 0x22b0]
push edx
call fcn.0043bb34
add esp, 0xc
mov eax, esi
shl eax, 6
cmp eax, 0x200
jge 0x4297d6
mov dl, byte [ebx + eax]
xor byte [ebp + eax - 0x22b0], dl
inc eax
cmp eax, 0x200
jl 0x4297c4
lea edx, [ebp - 0x22b0]
mov ecx, pe_nt_image_headers32
or eax, 0xffffffff
call fcn.0040c898
mov edi, eax
and edi, 0xffff
cmp edi, dword [ebp - 0x80]
jne 0x4297ff
mov byte [ebp - 0x81], 1
jmp 0x429809
inc esi
cmp esi, 4
jl 0x429741
cmp byte [ebp - 0x81], 0
je 0x42986a
push 1
lea ecx, [ebp - 0x78]
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x78]
call fcn.00429939
push 0
lea ecx, [ebp - 0x78]
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x70]
inc edx
call fcn.00429939
mov eax, dword [ebp - 8]
call fcn.00403a68
push edx
push eax
mov eax, dword [ebp - 0x7c]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.004039b0
lea edx, [ebp - 0x22b0]
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ebp - 8]
call fcn.00403674
jmp 0x429879
inc dword [ebp - 0x74]
cmp dword [ebp - 0x78], 0xffffffff
jne 0x429879
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
inc dword [ebp - 0x70]
inc dword [ebp - 0x50]
mov edx, dword [ebp - 0x50]
cmp edx, dword [ebp - 0x10]
jb 0x42988c
xor ecx, ecx
mov dword [ebp - 0x50], ecx
cmp dword [ebp - 0x40], 0
jne 0x42989e
cmp dword [ebp - 0x44], 0
ja 0x4295b4
jmp 0x4298a4
jg 0x4295b4
push 1
lea ecx, [ebp - 0x78]
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x78]
call fcn.00429939
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004039b0
push 0x80000000
push 0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00403da4
push 0
push 0
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004039b0
cmp dword [ebp - 0x74], 0
mov eax, 1
jne 0x4298f0
inc eax
push eax
lea eax, [ebp - 0x22d4]
mov edx, 2
call fcn.00401244
lea eax, [ebp - 0x22c8]
mov edx, 2
call fcn.004011ec
lea eax, [ebp - 0x22bc]
mov edx, 2
call fcn.0042acc8
lea eax, [ebp - 0x94]
mov edx, 2
call fcn.00403128
pop eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret