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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa08
mov dword [esp + 0xc0], 0x635f615d
mov dword [esp + 0xc4], 0x67126511
mov dword [esp + 0xc8], 0x7b067901
mov dword [esp + 0xcc], 0x7f0a7d05
mov dword [esp + 0xd0], 0x734f71f9
mov dword [esp + 0xd4], 0x77037507
mov dword [esp + 0xd8], 0x8bb789ea
mov dword [esp + 0xdc], 0x8f078df8
mov dword [esp + 0xe0], 0x83e781f0
mov dword [esp + 0xe4], 0x87f885c9
mov dword [esp + 0xe8], 0x9bee99fd
mov dword [esp + 0xec], 0x9fe19deb
mov dword [esp + 0xf0], 0x93e991e2
mov dword [esp + 0xf4], 0x97eb95aa
mov dword [esp + 0xf8], 0xabd0a9d7
mov dword [esp + 0xfc], 0xafd3add3
mov dword [esp + 0x100], 0xa3fca19e
mov dword [esp + 0x104], 0xa7d2a5c1
mov dword [esp + 0x108], 0xbbc5b9cf
mov dword [esp + 0x10c], 0xbfc5bdce
mov dword [esp + 0x110], 0xb3d7b1e3
mov dword [esp + 0x114], 0xb7c0b5c6
mov dword [esp + 0x118], 0xcba9c9b1
mov dword [esp + 0x11c], 0xcfcecda9
mov dword [esp + 0x120], 0
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x120]
mov ecx, 0xe8
mov esi, 0x17
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + ecx - 0x28]
mov edx, esi
xor edx, ecx
and edx, edi
xor edx, ecx
add dl, 0x78
mov byte [esp + ecx - 0x28], dl
inc ecx
dec esi
cmp ecx, 0x14c
jne 0x422460
lea edi, [esp + 0x60]
lea edx, [esp + 0xc0]
mov ecx, 0x18
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0xc0]
xor edx, edx
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov dword [esp + 0x28], 0
mov dword [esp + 0xc0], 0xe0e7e6e5
mov word [esp + 0xc4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, edx
and esi, 2
mov ecx, eax
xor ecx, 0xd9
add ecx, esi
xor cl, byte [esp + eax + 0xc0]
add cl, 0xc3
mov byte [esp + eax + 0xc0], cl
inc eax
add edx, 2
cmp eax, 6
jne 0x4224d0
mov eax, dword [esp + 0xc0]
mov ecx, dword [0x44fabc]
test ecx, ecx
mov edi, dword [ebp + 0x14]
je 0x422554
xor edx, edx
mov esi, dword [0x44fac0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xc85f7986
je 0x422530
inc edx
cmp ecx, edx
jne 0x422520
jmp 0x422554
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x422554
lea eax, [esp + 0x28]
push eax
push 0
push 0
push 5
push 4
push dword [0x44fac4]
push ecx
call fcn.00440ac0
add esp, 0x1c
cmp eax, 0xc0000004
jne 0x4225f0
push dword [esp + 0x28]
call fcn.0043e040
add esp, 4
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xc0], 0xe0e7e6e5
mov word [esp + 0xc4], 0
xor eax, eax
xor esi, esi
nop
nop
nop
nop
mov edi, eax
and edi, 2
mov edx, esi
xor edx, 0xd9
add edx, edi
xor dl, byte [esp + esi + 0xc0]
add dl, 0xc3
mov byte [esp + esi + 0xc0], dl
inc esi
add eax, 2
cmp esi, 6
jne 0x422590
mov eax, dword [esp + 0xc0]
mov edx, dword [0x44fabc]
test edx, edx
je 0x42261d
xor esi, esi
mov edi, dword [0x44fac0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0xc85f7986
je 0x4225fb
inc esi
cmp edx, esi
jne 0x4225e0
jmp 0x42261d
xor ecx, ecx
xor edx, edx
xor esi, esi
jmp 0x422baa
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x42261d
push 0
push ecx
push dword [esp + 0x28]
push 5
push 4
push dword [0x44fac4]
push edx
call fcn.00440ac0
add esp, 0x1c
test eax, eax
mov edi, dword [ebp + 0x14]
js 0x422b7a
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov dword [esp + 0x10], 0
mov edx, ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
jmp 0x422665
mov ecx, edi
call fcn.0043e4f0
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
test eax, eax
je 0x422b92
mov ecx, dword [edx + eax + 0x3c]
add eax, edx
mov dword [esp + 0x1c], eax
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [ecx + eax]
movzx esi, word [ebx + eax]
test dx, dx
je 0x422695
add eax, 2
cmp dx, si
je 0x422680
cmp dx, si
jne 0x422657
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x44]
mov dword [edi + 8], eax
mov eax, dword [ecx + 0xdc]
mov dword [edi + 0xc], eax
mov ecx, edi
push 0x410
call fcn.0043e390
test eax, eax
js 0x422657
mov dword [esp + 0x24], 0
mov eax, dword [edi]
mov dword [esp + 0xc], eax
mov dword [esp + 0xc0], 0xe0e7e6e5
mov word [esp + 0xc4], 0
xor eax, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, eax
and esi, 2
mov ecx, edx
xor ecx, 0xd9
add ecx, esi
xor cl, byte [esp + edx + 0xc0]
add cl, 0xc3
mov byte [esp + edx + 0xc0], cl
inc edx
add eax, 2
cmp edx, 6
jne 0x4226f0
mov eax, dword [esp + 0xc0]
mov edx, dword [0x44fabc]
test edx, edx
je 0x422780
xor edi, edi
mov ecx, dword [0x44fac0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + edi*8], 0x62429966
je 0x422753
inc edi
cmp edx, edi
jne 0x422740
mov edi, dword [ebp + 0x14]
jmp 0x422780
mov ecx, dword [ecx + edi*8 + 4]
cmp ecx, eax
mov edi, dword [ebp + 0x14]
je 0x422780
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0x2b
push dword [esp + 0x1c]
push 5
push dword [0x44fac4]
push ecx
call fcn.00440ac0
add esp, 0x20
nop
nop
cmp eax, 0xc0000004
jne 0x422988
mov eax, dword [esp + 0x24]
add eax, 2
push eax
call fcn.0043e040
add esp, 4
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov esi, dword [edi]
mov dword [esp + 0xc0], 0xe0e7e6e5
mov word [esp + 0xc4], 0
xor eax, eax
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, eax
and edx, 2
mov ecx, edi
xor ecx, 0xd9
add ecx, edx
xor cl, byte [esp + edi + 0xc0]
add cl, 0xc3
mov byte [esp + edi + 0xc0], cl
inc edi
add eax, 2
cmp edi, 6
jne 0x4227d0
mov eax, dword [esp + 0xc0]
mov edi, dword [0x44fabc]
test edi, edi
je 0x422856
add dword [esp + 4], 2
xor ecx, ecx
mov edx, dword [0x44fac0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x62429966
je 0x422830
inc ecx
cmp edi, ecx
jne 0x422820
jmp 0x422856
mov ecx, dword [edx + ecx*8 + 4]
cmp ecx, eax
je 0x422856
push 0
push dword [esp + 8]
push dword [esp + 0x14]
push 0x2b
push esi
push 5
push dword [0x44fac4]
push ecx
call fcn.00440ac0
add esp, 0x20
test eax, eax
js 0x422979
mov ecx, dword [esp + 0xc]
movzx eax, word [ecx]
shr eax, 1
mov ecx, dword [ecx + 4]
xor edx, edx
nop
nop
nop
nop
cmp eax, edx
je 0x42289d
mov esi, dword [ebp + 0xc]
movzx edi, word [esi + edx*2]
movzx esi, word [ecx + edx*2]
cmp di, si
jne 0x42288b
inc edx
test edi, edi
jne 0x422870
jmp 0x42289d
mov eax, esi
xor eax, edi
not esi
and esi, edi
add esi, esi
cmp esi, eax
jne 0x422979
mov edi, dword [ebp + 0x14]
mov ecx, edi
call fcn.0043ea10
cmp eax, 2
jne 0x42297c
mov ecx, edi
push 0
push 0x30
lea eax, [esp + 0x38]
push eax
push 0
call fcn.0043e860
test eax, eax
js 0x42297c
mov ecx, edi
push 0
push 0
push 0x28
lea eax, [esp + 0x684]
push eax
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.0043ed30
test eax, eax
js 0x42297c
mov ecx, edi
push 0
push 0
push 0x80
lea eax, [esp + 0xcc]
push eax
push dword [esp + 0x6ac]
push dword [esp + 0x6ac]
call fcn.0043ed30
test eax, eax
js 0x42297c
movzx eax, word [esp + 0x132]
push eax
call fcn.0043e040
add esp, 4
mov esi, eax
movzx eax, word [esp + 0x132]
mov ecx, edi
push 0
push 0
push eax
push esi
push dword [esp + 0x14c]
push dword [esp + 0x14c]
call fcn.0043ed30
test eax, eax
js 0x422b6c
movzx edi, word [esp + 0x60]
mov dword [esp + 8], esi
mov dword [esp + 4], esi
test di, di
je 0x4229e4
lea ecx, [esp + 0x60]
mov edx, dword [esp + 8]
mov eax, edx
mov dword [esp + 4], edx
jmp 0x4229b8
mov edi, dword [ebp + 0x14]
push dword [esp + 0xc]
call fcn.0043e100
add esp, 4
mov eax, dword [esp + 0x18]
or eax, dword [esp + 0x14]
je 0x422650
cmp dword [esp + 0x10], 0
je 0x422650
jmp 0x422b92
movzx edi, word [ecx]
test di, di
je 0x4229e4
movzx esi, word [eax]
test si, si
je 0x422b65
add eax, 2
add ecx, 2
mov edx, dword [esp + 4]
add edx, 2
cmp si, di
je 0x4229dc
mov dword [esp + 4], edx
mov eax, edx
je 0x4229b0
lea ecx, [esp + 0x60]
jmp 0x4229b0
cmp dword [esp + 4], 0
je 0x422b65
mov edi, dword [ebp + 0x14]
mov ecx, edi
push 0
push 0
push 0x20
lea eax, [esp + 0x62c]
push eax
push dword [esp + 0x6a4]
push dword [esp + 0x6a4]
call fcn.0043ed30
test eax, eax
js 0x422b68
mov eax, dword [esp + 0x690]
mov ecx, dword [esp + 0x694]
add eax, 0x10
mov dword [esp + 4], eax
adc ecx, 0
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x630]
mov edx, dword [esp + 0x634]
mov dword [esp + 0x504], edx
mov dword [esp + 0x500], eax
jmp 0x422a8e
cmp cx, dx
je 0x422b3b
push edi
call fcn.0043e100
add esp, 4
mov eax, dword [esp + 0x500]
mov edx, dword [esp + 0x504]
mov ecx, edx
xor ecx, dword [esp + 0x2c]
mov esi, eax
xor esi, dword [esp + 4]
or esi, ecx
mov edi, dword [ebp + 0x14]
je 0x422b68
mov ecx, edi
push 0
push 0
push 0x68
lea esi, [esp + 0x50c]
push esi
push edx
push eax
call fcn.0043ed30
test eax, eax
js 0x422b68
movzx eax, word [esp + 0x55a]
push eax
call fcn.0043e040
add esp, 4
mov ecx, edi
mov edi, eax
movzx eax, word [esp + 0x55a]
push 0
push 0
push eax
push edi
push dword [esp + 0x574]
push dword [esp + 0x574]
call fcn.0043ed30
test eax, eax
js 0x422a60
xor eax, eax
nop
nop
nop
mov ecx, dword [ebp + 0x10]
movzx ecx, word [ecx + eax]
lea edx, [ecx - 0x41]
cmp dx, 0x1a
jae 0x422b0c
mov edx, ecx
not edx
or edx, 0xffffffdf
add ecx, edx
add ecx, 0x21
movzx edx, word [edi + eax]
lea esi, [edx - 0x41]
cmp si, 0x1a
jae 0x422b25
mov esi, edx
not esi
or esi, 0xffffffdf
add edx, esi
add edx, 0x21
test cx, cx
je 0x422a57
add eax, 2
cmp cx, dx
je 0x422af0
jmp 0x422a57
mov eax, dword [esp + 0x530]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x534]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x540]
mov dword [esp + 0x10], eax
push edi
call fcn.0043e100
add esp, 4
mov edi, dword [ebp + 0x14]
mov esi, dword [esp + 8]
push esi
call fcn.0043e100
add esp, 4
jmp 0x42297c
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
push dword [esp + 0x20]
call fcn.0043e100
add esp, 4
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
mov dword [eax + 4], esi
mov eax, dword [ebp + 0x1c]
mov dword [eax], ecx
mov ecx, edi
call fcn.0043e4e0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret