Function at 0x422c70
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 0x4230c8
sub esp, 0x68
mov ebx, dword [0x6c803c]
xor ebp, ebp
cmp ebx, ebp
jne 0x422cea
mov dword [esp], 0xafc7c
mov ebx, 0x6dbee0
mov dword [esp + 4], ebx
add dword [esp + 4], 0x90
call fcn.004131a0
mov ebx, dword [esp + 8]
cmp byte [0x6d9e38], 0
jne 0x4230b2
mov dword [0x6c803c], ebx
mov ebx, dword [0x6c803c]
xor ebp, ebp
cmp ebx, ebp
jne 0x422cea
mov ebx, 0x5fe0c5
mov dword [esp], ebx
mov dword [esp + 4], 0x1f
call fcn.0042a540
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 0x422d36
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 0x422d08
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 [0x6c803c]
cmp esi, 0
je 0x4230ab
mov dword [esp + 0x20], ebp
cmp ebp, 0x2bf1f
jae 0x4230a4
shl ebp, 2
add esi, ebp
mov eax, dword [esi]
xor ebp, ebp
cmp eax, ebp
je 0x422e55
mov ebp, dword [eax + 8]
mov ebx, dword [esp + 0x6c]
cmp ebp, ebx
jne 0x422e49
mov ebp, dword [eax + 0xc]
cmp ebp, edi
jne 0x422e49
mov ebp, dword [eax + 0x10]
mov ebx, dword [esp + 0x70]
cmp ebp, ebx
jne 0x422e49
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 0x42309d
cmp ecx, eax
ja 0x42309d
cmp edx, 0
je 0x423096
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.004230e0
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
movzx ebx, byte [esp + 0x18]
cmp bl, 0
je 0x422e49
mov dword [esp + 0x84], eax
add esp, 0x68
ret
mov eax, dword [eax]
xor ebp, ebp
cmp eax, ebp
jne 0x422da0
cmp byte [esp + 0x80], 0
jne 0x422e6e
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.00422af0
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 0x42308f
cmp ecx, eax
ja 0x42308f
cmp edx, 0
je 0x423088
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 0x422ee9
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.004537a0
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 [0x6c803c]
cmp esi, 0
je 0x423081
mov ebp, dword [esp + 0x20]
cmp ebp, 0x2bf1f
jae 0x42307a
shl ebp, 2
add esi, ebp
mov eax, dword [esi]
cmp byte [0x6d9e38], 0
jne 0x423065
mov dword [ecx], eax
mov esi, dword [0x6c803c]
cmp esi, 0
je 0x42305e
mov ebp, dword [esp + 0x20]
cmp ebp, 0x2bf1f
jae 0x423057
shl ebp, 2
add esi, ebp
cmp byte [0x6d9e38], 0
jne 0x423042
mov dword [esi], ecx
mov ebx, dword [esp + 0x6c]
cmp ebx, 1
jne 0x422fea
mov eax, dword [0x6c8060]
cmp ecx, 0
je 0x422fe6
cmp byte [0x6d9e38], 0
jne 0x422fd1
mov dword [ecx + 4], eax
cmp byte [0x6d9e38], 0
jne 0x422fba
mov dword [0x6c8060], ecx
mov dword [esp + 0x84], ecx
add esp, 0x68
ret
mov ebp, 0x6c8060
mov dword [esp], ebp
mov dword [esp + 4], ecx
call fcn.0040f3d0
mov ecx, dword [esp + 0x30]
jmp 0x422faf
lea esi, [ecx + 4]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0040f3d0
mov ecx, dword [esp + 0x30]
jmp 0x422fa0
mov dword [ecx], eax
jmp 0x422f94
mov eax, dword [0x6c8038]
cmp ecx, 0
je 0x42303e
cmp byte [0x6d9e38], 0
jne 0x423029
mov dword [ecx + 4], eax
cmp byte [0x6d9e38], 0
jne 0x423012
mov dword [0x6c8038], ecx
jmp 0x422faf
mov ebp, 0x6c8038
mov dword [esp], ebp
mov dword [esp + 4], ecx
call fcn.0040f3d0
mov ecx, dword [esp + 0x30]
jmp 0x422faf
lea esi, [ecx + 4]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0040f3d0
mov ecx, dword [esp + 0x30]
jmp 0x423001
mov dword [ecx], eax
jmp 0x422ff5
mov dword [esp], esi
mov dword [esp + 4], ecx
call fcn.0040f3d0
mov ecx, dword [esp + 0x30]
jmp 0x422f80
call fcn.00428880
ud2
mov dword [esi], eax
jmp 0x422f5c
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040f3d0
mov ecx, dword [esp + 0x30]
jmp 0x422f4d
call fcn.00428880
ud2
mov dword [esi], eax
jmp 0x422f27
mov dword [edx], eax
jmp 0x422eb5
call fcn.004288f0
ud2
mov dword [edx], eax
jmp 0x422df8
call fcn.004288f0
ud2
call fcn.00428880
ud2
mov dword [esi], eax
jmp 0x422d7f
mov ebp, 0x6c803c
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.0040f3d0
jmp 0x422cc9
call fcn.00450fb0
jmp fcn.00422c70