Function at 0x421490
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], 0xb9e9bbd7
mov dword [esp + 0xc4], 0xbd2abf33
mov dword [esp + 0xc8], 0xb12eb323
mov dword [esp + 0xcc], 0xb522b72f
mov dword [esp + 0xd0], 0xa9f9ab3b
mov dword [esp + 0xd4], 0xad25af3d
mov dword [esp + 0xd8], 0xa1f1a3ca
mov dword [esp + 0xdc], 0xa529a734
mov dword [esp + 0xe0], 0xd941db34
mov dword [esp + 0xe4], 0xdd4cdf9b
mov dword [esp + 0xe8], 0xd146d347
mov dword [esp + 0xec], 0xd547d759
mov dword [esp + 0xf0], 0xc957cb42
mov dword [esp + 0xf4], 0xcd5dcf9a
mov dword [esp + 0xf8], 0xc15cc35d
mov dword [esp + 0xfc], 0xc555c751
mov dword [esp + 0x100], 0xf988fb96
mov dword [esp + 0x104], 0xfd6aff63
mov dword [esp + 0x108], 0xf163f375
mov dword [esp + 0x10c], 0xf56bf766
mov dword [esp + 0x110], 0xe971eb81
mov dword [esp + 0x114], 0xed64ef7e
mov dword [esp + 0x118], 0xe187e373
mov dword [esp + 0x11c], 0xe5e6e77b
mov word [esp + 0x120], 0
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x120]
mov dword [esp + 0x10], eax
mov esi, 0x7fd0139f
mov eax, 0x2fec60
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + esi - 0x7fd012df]
mov edx, eax
and edx, 0x200c6e
mov ecx, esi
and ecx, 0x41400391
or ecx, edx
xor ecx, edi
mov edx, ecx
and edx, 0x55
xor edx, 0x11
and ecx, 0xaa
xor ecx, 0x2a
sub ecx, edx
add cl, 0x3a
mov byte [esp + esi - 0x7fd012df], cl
inc esi
dec eax
cmp esi, 0x7fd01401
jne 0x4215d0
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
mov eax, dword [esp + 0x10]
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov dword [esp + 0x28], 0
mov dword [esp + 0xc0], 0xfcfdfeff
nop
nop
xor byte [esp + edx + 0xc0], dl
inc edx
cmp edx, 4
jne 0x421650
mov eax, dword [esp + 0xc0]
mov ecx, dword [0x44f890]
test ecx, ecx
je 0x4216b4
xor edx, edx
mov esi, dword [0x44f894]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xc85f7986
je 0x421690
inc edx
cmp ecx, edx
jne 0x421680
jmp 0x4216b4
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x4216b4
lea eax, [esp + 0x28]
push eax
push 0
push 0
push 5
push 4
push dword [0x44f898]
push ecx
call fcn.0043ff80
add esp, 0x1c
cmp eax, 0xc0000004
jne 0x421720
push dword [esp + 0x28]
call fcn.0043da60
add esp, 4
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xc0], 0xfcfdfeff
xor eax, eax
nop
nop
nop
nop
xor byte [esp + eax + 0xc0], al
inc eax
cmp eax, 4
jne 0x4216e0
mov eax, dword [esp + 0xc0]
mov edx, dword [0x44f890]
test edx, edx
je 0x42174d
xor esi, esi
mov edi, dword [0x44f894]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0xc85f7986
je 0x42172b
inc esi
cmp edx, esi
jne 0x421710
jmp 0x42174d
xor ecx, ecx
xor edx, edx
xor esi, esi
jmp 0x421c61
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x42174d
push 0
push ecx
push dword [esp + 0x28]
push 5
push 4
push dword [0x44f898]
push edx
call fcn.0043ff80
add esp, 0x1c
test eax, eax
js 0x421c31
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], 0
jmp 0x42178f
call fcn.0043de30
mov eax, dword [esi]
test eax, eax
je 0x421c49
mov ecx, dword [esi + eax + 0x3c]
add esi, eax
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [ecx + eax]
movzx edi, word [ebx + eax]
test dx, dx
je 0x4217b5
add eax, 2
cmp dx, di
je 0x4217a0
cmp dx, di
jne 0x421785
mov eax, dword [esi + 0x44]
mov edi, dword [ebp + 0x14]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xdc]
mov dword [edi + 0xc], eax
mov ecx, edi
push 0x410
call fcn.0043dcf0
test eax, eax
js 0x421785
mov dword [esp + 0x24], 0
mov ecx, dword [edi]
mov dword [esp + 0xc0], 0xfcfdfeff
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
xor byte [esp + eax + 0xc0], al
inc eax
cmp eax, 4
jne 0x421800
mov eax, dword [esp + 0xc0]
mov edx, dword [0x44f890]
test edx, edx
je 0x421870
mov dword [esp + 0x14], ecx
xor edi, edi
mov ecx, dword [0x44f894]
nop
nop
nop
nop
nop
nop
cmp dword [ecx + edi*8], 0x62429966
je 0x421840
inc edi
cmp edx, edi
jne 0x421830
jmp 0x421870
mov ecx, dword [ecx + edi*8 + 4]
cmp ecx, eax
je 0x421870
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0x2b
push dword [esp + 0x24]
push 5
push dword [0x44f898]
push ecx
call fcn.0043ff80
add esp, 0x20
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0xc0000004
jne 0x421c13
mov eax, dword [esp + 0x24]
add eax, 2
push eax
call fcn.0043da60
add esp, 4
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x24]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov dword [esp + 0xc0], 0xfcfdfeff
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
xor byte [esp + eax + 0xc0], al
inc eax
cmp eax, 4
jne 0x4218b0
mov eax, dword [esp + 0xc0]
mov edi, dword [0x44f890]
test edi, edi
je 0x421929
mov dword [esp + 0xc], ecx
add edx, 2
mov dword [esp + 4], edx
xor ecx, ecx
mov edx, dword [0x44f894]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x62429966
je 0x421900
inc ecx
cmp edi, ecx
jne 0x4218f0
jmp 0x421929
mov ecx, dword [edx + ecx*8 + 4]
cmp ecx, eax
je 0x421929
push 0
push dword [esp + 8]
push dword [esp + 0x1c]
push 0x2b
push dword [esp + 0x1c]
push 5
push dword [0x44f898]
push ecx
call fcn.0043ff80
add esp, 0x20
test eax, eax
js 0x421c07
mov ecx, dword [esp + 0x14]
movzx eax, word [ecx]
shr eax, 1
mov ecx, dword [ecx + 4]
xor edx, edx
nop
cmp eax, edx
je 0x42195b
mov edi, dword [ebp + 0xc]
movzx edi, word [edi + edx*2]
cmp di, word [ecx + edx*2]
jne 0x421c07
inc edx
test di, di
jne 0x421940
mov edi, dword [ebp + 0x14]
mov ecx, edi
call fcn.0043e240
cmp eax, 2
jne 0x421c07
mov ecx, edi
push 0
push 0x30
lea eax, [esp + 0x38]
push eax
push 0
call fcn.0043e100
test eax, eax
js 0x421c07
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.0043e510
test eax, eax
js 0x421c07
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.0043e510
test eax, eax
js 0x421c07
movzx eax, word [esp + 0x132]
push eax
call fcn.0043da60
add esp, 4
movzx edx, word [esp + 0x132]
mov ecx, edi
push 0
push 0
push edx
mov dword [esp + 0x14], eax
push eax
push dword [esp + 0x14c]
push dword [esp + 0x14c]
call fcn.0043e510
test eax, eax
js 0x421bfa
movzx edi, word [esp + 0x60]
mov eax, dword [esp + 8]
mov dword [esp + 4], eax
test di, di
je 0x421a7c
lea edx, [esp + 0x60]
mov eax, dword [esp + 8]
mov ecx, eax
mov dword [esp + 4], eax
jmp 0x421a48
movzx edi, word [edx]
test di, di
je 0x421a7c
movzx eax, word [ecx]
test ax, ax
je 0x421bfa
add ecx, 2
add edx, 2
mov dword [esp + 0xc], edx
mov edx, dword [esp + 4]
add edx, 2
cmp ax, di
je 0x421a70
mov dword [esp + 4], edx
mov ecx, edx
mov edx, dword [esp + 0xc]
je 0x421a40
lea edx, [esp + 0x60]
jmp 0x421a40
cmp dword [esp + 4], 0
je 0x421bfa
mov ecx, dword [ebp + 0x14]
push 0
push 0
push 0x20
lea eax, [esp + 0x62c]
push eax
push dword [esp + 0x6a4]
push dword [esp + 0x6a4]
call fcn.0043e510
test eax, eax
js 0x421bfa
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 0x421b24
cmp cx, dx
je 0x421bcd
push dword [esp + 0xc]
call fcn.0043daf0
add esp, 4
mov eax, dword [esp + 0x500]
mov edx, dword [esp + 0x504]
mov ecx, edx
xor ecx, dword [esp + 0x2c]
mov edi, eax
xor edi, dword [esp + 4]
or edi, ecx
je 0x421bfa
mov ecx, dword [ebp + 0x14]
push 0
push 0
push 0x68
lea edi, [esp + 0x50c]
push edi
push edx
push eax
call fcn.0043e510
test eax, eax
js 0x421bfa
movzx eax, word [esp + 0x55a]
push eax
call fcn.0043da60
add esp, 4
movzx edx, word [esp + 0x55a]
mov ecx, dword [ebp + 0x14]
push 0
push 0
push edx
mov dword [esp + 0x18], eax
push eax
push dword [esp + 0x574]
push dword [esp + 0x574]
call fcn.0043e510
test eax, eax
js 0x421af6
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebp + 0x10]
movzx ecx, word [ecx + eax]
lea edx, [ecx - 0x41]
cmp dx, 0x1a
jae 0x421ba3
or ecx, 0x20
mov edx, dword [esp + 0xc]
movzx edx, word [edx + eax]
lea edi, [edx - 0x41]
cmp di, 0x1a
jae 0x421bb7
or edx, 0x20
test cx, cx
je 0x421aed
add eax, 2
cmp cx, dx
je 0x421b90
jmp 0x421aed
mov eax, dword [esp + 0x530]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x534]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x540]
mov dword [esp + 0x18], eax
push dword [esp + 0xc]
call fcn.0043daf0
add esp, 4
mov eax, dword [esp + 8]
push eax
call fcn.0043daf0
add esp, 4
push dword [esp + 0x14]
call fcn.0043daf0
add esp, 4
mov eax, dword [esp + 0x10]
or eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x14]
je 0x421780
cmp dword [esp + 0x18], 0
je 0x421780
jmp 0x421c49
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], 0
push dword [esp + 0x20]
call fcn.0043daf0
add esp, 4
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
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, dword [ebp + 0x14]
call fcn.0043de20
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret