Function at 0x428950
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8cdb62
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], ebx
mov eax, dword [0xa43820]
mov edx, dword [eax + 0x42c]
mov ecx, dword [edx + 0x48]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x88], 0
push 0x68
call 0x8581c5
pop ecx
mov dword [ebp - 0x84], eax
test eax, eax
je 0x42932c
mov dword [ebp - 0x88], 1
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x84]
push eax
push 8
push 0xa
push 0xb
call fcn.004286c0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x88], 0
mov dword [0xa43908], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0xa43908]
fld dword [0xa438b4]
fdiv dword [0x8fc530]
fld dword [0x8fc52c]
mov edx, dword [eax + 0x10]
fxch st(1)
fstp dword [ebp - 0x24]
fld dword [0x8fc52c]
fxch st(1)
fstp dword [ebp - 0x20]
mov dword [ebp - 0x28], edx
lea esi, [edx + 8]
xor edi, edi
fst dword [ebp - 0x1c]
xor ebx, ebx
push 0x41800000
fld dword [ebp - 0x1c]
fld dword [ebp - 0x20]
fxch st(1)
fst dword [ebp - 0x80]
fxch st(1)
fstp dword [ebp - 0x78]
fstp dword [esi]
add esi, 4
push esp
push esp
lea eax, [ebp - 0x80]
call fcn.00428890
add esp, 0xc
fld dword [ebp - 0x20]
fxch st(1)
fstp dword [esi]
fld dword [ebp - 0x1c]
fsub dword [ebp - 0x24]
fstp dword [ebp - 0x1c]
fstp dword [esi + 4]
mov eax, dword [ebp - 0x80]
mov dword [esi + 8], eax
mov edx, dword [ebp - 0x7c]
mov dword [esi + 0xc], edx
add ebx, 1
mov ecx, dword [ebp - 0x78]
mov dword [esi + 0x10], ecx
add esi, 0x14
cmp ebx, 0xb
jge 0x428a86
fld dword [0x8fc52c]
jmp 0x428a27
fld dword [ebp - 0x20]
fsub dword [ebp - 0x24]
fstp dword [ebp - 0x20]
add edi, 1
cmp edi, 0xb
jge 0x428a9f
fld dword [0x8fc52c]
jmp 0x428a22
fld dword [0x8fc64c]
fld dword [0x8fc524]
mov edx, dword [ebp - 0x28]
fld dword [0x8fc648]
fld dword [edx + 8]
fmul st(3)
fmul st(2)
fnstcw word [ebp - 0x5c]
movzx eax, word [ebp - 0x5c]
or eax, 0xc00
mov dword [ebp - 0x54], eax
fldcw word [ebp - 0x54]
fistp dword [ebp - 0x4c]
fldcw word [ebp - 0x5c]
push 0x68
mov ecx, dword [ebp - 0x4c]
mov word [0xa438e8], cx
fld dword [edx + 8]
fmul st(1)
fmul st(2)
fnstcw word [ebp - 0x5c]
movzx eax, word [ebp - 0x5c]
or eax, 0xc00
mov dword [ebp - 0x54], eax
fldcw word [ebp - 0x54]
fistp dword [ebp - 0x4c]
fldcw word [ebp - 0x5c]
mov ebx, dword [ebp - 0x4c]
mov word [0xa438d0], bx
fld dword [edx + 0x20]
fmul st(3)
fmul st(2)
fnstcw word [ebp - 0x5c]
movzx eax, word [ebp - 0x5c]
or eax, 0xc00
mov dword [ebp - 0x54], eax
fldcw word [ebp - 0x54]
fistp dword [ebp - 0x4c]
fldcw word [ebp - 0x5c]
mov esi, dword [ebp - 0x4c]
mov word [0xa438ea], si
fld dword [edx + 0x20]
fmul st(1)
fmul st(2)
fnstcw word [ebp - 0x5c]
movzx eax, word [ebp - 0x5c]
or eax, 0xc00
mov dword [ebp - 0x54], eax
fldcw word [ebp - 0x54]
fistp dword [ebp - 0x4c]
fldcw word [ebp - 0x5c]
mov edi, dword [ebp - 0x4c]
mov word [0xa438d2], di
fld dword [edx + 0x38]
fmul st(3)
fmul st(2)
fnstcw word [ebp - 0x5c]
movzx eax, word [ebp - 0x5c]
or eax, 0xc00
mov dword [ebp - 0x54], eax
fldcw word [ebp - 0x54]
fistp dword [ebp - 0x4c]
fldcw word [ebp - 0x5c]
mov eax, dword [ebp - 0x4c]
mov word [0xa438ec], ax
fld dword [edx + 0x38]
fmul st(1)
fmul st(2)
fnstcw word [ebp - 0x5c]
movzx eax, word [ebp - 0x5c]
or eax, 0xc00
mov dword [ebp - 0x54], eax
fldcw word [ebp - 0x54]
fistp dword [ebp - 0x4c]
fldcw word [ebp - 0x5c]
mov eax, dword [ebp - 0x4c]
mov word [0xa438d4], ax
fld dword [edx + 0x50]
fmul st(3)
fmul st(2)
fnstcw word [ebp - 0x5c]
movzx eax, word [ebp - 0x5c]
or eax, 0xc00
mov dword [ebp - 0x54], eax
fldcw word [ebp - 0x54]
fistp dword [ebp - 0x4c]
fldcw word [ebp - 0x5c]
mov eax, dword [ebp - 0x4c]
mov word [0xa438ee], ax
fld dword [edx + 0x50]
fmul st(1)
fmul st(2)
fnstcw word [ebp - 0x5c]
movzx eax, word [ebp - 0x5c]
or eax, 0xc00
mov dword [ebp - 0x54], eax
fldcw word [ebp - 0x54]
fistp dword [ebp - 0x4c]
fldcw word [ebp - 0x5c]
mov eax, dword [ebp - 0x4c]
mov word [0xa438d6], ax
fld dword [edx + 0x68]
fmul st(3)
fmul st(2)
fnstcw word [ebp - 0x5c]
movzx eax, word [ebp - 0x5c]
or eax, 0xc00
mov dword [ebp - 0x54], eax
fldcw word [ebp - 0x54]
fistp dword [ebp - 0x4c]
fldcw word [ebp - 0x5c]
mov eax, dword [ebp - 0x4c]
mov word [0xa438f0], ax
fld dword [edx + 0x68]
fmul st(1)
fmul st(2)
fnstcw word [ebp - 0x5c]
movzx eax, word [ebp - 0x5c]
or eax, 0xc00
mov dword [ebp - 0x54], eax
fldcw word [ebp - 0x54]
fistp dword [ebp - 0x4c]
fldcw word [ebp - 0x5c]
mov eax, dword [ebp - 0x4c]
mov word [0xa438d8], ax
fld dword [edx + 0x80]
fmul st(3)
fmul st(2)
fnstcw word [ebp - 0x5c]
movzx eax, word [ebp - 0x5c]
or eax, 0xc00
mov dword [ebp - 0x54], eax
fldcw word [ebp - 0x54]
fistp dword [ebp - 0x4c]
fldcw word [ebp - 0x5c]
mov eax, dword [ebp - 0x4c]
mov word [0xa438f2], ax
fld dword [edx + 0x80]
fmul st(1)
fmul st(2)
fnstcw word [ebp - 0x5c]
movzx eax, word [ebp - 0x5c]
or eax, 0xc00
mov dword [ebp - 0x54], eax
fldcw word [ebp - 0x54]
fistp dword [ebp - 0x4c]
fldcw word [ebp - 0x5c]
mov eax, dword [ebp - 0x4c]
mov word [0xa438da], ax
fld dword [edx + 0x98]
fmul st(3)
fmul st(2)
fnstcw word [ebp - 0x5c]
movzx eax, word [ebp - 0x5c]
or eax, 0xc00
mov dword [ebp - 0x54], eax
fldcw word [ebp - 0x54]
fistp dword [ebp - 0x4c]
fldcw word [ebp - 0x5c]
mov eax, dword [ebp - 0x4c]
mov word [0xa438f4], ax
fld dword [edx + 0x98]
fmul st(1)
fmul st(2)
fnstcw word [ebp - 0x5c]
movzx eax, word [ebp - 0x5c]
or eax, 0xc00
mov dword [ebp - 0x54], eax
fldcw word [ebp - 0x54]
fistp dword [ebp - 0x4c]
fldcw word [ebp - 0x5c]
mov eax, dword [ebp - 0x4c]
mov word [0xa438dc], ax
fld dword [edx + 0xb0]
fmul st(3)
fmul st(2)
fnstcw word [ebp - 0x5c]
movzx eax, word [ebp - 0x5c]
or eax, 0xc00
mov dword [ebp - 0x54], eax
fldcw word [ebp - 0x54]
fistp dword [ebp - 0x4c]
fldcw word [ebp - 0x5c]
mov eax, dword [ebp - 0x4c]
mov word [0xa438f6], ax
fld dword [edx + 0xb0]
fmul st(1)
fmul st(2)
fnstcw word [ebp - 0x5c]
movzx eax, word [ebp - 0x5c]
or eax, 0xc00
mov dword [ebp - 0x54], eax
fldcw word [ebp - 0x54]
fistp dword [ebp - 0x4c]
fldcw word [ebp - 0x5c]
mov eax, dword [ebp - 0x4c]
mov word [0xa438de], ax
fld dword [edx + 0xc8]
fmul st(3)
fmul st(2)
fnstcw word [ebp - 0x5c]
movzx eax, word [ebp - 0x5c]
or eax, 0xc00
mov dword [ebp - 0x54], eax
fldcw word [ebp - 0x54]
fistp dword [ebp - 0x4c]
fldcw word [ebp - 0x5c]
mov eax, dword [ebp - 0x4c]
mov word [0xa438f8], ax
fld dword [edx + 0xc8]
fmul st(1)
fmul st(2)
fnstcw word [ebp - 0x5c]
movzx eax, word [ebp - 0x5c]
or eax, 0xc00
mov dword [ebp - 0x54], eax
fldcw word [ebp - 0x54]
fistp dword [ebp - 0x4c]
fldcw word [ebp - 0x5c]
mov eax, dword [ebp - 0x4c]
mov word [0xa438e0], ax
fld dword [edx + 0xe0]
fmul st(3)
fmul st(2)
fnstcw word [ebp - 0x5c]
movzx eax, word [ebp - 0x5c]
or eax, 0xc00
mov dword [ebp - 0x54], eax
fldcw word [ebp - 0x54]
fistp dword [ebp - 0x4c]
fldcw word [ebp - 0x5c]
mov eax, dword [ebp - 0x4c]
mov word [0xa438fa], ax
fld dword [edx + 0xe0]
fmul st(1)
fmul st(2)
fnstcw word [ebp - 0x5c]
movzx eax, word [ebp - 0x5c]
or eax, 0xc00
mov dword [ebp - 0x54], eax
fldcw word [ebp - 0x54]
fistp dword [ebp - 0x4c]
fldcw word [ebp - 0x5c]
mov eax, dword [ebp - 0x4c]
mov word [0xa438e2], ax
fld dword [edx + 0xf8]
fmulp st(3)
fxch st(1)
fmul st(2), st(0)
fxch st(2)
fnstcw word [ebp - 0x5c]
movzx eax, word [ebp - 0x5c]
or eax, 0xc00
mov dword [ebp - 0x54], eax
fldcw word [ebp - 0x54]
fistp dword [ebp - 0x4c]
fldcw word [ebp - 0x5c]
mov eax, dword [ebp - 0x4c]
mov word [0xa438fc], ax
fld dword [edx + 0xf8]
fmulp st(1)
mov dword [ebp - 0x74], 0
fmulp st(1)
fnstcw word [ebp - 0x5c]
movzx eax, word [ebp - 0x5c]
or eax, 0xc00
mov dword [ebp - 0x54], eax
fldcw word [ebp - 0x54]
fistp dword [ebp - 0x4c]
fldcw word [ebp - 0x5c]
mov eax, dword [ebp - 0x4c]
mov word [0xa438e4], ax
call 0x8581c5
mov dword [ebp - 0x2c], eax
add esp, 4
mov dword [ebp - 0x70], eax
test eax, eax
je 0x429322
mov dword [ebp - 0x74], 1
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
push eax
push 8
push 4
push 5
call fcn.004286c0
mov dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x2c]
mov dword [0xa43900], eax
mov dword [ebp - 4], 0xffffffff
fld dword [0x8fc520]
mov esi, dword [eax + 0x10]
fstp dword [ebp - 0x24]
add esi, 8
xor edi, edi
fld dword [0x8fc51c]
fstp dword [ebp - 0x20]
xor ebx, ebx
push 0x41800000
fld dword [ebp - 0x20]
fld dword [ebp - 0x24]
fld dword [0x8fc52c]
fxch st(2)
fst dword [ebp - 0x6c]
fxch st(1)
fstp dword [ebp - 0x64]
fstp dword [esi]
add esi, 4
push esp
push esp
lea eax, [ebp - 0x6c]
call fcn.00428890
add esp, 0xc
fadd dword [0x8fc518]
fld dword [ebp - 0x24]
fld dword [0x8fc514]
fxch st(2)
fstp dword [esi]
fld dword [ebp - 0x20]
fxch st(1)
fstp dword [esi + 4]
fsub st(1)
mov eax, dword [ebp - 0x6c]
fstp dword [ebp - 0x20]
mov dword [esi + 8], eax
add ebx, 1
mov edx, dword [ebp - 0x68]
mov dword [esi + 0xc], edx
mov ecx, dword [ebp - 0x64]
mov dword [esi + 0x10], ecx
add esi, 0x14
cmp ebx, 5
jge 0x428f2f
fstp st(0)
jmp 0x428ec1
fld dword [ebp - 0x24]
fsubrp st(1)
fstp dword [ebp - 0x24]
add edi, 1
cmp edi, 5
jl 0x428eb6
mov eax, dword [0xa43900]
mov ebx, dword [eax + 0x14]
movzx edx, word [ebx + 0xe]
and edx, 0xc000
movzx ecx, word [ebx + 0x10]
or edx, 0xffff0005
mov word [ebx + 0xe], dx
or ecx, 0xffff0900
mov word [ebx + 0x10], cx
mov ecx, 0x300
xor edx, edx
mov esi, dword [0xa43900]
mov eax, dword [esi + 0xc]
mov edi, dword [esi + 0x14]
add eax, eax
lea ebx, [edi + eax + 6]
mov eax, 0x400
xor esi, esi
mov word [ebx + 4], si
mov word [ebx + 6], ax
mov word [ebx + 0xa], si
mov word [ebx + 0xc], cx
mov edi, 0x100
mov word [ebx + 0x10], di
mov word [ebx + 0x12], ax
mov word [ebx + 0x16], di
mov word [ebx + 0x18], cx
mov esi, 0x200
mov word [ebx + 0x1c], si
mov word [ebx + 0x1e], ax
mov word [ebx + 0x22], si
mov word [ebx + 0x24], cx
mov esi, 0x300
mov word [ebx + 0x28], si
mov word [ebx + 0x2a], ax
mov word [ebx + 0x2e], si
mov word [ebx + 0x30], cx
mov esi, 0x400
mov word [ebx + 0x34], si
mov word [ebx + 0x36], ax
mov word [ebx + 0x3a], si
mov word [ebx + 0x3c], cx
mov eax, ecx
add ecx, 0xffffff00
movsx ecx, cx
add edx, 1
add ebx, 0x3e
cmp edx, 4
jl 0x428f8b
mov dword [ebp - 0x60], 0
push 0x68
call 0x8581c5
pop ecx
mov dword [ebp - 0x84], eax
test eax, eax
je 0x42931b
mov dword [ebp - 0x60], 1
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x84]
push eax
push 8
push 1
push 0xb
call fcn.004286c0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x60], 0
mov dword [0xa43904], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0xa43820]
mov esi, dword [ecx + 0x42c]
mov ebx, dword [esi + 0x38]
mov edi, dword [ebx + 4]
mov ecx, dword [edi + 4]
mov esi, dword [edi]
add esi, 8
mov eax, 0x408
mov word [ecx + 0xc], ax
lea edx, [ecx + 0x10]
mov eax, 0x242
mov edi, 0
mov dword [0xa438c8], edx
mov word [ecx + 0x10], ax
movzx eax, word [ecx + 0x14]
add ecx, 0x16
and eax, 0x3fff
mov dword [ebp - 0x2c], eax
mov ebx, ecx
mov eax, 0
mov dword [ebp - 0x28], eax
jle 0x42914b
mov eax, dword [ebp - 0x2c]
cmp eax, 6
jl 0x42912b
lea edx, [eax - 6]
mov dword [ebp - 0x30], edx
movsx eax, word [ecx]
cdq
xor eax, edx
sub eax, edx
movsx eax, ax
add eax, edi
mov dword [ebp - 0x18], eax
movsx eax, word [ecx + 2]
cdq
xor eax, edx
sub eax, edx
movsx eax, ax
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
movsx eax, word [ecx + 4]
cdq
xor eax, edx
sub eax, edx
movsx edi, ax
add edi, dword [ebp - 0x14]
movsx eax, word [ecx + 6]
cdq
xor eax, edx
sub eax, edx
movsx eax, ax
add eax, edi
mov dword [ebp - 0x14], eax
movsx eax, word [ecx + 8]
cdq
add ecx, 0xa
xor eax, edx
sub eax, edx
movsx edi, ax
add edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
add eax, 5
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
cmp eax, edx
jle 0x4290c7
movsx eax, word [ecx]
cdq
add ecx, 2
xor eax, edx
sub eax, edx
mov edx, dword [ebp - 0x2c]
movsx eax, ax
add edi, eax
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
cmp eax, edx
jl 0x42912b
add edi, edi
add edi, edi
push edi
call 0x8581c5
mov ecx, eax
add esp, 4
mov edi, dword [ebp - 0x2c]
mov dword [0xa438cc], ecx
xor edx, edx
test edi, edi
mov dword [ebp - 0x28], edx
jle 0x429217
fld dword [0x8fc64c]
fld dword [0x8fc524]
fld dword [0x8fc648]
movsx eax, word [ebx]
cdq
xor edi, edi
add ebx, 2
xor eax, edx
sub eax, edx
movsx edx, ax
mov dword [ebp - 0x30], edx
test edx, edx
jle 0x4291fd
movsx eax, word [ebx]
lea edx, [eax + eax]
add edx, eax
fld dword [esi + edx*8]
fmul st(3)
add ebx, 6
fmul st(2)
fnstcw word [ebp - 0x5c]
movzx eax, word [ebp - 0x5c]
or eax, 0xc00
mov dword [ebp - 0x54], eax
fldcw word [ebp - 0x54]
fistp dword [ebp - 0x4c]
fldcw word [ebp - 0x5c]
add edi, 1
mov eax, dword [ebp - 0x4c]
mov word [ecx], ax
fld dword [esi + edx*8 + 8]
fmul st(1)
fmul st(2)
fnstcw word [ebp - 0x5c]
movzx eax, word [ebp - 0x5c]
or eax, 0xc00
mov dword [ebp - 0x54], eax
fldcw word [ebp - 0x54]
fistp dword [ebp - 0x4c]
fldcw word [ebp - 0x5c]
mov edx, dword [ebp - 0x4c]
mov word [ecx + 2], dx
add ecx, 4
mov edx, dword [ebp - 0x30]
cmp edi, edx
jl 0x429199
mov edx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x28], edx
cmp edx, edi
jl 0x429182
fstp st(0)
fstp st(0)
fstp st(0)
mov edx, dword [0xa43820]
mov ecx, dword [edx + 0x42c]
mov ebx, dword [ecx + 0x38]
mov eax, dword [ebx + 4]
mov edi, dword [eax]
movzx eax, word [edi + 6]
mov dword [0xa438c4], 0
mov dword [ebp - 0x2c], eax
xor ecx, ecx
mov ebx, esi
xor edx, edx
test eax, eax
jle 0x42926f
fld dword [0x8fc508]
fcom dword [esi + 4]
fnstsw ax
lea edi, [esi + 4]
sahf
jae 0x429260
add ecx, 1
mov dword [0xa438c4], ecx
mov eax, dword [ebp - 0x2c]
lea esi, [edi + 0x14]
add edx, 1
cmp edx, eax
jl 0x42924c
fstp st(0)
add ecx, ecx
add ecx, ecx
add ecx, ecx
add ecx, ecx
push ecx
call 0x8581c5
mov dword [ebp - 0x28], eax
add esp, 4
mov edi, eax
mov eax, dword [ebp - 0x2c]
mov dword [0xa438c0], edi
xor edi, edi
test eax, eax
jle 0x429304
fld dword [ebx + 4]
fcomp dword [0x8fc508]
fnstsw ax
lea esi, [ebx + 4]
sahf
jbe 0x4292f7
mov edx, dword [ebp - 0x28]
mov dword [edx], esi
mov eax, dword [esi]
mov dword [edx + 4], eax
mov dword [edx + 8], 0xc1000000
call 0x8587a5
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x44], eax
fild dword [ebp - 0x44]
fdiv dword [0x8fc510]
fmul dword [0x8fc50c]
fnstcw word [ebp - 0x5c]
movzx eax, word [ebp - 0x5c]
or eax, 0xc00
mov dword [ebp - 0x54], eax
fldcw word [ebp - 0x54]
fistp dword [ebp - 0x4c]
fldcw word [ebp - 0x5c]
mov eax, dword [ebp - 0x4c]
add eax, 2
mov dword [edx + 0xc], eax
add edx, 0x10
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x2c]
lea ebx, [esi + 0x14]
add edi, 1
cmp edi, eax
jl 0x429294
mov edi, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
xor eax, eax
jmp 0x429054
xor eax, eax
mov dword [ebp - 0x2c], eax
jmp 0x428e96
xor eax, eax
jmp 0x4289e4