Function at 0x420620
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506d49
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebx
push esi
push edi
mov byte [ebp - 0x15], dl
mov ebx, ecx
mov dword [ebp - 4], 1
xor ecx, ecx
mov dword [ebp - 0x14], 0xc6c482
mov byte [ebp - 0x10], 1
lea ebx, [ebx]
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 0x14], al
inc ecx
cmp ecx, 3
jb 0x420660
lea edx, [ebp - 0x14]
mov byte [ebp - 0x10], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x420677
mov edi, dword [ebp + 0x34]
sub edx, ecx
lea ecx, [ebp + 0x20]
cmp edi, 0x10
jb 0x42068e
mov ecx, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x30]
lea eax, [ebp - 0x14]
push eax
push 0
call fcn.0046feb0
add esp, 0xc
test eax, eax
je 0x4206f9
mov dword [ebp - 0x14], 0xc7c482
xor ecx, ecx
mov byte [ebp - 0x10], 1
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 0x14], al
inc ecx
cmp ecx, 3
jb 0x4206b1
lea esi, [ebp - 0x14]
mov byte [ebp - 0x10], 0
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4206c8
sub esi, ecx
lea ecx, [ebp + 0x20]
cmp edi, 0x10
jb 0x4206dc
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x30]
lea eax, [ebp - 0x14]
push esi
push eax
push 0
call fcn.0046feb0
add esp, 0xc
test eax, eax
je 0x4206f9
xor bl, bl
jmp 0x420c29
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
cmp ecx, 5
jb 0x420cae
add ecx, 0xfffffffb
cmp ecx, 0xffffffff
jb 0x420724
or ecx, 0xffffffff
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
jb 0x420730
mov eax, dword [ebp + 8]
push ecx
add eax, 5
lea ecx, [ebp - 0x3c]
push eax
call fcn.00402ae0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x420771
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x420767
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420cbd
push ecx
push edx
call fcn.004df511
add esp, 8
mov eax, dword [ebp - 0x38]
xor ecx, ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp + 0x18], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x3c], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0x1c], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], cl
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
cmp eax, 0x10
jb 0x4207be
mov ecx, edx
push ecx
lea edx, [ebp - 0x3c]
call fcn.00420500
add esp, 4
lea eax, [ebp - 0x3c]
cmp dword [ebp - 0x28], 0x10
jb 0x4207d6
mov eax, dword [ebp - 0x3c]
push dword [ebp - 0x2c]
lea ecx, [ebp + 8]
push eax
call fcn.0046a350
cmp byte [ebp - 0x15], 0
lea edx, [ebp + 8]
je 0x4208a3
cmp dword [ebp + 0x1c], 0x10
jb 0x4207f8
mov edx, dword [ebp + 8]
cmp dword [ebp + 0x34], 0x10
lea esi, [ebp + 0x20]
mov edi, dword [ebp + 0x30]
jb 0x420807
mov esi, dword [ebp + 0x20]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14], esp
push dword [ebp + 0x18]
call fcn.00402280
sub esp, 0x14
mov byte [ebp - 4], 3
mov ecx, esp
mov edx, esi
push edi
call fcn.00402280
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.00420010
add esp, 0x30
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x420863
lea ecx, [ebp - 0x54]
cmp ebx, ecx
je 0x420861
cmp dword [ebp - 0x40], 0x10
jb 0x420855
mov ecx, dword [ebp - 0x54]
push eax
push ecx
mov ecx, ebx
call fcn.0046a350
mov eax, dword [ebp - 0x44]
test eax, eax
mov ecx, dword [ebp - 0x40]
setne bl
cmp ecx, 0x10
jb 0x420bf2
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x420894
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420cb3
push ecx
push edx
call fcn.004df511
add esp, 8
jmp 0x420bf2
cmp dword [ebp + 0x1c], 0x10
mov word [ebp - 0x12], 0x2a
mov byte [ebp - 0x10], 0
jb 0x4208b6
mov edx, dword [ebp + 8]
push dword [ebp + 0x18]
lea ecx, [ebp - 0xcc]
call fcn.00402280
add esp, 4
mov esi, eax
mov byte [ebp - 4], 5
lea edx, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
mov word [ebp - 0x23], 0x5f
mov byte [ebp - 0x21], 0
jb 0x4208e3
mov edx, dword [ebp + 0x20]
push dword [ebp + 0x30]
lea ecx, [ebp - 0xb4]
call fcn.00402280
add esp, 4
mov edx, eax
mov byte [ebp - 4], 6
xor ecx, ecx
mov dword [ebp - 0x1f], 0xcfb5bbb1
mov dword [ebp - 0x1b], 0xa4d0cac1
mov word [ebp - 0x17], 0x100
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 8
jb 0x420910
push edx
lea edx, [ebp - 0x1f]
mov byte [ebp - 0x16], 0
lea ecx, [ebp - 0x9c]
call fcn.0046e530
add esp, 4
lea ecx, [ebp - 0x23]
mov byte [ebp - 4], 7
push ecx
mov ecx, eax
call fcn.0046a480
mov edx, eax
mov ecx, dword [edx]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 0x68], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x64], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x60], ecx
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
push esi
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 8
push eax
push dword [ebp - 0x13]
lea ecx, [ebp - 0x84]
call fcn.00471ed0
lea eax, [ebp - 0x12]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x84]
call fcn.0046a480
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov edi, dword [eax + 0x14]
mov dword [ebp - 0x50], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x48], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], edi
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x70]
cmp ecx, 0x10
jb 0x420a14
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x420a0a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420cb8
push ecx
push edx
call fcn.004df511
add esp, 8
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x58]
cmp ecx, 0x10
jb 0x420a61
mov edx, dword [ebp - 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x420a57
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420cb8
push ecx
push edx
call fcn.004df511
add esp, 8
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x88]
cmp ecx, 0x10
jb 0x420a9f
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x420a95
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420cb8
push ecx
push edx
call fcn.004df511
add esp, 8
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0xa0]
cmp ecx, 0x10
jb 0x420af8
mov edx, dword [ebp - 0xb4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x420aee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420cb8
push ecx
push edx
call fcn.004df511
add esp, 8
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0xf
mov byte [ebp - 0xb4], 0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0xb8]
cmp ecx, 0x10
jb 0x420b51
mov edx, dword [ebp - 0xcc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x420b47
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420cb8
push ecx
push edx
call fcn.004df511
add esp, 8
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0xf
mov byte [ebp - 0xcc], 0
test ecx, ecx
je 0x420bc2
lea eax, [ebp - 0x54]
cmp ebx, eax
je 0x420b90
cmp edi, 0x10
jb 0x420b81
mov eax, esi
push ecx
push eax
mov ecx, ebx
call fcn.0046a350
mov edi, dword [ebp - 0x40]
mov esi, dword [ebp - 0x54]
cmp edi, 0x10
jb 0x420bbe
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x420bb4
mov esi, dword [eax - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420cbd
push edi
push esi
call fcn.004df511
add esp, 8
mov bl, 1
jmp 0x420bf2
cmp edi, 0x10
jb 0x420bf0
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x420be6
mov esi, dword [eax - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420cbd
push edi
push esi
call fcn.004df511
add esp, 8
xor bl, bl
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x420c26
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x420c1c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420cbd
push ecx
push edx
call fcn.004df511
add esp, 8
mov edi, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x420c5c
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x420c4f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420cbd
push ecx
push edx
call fcn.004df511
mov edi, dword [ebp + 0x34]
add esp, 8
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edi, 0x10
jb 0x420c9b
mov ecx, dword [ebp + 0x20]
inc edi
mov eax, ecx
cmp edi, 0x1000
jb 0x420c91
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420cbd
push edi
push ecx
call fcn.004df511
add esp, 8
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.0046dc60
call fcn.004e47b0
call fcn.004e47b0
call fcn.004e47b0
int3