Function at 0x422c60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa08
mov dword [esp + 0xc0], 0xf330935
mov dword [esp + 0xc4], 0x3f60df9
mov dword [esp + 0xc8], 0x7fa01f9
mov dword [esp + 0xcc], 0x1bee05fd
mov dword [esp + 0xd0], 0x1f231991
mov dword [esp + 0xd4], 0x13e71deb
mov dword [esp + 0xd8], 0x172b11f6
mov dword [esp + 0xdc], 0x2ba315e0
mov dword [esp + 0xe0], 0x2fcb29d8
mov dword [esp + 0xe4], 0x23d02de1
mov dword [esp + 0xe8], 0x27d221c5
mov dword [esp + 0xec], 0x3bc925af
mov dword [esp + 0xf0], 0x3fc139ce
mov dword [esp + 0xf4], 0x33cf3d0e
mov dword [esp + 0xf8], 0x37c831c3
mov dword [esp + 0xfc], 0xcb3735c7
mov dword [esp + 0x100], 0xcf1cc9fa
mov dword [esp + 0x104], 0xc336cd29
mov dword [esp + 0x108], 0xc735c14b
mov dword [esp + 0x10c], 0xdb25c532
mov dword [esp + 0x110], 0xdf3bd90f
mov dword [esp + 0x114], 0xd358dd2a
mov dword [esp + 0x118], 0xd731d129
mov dword [esp + 0x11c], 0xebead531
mov word [esp + 0x120], 0
lea esi, [esp + 0x120]
mov ecx, 0x42
nop
nop
nop
movzx edx, byte [esp + ecx + 0x7e]
lea eax, [ecx - 0x79342a00]
or eax, ecx
and eax, edx
add al, al
sub dl, al
movzx eax, dl
add eax, ecx
add al, 0xb6
mov byte [esp + ecx + 0x7e], al
inc ecx
cmp ecx, 0xa4
jne 0x422d90
lea edi, [esp + 0x60]
lea eax, [esp + 0xc0]
mov ecx, 0x18
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea edi, [esp + 0xc0]
xor edx, edx
xor ecx, ecx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov dword [esp + 0x28], 0
mov dword [esp + 0xc0], 0x101f1e1d
mov byte [esp + 0xc4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
mov ecx, edx
and ecx, 0xa
mov ebx, eax
xor ebx, 0xb5
add ebx, ecx
mov cl, 0x2f
sub cl, bl
xor cl, byte [esp + eax + 0xc0]
mov ch, 0x66
sub ch, cl
mov byte [esp + eax + 0xc0], ch
inc eax
add edx, 2
cmp eax, 5
jne 0x422e00
mov eax, dword [esp + 0xc0]
mov ecx, dword [0x450c68]
test ecx, ecx
mov edi, dword [ebp + 8]
je 0x422e84
xor edx, edx
mov esi, dword [0x450c6c]
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xc85f7986
je 0x422e60
inc edx
cmp ecx, edx
jne 0x422e50
jmp 0x422e84
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x422e84
lea eax, [esp + 0x28]
push eax
push 0
push 0
push 5
push 4
push dword [0x450c70]
push ecx
call fcn.00441a90
add esp, 0x1c
cmp eax, 0xc0000004
jne 0x422f23
push dword [esp + 0x28]
call fcn.0043ef40
add esp, 4
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov dword [esp + 0xc0], 0x101f1e1d
mov byte [esp + 0xc4], 0
xor eax, eax
xor edx, edx
nop
nop
mov esi, eax
and esi, 0xa
mov ebx, edx
xor ebx, 0xb5
add ebx, esi
mov cl, 0x2f
sub cl, bl
xor cl, byte [esp + edx + 0xc0]
mov ch, 0x66
sub ch, cl
mov byte [esp + edx + 0xc0], ch
inc edx
add eax, 2
cmp edx, 5
jne 0x422ec0
mov eax, dword [esp + 0xc0]
mov edx, dword [0x450c68]
test edx, edx
je 0x422f59
xor esi, esi
mov edi, dword [0x450c6c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0xc85f7986
je 0x422f31
inc esi
cmp edx, esi
jne 0x422f10
mov edi, dword [ebp + 8]
jmp 0x422f59
xor ecx, ecx
xor edx, edx
xor esi, esi
mov ebx, dword [ebp + 0x14]
jmp 0x4234de
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
mov edi, dword [ebp + 8]
je 0x422f59
push 0
push dword [esp + 0xc]
push dword [esp + 0x24]
push 5
push 4
push dword [0x450c70]
push edx
call fcn.00441a90
add esp, 0x1c
test eax, eax
mov ebx, dword [ebp + 0x14]
js 0x4234ae
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov dword [esp + 0x10], 0
mov edx, ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
jmp 0x422fa5
mov ecx, ebx
call fcn.0043f3e0
mov edx, dword [esp + 8]
mov eax, dword [edx]
test eax, eax
je 0x4234c6
mov ecx, dword [edx + eax + 0x3c]
add eax, edx
mov dword [esp + 8], 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 [edi + eax]
test dx, dx
je 0x422fd5
add eax, 2
cmp dx, si
je 0x422fc0
cmp dx, si
jne 0x422f97
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x44]
mov dword [ebx + 8], eax
mov eax, dword [ecx + 0xdc]
mov dword [ebx + 0xc], eax
mov ecx, ebx
push 0x410
call fcn.0043f280
test eax, eax
js 0x422f97
mov dword [esp + 0x24], 0
mov esi, dword [ebx]
mov dword [esp + 0xc0], 0x101f1e1d
mov byte [esp + 0xc4], 0
xor eax, eax
xor edx, edx
nop
nop
mov ecx, eax
and ecx, 0xa
mov ebx, edx
xor ebx, 0xb5
add ebx, ecx
mov cl, 0x2f
sub cl, bl
xor cl, byte [esp + edx + 0xc0]
mov ch, 0x66
sub ch, cl
mov byte [esp + edx + 0xc0], ch
inc edx
add eax, 2
cmp edx, 5
jne 0x423020
mov eax, dword [esp + 0xc0]
mov edx, dword [0x450c68]
test edx, edx
je 0x4230b0
xor edi, edi
mov ecx, dword [0x450c6c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + edi*8], 0x62429966
je 0x423083
inc edi
cmp edx, edi
jne 0x423070
mov edi, dword [ebp + 8]
jmp 0x4230b0
mov ecx, dword [ecx + edi*8 + 4]
cmp ecx, eax
mov edi, dword [ebp + 8]
je 0x4230b0
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0x2b
push esi
push 5
push dword [0x450c70]
push ecx
call fcn.00441a90
add esp, 0x20
nop
nop
nop
nop
nop
cmp eax, 0xc0000004
mov ebx, dword [ebp + 0x14]
jne 0x4232b8
mov eax, dword [esp + 0x24]
add eax, 2
push eax
call fcn.0043ef40
add esp, 4
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov esi, dword [ebx]
mov dword [esp + 0xc0], 0x101f1e1d
mov byte [esp + 0xc4], 0
xor eax, eax
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
and ecx, 0xa
mov edx, edi
xor edx, 0xb5
add edx, ecx
mov cl, 0x2f
sub cl, dl
xor cl, byte [esp + edi + 0xc0]
mov dl, 0x66
sub dl, cl
mov byte [esp + edi + 0xc0], dl
inc edi
add eax, 2
cmp edi, 5
jne 0x423100
mov eax, dword [esp + 0xc0]
mov edi, dword [0x450c68]
test edi, edi
je 0x423186
add dword [esp + 4], 2
xor ecx, ecx
mov edx, dword [0x450c6c]
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x62429966
je 0x423160
inc ecx
cmp edi, ecx
jne 0x423150
jmp 0x423186
mov ecx, dword [edx + ecx*8 + 4]
cmp ecx, eax
je 0x423186
push 0
push dword [esp + 8]
push dword [esp + 0x28]
push 0x2b
push esi
push 5
push dword [0x450c70]
push ecx
call fcn.00441a90
add esp, 0x20
test eax, eax
js 0x4232a9
mov ecx, dword [esp + 0x20]
movzx eax, word [ecx]
shr eax, 1
mov ecx, dword [ecx + 4]
xor edx, edx
nop
nop
nop
nop
cmp eax, edx
je 0x4231cd
mov esi, dword [ebp + 0xc]
movzx edi, word [esi + edx*2]
movzx esi, word [ecx + edx*2]
cmp di, si
jne 0x4231bb
inc edx
test edi, edi
jne 0x4231a0
jmp 0x4231cd
mov eax, esi
not eax
and eax, edi
add eax, eax
xor esi, edi
cmp eax, esi
jne 0x4232a9
mov ecx, ebx
call fcn.0043f8b0
cmp eax, 2
jne 0x4232a9
mov ecx, ebx
push 0
push 0x30
lea eax, [esp + 0x38]
push eax
push 0
call fcn.0043f6c0
test eax, eax
mov edi, dword [ebp + 8]
js 0x4232ac
mov ecx, ebx
push 0
push 0
push 0x28
lea eax, [esp + 0x684]
push eax
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.0043fbd0
test eax, eax
js 0x4232ac
mov ecx, ebx
push 0
push 0
push 0x80
lea eax, [esp + 0xcc]
push eax
push dword [esp + 0x6ac]
push dword [esp + 0x6ac]
call fcn.0043fbd0
test eax, eax
js 0x4232ac
movzx eax, word [esp + 0x132]
push eax
call fcn.0043ef40
add esp, 4
mov esi, eax
movzx eax, word [esp + 0x132]
mov ecx, ebx
push 0
push 0
push eax
push esi
push dword [esp + 0x14c]
push dword [esp + 0x14c]
call fcn.0043fbd0
test eax, eax
js 0x4234a0
movzx edi, word [esp + 0x60]
mov dword [esp + 0xc], esi
mov dword [esp + 4], esi
test di, di
je 0x423314
lea ecx, [esp + 0x60]
mov edx, dword [esp + 0xc]
mov eax, edx
mov dword [esp + 4], edx
jmp 0x4232e8
mov edi, dword [ebp + 8]
push dword [esp + 0x20]
call fcn.0043efa0
add esp, 4
mov eax, dword [esp + 0x18]
or eax, dword [esp + 0x14]
je 0x422f90
cmp dword [esp + 0x10], 0
je 0x422f90
jmp 0x4234c6
movzx edi, word [ecx]
test di, di
je 0x423314
movzx esi, word [eax]
test si, si
je 0x423499
add eax, 2
add ecx, 2
mov edx, dword [esp + 4]
add edx, 2
cmp si, di
je 0x42330c
mov dword [esp + 4], edx
mov eax, edx
je 0x4232e0
lea ecx, [esp + 0x60]
jmp 0x4232e0
cmp dword [esp + 4], 0
mov edi, dword [ebp + 8]
je 0x42349c
mov ecx, ebx
push 0
push 0
push 0x20
lea eax, [esp + 0x62c]
push eax
push dword [esp + 0x6a4]
push dword [esp + 0x6a4]
call fcn.0043fbd0
test eax, eax
js 0x42349c
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 0x4233be
cmp cx, dx
je 0x42346f
push edi
call fcn.0043efa0
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 + 8]
je 0x42349c
mov ecx, ebx
push 0
push 0
push 0x68
lea esi, [esp + 0x50c]
push esi
push edx
push eax
call fcn.0043fbd0
test eax, eax
js 0x42349c
movzx eax, word [esp + 0x55a]
push eax
call fcn.0043ef40
add esp, 4
mov edi, eax
movzx eax, word [esp + 0x55a]
mov ecx, ebx
push 0
push 0
push eax
push edi
push dword [esp + 0x574]
push dword [esp + 0x574]
call fcn.0043fbd0
test eax, eax
js 0x423390
xor eax, eax
nop
nop
nop
mov ecx, dword [ebp + 0x10]
movzx ecx, word [ecx + eax]
lea edx, [ecx - 0x41]
cmp dx, 0x1a
jae 0x42343e
mov edx, ecx
xor edx, 0x20
add edx, ecx
and ecx, 0xffffffdf
sub edx, ecx
mov ecx, edx
movzx edx, word [edi + eax]
lea esi, [edx - 0x41]
cmp si, 0x1a
jae 0x423459
mov esi, edx
xor esi, 0x20
add esi, edx
and edx, 0xffffffdf
sub esi, edx
mov edx, esi
test cx, cx
je 0x423387
add eax, 2
cmp cx, dx
je 0x423420
jmp 0x423387
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.0043efa0
add esp, 4
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0xc]
push esi
call fcn.0043efa0
add esp, 4
jmp 0x4232ac
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
push dword [esp + 0x1c]
call fcn.0043efa0
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, ebx
call fcn.0043f3d0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret