Function at 0x431960
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b5a7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push esi
push edi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], al
mov byte [ebp - 4], 1
push 0x98
call fcn.004df872
add esp, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.004851e0
mov ebx, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x30], ebx
push 0
mov byte [ebp - 4], 3
mov eax, 0x7ffffffe
mov ecx, dword [ebp + 0x18]
sub eax, ecx
mov dword [ebp - 0x20], ecx
cmp eax, 0xf
jb 0x431eb7
cmp dword [ebp + 0x1c], 7
lea edx, [ebp + 8]
mov dword [ebp - 0x18], edx
jbe 0x431a09
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
xor eax, eax
lea esi, [ecx + 0xf]
mov dword [ebp - 0x4c], eax
mov ecx, 7
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x1c], eax
cmp esi, ecx
jbe 0x431a67
mov eax, esi
or eax, ecx
cmp eax, 0x7ffffffe
jbe 0x431a41
mov eax, 0x7ffffffe
jmp 0x431a4b
cmp eax, 0xa
jae 0x431a4b
mov eax, 0xa
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00476aa0
mov ecx, dword [ebp - 0x14]
add esp, 8
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x3c], esi
mov edi, eax
mov dword [ebp - 0x38], ecx
mov esi, str.authorization:
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
lea ecx, [eax + 0x1e]
movsw word es:[edi], word [esi]
mov esi, dword [ebp - 0x20]
lea eax, [esi + esi]
push eax
push dword [ebp - 0x18]
push ecx
call fcn.004e1370
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x4c]
xor ecx, ecx
mov dword [ebp - 0x10], 1
sub esp, 0xc
mov dword [ebp - 0x20], esp
mov word [eax + esi*2 + 0x1e], cx
mov ecx, esp
push ecx
call fcn.0046dfc0
mov byte [ebp - 4], 4
sub esp, 0x14
mov eax, esp
mov dword [ebp - 0x1c], esp
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 0xf
mov byte [eax], cl
mov byte [ebp - 4], 5
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x84], 0x899a8183
mov dword [ebp - 0x80], 0xc0899e84
mov dword [ebp - 0x7c], 0xdd9c9f8c
mov dword [ebp - 0x78], 0xd99c8492
mov dword [ebp - 0x74], 0x8fd6c181
mov dword [ebp - 0x70], 0x8d8f9988
mov dword [ebp - 0x6c], 0x676c40d0
mov word [ebp - 0x68], 0x100
lea esp, [esp]
lea eax, [ecx - 0x19]
xor byte [ebp + ecx - 0x84], al
inc ecx
cmp ecx, 0x1c
jb 0x431b20
sub esp, 0x18
mov byte [ebp - 0x67], 0
mov edx, esp
mov dword [ebp - 0x18], esp
xor eax, eax
lea ecx, [ebp - 0x84]
lea esi, [ecx + 1]
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x431b58
sub ecx, esi
lea eax, [ebp - 0x84]
push ecx
push eax
mov ecx, edx
call fcn.00402ea0
mov byte [ebp - 4], 6
push 0xb
push ecx
mov byte [ebp - 4], 3
mov ecx, ebx
call fcn.004859e0
mov eax, 1
mov dword [ebp - 0x10], eax
and eax, 0xfffffffe
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x38]
cmp ecx, 7
jbe 0x431bce
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x431bc4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431ebc
push ecx
push edx
call fcn.004dfaf3
add esp, 8
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov byte [ebp - 4], 0xb
mov eax, dword [ebx + 8]
test eax, eax
je 0x431bf4
push eax
call dword [0x544180]
mov eax, dword [ebx + 4]
test eax, eax
je 0x431c02
push eax
call dword [0x544180]
mov eax, dword [ebx]
test eax, eax
je 0x431c0f
push eax
call dword [0x544180]
mov byte [ebp - 4], 0xa
lea ecx, [ebx + 0x78]
call fcn.00402c80
mov byte [ebp - 4], 9
lea ecx, [ebx + 0x60]
call fcn.00402c80
mov byte [ebp - 4], 8
lea ecx, [ebx + 0x48]
call fcn.0046af40
mov byte [ebp - 4], 7
lea ecx, [ebx + 0x30]
call fcn.0046af40
mov byte [ebp - 4], 1
lea ecx, [ebx + 0xc]
call fcn.0046af40
cmp dword [ebp - 0x54], 0
je 0x431e4d
push 0
push 1
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x30], esp
mov dword [ebp - 0x20], eax
mov dword [eax + 0x24], 0
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 1
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x44]
call fcn.0046d980
add esp, 0x30
mov byte [ebp - 4], 0xe
cmp byte [ebp - 0x44], 1
jne 0x431e3e
mov dword [ebp - 0x34], 0x988c9b92
xor ecx, ecx
mov dword [ebp - 0x30], 0x8b808d85
mov word [ebp - 0x2c], 0x100
lea eax, [ecx - 0x19]
xor byte [ebp + ecx - 0x34], al
inc ecx
cmp ecx, 8
jb 0x431ca5
lea eax, [ebp - 0x34]
mov byte [ebp - 0x2b], 0
push eax
lea ecx, [ebp - 0x44]
call fcn.0046d4f0
cmp byte [eax], 3
jne 0x431e3e
mov dword [ebp - 0x31], 0x83888582
xor ecx, ecx
mov word [ebp - 0x2d], 0x87
mov byte [ebp - 0x2b], 1
mov edi, edi
lea eax, [ecx - 0x19]
xor byte [ebp + ecx - 0x31], al
inc ecx
cmp ecx, 5
jb 0x431ce0
lea eax, [ebp - 0x31]
mov byte [ebp - 0x2b], 0
push eax
lea ecx, [ebp - 0x44]
call fcn.0046d4f0
cmp byte [eax], 3
jne 0x431e3e
mov dword [ebp - 0x34], 0x988c9b92
xor ecx, ecx
mov dword [ebp - 0x30], 0x8b808d85
mov word [ebp - 0x2c], 0x100
lea esp, [esp]
lea eax, [ecx - 0x19]
xor byte [ebp + ecx - 0x34], al
inc ecx
cmp ecx, 8
jb 0x431d20
lea eax, [ebp - 0x34]
mov byte [ebp - 0x2b], 0
push eax
lea ecx, [ebp - 0x44]
call fcn.0046d4f0
lea ecx, [ebp - 0x80]
push ecx
mov ecx, eax
call fcn.0046d630
mov esi, eax
mov byte [ebp - 4], 0xf
mov ebx, dword [ebp - 0x24]
cmp ebx, esi
je 0x431d8f
mov ecx, ebx
call fcn.00402c80
mov ecx, dword [esi]
mov dword [ebx], ecx
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x80]
call fcn.00402c80
mov dword [ebp - 0x31], 0x83888582
xor ecx, ecx
mov word [ebp - 0x2d], 0x87
mov byte [ebp - 0x2b], 1
mov edi, edi
lea eax, [ecx - 0x19]
xor byte [ebp + ecx - 0x31], al
inc ecx
cmp ecx, 5
jb 0x431db0
lea eax, [ebp - 0x31]
mov byte [ebp - 0x2b], 0
push eax
lea ecx, [ebp - 0x44]
call fcn.0046d4f0
lea ecx, [ebp - 0x80]
push ecx
mov ecx, eax
call fcn.0046d630
mov esi, eax
mov byte [ebp - 4], 0x10
mov ebx, dword [ebp - 0x28]
cmp ebx, esi
je 0x431e1f
mov ecx, ebx
call fcn.00402c80
mov ecx, dword [esi]
mov dword [ebx], ecx
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x80]
call fcn.00402c80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x44]
call fcn.0046a270
mov bl, 1
jmp 0x431e4f
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x44]
call fcn.0046a270
xor bl, bl
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x50]
cmp ecx, 0xf
jbe 0x431e83
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x431e79
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431ec1
push ecx
push edx
call fcn.004dfaf3
add esp, 8
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0046af40
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004025a0
call fcn.004e4d70
call fcn.004e4d70
int3