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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x74
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
fld dword [ecx]
fadd dword [edi + 0x10]
fld dword [edi + 0x14]
fadd dword [ecx + 4]
fld dword [edi + 0x18]
fadd dword [ecx + 8]
fstp dword [esp + 0x38]
fld dword [edi + 0x1c]
fadd dword [ecx + 0xc]
fstp dword [esp + 0x3c]
fxch st(1)
fmul dword [edi + 0x30]
fstp dword [esp + 0x30]
fmul dword [edi + 0x34]
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fmul dword [edi + 0x38]
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fmul dword [edi + 0x3c]
fld dword [esp + 0x30]
fcomp dword [0x671b78]
fnstsw ax
test ah, 5
jnp 0x5fa80b
mov dword [esp + 0x30], 0x477ffc00
fld dword [esp + 0x34]
fcomp dword [0x671b78]
fnstsw ax
test ah, 5
jnp 0x5fa824
mov dword [esp + 0x34], 0x477ffc00
fld dword [esp + 0x38]
fcomp dword [0x671b78]
fnstsw ax
test ah, 5
jnp 0x5fa83d
mov dword [esp + 0x38], 0x477ffc00
fcom dword [0x671b78]
fnstsw ax
test ah, 5
jnp 0x5fa852
fstp st(0)
fld dword [0x671b78]
fld dword [esp + 0x30]
fcomp dword [0x641de0]
fnstsw ax
test ah, 0x41
je 0x5fa86b
mov dword [esp + 0x30], 0
fld dword [esp + 0x34]
fcomp dword [0x641de0]
fnstsw ax
test ah, 0x41
je 0x5fa884
mov dword [esp + 0x34], 0
fld dword [esp + 0x38]
fcomp dword [0x641de0]
fnstsw ax
test ah, 0x41
je 0x5fa89d
mov dword [esp + 0x38], 0
fcom dword [0x641de0]
fnstsw ax
test ah, 0x41
je 0x5fa8b2
fstp st(0)
fld dword [0x641de0]
fld dword [esp + 0x30]
fadd dword [0x6542f8]
fstp dword [esp + 0x30]
mov eax, dword [esp + 0x30]
fld dword [esp + 0x34]
shr eax, 7
fadd dword [0x6542f8]
mov word [esp + 0x30], ax
fstp dword [esp + 0x34]
mov edx, dword [esp + 0x34]
fld dword [esp + 0x38]
shr edx, 7
fadd dword [0x6542f8]
mov word [esp + 0x32], dx
fstp dword [esp + 0x38]
mov esi, dword [esp + 0x38]
shr esi, 7
fadd dword [0x6542f8]
mov word [esp + 0x34], si
fstp dword [esp + 0x3c]
mov ebx, dword [esp + 0x3c]
fld dword [edi + 0x20]
mov dword [esp + 0x4c], ebx
fadd dword [ecx + 0x10]
fld dword [ecx + 0x14]
fadd dword [edi + 0x24]
fld dword [ecx + 0x18]
fadd dword [edi + 0x28]
fstp dword [esp + 0x48]
fld dword [ecx + 0x1c]
fadd dword [edi + 0x2c]
fstp dword [esp + 0x4c]
fxch st(1)
fmul dword [edi + 0x30]
fstp dword [esp + 0x40]
fmul dword [edi + 0x34]
fstp dword [esp + 0x44]
fld dword [esp + 0x48]
fmul dword [edi + 0x38]
fstp dword [esp + 0x48]
fld dword [esp + 0x4c]
fmul dword [edi + 0x3c]
fld dword [esp + 0x40]
fcomp dword [0x671b78]
fnstsw ax
test ah, 5
jnp 0x5fa96d
mov dword [esp + 0x40], 0x477ffc00
fld dword [esp + 0x44]
fcomp dword [0x671b78]
fnstsw ax
test ah, 5
jnp 0x5fa986
mov dword [esp + 0x44], 0x477ffc00
fld dword [esp + 0x48]
fcomp dword [0x671b78]
fnstsw ax
test ah, 5
jnp 0x5fa99f
mov dword [esp + 0x48], 0x477ffc00
fcom dword [0x671b78]
fnstsw ax
test ah, 5
jnp 0x5fa9b4
fstp st(0)
fld dword [0x671b78]
fld dword [esp + 0x40]
fcomp dword [0x641de0]
fnstsw ax
test ah, 0x41
je 0x5fa9cd
mov dword [esp + 0x40], 0
fld dword [esp + 0x44]
fcomp dword [0x641de0]
fnstsw ax
test ah, 0x41
je 0x5fa9e6
mov dword [esp + 0x44], 0
fld dword [esp + 0x48]
fcomp dword [0x641de0]
fnstsw ax
test ah, 0x41
je 0x5fa9ff
mov dword [esp + 0x48], 0
fcom dword [0x641de0]
fnstsw ax
test ah, 0x41
je 0x5faa14
fstp st(0)
fld dword [0x641de0]
fld dword [esp + 0x40]
lea ebx, [edi + 0x40]
fadd dword [0x6542f8]
fstp dword [esp + 0x40]
mov eax, dword [esp + 0x40]
fld dword [esp + 0x44]
shr eax, 7
fadd dword [0x6542f8]
movzx eax, ax
or eax, 1
mov dword [esp + 0x70], eax
fstp dword [esp + 0x44]
mov ecx, dword [esp + 0x44]
fld dword [esp + 0x48]
shr ecx, 7
fadd dword [0x6542f8]
movzx eax, cx
mov ecx, dword [ebx + 8]
fstp dword [esp + 0x48]
mov edx, dword [esp + 0x48]
fadd dword [0x6542f8]
or eax, 1
mov dword [esp + 0x74], eax
shr edx, 7
fstp dword [esp + 0x4c]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x30]
and esi, 0xfffe
mov dword [esp + 0x60], esi
mov esi, dword [esp + 0x32]
movzx eax, dx
or eax, 1
and esi, 0xfffe
mov dword [esp + 0x78], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x64], esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 4]
and esi, 0xfffe
and ecx, 0x7fffffff
cmp eax, ecx
mov dword [esp + 0x68], esi
jne 0x5faad2
push 0x10
push ebx
call fcn.0054d2c0
add esp, 8
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov esi, eax
shl esi, 4
add esi, ecx
inc eax
mov dword [ebx + 4], eax
lea eax, [esi + 0xa]
push eax
lea edx, [esi + 8]
push edx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x6c]
push eax
mov ebx, ecx
push edx
lea ecx, [edi + 0x4c]
push ebx
call fcn.005f92d0
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x18]
lea eax, [esi + 4]
push eax
mov eax, dword [esp + 0x78]
push esi
push eax
push ecx
push edx
push ebx
lea ecx, [edi + 0x58]
call fcn.005f92d0
mov edx, dword [esp + 0x78]
lea eax, [esi + 6]
push eax
mov eax, dword [esp + 0x6c]
lea ecx, [esi + 2]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
push ebx
lea ecx, [edi + 0x64]
call fcn.005f92d0
mov edx, dword [esp + 0x18]
push esi
push edx
push ebx
mov ecx, edi
call fcn.005f7bc0
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x18]
mov dword [esi + 0xc], eax
mov dword [eax], ecx
mov ebx, dword [edi + 0x44]
mov edx, ebx
sar edx, 5
add edx, 4
push edx
lea ecx, [esp + 0x44]
call fcn.005f9d70
mov eax, dword [esp + 0x28]
movzx ecx, word [eax]
mov edx, dword [esp + 0x24]
movzx eax, word [edx]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
sar ebx, 7
test ebx, ebx
mov dword [esp + 0x30], ecx
mov edx, eax
jl 0x5fabc3
inc ebx
lea esp, [esp]
mov ecx, edx
add edx, 0x10
dec ebx
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
jne 0x5faba0
mov edx, dword [edi + 0x4c]
mov ecx, dword [edi + 0x70]
test ecx, ecx
mov dword [esp + 0x28], edx
lea ebx, [edx + 4]
je 0x5facdf
mov edx, dword [edi + 0x74]
mov ecx, 0x10
sub ecx, edx
mov edx, dword [esp + 0x60]
sar edx, cl
mov ecx, edx
test ecx, ecx
jle 0x5facdb
mov edx, dword [edi + 0x78]
shl ecx, 4
lea ecx, [ecx + edx - 0x10]
mov dword [esp + 0x1c], ecx
movzx ecx, word [ecx]
mov edx, ecx
and ecx, 0x1f
sar edx, 5
mov ebx, 1
shl ebx, cl
xor dword [eax + edx*4], ebx
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + 4]
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + 8]
dec ecx
js 0x5fac63
inc ecx
mov dword [esp + 0x24], ecx
jmp 0x5fac30
mov edx, dword [esp + 0x20]
movzx ecx, word [edx]
mov edx, ecx
and ecx, 0x1f
sar edx, 5
mov ebx, 1
shl ebx, cl
xor dword [eax + edx*4], ebx
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
add edx, 2
dec ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
jne 0x5fac30
mov edx, dword [esp + 0x1c]
movzx ecx, word [edx]
mov edx, dword [edi + 0x40]
shl ecx, 4
movzx ebx, word [ecx + edx + 8]
add ecx, edx
mov edx, dword [edi + 0x4c]
lea ebx, [edx + ebx*4 + 4]
mov dword [esp + 0x20], ebx
movzx ebx, word [ecx + 0xa]
lea ebx, [edx + ebx*4]
mov edx, dword [esp + 0x20]
cmp edx, ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ebx
jae 0x5facce
test byte [edx], 1
jne 0x5facc3
movzx ecx, word [edx + 2]
mov edx, ecx
and ecx, 0x1f
mov ebx, 1
shl ebx, cl
sar edx, 5
mov ecx, dword [eax + edx*4]
not ebx
and ecx, ebx
mov ebx, dword [esp + 0x28]
mov dword [eax + edx*4], ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
add edx, 4
cmp edx, ebx
mov dword [esp + 0x20], edx
jb 0x5fac95
movzx ecx, word [ecx + 8]
mov edx, dword [edi + 0x4c]
lea ebx, [edx + ecx*4 + 4]
jmp 0x5facdf
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
lea ecx, [edx + ecx*4]
cmp ebx, ecx
mov dword [esp + 0x20], ecx
jae 0x5fad17
mov edi, edi
movzx ecx, word [ebx + 2]
mov edx, ecx
sar edx, 5
mov dword [esp + 0x2c], edx
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x2c]
add ebx, 4
xor dword [eax + ecx*4], edx
cmp ebx, dword [esp + 0x20]
jb 0x5facf0
mov ecx, dword [edi + 0x4c]
mov edx, dword [esp + 0x30]
lea ecx, [ecx + edx*4]
add ebx, 4
cmp ebx, ecx
mov dword [esp + 0x20], ecx
jae 0x5fad5e
lea esp, [esp]
test byte [ebx], 1
jne 0x5fad57
movzx ecx, word [ebx + 2]
mov edx, ecx
sar edx, 5
mov dword [esp + 0x30], edx
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x30]
xor dword [eax + ecx*4], edx
mov ecx, dword [esp + 0x20]
add ebx, 4
cmp ebx, ecx
jb 0x5fad30
mov ecx, dword [edi + 0x40]
mov dword [esp + 0x24], ecx
mov ecx, dword [edi + 0x44]
sar ecx, 5
lea ebx, [eax + ecx*4 + 4]
cmp eax, ebx
mov edx, eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], ebx
jae 0x5fae7f
mov ecx, dword [edx]
test ecx, ecx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
je 0x5fae63
test cl, cl
jne 0x5fada8
add eax, 0x80
shr ecx, 8
jmp 0x5fae4b
test cl, 1
je 0x5fae46
mov ebx, dword [esi]
mov edx, dword [eax + 4]
sub edx, ebx
mov ebx, dword [esi + 4]
sub ebx, dword [eax]
or edx, ebx
test edx, 0x80008000
jne 0x5fae46
mov ebx, dword [eax + 0xc]
test bl, 1
jne 0x5fae07
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
and ecx, 0x7fffffff
cmp edx, ecx
jne 0x5fadf0
push 8
push eax
call fcn.0054d2c0
mov eax, dword [ebp + 0x10]
add esp, 8
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
mov dword [eax + edx*8], ecx
mov dword [eax + edx*8 + 4], ebx
mov eax, dword [ebp + 0x10]
inc dword [eax + 4]
jmp 0x5fae3e
mov edx, dword [edi + 0x78]
and ebx, 0xfffffffe
mov eax, dword [ebx + edx + 0xc]
mov ecx, dword [ebx + edx + 8]
lea ebx, [ebx + edx + 4]
and eax, 0x7fffffff
cmp ecx, eax
jne 0x5fae2d
push 2
push ebx
call fcn.0054d2c0
add esp, 8
mov ecx, dword [ebx + 4]
mov ax, word [esp + 0x18]
mov edx, dword [ebx]
mov word [edx + ecx*2], ax
inc dword [ebx + 4]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
add eax, 0x10
shr ecx, 1
test ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x5fad97
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
add edx, 4
add eax, 0x200
cmp edx, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
jb 0x5fad81
lea ecx, [esp + 0x40]
call fcn.0053bb70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc