Function at 0x421d80
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 0x4221d8
sub esp, 0x68
mov ebx, dword [0x6bdffc]
xor ebp, ebp
cmp ebx, ebp
jne 0x421dfa
mov dword [esp], 0xafc7c
mov ebx, 0x6d1e80
mov dword [esp + 4], ebx
add dword [esp + 4], 0x90
call fcn.004122b0
mov ebx, dword [esp + 8]
cmp byte [0x6cfdd8], 0
jne 0x4221c2
mov dword [0x6bdffc], ebx
mov ebx, dword [0x6bdffc]
xor ebp, ebp
cmp ebx, ebp
jne 0x421dfa
mov ebx, 0x5f6783
mov dword [esp], ebx
mov dword [esp + 4], 0x1f
call fcn.00429650
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 0x421e46
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 0x421e18
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 0x4221bb
mov dword [esp + 0x20], ebp
cmp ebp, 0x2bf1f
jae 0x4221b4
shl ebp, 2
add esi, ebp
mov eax, dword [esi]
xor ebp, ebp
cmp eax, ebp
je 0x421f65
mov ebp, dword [eax + 8]
mov ebx, dword [esp + 0x6c]
cmp ebp, ebx
jne 0x421f59
mov ebp, dword [eax + 0xc]
cmp ebp, edi
jne 0x421f59
mov ebp, dword [eax + 0x10]
mov ebx, dword [esp + 0x70]
cmp ebp, ebx
jne 0x421f59
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 0x4221ad
cmp ecx, eax
ja 0x4221ad
cmp edx, 0
je 0x4221a6
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.004221f0
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
movzx ebx, byte [esp + 0x18]
cmp bl, 0
je 0x421f59
mov dword [esp + 0x84], eax
add esp, 0x68
ret
mov eax, dword [eax]
xor ebp, ebp
cmp eax, ebp
jne 0x421eb0
cmp byte [esp + 0x80], 0
jne 0x421f7e
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.00421c00
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 0x42219f
cmp ecx, eax
ja 0x42219f
cmp edx, 0
je 0x422198
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 0x421ff9
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.00452750
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 0x422191
mov ebp, dword [esp + 0x20]
cmp ebp, 0x2bf1f
jae 0x42218a
shl ebp, 2
add esi, ebp
mov eax, dword [esi]
cmp byte [0x6cfdd8], 0
jne 0x422175
mov dword [ecx], eax
mov esi, dword [0x6bdffc]
cmp esi, 0
je 0x42216e
mov ebp, dword [esp + 0x20]
cmp ebp, 0x2bf1f
jae 0x422167
shl ebp, 2
add esi, ebp
cmp byte [0x6cfdd8], 0
jne 0x422152
mov dword [esi], ecx
mov ebx, dword [esp + 0x6c]
cmp ebx, 1
jne 0x4220fa
mov eax, dword [0x6be020]
cmp ecx, 0
je 0x4220f6
cmp byte [0x6cfdd8], 0
jne 0x4220e1
mov dword [ecx + 4], eax
cmp byte [0x6cfdd8], 0
jne 0x4220ca
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.0040e4e0
mov ecx, dword [esp + 0x30]
jmp 0x4220bf
lea esi, [ecx + 4]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0040e4e0
mov ecx, dword [esp + 0x30]
jmp 0x4220b0
mov dword [ecx], eax
jmp 0x4220a4
mov eax, dword [0x6bdff8]
cmp ecx, 0
je 0x42214e
cmp byte [0x6cfdd8], 0
jne 0x422139
mov dword [ecx + 4], eax
cmp byte [0x6cfdd8], 0
jne 0x422122
mov dword [0x6bdff8], ecx
jmp 0x4220bf
mov ebp, 0x6bdff8
mov dword [esp], ebp
mov dword [esp + 4], ecx
call fcn.0040e4e0
mov ecx, dword [esp + 0x30]
jmp 0x4220bf
lea esi, [ecx + 4]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0040e4e0
mov ecx, dword [esp + 0x30]
jmp 0x422111
mov dword [ecx], eax
jmp 0x422105
mov dword [esp], esi
mov dword [esp + 4], ecx
call fcn.0040e4e0
mov ecx, dword [esp + 0x30]
jmp 0x422090
call fcn.00427990
ud2
mov dword [esi], eax
jmp 0x42206c
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040e4e0
mov ecx, dword [esp + 0x30]
jmp 0x42205d
call fcn.00427990
ud2
mov dword [esi], eax
jmp 0x422037
mov dword [edx], eax
jmp 0x421fc5
call fcn.00427a00
ud2
mov dword [edx], eax
jmp 0x421f08
call fcn.00427a00
ud2
call fcn.00427990
ud2
mov dword [esi], eax
jmp 0x421e8f
mov ebp, 0x6bdffc
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.0040e4e0
jmp 0x421dd9
call fcn.0044ff60
jmp fcn.00421d80