Function at 0x421fe0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x422438
sub esp, 0x68
mov ebx, dword [0x6bdffc]
xor ebp, ebp
cmp ebx, ebp
jne 0x42205a
mov dword [esp], 0xafc7c
mov ebx, 0x6d1e80
mov dword [esp + 4], ebx
add dword [esp + 4], 0x90
call fcn.00412510
mov ebx, dword [esp + 8]
cmp byte [0x6cfdd8], 0
jne 0x422422
mov dword [0x6bdffc], ebx
mov ebx, dword [0x6bdffc]
xor ebp, ebp
cmp ebx, ebp
jne 0x42205a
mov ebx, 0x5f6a3e
mov dword [esp], ebx
mov dword [esp + 4], 0x1f
call fcn.004298b0
xor edi, edi
mov ebp, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
xor esi, esi
mov dword [esp + 0x2c], ecx
mov ecx, ebp
mov ebp, dword [esp + 0x2c]
cmp esi, ebp
jge 0x4220a6
mov ebp, dword [ecx]
mov dword [esp + 0x28], ebp
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x1c], ebx
add edi, dword [esp + 0x1c]
mov ebx, edi
shl ebx, 0xa
add ebx, edi
mov edi, ebx
shr ebx, 6
xor ebx, edi
mov edi, ebx
add ecx, 4
inc esi
mov ebp, dword [esp + 0x2c]
cmp esi, ebp
jl 0x422078
add edi, dword [esp + 0x70]
mov ebp, edi
shl edi, 0xa
add edi, ebp
mov ebp, edi
shr edi, 6
xor edi, ebp
mov ebp, edi
shl edi, 3
add edi, ebp
mov ebp, edi
shr edi, 0xb
xor edi, ebp
mov eax, 0xba6a1fbd
mul edi
mov ebx, edx
shr ebx, 0x11
imul ebx, ebx, 0x2bf1f
mov ebp, edi
mov dword [esp + 0x24], edi
sub ebp, ebx
mov esi, dword [0x6bdffc]
cmp esi, 0
je 0x42241b
mov dword [esp + 0x20], ebp
cmp ebp, 0x2bf1f
jae 0x422414
shl ebp, 2
add esi, ebp
mov eax, dword [esi]
xor ebp, ebp
cmp eax, ebp
je 0x4221c5
mov ebp, dword [eax + 8]
mov ebx, dword [esp + 0x6c]
cmp ebp, ebx
jne 0x4221b9
mov ebp, dword [eax + 0xc]
cmp ebp, edi
jne 0x4221b9
mov ebp, dword [eax + 0x10]
mov ebx, dword [esp + 0x70]
cmp ebp, ebx
jne 0x4221b9
mov dword [esp + 0x34], eax
xor ebx, ebx
mov ecx, 0x18
mov edx, eax
add edx, ecx
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x14]
cmp eax, 0x20
ja 0x42240d
cmp ecx, eax
ja 0x42240d
cmp edx, 0
je 0x422406
mov dword [esp + 0x44], edx
mov dword [esp], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 4], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 8], eax
mov ebx, dword [esp + 0x74]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x14], ebx
call fcn.00422450
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
movzx ebx, byte [esp + 0x18]
cmp bl, 0
je 0x4221b9
mov dword [esp + 0x84], eax
add esp, 0x68
ret
mov eax, dword [eax]
xor ebp, ebp
cmp eax, ebp
jne 0x422110
cmp byte [esp + 0x80], 0
jne 0x4221de
mov dword [esp + 0x84], 0
add esp, 0x68
ret
mov eax, dword [esp + 0x78]
mov ebx, dword [esp + 0x6c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00421e60
mov edx, dword [esp + 8]
mov dword [esp + 0x30], edx
xor ebx, ebx
mov ecx, 0x18
mov eax, edx
add edx, ecx
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x14]
cmp eax, 0x20
ja 0x4223ff
cmp ecx, eax
ja 0x4223ff
cmp edx, 0
je 0x4223f8
mov dword [esp + 0x38], edx
mov esi, edx
mov dword [esp + 0x3c], ecx
mov edx, ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x64], eax
mov ebp, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x60], edx
mov eax, edx
mov dword [esp + 0x54], ecx
cmp ecx, edx
jge 0x422259
mov eax, ecx
mov dword [esp + 0x5c], esi
mov dword [esp], esi
mov dword [esp + 0x50], ebp
mov dword [esp + 4], ebp
mov ebx, eax
shl ebx, 2
mov dword [esp + 8], ebx
call fcn.004529b0
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x70]
mov dword [ecx + 0x10], eax
mov esi, dword [0x6bdffc]
cmp esi, 0
je 0x4223f1
mov ebp, dword [esp + 0x20]
cmp ebp, 0x2bf1f
jae 0x4223ea
shl ebp, 2
add esi, ebp
mov eax, dword [esi]
cmp byte [0x6cfdd8], 0
jne 0x4223d5
mov dword [ecx], eax
mov esi, dword [0x6bdffc]
cmp esi, 0
je 0x4223ce
mov ebp, dword [esp + 0x20]
cmp ebp, 0x2bf1f
jae 0x4223c7
shl ebp, 2
add esi, ebp
cmp byte [0x6cfdd8], 0
jne 0x4223b2
mov dword [esi], ecx
mov ebx, dword [esp + 0x6c]
cmp ebx, 1
jne 0x42235a
mov eax, dword [0x6be020]
cmp ecx, 0
je 0x422356
cmp byte [0x6cfdd8], 0
jne 0x422341
mov dword [ecx + 4], eax
cmp byte [0x6cfdd8], 0
jne 0x42232a
mov dword [0x6be020], ecx
mov dword [esp + 0x84], ecx
add esp, 0x68
ret
mov ebp, 0x6be020
mov dword [esp], ebp
mov dword [esp + 4], ecx
call fcn.0040e740
mov ecx, dword [esp + 0x30]
jmp 0x42231f
lea esi, [ecx + 4]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0040e740
mov ecx, dword [esp + 0x30]
jmp 0x422310
mov dword [ecx], eax
jmp 0x422304
mov eax, dword [0x6bdff8]
cmp ecx, 0
je 0x4223ae
cmp byte [0x6cfdd8], 0
jne 0x422399
mov dword [ecx + 4], eax
cmp byte [0x6cfdd8], 0
jne 0x422382
mov dword [0x6bdff8], ecx
jmp 0x42231f
mov ebp, 0x6bdff8
mov dword [esp], ebp
mov dword [esp + 4], ecx
call fcn.0040e740
mov ecx, dword [esp + 0x30]
jmp 0x42231f
lea esi, [ecx + 4]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0040e740
mov ecx, dword [esp + 0x30]
jmp 0x422371
mov dword [ecx], eax
jmp 0x422365
mov dword [esp], esi
mov dword [esp + 4], ecx
call fcn.0040e740
mov ecx, dword [esp + 0x30]
jmp 0x4222f0
call fcn.00427bf0
ud2
mov dword [esi], eax
jmp 0x4222cc
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040e740
mov ecx, dword [esp + 0x30]
jmp 0x4222bd
call fcn.00427bf0
ud2
mov dword [esi], eax
jmp 0x422297
mov dword [edx], eax
jmp 0x422225
call fcn.00427c60
ud2
mov dword [edx], eax
jmp 0x422168
call fcn.00427c60
ud2
call fcn.00427bf0
ud2
mov dword [esi], eax
jmp 0x4220ef
mov ebp, 0x6bdffc
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.0040e740
jmp 0x422039
call fcn.004501c0
jmp fcn.00421fe0