Function at 0x423070
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], 0x89798b7f
mov dword [esp + 0xc4], 0x850a8703
mov dword [esp + 0xc8], 0x81368333
mov dword [esp + 0xcc], 0x9d129f37
mov dword [esp + 0xd0], 0x99699b1b
mov dword [esp + 0xd4], 0x951d9715
mov dword [esp + 0xd8], 0x9161932a
mov dword [esp + 0xdc], 0x6de96f1c
mov dword [esp + 0xe0], 0x69d16bdc
mov dword [esp + 0xe4], 0x65d467ab
mov dword [esp + 0xe8], 0x61ee63df
mov dword [esp + 0xec], 0x7dcf7fe9
mov dword [esp + 0xf0], 0x79cf7bf2
mov dword [esp + 0xf4], 0x75c5778a
mov dword [esp + 0xf8], 0x71c473c5
mov dword [esp + 0xfc], 0x4dfd4fc1
mov dword [esp + 0x100], 0x49984bbe
mov dword [esp + 0x104], 0x45ca47f3
mov dword [esp + 0x108], 0x41f343cd
mov dword [esp + 0x10c], 0x5deb5fce
mov dword [esp + 0x110], 0x59e15bf1
mov dword [esp + 0x114], 0x55dc57d6
mov dword [esp + 0x118], 0x51ef53e3
mov dword [esp + 0x11c], 0x2d2e2feb
mov byte [esp + 0x122], 0
mov word [esp + 0x120], 0
lea eax, [esp + 0x120]
lea ecx, [esp + 0xc0]
mov edx, 0x4940d79c
nop
nop
nop
nop
movzx esi, byte [ecx]
not esi
lea edi, [edx - 0x4940d700]
or edi, esi
lea ebx, [edi + edi]
not ebx
add ebx, edi
and esi, edx
or esi, ebx
mov edi, esi
not edi
and edi, 0x10
xor esi, 0x91bbc9ef
lea ebx, [esi + edi*2]
and esi, 1
or ebx, 1
add ebx, esi
mov byte [ecx], bl
inc ecx
dec edx
cmp edx, 0x4940d739
jne 0x4231b0
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 ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0xc0], 0xf8fbfafd
mov word [esp + 0xc4], 0
mov byte [esp + 0xc6], 0
mov edi, 0x11736eab
mov esi, 0x6e8c9154
nop
movzx ebx, byte [esp + edi - 0x11736deb]
mov eax, esi
and eax, 0x50
mov edx, edi
and edx, 0xaf
or edx, eax
xor edx, ebx
xor edx, 0xaf
and edx, edi
mov eax, edx
or al, 0xfd
inc al
mov ecx, edx
and cl, 0xbd
mul cl
mov ecx, eax
add cl, bl
mov eax, edx
shr al, 1
and al, 1
or dl, 2
mul dl
add al, al
sub cl, al
movzx eax, cl
add eax, edi
add al, 0xa9
mov byte [esp + edi - 0x11736deb], al
inc edi
dec esi
cmp edi, 0x11736eb2
jne 0x423240
mov eax, dword [esp + 0xc0]
mov ecx, dword [0x45316c]
test ecx, ecx
je 0x4232d0
xor edx, edx
mov esi, dword [0x453170]
mov ebx, dword [ebp + 0x14]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xc85f7986
je 0x4232d5
inc edx
cmp ecx, edx
jne 0x4232c0
jmp 0x4232f9
mov ebx, dword [ebp + 0x14]
jmp 0x4232f9
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x4232f9
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 5
push 4
push dword [0x453174]
push ecx
call fcn.004421f0
add esp, 0x1c
cmp eax, 0xc0000004
jne 0x4233e0
push dword [esp + 0x2c]
call fcn.0043f350
add esp, 4
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc0], 0xf8fbfafd
mov word [esp + 0xc4], 0
mov byte [esp + 0xc6], 0
mov esi, 0x11736eab
mov edi, 0x6e8c9154
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + esi - 0x11736deb]
mov eax, edi
and eax, 0x50
mov edx, esi
and edx, 0xaf
or edx, eax
xor edx, ebx
xor edx, 0xaf
and edx, esi
mov eax, edx
or al, 0xfd
inc al
mov ecx, edx
and cl, 0xbd
mul cl
mov ecx, eax
add cl, bl
mov eax, edx
shr al, 1
and al, 1
or dl, 2
mul dl
add al, al
sub cl, al
movzx eax, cl
add eax, esi
add al, 0xa9
mov byte [esp + esi - 0x11736deb], al
inc esi
dec edi
cmp esi, 0x11736eb2
jne 0x423350
mov eax, dword [esp + 0xc0]
mov ecx, dword [0x45316c]
test ecx, ecx
je 0x423410
xor edx, edx
mov esi, dword [0x453170]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xc85f7986
je 0x4233eb
inc edx
cmp ecx, edx
jne 0x4233d0
jmp 0x423410
xor ecx, ecx
xor edx, edx
xor esi, esi
jmp 0x423a0f
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x423410
push 0
push dword [esp + 0x14]
push dword [esp + 0x2c]
push 5
push 4
push dword [0x453174]
push ecx
call fcn.004421f0
add esp, 0x1c
test eax, eax
mov ebx, dword [ebp + 0x14]
js 0x4239df
mov esi, dword [esp + 0x24]
mov eax, dword [esi]
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
jmp 0x423451
mov ecx, ebx
call fcn.0043f8a0
mov eax, dword [esi]
test eax, eax
je 0x4239f7
mov ecx, dword [esi + eax + 0x3c]
add esi, eax
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [ecx + eax]
mov edi, dword [ebp + 8]
movzx edi, word [edi + eax]
test dx, dx
je 0x423478
add eax, 2
cmp dx, di
je 0x423460
cmp dx, di
jne 0x423447
mov eax, dword [esi + 0x44]
mov dword [ebx + 8], eax
mov eax, dword [esi + 0xdc]
mov dword [ebx + 0xc], eax
mov ecx, ebx
push 0x410
call fcn.0043f700
test eax, eax
js 0x423447
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], 0
mov eax, dword [ebx]
mov dword [esp + 0xc], eax
mov dword [esp + 0xc0], 0xf8fbfafd
lea eax, [esp + 0xc4]
mov byte [eax + 2], 0
mov word [eax], 0
mov edi, 0x11736eab
mov edx, 0x6e8c9154
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + edi - 0x11736deb]
mov eax, edx
and eax, 0x50
mov ebx, edi
and ebx, 0xaf
or ebx, eax
xor ebx, esi
xor ebx, 0xaf
and ebx, edi
mov eax, ebx
or al, 0xfd
inc al
mov ecx, ebx
and cl, 0xbd
mul cl
mov ecx, eax
mov eax, esi
add cl, al
mov eax, ebx
shr al, 1
and al, 1
or bl, 2
mul bl
add al, al
sub cl, al
movzx eax, cl
add eax, edi
add al, 0xa9
mov byte [esp + edi - 0x11736deb], al
inc edi
dec edx
cmp edi, 0x11736eb2
jne 0x4234e0
mov eax, dword [esp + 0xc0]
mov ecx, dword [0x45316c]
test ecx, ecx
je 0x4235a0
xor edx, edx
mov edi, dword [0x453170]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x62429966
je 0x423570
inc edx
cmp ecx, edx
jne 0x423560
jmp 0x4235a0
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x4235a0
lea eax, [esp + 0x28]
push eax
push 0
push 0
push 0x2b
push dword [esp + 0x1c]
push 5
push dword [0x453174]
push ecx
call fcn.004421f0
add esp, 0x20
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0xc0000004
mov ebx, dword [ebp + 0x14]
jne 0x423690
mov eax, dword [esp + 0x28]
add eax, 2
push eax
call fcn.0043f350
add esp, 4
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov dword [esp + 0x20], eax
mov dword [esp + 0xc0], 0xf8fbfafd
lea eax, [esp + 0xc4]
mov byte [eax + 2], 0
mov word [eax], 0
mov edx, 0x11736eab
mov edi, 0x6e8c9154
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + edx - 0x11736deb]
mov eax, edi
and eax, 0x50
mov ebx, edx
and ebx, 0xaf
or ebx, eax
xor ebx, esi
xor ebx, 0xaf
and ebx, edx
mov eax, ebx
or al, 0xfd
inc al
mov ecx, ebx
and cl, 0xbd
mul cl
mov ecx, eax
mov eax, esi
add cl, al
mov eax, ebx
shr al, 1
and al, 1
or bl, 2
mul bl
add al, al
sub cl, al
movzx eax, cl
add eax, edx
add al, 0xa9
mov byte [esp + edx - 0x11736deb], al
inc edx
dec edi
cmp edx, 0x11736eb2
jne 0x423600
mov eax, dword [esp + 0xc0]
mov ecx, dword [0x45316c]
test ecx, ecx
je 0x4236bf
mov ebx, dword [esp + 4]
add ebx, 2
xor edx, edx
mov edi, dword [0x453170]
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x62429966
je 0x423699
inc edx
cmp ecx, edx
jne 0x423680
jmp 0x4236bf
mov esi, dword [esp + 0x10]
jmp 0x4237e6
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x4236bf
push 0
push ebx
push dword [esp + 0x14]
push 0x2b
push dword [esp + 0x30]
push 5
push dword [0x453174]
push ecx
call fcn.004421f0
add esp, 0x20
test eax, eax
mov ebx, dword [ebp + 0x14]
js 0x4237d6
mov ecx, dword [esp + 0xc]
movzx eax, word [ecx]
shr eax, 1
mov ecx, dword [ecx + 4]
xor edx, edx
mov esi, dword [esp + 0x10]
nop
nop
nop
nop
cmp eax, edx
je 0x4236fb
mov edi, dword [ebp + 0xc]
movzx edi, word [edi + edx*2]
cmp di, word [ecx + edx*2]
jne 0x4237da
inc edx
test di, di
jne 0x4236e0
mov ecx, ebx
call fcn.0043fd90
cmp eax, 2
jne 0x4237da
mov ecx, ebx
push 0
push 0x30
lea eax, [esp + 0x38]
push eax
push 0
call fcn.0043fbf0
test eax, eax
js 0x4237da
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.004400b0
test eax, eax
js 0x4237da
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.004400b0
test eax, eax
js 0x4237da
movzx eax, word [esp + 0x132]
push eax
call fcn.0043f350
add esp, 4
mov edi, eax
movzx eax, word [esp + 0x132]
mov ecx, ebx
push 0
push 0
push eax
push edi
push dword [esp + 0x14c]
push dword [esp + 0x14c]
call fcn.004400b0
test eax, eax
js 0x4239a5
mov eax, edi
movzx edi, word [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 4], eax
test di, di
je 0x423844
lea ecx, [esp + 0x60]
mov edx, dword [esp + 8]
mov eax, edx
mov dword [esp + 4], edx
jmp 0x423818
mov esi, dword [esp + 0x10]
push dword [esp + 0xc]
call fcn.0043f400
add esp, 4
mov eax, dword [esp + 0x1c]
or eax, dword [esp + 0x18]
je 0x423440
cmp dword [esp + 0x14], 0
je 0x423440
jmp 0x4239f7
movzx edi, word [ecx]
test di, di
je 0x423844
movzx ebx, word [eax]
test bx, bx
je 0x42399e
add eax, 2
add ecx, 2
mov edx, dword [esp + 4]
add edx, 2
cmp bx, di
je 0x42383c
mov dword [esp + 4], edx
mov eax, edx
je 0x423810
lea ecx, [esp + 0x60]
jmp 0x423810
cmp dword [esp + 4], 0
je 0x42399e
mov ebx, dword [ebp + 0x14]
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.004400b0
test eax, eax
js 0x4239a1
mov eax, dword [esp + 0x690]
mov ecx, dword [esp + 0x694]
add eax, 0x10
mov dword [esp + 4], eax
adc ecx, 0
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x630]
mov edx, dword [esp + 0x634]
mov dword [esp + 0x504], edx
mov dword [esp + 0x500], eax
jmp 0x4238eb
cmp cx, dx
je 0x4239b3
push edi
call fcn.0043f400
add esp, 4
mov eax, dword [esp + 0x500]
mov edx, dword [esp + 0x504]
mov ecx, edx
xor ecx, dword [esp + 0x20]
mov edi, eax
xor edi, dword [esp + 4]
or edi, ecx
je 0x4239a1
mov ecx, ebx
push 0
push 0
push 0x68
lea edi, [esp + 0x50c]
push edi
push edx
push eax
call fcn.004400b0
test eax, eax
js 0x4239a1
movzx eax, word [esp + 0x55a]
push eax
call fcn.0043f350
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.004400b0
test eax, eax
js 0x4238c0
xor eax, eax
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebp + 0x10]
movzx ecx, word [ecx + eax]
lea edx, [ecx - 0x41]
cmp dx, 0x1a
jae 0x42396c
mov edx, ecx
not edx
or edx, 0xffffffdf
add ecx, edx
add ecx, 0x21
movzx edx, word [edi + eax]
lea ebx, [edx - 0x41]
cmp bx, 0x1a
jae 0x423985
mov ebx, edx
not ebx
or ebx, 0xffffffdf
add edx, ebx
add edx, 0x21
mov ebx, dword [ebp + 0x14]
test cx, cx
je 0x4238b7
add eax, 2
cmp cx, dx
je 0x423950
jmp 0x4238b7
mov ebx, dword [ebp + 0x14]
mov edi, dword [esp + 8]
push edi
call fcn.0043f400
add esp, 4
jmp 0x4237da
mov eax, dword [esp + 0x530]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x534]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x540]
mov dword [esp + 0x14], eax
push edi
call fcn.0043f400
add esp, 4
jmp 0x4239a1
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
push dword [esp + 0x24]
call fcn.0043f400
add esp, 4
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
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.0043f890
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret