Function at 0x4763d0
Capabilities:
Encode data using xor
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf4
push ebx
mov ebx, dword [ebp + 8]
fld dword [ebx]
push esi
fsub dword [ebx + 0x20]
push edi
mov edi, ecx
mov dword [esp + 0x80], edi
fstp dword [esp + 0x70]
fld dword [ebx + 4]
fsub dword [ebx + 0x24]
fstp dword [esp + 0x74]
fld dword [ebx + 8]
fsub dword [ebx + 0x28]
fstp dword [esp + 0x78]
fld dword [ebx + 0xc]
fsub dword [ebx + 0x2c]
fstp dword [esp + 0x7c]
fld dword [ebx]
fadd dword [ebx + 0x20]
fstp dword [esp + 0x40]
fld dword [ebx + 0x24]
fadd dword [ebx + 4]
fstp dword [esp + 0x44]
fld dword [ebx + 0x28]
fadd dword [ebx + 8]
fstp dword [esp + 0x48]
fld dword [ebx + 0x2c]
fadd dword [ebx + 0xc]
fstp dword [esp + 0x4c]
fld dword [esp + 0x70]
fadd dword [edi + 0x40]
fstp dword [esp + 0x20]
fld dword [edi + 0x44]
fadd dword [esp + 0x74]
fstp dword [esp + 0x24]
fld dword [edi + 0x48]
fadd dword [esp + 0x78]
fstp dword [esp + 0x28]
fld dword [edi + 0x4c]
fadd dword [esp + 0x7c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x20]
fmul dword [edi + 0x60]
fstp dword [esp + 0x20]
fld dword [edi + 0x64]
fmul dword [esp + 0x24]
fstp dword [esp + 0x24]
fld dword [edi + 0x68]
fmul dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [edi + 0x6c]
fmul dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x20]
fld dword [0x4c59c0]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
je 0x4764aa
fst dword [esp + 0x20]
fld dword [esp + 0x24]
fld dword [0x4c59c4]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
je 0x4764c3
fst dword [esp + 0x24]
fld dword [esp + 0x28]
fld dword [0x4c59c8]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
je 0x4764dc
fst dword [esp + 0x28]
fld dword [esp + 0x2c]
fld dword [0x4c59cc]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
je 0x4764f5
fst dword [esp + 0x2c]
fldz
fcom dword [esp + 0x20]
fnstsw ax
test ah, 5
jnp 0x476506
fst dword [esp + 0x20]
fcom dword [esp + 0x24]
fnstsw ax
test ah, 5
jnp 0x476515
fst dword [esp + 0x24]
fcom dword [esp + 0x28]
fnstsw ax
test ah, 5
jnp 0x476524
fst dword [esp + 0x28]
fcom dword [esp + 0x2c]
fnstsw ax
test ah, 5
jnp 0x476533
fst dword [esp + 0x2c]
fld dword [esp + 0x20]
fld qword [0x4b9f08]
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x20]
mov eax, dword [esp + 0x20]
fld dword [esp + 0x24]
shr eax, 7
fadd st(1)
movzx eax, ax
mov dword [esp + 0x90], eax
fstp dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
fld dword [esp + 0x28]
shr ecx, 7
fadd st(1)
movzx ecx, cx
mov dword [esp + 0x94], ecx
fstp dword [esp + 0x28]
mov edx, dword [esp + 0x28]
fld dword [esp + 0x2c]
shr edx, 7
fadd st(1)
movzx edx, dx
fstp dword [esp + 0x2c]
mov esi, dword [esp + 0x2c]
fld dword [esp + 0x40]
shr esi, 7
fadd dword [edi + 0x40]
movzx eax, si
fstp dword [esp + 0x20]
mov dword [esp + 0x9c], eax
fld dword [edi + 0x44]
mov dword [esp + 0x98], edx
fadd dword [esp + 0x44]
fstp dword [esp + 0x24]
fld dword [edi + 0x48]
fadd dword [esp + 0x48]
fstp dword [esp + 0x28]
fld dword [edi + 0x4c]
fadd dword [esp + 0x4c]
fstp dword [esp + 0x2c]
fld dword [edi + 0x60]
fmul dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [edi + 0x64]
fmul dword [esp + 0x24]
fstp dword [esp + 0x24]
fld dword [edi + 0x68]
fmul dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [edi + 0x6c]
fmul dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x20]
fcomp st(6)
fnstsw ax
test ah, 5
jnp 0x476614
fxch st(5)
fstp dword [esp + 0x20]
jmp 0x476616
fstp st(5)
fld dword [esp + 0x24]
fcomp st(4)
fnstsw ax
test ah, 5
jnp 0x47662b
fxch st(3)
fstp dword [esp + 0x24]
jmp 0x47662d
fstp st(3)
fld dword [esp + 0x28]
fcomp st(2)
fnstsw ax
test ah, 5
jnp 0x476642
fxch st(1)
fstp dword [esp + 0x28]
jmp 0x476644
fstp st(1)
fld dword [esp + 0x2c]
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x476657
fstp dword [esp + 0x2c]
jmp 0x476659
fstp st(0)
fcom dword [esp + 0x20]
fnstsw ax
test ah, 5
jnp 0x476668
fst dword [esp + 0x20]
fcom dword [esp + 0x24]
fnstsw ax
test ah, 5
jnp 0x476677
fst dword [esp + 0x24]
fcom dword [esp + 0x28]
fnstsw ax
test ah, 5
jnp 0x476686
fst dword [esp + 0x28]
fcom dword [esp + 0x2c]
fnstsw ax
test ah, 5
jnp 0x476697
fstp dword [esp + 0x2c]
jmp 0x476699
fstp st(0)
fld dword [esp + 0x20]
fadd st(1)
fstp dword [esp + 0x20]
mov eax, dword [esp + 0x20]
fld dword [esp + 0x24]
shr eax, 7
fadd st(1)
movzx eax, ax
mov dword [esp + 0x50], eax
fstp dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
fld dword [esp + 0x28]
shr ecx, 7
fadd st(1)
movzx ecx, cx
mov dword [esp + 0x54], ecx
mov ecx, dword [0x4c6060]
fstp dword [esp + 0x28]
mov edx, dword [esp + 0x28]
fadd dword [esp + 0x2c]
shr edx, 7
movzx edx, dx
fstp dword [esp + 0x2c]
mov esi, dword [esp + 0x2c]
shr esi, 7
movzx eax, si
mov esi, dword [edi + 0xa4]
push ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [esi + 0x20]
mov esi, dword [eax + 0x20]
and edx, 0xfffffff0
lea ecx, [esi + edx]
cmp ecx, dword [eax + 0x2c]
ja 0x476720
mov dword [eax + 0x20], ecx
jmp 0x47672c
mov esi, dword [eax]
push edx
mov edx, dword [esi + 0x14]
mov ecx, eax
call edx
mov esi, eax
mov ecx, dword [edi + 0xa4]
sar ecx, 4
mov edx, esi
js 0x476757
lea esp, [esp]
fldz
mov eax, edx
fst dword [eax]
add edx, 0x10
sub ecx, 1
fst dword [eax + 4]
fst dword [eax + 8]
fstp dword [eax + 0xc]
jns 0x476740
mov ebx, dword [ebx + 0x30]
test ebx, ebx
je 0x476762
mov edi, ebx
jmp 0x476768
add edi, 0xac
xor ebx, ebx
mov ecx, 1
mov dword [esp + 0x38], edi
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x38]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov ebx, dword [esp + ebx + 0x90]
mov edi, edx
sar edi, 1
movzx edi, word [eax + edi*4]
cmp ebx, edi
mov dword [esp + 0x18], ebx
jae 0x476840
lea edi, [eax + edx*4 - 0x10]
add eax, 4
cmp eax, edi
jae 0x4767d9
movzx edx, word [eax + 0xc]
cmp edx, ebx
ja 0x4767d9
movzx edx, word [eax + 2]
xor byte [edx + esi], cl
add edx, esi
movzx edx, word [eax + 6]
xor byte [edx + esi], cl
add edx, esi
movzx edx, word [eax + 0xa]
xor byte [edx + esi], cl
add edx, esi
movzx edx, word [eax + 0xe]
xor byte [edx + esi], cl
add edx, esi
add eax, 0x10
cmp eax, edi
jb 0x4767a6
movzx edx, word [eax]
mov edi, dword [esp + 0x18]
cmp edx, edi
mov ebx, dword [esp + 0x1c]
ja 0x476804
jmp 0x4767f0
movzx edx, word [eax + 2]
xor byte [edx + esi], cl
add edx, esi
movzx edx, word [eax + 4]
add eax, 4
cmp edx, edi
jbe 0x4767f0
movzx edi, word [eax]
mov edx, dword [esp + ebx + 0x50]
cmp edi, edx
mov dword [esp + ebx + 0x64], eax
ja 0x476834
mov bl, byte [eax]
movzx edi, word [eax + 2]
and bl, 1
sub bl, 1
add edi, esi
and bl, cl
xor byte [edi], bl
movzx edi, word [eax + 4]
add eax, 4
cmp edi, edx
jbe 0x476813
mov ebx, dword [esp + 0x1c]
mov dword [esp + ebx + 0x84], eax
jmp 0x4768e6
lea edi, [eax + 0x10]
lea eax, [eax + edx*4 - 8]
cmp eax, edi
jb 0x476886
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + edx + 0x50]
movzx edx, word [eax - 0xc]
cmp edx, ebx
jbe 0x476886
movzx edx, word [eax + 2]
xor byte [edx + esi], cl
add edx, esi
movzx edx, word [eax - 2]
xor byte [edx + esi], cl
add edx, esi
movzx edx, word [eax - 6]
xor byte [edx + esi], cl
add edx, esi
movzx edx, word [eax - 0xa]
xor byte [edx + esi], cl
add edx, esi
sub eax, 0x10
cmp eax, edi
jae 0x476853
mov ebx, dword [esp + 0x1c]
movzx edx, word [eax]
mov edi, dword [esp + ebx + 0x50]
cmp edx, edi
jbe 0x4768a9
movzx edx, word [eax + 2]
xor byte [edx + esi], cl
add edx, esi
movzx edx, word [eax - 4]
sub eax, 4
cmp edx, edi
ja 0x476895
lea edx, [eax + 4]
mov dword [esp + ebx + 0x84], edx
movzx edx, word [eax]
cmp edx, dword [esp + 0x18]
jbe 0x4768df
lea esp, [esp]
movzx edx, word [eax + 2]
lea edi, [edx + esi]
mov dl, byte [eax]
and dl, 1
neg dl
and dl, cl
xor byte [edi], dl
movzx edx, word [eax - 4]
sub eax, 4
cmp edx, dword [esp + 0x18]
ja 0x4768c0
add eax, 4
mov dword [esp + ebx + 0x64], eax
add dword [esp + 0x38], 0xc
add ebx, 4
add ecx, ecx
cmp ebx, 0xc
mov dword [esp + 0x1c], ebx
jl 0x476777
mov eax, dword [esp + 0x80]
fld1
mov ecx, dword [eax + 0xa0]
fstp dword [esp + 0x1c]
mov eax, dword [eax + 0xa4]
mov edi, dword [ebp + 0xc]
sar eax, 2
lea eax, [esi + eax*4 + 4]
cmp esi, eax
mov ebx, esi
mov dword [esp + 0x38], eax
jae 0x476a54
add ecx, 0x1c
mov dword [esp + 0x18], ecx
jmp 0x476940
mov ecx, dword [ebx]
add ecx, 0x1010101
test ecx, 0x8080808
je 0x476a42
cmp byte [ebx], 7
jne 0x47698f
mov edx, dword [esp + 0x18]
mov eax, dword [edx - 0x10]
test al, 1
jne 0x47698f
mov edx, dword [edi]
push 0
push eax
mov eax, dword [edx + 4]
mov ecx, edi
call eax
fstp dword [esp + 0x14]
fld dword [esp + 0x1c]
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
je 0x47698d
fstp dword [esp + 0x1c]
jmp 0x47698f
fstp st(0)
cmp byte [ebx + 1], 7
jne 0x4769ca
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
test al, 1
jne 0x4769ca
mov edx, dword [edi]
push 0
push eax
mov eax, dword [edx + 4]
mov ecx, edi
call eax
fstp dword [esp + 0x14]
fld dword [esp + 0x1c]
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
je 0x4769c8
fstp dword [esp + 0x1c]
jmp 0x4769ca
fstp st(0)
cmp byte [ebx + 2], 7
jne 0x476a06
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x10]
test al, 1
jne 0x476a06
mov edx, dword [edi]
push 0
push eax
mov eax, dword [edx + 4]
mov ecx, edi
call eax
fstp dword [esp + 0x14]
fld dword [esp + 0x1c]
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
je 0x476a04
fstp dword [esp + 0x1c]
jmp 0x476a06
fstp st(0)
cmp byte [ebx + 3], 7
jne 0x476a42
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x20]
test al, 1
jne 0x476a42
mov edx, dword [edi]
push 0
push eax
mov eax, dword [edx + 4]
mov ecx, edi
call eax
fstp dword [esp + 0x14]
fld dword [esp + 0x1c]
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
je 0x476a40
fstp dword [esp + 0x1c]
jmp 0x476a42
fstp st(0)
add dword [esp + 0x18], 0x40
add ebx, 4
cmp ebx, dword [esp + 0x38]
jb 0x476940
mov ecx, dword [ebp + 8]
fld dword [ecx + 0x10]
lea eax, [ecx + 0x10]
fsub dword [ecx]
mov edi, dword [esp + 0x80]
lea edx, [edi + 0x60]
mov dword [esp + 0x38], eax
fstp dword [esp + 0xe0]
fld dword [eax + 4]
fsub dword [ecx + 4]
fstp dword [esp + 0xe4]
fld dword [eax + 8]
fsub dword [ecx + 8]
fstp dword [esp + 0xe8]
fld dword [eax + 0xc]
fsub dword [ecx + 0xc]
xor ecx, ecx
lea ebx, [ecx - 4]
fstp dword [esp + 0xec]
fld qword [0x4b9080]
fld1
fld dword [0x4b343c]
fld dword [esp + ecx + 0xe0]
fmul dword [edx]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld st(0)
fabs
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp + 0x18]
fldz
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x476afa
mov dword [esp + ecx + 0xd4], 4
mov dword [esp + ecx + 0x20], 0
mov dword [esp + ecx + 0xf4], 1
jmp 0x476b68
mov eax, dword [esp + ecx + 0x64]
fld dword [esp + ecx + 0x70]
mov dword [esp + ecx + 0xd4], ebx
fstp dword [esp + 0x14]
mov ebx, dword [esp + ecx + 0x84]
fld dword [esp + ecx + 0x40]
mov dword [esp + ecx + 0x64], ebx
fstp dword [esp + ecx + 0x70]
mov ebx, dword [esp + ecx + 0x50]
fld dword [esp + 0x14]
mov dword [esp + ecx + 0x84], eax
fstp dword [esp + ecx + 0x40]
mov eax, dword [esp + ecx + 0x90]
mov dword [esp + ecx + 0x90], ebx
mov ebx, 0xfffffffc
add dword [esp + ecx + 0x64], ebx
add dword [esp + ecx + 0x84], ebx
mov dword [esp + ecx + 0x50], eax
mov dword [esp + ecx + 0x20], 1
mov dword [esp + ecx + 0xf4], 0
fld dword [esp + 0x18]
fld dword [edx - 0x20]
fadd dword [esp + ecx + 0x70]
fmul dword [edx]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul st(5)
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x476c07
mov eax, dword [esp + 0x38]
fld dword [edx - 0x20]
fadd dword [eax]
fmul dword [edx]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul st(5)
fcompp
fnstsw ax
test ah, 0x41
je 0x476c09
fdivr st(2)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fst dword [esp + ecx + 0xa0]
fld dword [edx - 0x20]
fadd dword [esp + ecx + 0x70]
fmul dword [edx]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fsub dword [edi + 0xdc]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul st(1)
fstp dword [esp + ecx + 0xb0]
fld dword [esp + ecx + 0x40]
fadd dword [edx - 0x20]
fmul dword [edx]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fsub dword [edi + 0xdc]
fstp dword [esp + 0x14]
fmul dword [esp + 0x14]
fstp dword [esp + ecx + 0xc0]
jmp 0x476c22
fstp st(0)
fstp st(0)
fldz
fstp dword [esp + ecx + 0xa0]
fst dword [esp + ecx + 0xb0]
fst dword [esp + ecx + 0xc0]
add dword [esp + 0x38], 4
add ecx, 4
add edx, 4
cmp ecx, 0xc
jl 0x476aae
fstp st(2)
mov eax, dword [esp + 0x64]
fstp st(1)
mov ecx, dword [esp + 0x68]
fstp st(0)
mov dword [esp + 0x70], eax
movzx eax, word [eax]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x84]
fild dword [esp + 0x14]
movzx eax, word [edi]
fld dword [esp + 0xa0]
fld st(0)
fmulp st(2)
mov dword [esp + 0x74], ecx
fld dword [esp + 0xb0]
movzx ecx, word [ecx]
fsubp st(2)
fxch st(1)
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x88]
fstp dword [esp + 0x50]
mov dword [esp + 0x78], edx
fld dword [esp + 0xa4]
movzx edx, word [edx]
fld st(0)
fild dword [esp + 0x14]
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x14], edx
fmulp st(1)
movzx edx, word [ecx]
fsub dword [esp + 0xb4]
mov dword [esp + 0x68], ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x6c], ebx
fstp dword [esp + 0x54]
mov dword [esp + 0x64], edi
fld dword [esp + 0xa8]
fld st(0)
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
movzx eax, word [ebx]
mov byte [esi], 8
fmulp st(1)
mov ebx, 2
fsub dword [esp + 0xb8]
fstp dword [esp + 0x58]
fild dword [esp + 0x14]
mov dword [esp + 0x14], edx
fmulp st(3)
fld dword [esp + 0xc0]
fsubp st(3)
fxch st(2)
fstp dword [esp + 0x40]
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
fmulp st(1)
fsub dword [esp + 0xc4]
fstp dword [esp + 0x44]
fild dword [esp + 0x14]
fmulp st(1)
fsub dword [esp + 0xc8]
fstp dword [esp + 0x48]
fld dword [esp + 0x50]
fld dword [esp + 0x54]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x476d61
fstp st(0)
fld dword [esp + 0x58]
fcompp
fnstsw ax
test ah, 0x41
jne 0x476d78
mov dword [esp + 0x18], 0
jmp 0x476d7c
fstp st(1)
mov dword [esp + 0x18], 1
fld dword [esp + 0x58]
fcompp
fnstsw ax
test ah, 0x41
je 0x476d7c
mov dword [esp + 0x18], ebx
fld dword [esp + 0x40]
fld dword [esp + 0x44]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x476da0
fstp st(0)
fld dword [esp + 0x48]
fcompp
fnstsw ax
test ah, 0x41
jne 0x476db4
xor ebx, ebx
jmp 0x476db4
fstp st(1)
fld dword [esp + 0x48]
fcompp
fnstsw ax
test ah, 0x41
jne 0x476db4
mov ebx, 1
mov edi, dword [esp + 0x18]
fld dword [esp + ebx*4 + 0x40]
fld dword [esp + edi*4 + 0x50]
lea ecx, [esp + ebx*4 + 0x40]
lea edx, [esp + edi*4 + 0x50]
fcompp
mov dword [esp + 0x38], ecx
mov dword [esp + 0x14], edx
fnstsw ax
test ah, 0x41
jne 0x476edd
fld dword [ecx]
fld dword [esp + 0x1c]
fcompp
fnstsw ax
test ah, 5
jnp 0x476f9e
mov edi, dword [esp + ebx*4 + 0x64]
movzx edx, byte [edi]
movzx eax, word [edi + 2]
and edx, 1
xor edx, dword [esp + ebx*4 + 0xf4]
mov ecx, ebx
shl edx, cl
xor byte [esi + eax], dl
cmp byte [esi + eax], 7
jb 0x476e61
test edx, edx
je 0x476e61
test eax, eax
je 0x476eb8
mov ecx, dword [esp + 0x80]
shl eax, 4
add eax, dword [ecx + 0xa0]
mov eax, dword [eax + 0xc]
test al, 1
jne 0x476e61
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push 0
push eax
mov eax, dword [edx + 4]
call eax
fstp dword [esp + 0x14]
fld dword [esp + 0x1c]
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
je 0x476e5f
fstp dword [esp + 0x1c]
jmp 0x476e61
fstp st(0)
movzx ecx, word [edi]
mov edx, dword [esp + ebx*4 + 0xd4]
cmp cx, word [edx + edi]
lea eax, [edx + edi]
mov dword [esp + ebx*4 + 0x64], eax
je 0x476df0
mov eax, dword [eax]
fld dword [esp + ebx*4 + 0xa0]
mov ecx, dword [esp + 0x38]
movzx eax, ax
mov dword [esp + 0x14], eax
lea edx, [esp + 0x38]
fild dword [esp + 0x14]
push edx
lea eax, [esp + 0x44]
push eax
fmulp st(1)
fsub dword [esp + ebx*4 + 0xc8]
fstp dword [ecx]
call fcn.00479170
add esp, 8
mov ebx, eax
jmp 0x476db4
mov eax, dword [esp + 0x38]
fld dword [0x4b3440]
lea ecx, [esp + 0x14]
fstp dword [eax]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.00479170
add esp, 8
mov ebx, eax
jmp 0x476db4
fld dword [edx]
fld dword [esp + 0x1c]
fcompp
fnstsw ax
test ah, 5
jnp 0x476f9e
mov cl, byte [esp + edi*4 + 0x20]
mov byte [esp + 0x3f], cl
jmp 0x476f00
mov edx, dword [esp + 0x18]
mov eax, dword [esp + edx*4 + 0x70]
mov dl, byte [eax]
mov ecx, dword [esp + 0x18]
movzx edi, word [eax + 2]
and dl, 1
xor dl, byte [esp + 0x3f]
shl dl, cl
xor byte [esi + edi], dl
cmp byte [esi + edi], 8
ja 0x476f77
movzx edx, word [eax]
mov edi, dword [esp + ecx*4 + 0xd4]
add eax, edi
cmp dx, word [eax]
mov dword [esp + ecx*4 + 0x70], eax
je 0x476f00
mov eax, dword [eax]
fld dword [esp + ecx*4 + 0xa0]
movzx eax, ax
mov dword [esp + 0x38], eax
lea edx, [esp + 0x14]
fild dword [esp + 0x38]
push edx
lea eax, [esp + 0x54]
push eax
fmulp st(1)
fsub dword [esp + ecx*4 + 0xb8]
mov ecx, dword [esp + 0x1c]
fstp dword [ecx]
call fcn.00479170
add esp, 8
mov dword [esp + 0x18], eax
jmp 0x476db4
mov eax, dword [esp + 0x14]
fld dword [0x4b3440]
lea ecx, [esp + 0x14]
fstp dword [eax]
push ecx
lea edx, [esp + 0x54]
push edx
call fcn.00479170
add esp, 8
mov dword [esp + 0x18], eax
jmp 0x476db4
mov ecx, dword [0x4c6060]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp esi, dword [eax + 0x28]
mov dword [eax + 0x20], esi
jne 0x476fbd
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x18]
push esi
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8