Function at 0x445065
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff44c
push ebx
push esi
push edi
mov byte [ebp - 6], cl
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
mov ebx, 0x4a9228
lea eax, [ebx + 0x34]
call fcn.00461d38
mov dword [ebp - 0xc], eax
cmp edi, 0xffffffff
jne 0x4450eb
mov edi, dword [ebp - 0xc]
xor esi, esi
cmp edi, esi
jle 0x4450eb
push esi
lea eax, [ebx + 0x34]
push eax
lea edx, [ebp - 0x2b0]
push edx
call fcn.0049bdcc
add esp, 0xc
lea ecx, [ebx + 0xb]
lea edx, [ebx + 0x40]
lea eax, [ebp - 0x2b0]
push ecx
lea ecx, [ebp - 0x260]
push pe_nt_image_headers32
call fcn.004619ec
push dword [ebp + 0xc]
lea eax, [ebp - 0x260]
push eax
call fcn.00498e30
add esp, 8
test eax, eax
jne 0x4450e6
mov edi, esi
jmp 0x4450eb
inc esi
cmp edi, esi
jg 0x44509b
cmp dword [ebp + 8], 0
je 0x445103
lea eax, [ebp - 0x60]
mov ecx, 0x50
mov edx, dword [ebp + 8]
call fcn.0040f778
jmp 0x445114
push edi
lea eax, [ebx + 0x34]
push eax
lea edx, [ebp - 0x60]
push edx
call fcn.0049bdcc
add esp, 0xc
lea edx, [ebx + 0x40]
lea eax, [ebp - 0x60]
mov ecx, dword [ebp + 0xc]
call fcn.004617c8
cmp byte [ebp - 6], 0
je 0x445159
xor esi, esi
cmp esi, dword [ebp - 0xc]
jge 0x445159
push esi
lea eax, [ebx + 0x34]
push eax
lea edx, [ebp - 0x300]
push edx
call fcn.0049bdcc
add esp, 0xc
lea edx, [ebx + 0x45]
lea eax, [ebp - 0x300]
xor ecx, ecx
call fcn.004618f0
inc esi
cmp esi, dword [ebp - 0xc]
jl 0x44512f
xor ecx, ecx
mov cl, byte [ebp - 6]
lea edx, [ebx + 0x45]
lea eax, [ebp - 0x60]
call fcn.004618f0
lea edx, [ebx + 0x63]
lea eax, [ebp - 0x60]
call fcn.00461cd0
lea edx, [ebx + 0x6b]
lea eax, [ebp - 0x60]
call fcn.00461cd0
lea edx, [ebx + 0x75]
lea eax, [ebp - 0x60]
xor ecx, ecx
call fcn.004618f0
cmp dword [ebp - 4], 0
je 0x445261
push 0x6b
push dword [ebp - 4]
call fcn.004a2f34
mov ecx, eax
lea edx, [ebx + 0x75]
lea eax, [ebp - 0x60]
call fcn.004618f0
push 0x66
push dword [ebp - 4]
call fcn.004a2f34
test eax, eax
je 0x4451e2
push 0x400
lea eax, [ebp - 0x700]
push eax
push 0x67
push dword [ebp - 4]
call fcn.004a2e68
lea ecx, [ebp - 0x700]
lea edx, [ebx + 0x63]
lea eax, [ebp - 0x60]
call fcn.004617c8
push 0x68
push dword [ebp - 4]
call fcn.004a2f34
test eax, eax
je 0x445261
push 0x69
push dword [ebp - 4]
call fcn.004a2e5c
mov edi, eax
push edi
call fcn.004a2ee6
add eax, 0xa
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add eax, eax
push eax
call fcn.0049768c
pop ecx
mov esi, eax
mov ecx, dword [ebp - 0x10]
mov edx, esi
mov eax, edi
call fcn.00464078
lea edx, [ebx + 0x6b]
lea eax, [ebp - 0x60]
mov ecx, esi
call fcn.00461828
push esi
call fcn.004974c8
cmp byte [ebp - 5], 0
pop ecx
jne 0x445261
lea eax, [ebp - 0xb00]
push eax
push 0x400
call fcn.004a290a
lea ecx, [ebp - 0xb00]
lea edx, [ebx + 0x9a]
lea eax, [ebp - 0x60]
call fcn.004617c8
cmp byte [ebp - 5], 0
jne 0x4457f0
mov eax, dword [0x4c0544]
call fcn.00443998
mov esi, eax
mov eax, esi
call fcn.0040f4fc
mov ecx, eax
lea edx, [ebx + 0xa1]
lea eax, [ebp - 0x60]
call fcn.004617c8
push esi
call fcn.004974c8
pop ecx
mov eax, dword [0x4c0550]
call fcn.00443998
mov esi, eax
mov eax, esi
call fcn.0040f4fc
mov ecx, eax
lea edx, [ebx + 0xac]
lea eax, [ebp - 0x60]
call fcn.004617c8
push esi
call fcn.004974c8
pop ecx
cmp dword [0x4be4f0], 0
sete cl
and ecx, 1
lea edx, [ebx + 0x144]
lea eax, [ebp - 0x60]
call fcn.004618f0
mov ecx, 0x4bbe50
lea edx, [ebx + 0x14b]
lea eax, [ebp - 0x60]
call fcn.004617c8
lea edx, [ebx + 0x155]
lea eax, [ebp - 0x60]
call fcn.00461cd0
mov ecx, 0x4be4f5
lea edx, [ebx + 0x159]
lea eax, [ebp - 0x60]
call fcn.004617c8
mov ecx, 0x4be8f5
lea edx, [ebx + 0x16d]
lea eax, [ebp - 0x60]
call fcn.004617c8
xor ecx, ecx
mov cl, byte [0x4becf5]
lea edx, [ebx + 0x175]
lea eax, [ebp - 0x60]
call fcn.004618f0
mov ecx, 0x4bce50
lea edx, [ebx + 0x180]
lea eax, [ebp - 0x60]
call fcn.004617c8
cmp byte [0x4bce50], 0
je 0x445358
lea esi, [ebx + 0xb]
jmp 0x445364
mov eax, dword [0x4ca2ac]
call fcn.0040f4fc
mov esi, eax
push esi
call fcn.00498eac
pop ecx
inc eax
push eax
lea edx, [ebx + 0x188]
lea eax, [ebp - 0x60]
mov ecx, esi
call fcn.00461940
cmp dword [0x4bdb14], 0x80000000
jne 0x4453aa
cmp dword [0x4bdb10], 0
jne 0x4453aa
lea eax, [ebx + 0x3a8]
push eax
lea edx, [ebp - 0xb34]
push edx
call fcn.00498e7c
add esp, 8
jmp 0x4453c1
push dword [0x4bdb14]
push dword [0x4bdb10]
lea eax, [ebp - 0xb34]
call fcn.0040bd58
lea ecx, [ebp - 0xb34]
lea edx, [ebx + 0x19c]
lea eax, [ebp - 0x60]
call fcn.004617c8
xor ecx, ecx
mov cl, byte [0x4bdc0f]
lea edx, [ebx + 0x1af]
lea eax, [ebp - 0x60]
call fcn.004618f0
xor ecx, ecx
mov cl, byte [0x4bdc0c]
lea edx, [ebx + 0x1b8]
lea eax, [ebp - 0x60]
call fcn.004618f0
lea edx, [ebx + 0x1c4]
lea eax, [ebp - 0x60]
mov ecx, dword [0x4bdaf0]
call fcn.004618f0
xor ecx, ecx
mov cl, byte [0x4bdb05]
lea edx, [ebx + 0x1d1]
lea eax, [ebp - 0x60]
call fcn.004618f0
xor ecx, ecx
mov cl, byte [0x4bdb04]
lea edx, [ebx + 0x1d8]
lea eax, [ebp - 0x60]
call fcn.004618f0
xor ecx, ecx
mov cl, byte [0x4bdb45]
lea edx, [ebx + 0x1de]
lea eax, [ebp - 0x60]
call fcn.004618f0
xor ecx, ecx
mov cl, byte [0x4bdb44]
lea edx, [ebx + 0x1e8]
lea eax, [ebp - 0x60]
call fcn.004618f0
lea edx, [ebx + 0x1ed]
lea eax, [ebp - 0x60]
mov ecx, dword [0x4bdaf8]
call fcn.004618f0
xor ecx, ecx
mov cl, byte [0x4bdb02]
lea edx, [ebx + 0x1f3]
lea eax, [ebp - 0x60]
call fcn.004618f0
xor ecx, ecx
mov cl, byte [0x4bdc0e]
lea edx, [ebx + 0x1f6]
lea eax, [ebp - 0x60]
call fcn.004618f0
lea edx, [ebx + 0x1fb]
lea eax, [ebp - 0x60]
mov ecx, dword [0x4bdaec]
call fcn.004618f0
xor ecx, ecx
mov cl, byte [0x4bdb41]
lea edx, [ebx + 0x204]
lea eax, [ebp - 0x60]
call fcn.004618f0
xor ecx, ecx
mov cl, byte [0x4bdb01]
lea edx, [ebx + 0x20e]
lea eax, [ebp - 0x60]
call fcn.004618f0
xor ecx, ecx
mov cl, byte [0x4bdb00]
lea edx, [ebx + 0x219]
lea eax, [ebp - 0x60]
call fcn.004618f0
xor ecx, ecx
mov cl, byte [0x4bdc0d]
lea edx, [ebx + 0x222]
lea eax, [ebp - 0x60]
call fcn.004618f0
lea edx, [ebx + 0x227]
lea eax, [ebp - 0x60]
mov ecx, dword [0x4bdae8]
call fcn.004618f0
lea edx, [ebx + 0x22e]
lea eax, [ebp - 0x60]
mov ecx, dword [0x4bba4c]
call fcn.004618f0
xor ecx, ecx
mov cl, byte [0x4becf6]
lea edx, [ebx + 0x276]
lea eax, [ebp - 0x60]
call fcn.004618f0
xor ecx, ecx
mov cl, byte [0x4becf7]
lea edx, [ebx + 0x281]
lea eax, [ebp - 0x60]
call fcn.004618f0
xor ecx, ecx
mov cl, byte [0x4be0d6]
lea edx, [ebx + 0x28e]
lea eax, [ebp - 0x60]
call fcn.004618f0
push 0x4bd658
lea eax, [ebp - 0xbb4]
push eax
call fcn.00498e7c
add esp, 8
lea edx, [ebp - 0xbb4]
push edx
call fcn.00498eac
pop ecx
mov edx, eax
inc edx
xor eax, eax
cmp edx, eax
jle 0x4455be
mov ecx, eax
add cl, 0x49
xor byte [ebp + eax - 0xbb4], cl
inc eax
cmp edx, eax
jg 0x4455ad
push edx
lea ecx, [ebp - 0xbb4]
lea eax, [ebp - 0x60]
lea edx, [ebx + 0x239]
call fcn.00461940
xor ecx, ecx
mov cl, byte [0x4bd6d8]
lea edx, [ebx + 0x242]
lea eax, [ebp - 0x60]
call fcn.004618f0
xor ecx, ecx
mov cl, byte [0x4bdb42]
lea edx, [ebx + 0x251]
lea eax, [ebp - 0x60]
call fcn.004618f0
xor ecx, ecx
mov cl, byte [0x4bdb34]
lea edx, [ebx + 0x25c]
lea eax, [ebp - 0x60]
call fcn.004618f0
xor ecx, ecx
mov cl, byte [0x4bdb98]
lea edx, [ebx + 0x26a]
lea eax, [ebp - 0x60]
call fcn.004618f0
xor ecx, ecx
mov cl, byte [0x4bdb46]
lea edx, [ebx + 0x297]
lea eax, [ebp - 0x60]
call fcn.004618f0
lea edx, [ebx + 0x2a7]
lea eax, [ebp - 0x60]
mov ecx, dword [0x4be0d0]
call fcn.004618f0
mov ecx, 0x4bdb47
lea edx, [ebx + 0x2b6]
lea eax, [ebp - 0x60]
call fcn.004617c8
lea edx, [ebx + 0x2e1]
lea eax, [ebp - 0x60]
mov ecx, dword [0x4ca2b4]
call fcn.004618f0
lea edx, [ebx + 0x2ee]
lea eax, [ebp - 0x60]
mov ecx, dword [0x4ca2b8]
call fcn.004618f0
lea edx, [ebx + 0x2f7]
lea eax, [ebp - 0x60]
mov ecx, dword [0x4ca2bc]
call fcn.004618f0
lea edx, [ebx + 0x301]
lea eax, [ebp - 0x60]
mov ecx, dword [0x4ca2c0]
call fcn.004618f0
mov eax, 0x4bdba4
call fcn.00414478
mov ecx, eax
lea edx, [ebx + 0x317]
lea eax, [ebp - 0x60]
call fcn.004618f0
mov eax, 0x4bdbd0
call fcn.00414478
mov ecx, eax
lea edx, [ebx + 0x326]
lea eax, [ebp - 0x60]
call fcn.004618f0
cmp dword [0x4bdb2c], 1
sete cl
and ecx, 1
lea edx, [ebx + 0x334]
lea eax, [ebp - 0x60]
call fcn.004618f0
cmp dword [0x4bdb2c], 2
sete cl
and ecx, 1
lea edx, [ebx + 0x344]
lea eax, [ebp - 0x60]
call fcn.004618f0
lea edx, [ebx + 0x352]
lea eax, [ebp - 0x60]
mov ecx, dword [0x4be0d8]
call fcn.004618f0
lea edx, [ebx + 0x358]
lea eax, [ebp - 0x60]
mov ecx, dword [0x4be0dc]
call fcn.004618f0
lea edx, [ebx + 0x35e]
lea eax, [ebp - 0x60]
mov ecx, dword [0x4be0e0]
call fcn.004618f0
cmp dword [0x4bdb08], 3
sete cl
and ecx, 1
lea edx, [ebx + 0x364]
lea eax, [ebp - 0x60]
call fcn.004618f0
cmp dword [0x4bdb08], 2
sete cl
and ecx, 1
lea edx, [ebx + 0x36d]
lea eax, [ebp - 0x60]
call fcn.004618f0
cmp dword [0x4bdb08], 5
sete cl
and ecx, 1
lea edx, [ebx + 0x377]
lea eax, [ebp - 0x60]
call fcn.004618f0
xor ecx, ecx
mov cl, byte [0x4ca2c6]
lea edx, [ebx + 0x385]
lea eax, [ebp - 0x60]
call fcn.004618f0
mov ecx, 0x4bdcd0
lea edx, [ebx + 0x391]
lea eax, [ebp - 0x60]
call fcn.004617c8
push 0xc0
mov ecx, 0x4bdc10
lea edx, [ebx + 0x39c]
lea eax, [ebp - 0x60]
call fcn.00461940
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc