Function at 0x4fc600
Capabilities:
Execute anti-debugging instructions
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push dword [0x884c50]
mov edi, ecx
call esi
mov dword [esp + 0x14], eax
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 0xc]
jae 0x4fc64e
mov dword [ecx], str.LtIntegrate
mov dword [ecx + 0xc], str.StInit
rdtsc
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 4], eax
lea eax, [ecx + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0xc]
movups xmm0, xmmword [edx]
movups xmmword [eax + 0x1e0], xmm0
mov ecx, dword [edi + 0xc]
add ecx, 0x1f0
movss xmm0, dword [ecx + 0x120]
mulss xmm0, dword [edx + 8]
movss dword [ecx + 0x10c], xmm0
movd xmm0, dword [ecx + 0x114]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [edx + 0xc]
movss dword [ecx + 0x110], xmm0
mov eax, dword [edi + 0xc]
movss xmm0, dword [ecx + 0x10c]
shufps xmm0, xmm0, 0
mulps xmm0, xmmword [eax + 0x10]
movaps xmmword [ecx + 0x10], xmm0
mov eax, dword [edi + 0xc]
movss xmm0, dword [edx + 8]
shufps xmm0, xmm0, 0
mulps xmm0, xmmword [eax + 0x10]
movaps xmmword [ecx + 0x20], xmm0
call fcn.006e59c0
mov ecx, dword [edi + 0xc]
lea eax, [esp + 0x34]
push eax
call fcn.0050cf90
call fcn.004758b0
push dword [esp + 0x34]
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x1c]
call eax
test al, al
jne 0x4fc702
mov ecx, dword [edi + 0xc]
call fcn.0050d7a0
test eax, eax
je 0x4fcada
push dword [edi + 0xc]
call fcn.0052cf00
add esp, 4
mov eax, dword [edi + 0xc]
inc dword [eax + 0x94]
mov eax, dword [edi + 0xc]
dec dword [eax + 0x98]
push dword [0x884c50]
call esi
mov ecx, eax
mov dword [esp + 0x20], ecx
mov eax, dword [ecx + 4]
mov dword [esp + 0x14], eax
cmp eax, dword [ecx + 0xc]
jae 0x4fc74f
mov dword [eax], str.StActions
rdtsc
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
add eax, 0xc
mov ecx, dword [esp + 0x20]
mov dword [ecx + 4], eax
mov ecx, edi
call fcn.004fcb10
mov eax, dword [edi + 0xc]
inc dword [eax + 0x98]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x20], eax
add dword [eax + 0x94], 0xffffffff
jne 0x4fc7a5
cmp byte [eax + 0x9c], 0
jne 0x4fc7a5
cmp dword [eax + 0x8c], 0
je 0x4fc78c
mov ecx, eax
call fcn.00510540
mov eax, dword [esp + 0x20]
cmp dword [eax + 0xa4], 1
jne 0x4fc7a5
cmp dword [eax + 0x90], 0
je 0x4fc7a5
mov ecx, eax
call fcn.00510560
mov eax, dword [edi + 0xc]
inc dword [eax + 0x94]
mov ecx, dword [edi + 0xc]
inc byte [ecx + 0x317]
add ecx, 0x1f0
movzx eax, byte [ecx + 0x127]
sub eax, 4
test al, 7
jne 0x4fc7d2
xor byte [ecx + 0x125], 1
test byte [ecx + 0x127], 7
jne 0x4fc7e2
xor byte [ecx + 0x125], 2
test byte [ecx + 0x127], 0xf
jne 0x4fc800
mov al, 1
sub al, byte [ecx + 0x126]
mov byte [ecx + 0x126], al
mov byte [ecx + 0x127], 0
mov eax, dword [edi + 0xc]
lea ecx, [esp + 0x40]
push dword [eax + 0x1d0]
add eax, 0x1f0
push dword [ebp + 8]
push eax
call fcn.004fd630
push dword [0x884c50]
call esi
mov ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ecx + 4]
mov dword [esp + 0x1c], eax
cmp eax, dword [ecx + 0xc]
jae 0x4fc856
mov dword [eax], str.StIntegrate
rdtsc
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], ecx
add eax, 0xc
mov ecx, dword [esp + 0x14]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0xc]
add eax, 0x28
mov dword [esp + 0x18], eax
mov ecx, dword [eax + 4]
sub ecx, 1
mov dword [esp + 0x1c], ecx
js 0x4fc9d9
mov eax, dword [eax]
mov esi, dword [eax + ecx*4]
mov ecx, dword [edi + 0xc]
add ecx, 0x1e0
mov dword [esp + 0x28], ecx
cmp dword [esi + 0xc], 0
jne 0x4fcaee
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
mov dword [esp + 0x24], ecx
mov eax, dword [ecx + 4]
mov dword [esp + 0x14], eax
cmp eax, dword [ecx + 0xc]
jae 0x4fc8cb
mov dword [eax], str.TtSingleObj
rdtsc
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], ecx
add eax, 0xc
mov ecx, dword [esp + 0x24]
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x28]
push 0xe0
push dword [esi + 0x50]
push dword [esi + 0x4c]
lea eax, [ecx + 0x30]
push eax
push ecx
lea eax, [ecx + 0x10]
push eax
call fcn.00523160
push dword [esi + 0x50]
mov ecx, dword [esi + 0x18]
push dword [esi + 0x4c]
mov dword [esp + 0x34], eax
push dword [ecx + 0x78]
call fcn.005269a0
add esp, 0x24
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
mov dword [esp + 0x24], ecx
mov eax, dword [ecx + 4]
mov dword [esp + 0x28], eax
cmp eax, dword [ecx + 0xc]
jae 0x4fc93f
mov dword [eax], 0x77f5ec
rdtsc
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
add eax, 0xc
mov ecx, dword [esp + 0x24]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x14]
cmp eax, 5
jle 0x4fc964
test byte [esi + 0x26], 0xc
je 0x4fc964
mov eax, dword [esi + 0x18]
cmp byte [eax + 0xd9], 0
je 0x4fc964
push esi
push eax
call fcn.0052cb90
add esp, 8
mov eax, dword [edi + 0xc]
cmp dword [eax + 0x198], 0
je 0x4fc9be
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
mov dword [esp + 0x24], ecx
mov eax, dword [ecx + 4]
mov dword [esp + 0x28], eax
cmp eax, dword [ecx + 0xc]
jae 0x4fc9af
mov dword [eax], str.StIslandPostIntegrateCb
rdtsc
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
add eax, 0xc
mov ecx, dword [esp + 0x24]
mov dword [ecx + 4], eax
push dword [ebp + 8]
push esi
push dword [edi + 0xc]
call fcn.00528bc0
add esp, 0xc
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
sub ecx, 1
mov dword [esp + 0x1c], ecx
jns 0x4fc870
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x18], eax
add dword [eax + 0x94], 0xffffffff
jne 0x4fca1f
cmp byte [eax + 0x9c], 0
jne 0x4fca1f
cmp dword [eax + 0x8c], 0
je 0x4fca06
mov ecx, eax
call fcn.00510540
mov eax, dword [esp + 0x18]
cmp dword [eax + 0xa4], 1
jne 0x4fca1f
cmp dword [eax + 0x90], 0
je 0x4fca1f
mov ecx, eax
call fcn.00510560
mov eax, dword [edi + 0xc]
cmp dword [eax + 0x180], 0
je 0x4fcaa5
push dword [0x884c50]
call esi
mov ecx, eax
mov dword [esp + 0x30], ecx
mov eax, dword [ecx + 4]
mov dword [esp + 0x2c], eax
cmp eax, dword [ecx + 0xc]
jae 0x4fca66
mov dword [eax], str.TtWorldPostIntegrateCb
rdtsc
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], ecx
add eax, 0xc
mov ecx, dword [esp + 0x30]
mov dword [ecx + 4], eax
push dword [ebp + 8]
push dword [edi + 0xc]
call fcn.00528620
add esp, 8
push dword [0x884c50]
call esi
mov dword [esp + 0x2c], eax
mov edi, dword [eax + 4]
cmp edi, dword [eax + 0xc]
jae 0x4fcaa5
mov dword [edi], 0x77f5ec
rdtsc
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 4], eax
push dword [0x884c50]
call esi
mov edi, eax
mov esi, dword [edi + 4]
cmp esi, dword [edi + 0xc]
jae 0x4fcad0
mov dword [esi], 0x77f784
rdtsc
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
lea eax, [esi + 0xc]
mov dword [esi + 4], ecx
mov dword [edi + 4], eax
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov dword [edi + 0x28], 1
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push dword [esi + 0x50]
lea eax, [esp + 0x44]
push dword [esi + 0x4c]
push 0
push 0
push esi
push eax
lea eax, [ecx + 0x10]
push eax
push ecx
call fcn.00524c30
add esp, 0x20
jmp 0x4fc943