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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x84
mov ebp, dword [esp + 0xa0]
mov ebx, dword [esp + 0x9c]
mov ecx, dword [ebp + 4]
mov eax, 0xfffffffe
cmp word [ecx + eax + 2], 0
lea eax, [eax + 2]
jne 0x422570
mov ecx, 0xfffffffe
cmp word [ebx + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x422580
sar eax, 1
sar ecx, 1
lea edx, [eax + ecx]
add edx, 0x3f
test edx, edx
jns 0x4225a0
mov eax, 0xffffffff
jmp 0x4225a9
add eax, ecx
lea eax, [eax*2 + 0x7e]
push eax
call fcn.00408580
add esp, 4
mov esi, eax
mov dword [esp + 0x48], 0x138f11f6
mov dword [esp + 0x4c], 0x1ff31d8f
mov dword [esp + 0x50], 0x1bd9198a
mov dword [esp + 0x54], 0x7900593
mov dword [esp + 0x58], 0x3ef019c
mov dword [esp + 0x5c], 0xf920d94
mov dword [esp + 0x60], 0xbe609c1
mov dword [esp + 0x64], 0x37ea35f1
mov dword [esp + 0x68], 0x33eb31e2
mov dword [esp + 0x6c], 0x3fe73de0
mov dword [esp + 0x70], 0x3be539e6
mov dword [esp + 0x74], 0x27ff25f6
mov dword [esp + 0x78], 0x23c621fd
mov dword [esp + 0x7c], 0x2fc22dc5
mov dword [esp + 0x80], 0x2b2a29ca
mov eax, 0x6c75e8c4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax - 0x6c75e87c]
lea ecx, [eax - 0x6c75e800]
and ecx, edx
or edx, eax
xor edx, ecx
lea ecx, [edx - 0x1e4d8bd5]
mov edi, 0x14
sub edi, edx
not edx
or edx, ecx
and edx, 1
and edi, 0x3b
and ecx, 0xc4
or ecx, edi
xor ecx, 0x3a
lea ecx, [ecx + edx*2]
mov byte [esp + eax - 0x6c75e87c], cl
inc eax
cmp eax, 0x6c75e900
jne 0x422640
mov dword [esp], 0x910b9f30
mov dword [esp + 4], 0x95039304
mov dword [esp + 8], 0x89359706
mov dword [esp + 0xc], 0x8d2d8b11
mov dword [esp + 0x10], 0x812a8f20
mov dword [esp + 0x14], 0x85248327
mov dword [esp + 0x18], 0xf9118727
mov dword [esp + 0x1c], 0xfd6efb64
mov dword [esp + 0x20], 0xf161ff50
mov dword [esp + 0x24], 0xf578f361
mov dword [esp + 0x28], 0xe951f7ab
mov dword [esp + 0x2c], 0xed7eeb60
mov dword [esp + 0x30], 0xe170ef4b
mov dword [esp + 0x34], 0xe579e375
mov dword [esp + 0x38], 0xd978e775
mov dword [esp + 0x3c], 0xdd87db85
mov dword [esp + 0x40], 0xd1dedf81
mov byte [esp + 0x44], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov cl, 0x5a
sub cl, al
xor cl, byte [esp + eax]
mov dl, 0xc6
sub dl, cl
mov byte [esp + eax], dl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 0x45
jb 0x422720
mov ecx, dword [ebp + 4]
movzx edx, word [ecx]
mov eax, esi
test dx, dx
je 0x422761
add ecx, 2
mov eax, esi
mov word [eax], dx
add eax, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x422750
mov word [eax], 0
movzx ecx, word [esp]
test cx, cx
je 0x422791
lea edx, [esp + 2]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x422780
mov word [eax], 0
movzx ecx, word [ebx]
test cx, cx
je 0x4227c1
add ebx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [ebx]
add ebx, 2
test cx, cx
jne 0x4227b0
mov word [eax], 0
movzx ecx, word [esp + 0x48]
test cx, cx
je 0x4227f1
lea edx, [esp + 0x4a]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x4227e0
mov word [eax], 0
mov eax, dword [esp + 0xa4]
mov ebx, dword [eax]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + eax + 2], 0
lea eax, [eax + 2]
jne 0x422810
sar eax, 1
mov edx, dword [ebp]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edx + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x422830
add eax, 0xb
mov edi, dword [ebp + 8]
mov edx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + edx + 2], 0
lea edx, [edx + 2]
jne 0x422850
sar ecx, 1
add eax, ecx
sar edx, 1
mov ecx, edx
and ecx, eax
xor edx, eax
lea eax, [edx + ecx*2]
test eax, eax
jns 0x422875
mov eax, 0xffffffff
jmp 0x422877
add eax, eax
push eax
call fcn.00408580
add esp, 4
mov edi, eax
mov dword [esp], 0xd16dcf15
mov dword [esp + 4], 0xd57ed37c
mov dword [esp + 8], 0xd962d773
mov dword [esp + 0xc], 0xdd2bdb6d
mov word [esp + 0x10], 0xdfdc
mov dword [esp + 0x12], 0
mov byte [esp + 0x16], 0
mov eax, 0xf8cf25ad
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x730da53]
xor ecx, eax
mov edx, ecx
and edx, 1
or ecx, 1
add ecx, edx
add cl, 0x9e
mov byte [esp + eax + 0x730da53], cl
inc eax
cmp eax, 0xf8cf25c4
jne 0x4228c0
movzx ecx, word [esp]
mov eax, edi
test cx, cx
je 0x422911
lea edx, [esp + 2]
mov eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x422900
mov word [eax], 0
movzx ecx, word [ebx]
test cx, cx
je 0x422941
add ebx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [ebx]
add ebx, 2
test cx, cx
jne 0x422930
mov word [eax], 0x5f
add eax, 2
mov ecx, dword [ebp]
movzx edx, word [ecx]
test dx, dx
je 0x422971
add ecx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], dx
add eax, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x422960
mov word [eax], 0x5f
add eax, 2
mov ecx, dword [ebp + 8]
movzx edx, word [ecx]
test dx, dx
je 0x4229a1
add ecx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], dx
add eax, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x422990
mov word [eax], 0
mov dword [esp], 0xf0e0936
mov word [esp + 4], 0
mov eax, 0x72ff1942
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x72ff1942]
mov edx, ecx
and edx, eax
add dl, dl
sub cl, dl
movzx ecx, cl
add ecx, eax
add cl, 0xb6
mov byte [esp + eax - 0x72ff1942], cl
inc eax
cmp eax, 0x72ff1948
jne 0x4229c0
mov eax, esp
push 0
push 1
push 0
push eax
push esi
push edi
push dword [esp + 0xb0]
call fcn.00422c90
add esp, 0x1c
mov ebx, eax
jmp dword [0x447f6c]