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

Disassembly:
sub esp, 0x50
push ebx
mov ebx, dword [esp + 0x5c]
test ebx, ebx
push edi
mov edi, ecx
je 0x4436f9
cmp dword [edi + 0x84], 0
je 0x44311a
mov cl, byte [esp + 0x64]
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x1c]
mov byte [esp + 0x26], cl
push edx
mov ecx, edi
mov byte [esp + 0x20], 6
mov dword [esp + 0x24], eax
mov word [esp + 0x28], bx
call fcn.0043f010
pop edi
pop ebx
add esp, 0x50
ret 0xc
mov eax, dword [0x4c6074]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
push eax
call ebp
mov esi, eax
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x443154
mov dword [ecx], str.LtAddEntities
mov dword [ecx + 0xc], str.Stinit
rdtsc
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x14]
mov dword [ecx + 4], edx
add ecx, 0x10
mov dword [esi + 4], ecx
add dword [edi + 0x84], 1
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, dword [0x4c6060]
push eax
mov dword [esp + 0x3c], bind
call ebp
mov ecx, dword [eax + 0x20]
lea edx, [ebx*4 + 0x10]
and edx, 0xfffffff0
lea esi, [ecx + edx]
cmp esi, dword [eax + 0x2c]
ja 0x443191
mov dword [eax + 0x20], esi
mov eax, ecx
jmp 0x44319b
mov esi, dword [eax]
push edx
mov edx, dword [esi + 0x14]
mov ecx, eax
call edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov eax, dword [0x4c6060]
mov esi, ebx
or esi, 0x80000000
push eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x4c], bind
call ebp
mov ecx, dword [eax + 0x20]
mov edx, ebx
shl edx, 5
add edx, 0x10
and edx, 0xfffffff0
lea ebx, [ecx + edx]
cmp ebx, dword [eax + 0x2c]
ja 0x4431e6
mov dword [eax + 0x20], ebx
mov eax, ecx
jmp 0x4431f0
mov ebx, dword [eax]
push edx
mov edx, dword [ebx + 0x14]
mov ecx, eax
call edx
cmp byte [edi + 0xb8], 0
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], eax
mov byte [esp + 0x13], 0
je 0x443266
mov eax, dword [0x4c6060]
push eax
call ebp
push 0x32
push 0x6c
mov ecx, eax
call fcn.00402380
push edi
mov ecx, eax
mov word [eax + 4], 0x6c
call fcn.00455d80
mov ebx, eax
mov cl, byte [ebx + 0x25]
and cl, 0xfd
or cl, 1
cmp dword [esp + 0x6c], 1
mov dword [esp + 0x14], ebx
mov byte [ebx + 0x25], cl
jne 0x443258
mov al, byte [ebx + 0x26]
mov dx, word [edi + 0x2c]
and al, 0xf5
or al, 5
mov word [ebx + 0x20], dx
mov byte [ebx + 0x26], al
jmp 0x44329a
mov cx, word [edi + 0x38]
and byte [ebx + 0x26], 0xf0
mov word [ebx + 0x20], cx
jmp 0x44329a
mov edx, dword [edi + 0x28]
mov ebx, dword [edx]
mov eax, dword [ebx + 0x4c]
mov ecx, dword [ebx + 0x50]
add eax, dword [esp + 0x68]
lea edx, [ebx + 0x48]
and ecx, 0x3fffffff
cmp ecx, eax
mov dword [esp + 0x14], ebx
jge 0x44329a
add ecx, ecx
cmp eax, ecx
jge 0x44328e
mov eax, ecx
push 4
push eax
push edx
call fcn.004026b0
add esp, 0xc
mov eax, dword [edi + 0x6c]
fld dword [eax + 4]
xor eax, eax
cmp dword [esp + 0x68], eax
fmul qword [0x4b2f68]
mov dword [esp + 0x1c], eax
fstp dword [esp + 0x20]
jle 0x44342a
lea ebx, [ebx]
mov ecx, dword [esp + 0x64]
mov esi, dword [ecx + eax*4]
add dword [edi + 0xe0], 1
mov eax, dword [edi + 0xe0]
mov ecx, esi
mov dword [esi + 0xc0], eax
call fcn.00453f70
xor ebx, ebx
cmp dword [esi + 0x18], ebx
jne 0x4432f4
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
mov dword [esi + 0x18], eax
fldz
lea ecx, [esi + 0xe0]
push ecx
sub esp, 8
fst dword [esp + 4]
fstp dword [esp]
call fcn.00468610
mov word [esi + 0xda], bx
mov word [esi + 0xdc], bx
mov dword [esi + 8], edi
movzx edx, byte [edi + 0x2c5]
movzx eax, byte [edi + 0x2c7]
movzx ebp, byte [esi + 0xd9]
movzx ecx, byte [edi + 0x2c6]
mov dword [esp + 0x24], edx
mov edx, eax
mov ebx, ebp
and edx, 3
and ebx, 3
add esp, 0xc
cmp dl, bl
mov edx, dword [esp + 0x18]
jae 0x443354
not edx
shl edx, 0xe
cmp eax, ebp
jge 0x44335d
not ecx
mov ax, word [esi + 0xda]
and ax, 0x3fff
or ax, dx
mov dx, word [esi + 0xdc]
shl ecx, 0xe
and dx, 0x3fff
or dx, cx
mov word [esi + 0xda], ax
mov word [esi + 0xdc], dx
cmp byte [esi + 0xd8], 7
push esi
jne 0x4433a3
mov ecx, dword [edi + 0x20]
call fcn.00455760
mov ebx, dword [esp + 0x14]
jmp 0x4433b3
mov ebx, dword [esp + 0x18]
mov ecx, ebx
mov byte [esp + 0x17], 1
call fcn.00455760
mov ebp, dword [esi + 0x10]
test ebp, ebp
je 0x443401
mov ecx, dword [esp + 0x44]
fld dword [esp + 0x20]
mov eax, ecx
shl eax, 5
add eax, dword [esp + 0x40]
add ecx, 1
mov dword [esp + 0x44], ecx
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
push eax
mov eax, dword [esi + 0x18]
push ecx
fstp dword [esp]
push eax
call edx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
lea eax, [esi + 0x24]
mov dword [edx + ecx*4], eax
add dword [esp + 0x34], 1
push ebp
push edi
mov ecx, esi
call fcn.00445c30
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, dword [esp + 0x68]
mov dword [esi + 0x30], 1
mov dword [esi + 0x40], 0
mov dword [esp + 0x1c], eax
jl 0x4432c0
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp byte [edi + 0xb8], 0
je 0x443485
cmp byte [esp + 0x13], 0
je 0x44347b
cmp dword [esp + 0x6c], 1
mov eax, dword [ebx + 0x48]
mov ecx, dword [eax]
mov dl, byte [ecx + 0xc0]
mov byte [ebx + 0x24], dl
lea esi, [edi + 0x28]
je 0x443455
lea esi, [edi + 0x34]
mov eax, dword [esi + 8]
and eax, 0x3fffffff
cmp dword [esi + 4], eax
jne 0x44346d
push 4
push esi
call fcn.00402730
add esp, 8
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov dword [edx + ecx*4], ebx
add dword [esi + 4], 1
jmp 0x443485
mov eax, dword [ebx]
mov edx, dword [eax]
push 1
mov ecx, ebx
call edx
mov esi, dword [edi + 0x2f8]
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov eax, dword [0x4c6060]
push eax
mov dword [esp + 0x5c], bind
call ebp
mov ecx, dword [eax + 0x20]
lea edx, [esi*8 + 0x10]
and edx, 0xfffffff0
lea ebx, [ecx + edx]
cmp ebx, dword [eax + 0x2c]
ja 0x4434c1
mov dword [eax + 0x20], ebx
mov eax, ecx
jmp 0x4434cb
mov ebx, dword [eax]
push edx
mov edx, dword [ebx + 0x14]
mov ecx, eax
call edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x5c], eax
mov eax, dword [0x4c6074]
or esi, 0x80000000
push eax
mov dword [esp + 0x5c], esi
call ebp
mov ecx, eax
mov esi, dword [ecx + 4]
cmp esi, dword [ecx + 0xc]
jae 0x443508
mov dword [esi], str.StBroadphase
rdtsc
mov dword [esp + 0x6c], eax
mov edx, dword [esp + 0x6c]
mov dword [esi + 4], edx
add esi, 0xc
mov dword [ecx + 4], esi
mov ecx, dword [edi + 0x54]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
lea edx, [esp + 0x50]
push edx
lea edx, [esp + 0x44]
push edx
lea edx, [esp + 0x38]
push edx
call eax
mov ecx, dword [0x4c6074]
push ecx
call ebp
mov ecx, eax
mov esi, dword [ecx + 4]
cmp esi, dword [ecx + 0xc]
jae 0x44354d
mov dword [esi], str.StCreateAgents
rdtsc
mov dword [esp + 0x6c], eax
mov edx, dword [esp + 0x6c]
mov dword [esi + 4], edx
add esi, 0xc
mov dword [ecx + 4], esi
mov eax, dword [edi + 0x70]
test eax, eax
je 0x443559
add eax, 8
jmp 0x44355b
xor eax, eax
mov ecx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x58]
push eax
push ecx
mov ecx, dword [edi + 0x58]
call fcn.00481290
mov edx, dword [0x4c6074]
push edx
call ebp
mov ecx, eax
mov esi, dword [ecx + 4]
cmp esi, dword [ecx + 0xc]
jae 0x44359a
mov dword [esi], str.StAddedCb
rdtsc
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x6c]
mov dword [esi + 4], eax
add esi, 0xc
mov dword [ecx + 4], esi
xor esi, esi
cmp dword [esp + 0x68], esi
jle 0x4435c8
mov ecx, dword [esp + 0x64]
mov ebp, dword [ecx + esi*4]
push ebp
push edi
call fcn.0044c240
push ebp
call fcn.0044b940
add esi, 1
add esp, 0xc
cmp esi, dword [esp + 0x68]
jl 0x4435a2
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
add dword [edi + 0x84], 0xffffffff
jne 0x4435ea
cmp byte [edi + 0x8c], 0
jne 0x4435ea
cmp dword [edi + 0x80], 0
je 0x4435ea
mov ecx, edi
call fcn.0043eff0
mov edx, dword [0x4c6074]
push edx
call ebp
mov esi, eax
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x443616
mov dword [ecx], 0x4b3398
rdtsc
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x68]
mov dword [ecx + 4], eax
add ecx, 0xc
mov dword [esi + 4], ecx
mov ecx, dword [0x4c6060]
mov esi, dword [esp + 0x5c]
push ecx
call ebp
cmp esi, dword [eax + 0x28]
mov dword [eax + 0x20], esi
jne 0x443635
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x18]
push esi
call eax
mov eax, dword [esp + 0x58]
test eax, eax
js 0x443663
mov ecx, dword [0x4c6060]
and eax, 0x3fffffff
push ecx
mov esi, eax
call ebp
mov ecx, dword [esp + 0x50]
push 0x17
lea edx, [esi*8]
push edx
push ecx
mov ecx, eax
call fcn.004023e0
mov edx, dword [0x4c6060]
mov esi, dword [esp + 0x4c]
push edx
call ebp
cmp esi, dword [eax + 0x28]
mov dword [eax + 0x20], esi
jne 0x443682
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x18]
push esi
call eax
mov esi, dword [esp + 0x48]
test esi, esi
js 0x4436ab
mov ecx, dword [0x4c6060]
push ecx
and esi, 0x3fffffff
call ebp
mov edx, dword [esp + 0x40]
push 0x17
shl esi, 5
push esi
push edx
mov ecx, eax
call fcn.004023e0
mov eax, dword [0x4c6060]
mov esi, dword [esp + 0x3c]
push eax
call ebp
cmp esi, dword [eax + 0x28]
mov dword [eax + 0x20], esi
jne 0x4436c9
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x18]
push esi
call eax
mov eax, dword [esp + 0x38]
test eax, eax
js 0x4436f7
mov ecx, dword [0x4c6060]
and eax, 0x3fffffff
push ecx
mov esi, eax
call ebp
mov ecx, dword [esp + 0x30]
push 0x17
lea edx, [esi*4]
push edx
push ecx
mov ecx, eax
call fcn.004023e0
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x50
ret 0xc