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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x64
push ebx
push esi
mov esi, ecx
mov ebx, dword [esi + 0x44]
mov ecx, dword [0x9617f0]
mov edx, dword [ecx + 0xc]
mov eax, ebx
sar eax, 5
add eax, 4
lea eax, [eax*4 + 0xf]
and eax, 0xfffffff0
cmp eax, edx
push edi
mov dword [esp + 0x3c], eax
jle 0x5f943e
mov edx, dword [ecx]
push eax
call dword [edx + 0x24]
mov edi, eax
jmp 0x5f9453
mov edi, dword [ecx + 8]
mov dword [esp + 0x1c], edi
add edi, eax
sub edx, eax
mov dword [ecx + 8], edi
mov edi, dword [esp + 0x1c]
mov dword [ecx + 0xc], edx
sar ebx, 7
xor edx, edx
cmp ebx, edx
mov dword [esp + 0x1c], edi
mov ecx, edi
jl 0x5f9476
inc ebx
mov eax, ecx
add ecx, 0x10
dec ebx
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
jne 0x5f9463
mov ecx, dword [ebp + 8]
fld dword [esi + 0x10]
fadd dword [ecx]
fld dword [esi + 0x14]
fadd dword [ecx + 4]
fld dword [esi + 0x18]
fadd dword [ecx + 8]
fstp dword [esp + 0x28]
fld dword [esi + 0x1c]
fadd dword [ecx + 0xc]
fstp dword [esp + 0x2c]
fxch st(1)
fmul dword [esi + 0x30]
fstp dword [esp + 0x20]
fmul dword [esi + 0x34]
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fmul dword [esi + 0x38]
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fmul dword [esi + 0x3c]
fld dword [esp + 0x20]
fcomp dword [0x671b78]
fnstsw ax
test ah, 5
jnp 0x5f94d3
mov dword [esp + 0x20], 0x477ffc00
fld dword [esp + 0x24]
fcomp dword [0x671b78]
fnstsw ax
test ah, 5
jnp 0x5f94ec
mov dword [esp + 0x24], 0x477ffc00
fld dword [esp + 0x28]
fcomp dword [0x671b78]
fnstsw ax
test ah, 5
jnp 0x5f9505
mov dword [esp + 0x28], 0x477ffc00
fcom dword [0x671b78]
fnstsw ax
test ah, 5
jnp 0x5f951a
fstp st(0)
fld dword [0x671b78]
fld dword [esp + 0x20]
fcomp dword [0x641de0]
fnstsw ax
test ah, 0x41
je 0x5f9533
mov dword [esp + 0x20], 0
fld dword [esp + 0x24]
fcomp dword [0x641de0]
fnstsw ax
test ah, 0x41
je 0x5f954c
mov dword [esp + 0x24], 0
fld dword [esp + 0x28]
fcomp dword [0x641de0]
fnstsw ax
test ah, 0x41
je 0x5f9565
mov dword [esp + 0x28], 0
fcom dword [0x641de0]
fnstsw ax
test ah, 0x41
je 0x5f957a
fstp st(0)
fld dword [0x641de0]
fld dword [esp + 0x20]
fadd dword [0x6542f8]
fstp dword [esp + 0x20]
mov eax, dword [esp + 0x20]
fld dword [esp + 0x24]
shr eax, 7
fadd dword [0x6542f8]
mov word [esp + 0x20], ax
fstp dword [esp + 0x24]
mov edx, dword [esp + 0x24]
fld dword [esp + 0x28]
shr edx, 7
fadd dword [0x6542f8]
mov word [esp + 0x22], dx
fstp dword [esp + 0x28]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x48], ebx
fadd dword [0x6542f8]
mov eax, dword [esp + 0x48]
shr eax, 7
mov word [esp + 0x24], ax
fstp dword [esp + 0x2c]
mov ebx, dword [esp + 0x2c]
fld dword [ecx + 0x10]
mov dword [esp + 0x4c], ebx
fadd dword [esi + 0x20]
fld dword [ecx + 0x14]
fadd dword [esi + 0x24]
fld dword [ecx + 0x18]
fadd dword [esi + 0x28]
fstp dword [esp + 0x48]
fld dword [ecx + 0x1c]
fadd dword [esi + 0x2c]
fstp dword [esp + 0x4c]
fxch st(1)
fmul dword [esi + 0x30]
fstp dword [esp + 0x40]
fmul dword [esi + 0x34]
fstp dword [esp + 0x44]
fld dword [esp + 0x48]
fmul dword [esi + 0x38]
fstp dword [esp + 0x48]
fld dword [esp + 0x4c]
fmul dword [esi + 0x3c]
fld dword [esp + 0x40]
fcomp dword [0x671b78]
fnstsw ax
test ah, 5
jnp 0x5f963d
mov dword [esp + 0x40], 0x477ffc00
fld dword [esp + 0x44]
fcomp dword [0x671b78]
fnstsw ax
test ah, 5
jnp 0x5f9656
mov dword [esp + 0x44], 0x477ffc00
fld dword [esp + 0x48]
fcomp dword [0x671b78]
fnstsw ax
test ah, 5
jnp 0x5f966f
mov dword [esp + 0x48], 0x477ffc00
fcom dword [0x671b78]
fnstsw ax
test ah, 5
jnp 0x5f9684
fstp st(0)
fld dword [0x671b78]
fld dword [esp + 0x40]
fcomp dword [0x641de0]
fnstsw ax
test ah, 0x41
je 0x5f969d
mov dword [esp + 0x40], 0
fld dword [esp + 0x44]
fcomp dword [0x641de0]
fnstsw ax
test ah, 0x41
je 0x5f96b6
mov dword [esp + 0x44], 0
fld dword [esp + 0x48]
fcomp dword [0x641de0]
fnstsw ax
test ah, 0x41
je 0x5f96cf
mov dword [esp + 0x48], 0
fcom dword [0x641de0]
fnstsw ax
test ah, 0x41
je 0x5f96e4
fstp st(0)
fld dword [0x641de0]
fld dword [esp + 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 + 0x60], 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 [esi + 0x70]
fstp dword [esp + 0x48]
mov edx, dword [esp + 0x48]
fadd dword [0x6542f8]
or eax, 1
mov dword [esp + 0x64], eax
shr edx, 7
fstp dword [esp + 0x4c]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x20]
and ebx, 0xfffe
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x22]
movzx eax, dx
and ebx, 0xfffe
or eax, 1
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0x4c]
and ebx, 0xfffe
add eax, 4
test ecx, ecx
mov dword [esp + 0x58], ebx
je 0x5f986e
mov ebx, dword [esi + 0x74]
mov ecx, 0x10
sub ecx, ebx
mov ebx, dword [esp + 0x50]
sar ebx, cl
test ebx, ebx
jle 0x5f986e
mov eax, dword [esi + 0x78]
shl ebx, 4
movzx ecx, word [ebx + eax - 0x10]
lea edx, [ebx + eax - 0x10]
mov eax, ecx
and ecx, 0x1f
sar eax, 5
mov ebx, 1
shl ebx, cl
mov ecx, dword [edi + eax*4]
mov dword [esp + 0x14], edx
xor ecx, ebx
mov dword [edi + eax*4], ecx
mov eax, dword [edx + 8]
dec eax
mov ebx, dword [edx + 4]
js 0x5f9807
inc eax
mov dword [esp + 0x18], eax
mov edi, edi
movzx ecx, word [ebx]
mov eax, ecx
and ecx, 0x1f
sar eax, 5
mov edx, 1
shl edx, cl
mov ecx, dword [edi + eax*4]
add ebx, 2
xor ecx, edx
mov dword [edi + eax*4], ecx
dec dword [esp + 0x18]
jne 0x5f97e0
mov edx, dword [esp + 0x14]
movzx eax, word [edx]
mov ecx, dword [esi + 0x40]
shl eax, 4
movzx edx, word [eax + ecx + 8]
movzx ebx, word [eax + ecx + 0xa]
add eax, ecx
mov ecx, dword [esi + 0x4c]
lea edx, [ecx + edx*4 + 4]
lea ecx, [ecx + ebx*4]
cmp edx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
jae 0x5f9863
test byte [edx], 1
jne 0x5f985c
movzx ecx, word [edx + 2]
mov eax, ecx
and ecx, 0x1f
mov ebx, 1
shl ebx, cl
sar eax, 5
mov ecx, dword [edi + eax*4]
not ebx
and ecx, ebx
mov dword [edi + eax*4], ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add edx, 4
cmp edx, ecx
jb 0x5f9832
movzx eax, word [eax + 8]
mov ecx, dword [esi + 0x4c]
lea eax, [ecx + eax*4 + 4]
movzx edx, word [eax]
cmp edx, dword [esp + 0x50]
jae 0x5f98a0
movzx ecx, word [eax + 2]
mov ebx, ecx
and ecx, 0x1f
mov edx, 1
shl edx, cl
sar ebx, 5
mov ecx, dword [edi + ebx*4]
add eax, 4
xor ecx, edx
mov edx, dword [esp + 0x50]
mov dword [edi + ebx*4], ecx
movzx ecx, word [eax]
cmp ecx, edx
jb 0x5f9877
mov cx, word [eax]
mov ebx, dword [esp + 0x60]
movzx edx, cx
cmp edx, ebx
jae 0x5f98dd
mov edi, edi
test cl, 1
jne 0x5f98cb
movzx ecx, word [eax + 2]
mov ebx, ecx
and ecx, 0x1f
mov edx, 1
sar ebx, 5
shl edx, cl
xor dword [edi + ebx*4], edx
mov cx, word [eax + 4]
mov ebx, dword [esp + 0x60]
add eax, 4
movzx edx, cx
cmp edx, ebx
jb 0x5f98b0
mov ebx, dword [esi + 0x58]
mov edx, dword [esp + 0x54]
mov eax, dword [esi + 0x5c]
lea edi, [esi + 0x58]
lea eax, [ebx + eax*4 - 8]
push edx
lea ecx, [ebx + 4]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x24], eax
call fcn.005f7f60
mov ecx, dword [esp + 0x18]
sub eax, ebx
sar eax, 2
mov word [esp + 0x40], ax
mov eax, dword [esp + 0x64]
push eax
push ecx
lea eax, [ebx + 4]
push eax
mov ecx, edi
call fcn.005f7f60
mov edx, 0xfffffffc
sub edx, ebx
mov ebx, dword [esi + 0x64]
add eax, edx
mov edx, dword [esp + 0x58]
sar eax, 2
lea edi, [esi + 0x64]
mov word [esp + 0x44], ax
mov eax, dword [edi + 4]
lea eax, [ebx + eax*4 - 8]
push edx
lea ecx, [ebx + 4]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x24], eax
call fcn.005f7f60
mov ecx, dword [esp + 0x18]
sub eax, ebx
sar eax, 2
mov word [esp + 0x42], ax
mov eax, dword [esp + 0x68]
push eax
push ecx
lea eax, [ebx + 4]
push eax
mov ecx, edi
call fcn.005f7f60
mov ecx, dword [esi + 0x44]
mov edx, 0xfffffffc
sub edx, ebx
add eax, edx
mov edx, dword [esi + 0x40]
sar eax, 2
mov word [esp + 0x46], ax
mov eax, dword [esp + 0x1c]
sar ecx, 5
lea ecx, [eax + ecx*4 + 4]
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
jae 0x5f9b60
mov esi, dword [ebp + 0xc]
add edx, 0x24
mov dword [esp + 0x14], edx
lea esp, [esp]
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
test eax, eax
mov dword [esp + 0x10], eax
je 0x5f9b3b
mov edi, dword [esp + 0x14]
test al, 0xf
je 0x5f9b29
test al, 1
je 0x5f9a25
mov edx, dword [edi - 0x24]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
sub ecx, edx
mov edx, dword [edi - 0x20]
sub edx, ebx
or ecx, edx
test ecx, 0x80008000
jne 0x5f9a25
mov ebx, dword [edi - 0x18]
test bl, 1
jne 0x5f9a25
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
and eax, 0x7fffffff
cmp ecx, eax
jne 0x5f9a10
push 8
push esi
call fcn.0054d2c0
add esp, 8
mov ecx, dword [esi + 4]
mov edx, dword [esi]
xor eax, eax
mov dword [edx + ecx*8], eax
mov dword [edx + ecx*8 + 4], ebx
inc dword [esi + 4]
mov eax, dword [esp + 0x10]
test al, 2
je 0x5f9a7c
mov edx, dword [edi - 0x14]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
sub ecx, edx
mov edx, dword [edi - 0x10]
sub edx, ebx
or ecx, edx
test ecx, 0x80008000
jne 0x5f9a7c
mov ebx, dword [edi - 8]
test bl, 1
jne 0x5f9a7c
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
and eax, 0x7fffffff
cmp ecx, eax
jne 0x5f9a67
push 8
push esi
call fcn.0054d2c0
add esp, 8
mov ecx, dword [esi + 4]
mov edx, dword [esi]
xor eax, eax
mov dword [edx + ecx*8], eax
mov dword [edx + ecx*8 + 4], ebx
inc dword [esi + 4]
mov eax, dword [esp + 0x10]
test al, 4
je 0x5f9ad2
mov edx, dword [edi - 4]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
sub ecx, edx
mov edx, dword [edi]
sub edx, ebx
or ecx, edx
test ecx, 0x80008000
jne 0x5f9ad2
mov ebx, dword [edi + 8]
test bl, 1
jne 0x5f9ace
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
and eax, 0x7fffffff
cmp ecx, eax
jne 0x5f9abd
push 8
push esi
call fcn.0054d2c0
add esp, 8
mov ecx, dword [esi + 4]
mov edx, dword [esi]
xor eax, eax
mov dword [edx + ecx*8], eax
mov dword [edx + ecx*8 + 4], ebx
inc dword [esi + 4]
mov eax, dword [esp + 0x10]
test al, 8
je 0x5f9b29
mov edx, dword [edi + 0xc]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
sub ecx, edx
mov edx, dword [edi + 0x10]
sub edx, ebx
or ecx, edx
test ecx, 0x80008000
jne 0x5f9b29
mov ebx, dword [edi + 0x18]
test bl, 1
jne 0x5f9b25
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
and eax, 0x7fffffff
cmp ecx, eax
jne 0x5f9b14
push 8
push esi
call fcn.0054d2c0
add esp, 8
mov ecx, dword [esi + 4]
mov edx, dword [esi]
xor eax, eax
mov dword [edx + ecx*8], eax
mov dword [edx + ecx*8 + 4], ebx
inc dword [esi + 4]
mov eax, dword [esp + 0x10]
shr eax, 4
add edi, 0x40
test eax, eax
mov dword [esp + 0x10], eax
jne 0x5f99c6
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
add eax, 4
add edi, 0x200
cmp eax, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
jb 0x5f99b0
mov eax, dword [esp + 0x3c]
test eax, eax
mov ecx, dword [0x9617f0]
je 0x5f9b8d
mov edx, dword [ecx + 0x14]
mov esi, dword [esp + 0x1c]
cmp esi, edx
je 0x5f9b7d
test edx, edx
jne 0x5f9b8d
mov edx, dword [ecx]
push eax
push esi
call dword [edx + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
sub esi, eax
pop edi
mov dword [ecx + 8], esi
add edx, eax
pop esi
mov dword [ecx + 0xc], edx
pop ebx
mov esp, ebp
pop ebp
ret 8