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

Disassembly:
sub esp, 0x48
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
push edi
push dword [0x884c50]
call ebx
mov esi, eax
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x4fba6e
mov dword [ecx], str.LtBroadPhase
mov dword [ecx + 0xc], str.StInitMem
rdtsc
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 4], eax
lea eax, [ecx + 0x10]
mov dword [esi + 4], eax
push ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], connect
mov esi, dword [ebp + 0x34c]
mov dword [esp + 0x54], esi
test esi, esi
je 0x4fbaca
push dword [0x884adc]
call ebx
mov ecx, eax
lea edx, [esi*8 + 0x7f]
and edx, 0xffffff80
mov eax, dword [ecx + 0xc]
lea edi, [eax + edx]
cmp edx, dword [ecx + 8]
jg 0x4fbac2
cmp edi, dword [ecx + 0x10]
ja 0x4fbac2
mov dword [ecx + 0xc], edi
jmp 0x4fbacc
push edx
call fcn.0046a3c0
jmp 0x4fbacc
xor eax, eax
or esi, 0x80000000
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], esi
mov esi, dword [ebp + 0x34c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], connect
mov dword [esp + 0x40], esi
test esi, esi
je 0x4fbb35
push dword [0x884adc]
call ebx
mov ecx, eax
lea edx, [esi*8 + 0x7f]
and edx, 0xffffff80
mov eax, dword [ecx + 0xc]
lea edi, [eax + edx]
cmp edx, dword [ecx + 8]
jg 0x4fbb2d
cmp edi, dword [ecx + 0x10]
ja 0x4fbb2d
mov dword [ecx + 0xc], edi
jmp 0x4fbb37
push edx
call fcn.0046a3c0
jmp 0x4fbb37
xor eax, eax
push dword [0x884adc]
or esi, 0x80000000
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], eax
call ebx
mov edi, dword [esp + 0x60]
mov edx, edi
shl edx, 5
add edx, 0x7f
mov esi, dword [eax + 0xc]
and edx, 0xffffff80
mov dword [esp + 0x2c], edx
mov dword [esp + 0x14], esi
lea ecx, [esi + edx]
cmp edx, dword [eax + 8]
jg 0x4fbb7d
cmp ecx, dword [eax + 0x10]
ja 0x4fbb7d
mov dword [eax + 0xc], ecx
jmp 0x4fbb89
push edx
mov ecx, eax
call fcn.0046a3c0
mov dword [esp + 0x14], eax
push dword [0x884adc]
call ebx
lea edx, [edi*4 + 0x7f]
and edx, 0xffffff80
mov dword [esp + 0x28], edx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x18], ecx
add ecx, edx
cmp edx, dword [eax + 8]
jg 0x4fbbb7
cmp ecx, dword [eax + 0x10]
ja 0x4fbbb7
mov dword [eax + 0xc], ecx
jmp 0x4fbbc3
push edx
mov ecx, eax
call fcn.0046a3c0
mov dword [esp + 0x18], eax
push dword [0x884c50]
call ebx
mov edi, eax
mov esi, dword [edi + 4]
cmp esi, dword [edi + 0xc]
jae 0x4fbbee
mov dword [esi], str.StCalcAabbs
rdtsc
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
lea eax, [esi + 0xc]
mov dword [esi + 4], ecx
mov dword [edi + 4], eax
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x14]
add eax, 0xffffffff
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], eax
js 0x4fbca4
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x5c]
sub ebx, ecx
mov dword [esp + 0x24], ebx
mov eax, dword [ecx]
mov dword [esp + 0x20], eax
lea esi, [eax + 0x10]
lea eax, [esi + 0x14]
lea edi, [esi + 0x20]
mov dword [ebx + ecx], eax
mov eax, dword [edi]
cmp eax, dword [edi + 0x10]
jbe 0x4fbc44
push 1
lea eax, [esp + 0x24]
push eax
push dword [ebp + 0x78]
call fcn.005269a0
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov eax, edi
lea ebx, [edx - 0x18]
sub eax, esi
mov ebp, 2
add ebx, eax
mov ecx, dword [edi + 4]
lea edi, [edi + 0x10]
mov edx, dword [edi - 8]
lea ebx, [ebx + 0x10]
mov esi, dword [edi - 4]
dec ebp
mov eax, dword [edi - 0x10]
mov dword [ebx - 0x18], eax
mov dword [ebx - 0x14], ecx
mov dword [ebx - 0x10], edx
mov dword [ebx - 0xc], esi
test ebp, ebp
jg 0x4fbc52
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x5c]
add edx, 0x20
mov ebp, dword [esp + 0x64]
add ecx, 4
sub dword [esp + 0x1c], 1
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x10], edx
mov dword [esp + 0x5c], ecx
jns 0x4fbc15
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push dword [0x884c50]
call ebx
mov edi, eax
mov esi, dword [edi + 4]
cmp esi, dword [edi + 0xc]
jae 0x4fbccf
mov dword [esi], str.St3AxisSweep
rdtsc
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x5c]
lea eax, [esi + 0xc]
mov dword [esi + 4], ecx
mov dword [edi + 4], eax
mov ecx, dword [ebp + 0x58]
lea edx, [esp + 0x30]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
push edx
mov eax, dword [ecx]
lea edx, [esp + 0x48]
push edx
push dword [esp + 0x68]
push edi
push esi
call dword [eax + 0x30]
push dword [0x884adc]
call ebx
mov ecx, dword [esp + 0x28]
lea edx, [ecx + 0xf]
and edx, 0xfffffff0
cmp ecx, dword [eax + 8]
jg 0x4fbd18
lea ecx, [edx + esi]
cmp ecx, dword [eax + 0xc]
jne 0x4fbd18
cmp dword [eax + 0x14], esi
je 0x4fbd18
mov dword [eax + 0xc], esi
jmp 0x4fbd21
push edx
push esi
mov ecx, eax
call fcn.0046a590
push dword [0x884adc]
call ebx
mov ecx, dword [esp + 0x2c]
lea edx, [ecx + 0xf]
and edx, 0xfffffff0
cmp ecx, dword [eax + 8]
jg 0x4fbd4a
lea ecx, [edx + edi]
cmp ecx, dword [eax + 0xc]
jne 0x4fbd4a
cmp dword [eax + 0x14], edi
je 0x4fbd4a
mov dword [eax + 0xc], edi
jmp 0x4fbd53
push edx
push edi
mov ecx, eax
call fcn.0046a590
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x48]
test eax, eax
jle 0x4fbe70
push dword [0x884c50]
call ebx
mov edi, eax
mov esi, dword [edi + 4]
cmp esi, dword [edi + 0xc]
jae 0x4fbd8e
mov dword [esi], str.StRemoveDup
rdtsc
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x5c]
lea eax, [esi + 0xc]
mov dword [esi + 4], ecx
mov dword [edi + 4], eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.006aef90
add esp, 8
push dword [0x884c50]
call ebx
mov edi, eax
mov esi, dword [edi + 4]
cmp esi, dword [edi + 0xc]
jae 0x4fbdcb
mov dword [esi], str.StRemoveAgt
rdtsc
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x5c]
lea eax, [esi + 0xc]
mov dword [esi + 4], ecx
mov dword [edi + 4], eax
push dword [esp + 0x34]
mov ecx, dword [ebp + 0x64]
push dword [esp + 0x34]
call fcn.006af340
mov esi, dword [esp + 0x48]
call fcn.004758b0
lea ecx, [esi + esi*4]
shl ecx, 7
push ecx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x20]
call eax
test al, al
jne 0x4fbe26
push 1
call fcn.00650190
add esp, 4
push dword [0x884c50]
call ebx
mov edi, eax
mov esi, dword [edi + 4]
cmp esi, dword [edi + 0xc]
jae 0x4fbe9b
mov dword [esi], 0x77f784
rdtsc
mov dword [esp + 0x5c], eax
jmp 0x4fbe8e
push dword [0x884c50]
call ebx
mov edi, eax
mov esi, dword [edi + 4]
cmp esi, dword [edi + 0xc]
jae 0x4fbe51
mov dword [esi], str.StAddAgt
rdtsc
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x5c]
lea eax, [esi + 0xc]
mov dword [esi + 4], ecx
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x7c]
test eax, eax
je 0x4fbe5d
add eax, 8
jmp 0x4fbe5f
xor eax, eax
mov ecx, dword [ebp + 0x64]
push eax
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.006af2d0
push dword [0x884c50]
call ebx
mov edi, eax
mov esi, dword [edi + 4]
cmp esi, dword [edi + 0xc]
jae 0x4fbe9b
mov dword [esi], 0x77f784
rdtsc
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x5c]
lea eax, [esi + 0xc]
mov dword [esi + 4], ecx
mov dword [edi + 4], eax
mov edi, dword [esp + 0x3c]
xor ecx, ecx
mov eax, dword [esp + 0x34]
cmp edi, dword [esp + 0x30]
push dword [0x884adc]
cmove eax, ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
lea esi, [eax*8 + 0x7f]
and esi, 0xffffff80
call ebx
lea edx, [esi + 0xf]
and edx, 0xfffffff0
pop ebp
cmp esi, dword [eax + 8]
jg 0x4fbee4
lea ecx, [edx + edi]
cmp ecx, dword [eax + 0xc]
jne 0x4fbee4
cmp dword [eax + 0x14], edi
je 0x4fbee4
mov dword [eax + 0xc], edi
jmp 0x4fbeed
push edx
push edi
mov ecx, eax
call fcn.0046a590
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], 0
test eax, eax
js 0x4fbf17
and eax, 0x3fffffff
mov ecx, 0x7d8954
shl eax, 3
push eax
mov eax, dword [0x7d8954]
push dword [esp + 0x30]
call dword [eax + 0x10]
mov edi, dword [esp + 0x4c]
xor ecx, ecx
mov eax, dword [esp + 0x44]
cmp edi, dword [esp + 0x40]
push dword [0x884adc]
cmove eax, ecx
mov dword [esp + 0x30], 0
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x38], connect
lea esi, [eax*8 + 0x7f]
and esi, 0xffffff80
call ebx
lea edx, [esi + 0xf]
and edx, 0xfffffff0
cmp esi, dword [eax + 8]
jg 0x4fbf6f
lea ecx, [edx + edi]
cmp ecx, dword [eax + 0xc]
jne 0x4fbf6f
cmp dword [eax + 0x14], edi
je 0x4fbf6f
mov dword [eax + 0xc], edi
jmp 0x4fbf78
push edx
push edi
mov ecx, eax
call fcn.0046a590
mov eax, dword [esp + 0x48]
mov dword [esp + 0x44], 0
pop edi
pop esi
pop ebx
test eax, eax
js 0x4fbfa5
and eax, 0x3fffffff
mov ecx, 0x7d8954
shl eax, 3
push eax
mov eax, dword [0x7d8954]
push dword [esp + 0x38]
call dword [eax + 0x10]
add esp, 0x48
ret