Function at 0x44a500
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x4c6060]
sub esp, 0x12c
push ebx
mov ebx, dword [esp + 0x134]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
mov edi, dword [ebx + 0x4c]
push eax
call esi
mov ecx, dword [eax + 0x20]
lea edx, [edi*4 + 0x10]
and edx, 0xfffffff0
lea edi, [ecx + edx]
cmp edi, dword [eax + 0x2c]
ja 0x44a53d
mov dword [eax + 0x20], edi
mov eax, ecx
jmp 0x44a547
mov edi, dword [eax]
push edx
mov edx, dword [edi + 0x14]
mov ecx, eax
call edx
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 0x4c]
push eax
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x58]
call fcn.0046a580
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x33]
push eax
mov ecx, ebx
call fcn.00455af0
cmp byte [esp + 0x2f], 0
je 0x44a5a6
and byte [ebx + 0x25], 0xf3
mov ecx, dword [0x4c6060]
mov edi, dword [esp + 0x58]
push ecx
call esi
cmp edi, dword [eax + 0x28]
mov dword [eax + 0x20], edi
jne 0x44b261
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x18]
push edi
call eax
pop edi
pop esi
pop ebx
add esp, 0x12c
ret
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x60]
mov dword [esp + 0x60], ecx
push edx
lea ecx, [esp + 0x54]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0x80000020
call fcn.0046a6b0
mov eax, dword [0x4c6060]
mov edi, dword [esp + 0x64]
push eax
call esi
mov ecx, dword [eax + 0x20]
lea edx, [edi + 0x11]
and edx, 0xfffffff0
lea edi, [ecx + edx]
cmp edi, dword [eax + 0x2c]
ja 0x44a5f4
mov dword [eax + 0x20], edi
mov edi, ecx
mov dword [esp + 0x14], edi
jmp 0x44a604
mov edi, dword [eax]
push edx
mov edx, dword [edi + 0x14]
mov ecx, eax
call edx
mov edi, eax
mov dword [esp + 0x14], eax
test byte [ebx + 0x25], 0xc
push ebp
je 0x44a815
mov eax, dword [esp + 0x144]
cmp byte [eax + 0xc5], 0
mov ecx, dword [0x4c6060]
push ecx
je 0x44a7a5
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x20], edi
call esi
mov edx, dword [eax + 0x20]
lea ecx, [edi*4 + 0x10]
and ecx, 0xfffffff0
lea esi, [edx + ecx]
cmp esi, dword [eax + 0x2c]
ja 0x44a650
mov dword [eax + 0x20], esi
mov eax, edx
jmp 0x44a65a
mov edx, dword [eax]
push ecx
mov ecx, eax
mov eax, dword [edx + 0x14]
call eax
mov dword [esp + 0x24], eax
xor eax, eax
test edi, edi
jle 0x44a682
jmp 0x44a670
mov ecx, dword [esp + 0x24]
mov dword [ecx + eax*4], 0
add eax, 1
cmp eax, edi
jl 0x44a670
xor edx, edx
mov esi, ebx
cmp dword [esi + 0x4c], edx
jle 0x44a703
mov edi, dword [esp + 0x144]
mov eax, dword [esi + 0x48]
mov ecx, dword [eax + edx*4]
movzx eax, word [ecx + 0xdc]
movzx ebp, byte [edi + 0x2c6]
mov ebx, eax
sar ebx, 0xe
cmp ebp, ebx
jne 0x44a6b2
sar eax, 7
movzx ecx, word [ecx + 0xda]
movzx ebp, byte [edi + 0x2c5]
mov ebx, ecx
sar ebx, 0xe
and eax, 0x7f
cmp ebp, ebx
jne 0x44a6cf
sar ecx, 7
and ecx, 0x7f
and eax, 0x7f
and ecx, 0x7f
cmp ecx, eax
jle 0x44a6de
mov eax, ecx
cmp eax, 5
jg 0x44a6f7
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx]
mov ecx, dword [eax + edx*4]
mov eax, dword [esp + 0x24]
mov dword [eax + ecx*4], 1
add edx, 1
cmp edx, dword [esi + 0x4c]
jl 0x44a692
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov ecx, 1
mov byte [eax], cl
xor eax, eax
test edi, edi
jle 0x44a744
mov esi, dword [esp + 0x18]
lea esp, [esp]
mov ebx, dword [esp + 0x24]
cmp dword [ebx + eax*4], 0
je 0x44a733
mov dword [edx + eax*4], 0
jmp 0x44a73d
mov dword [edx + eax*4], ecx
mov byte [ecx + esi], 0
add ecx, 1
add eax, 1
cmp eax, edi
jl 0x44a720
cmp ecx, edi
jle 0x44a758
mov ecx, dword [esp + 0x18]
mov byte [ecx], 0
mov edx, dword [0x4c6060]
push edx
jmp 0x44a773
lea edx, [esp + 0x64]
push edx
push ecx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x60]
call fcn.0046a820
mov ecx, dword [0x4c6060]
push ecx
mov esi, dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp esi, dword [eax + 0x28]
mov dword [eax + 0x20], esi
jne 0x44a78f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x18]
push esi
call eax
cmp dword [esp + 0x68], 1
jne 0x44ab3d
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
jmp 0x44b1f4
call esi
cmp edi, dword [eax + 0x28]
mov dword [eax + 0x20], edi
jne 0x44a7b9
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x18]
push edi
call eax
mov eax, dword [esp + 0x6c]
test eax, eax
js 0x44a7e7
mov ecx, dword [0x4c6060]
and eax, 0x3fffffff
push ecx
mov edi, eax
call esi
mov ecx, dword [esp + 0x64]
push 0x17
lea edx, [edi*4]
push edx
push ecx
mov ecx, eax
call fcn.004023e0
mov edx, dword [0x4c6060]
mov edi, dword [esp + 0x5c]
push edx
call esi
cmp edi, dword [eax + 0x28]
mov dword [eax + 0x20], edi
jne 0x44b260
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x18]
push edi
call eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x12c
ret
mov ecx, dword [esp + 0x144]
cmp dword [ecx + 0xa4], 0
je 0x44ab2a
mov edx, dword [0x4c6060]
mov ebx, dword [esp + 0x68]
push edx
mov dword [esp + 0x18], ebx
call esi
mov ecx, dword [eax + 0x20]
lea edi, [ebx*4 + 0x10]
and edi, 0xfffffff0
lea edx, [ecx + edi]
cmp edx, dword [eax + 0x2c]
ja 0x44a858
mov dword [eax + 0x20], edx
mov dword [esp + 0x10], ecx
jmp 0x44a866
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x14]
push edi
call eax
mov dword [esp + 0x10], eax
mov ecx, dword [0x4c6060]
push ecx
call esi
mov ecx, dword [eax + 0x20]
lea edx, [ecx + edi]
cmp edx, dword [eax + 0x2c]
ja 0x44a881
mov dword [eax + 0x20], edx
mov eax, ecx
jmp 0x44a88b
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x14]
push edi
call eax
mov dword [esp + 0x24], eax
xor eax, eax
test ebx, ebx
jle 0x44a8b9
mov ecx, dword [esp + 0x10]
mov edx, ebx
jmp 0x44a8a0
mov esi, dword [esp + 0x24]
mov dword [esi + eax*4], 0
mov dword [ecx + eax*4], 0
add eax, 1
cmp eax, edx
jl 0x44a8a0
mov ecx, dword [esp + 0x144]
cmp byte [ecx + 0xc5], 0
je 0x44a97c
mov eax, dword [esp + 0x140]
xor edx, edx
cmp dword [eax + 0x4c], edx
jle 0x44a9c6
mov ebx, ecx
jmp 0x44a8ea
mov ebx, dword [esp + 0x144]
mov ecx, dword [eax + 0x48]
mov esi, dword [ecx + edx*4]
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
movzx eax, word [esi + 0xdc]
mov edi, dword [ecx + edx*4]
movzx ebp, byte [ebx + 0x2c6]
mov ecx, eax
sar ecx, 0xe
cmp ebp, ecx
jne 0x44a913
sar eax, 7
movzx ecx, word [esi + 0xda]
movzx ebx, byte [ebx + 0x2c5]
mov ebp, ecx
sar ebp, 0xe
and eax, 0x7f
cmp ebx, ebp
jne 0x44a930
sar ecx, 7
and ecx, 0x7f
and eax, 0x7f
and ecx, 0x7f
cmp ecx, eax
jle 0x44a93f
mov eax, ecx
cmp eax, 5
jg 0x44a94f
mov eax, dword [esp + 0x24]
mov dword [eax + edi*4], 1
movzx eax, word [esi + 0x9c]
cmp eax, 1
jge 0x44a960
mov eax, 1
mov ecx, dword [esp + 0x10]
add dword [ecx + edi*4], eax
mov eax, dword [esp + 0x140]
add edx, 1
cmp edx, dword [eax + 0x4c]
jl 0x44a8e3
jmp 0x44a9c6
mov ecx, dword [esp + 0x140]
xor eax, eax
cmp dword [ecx + 0x4c], eax
jle 0x44a9c6
mov edi, dword [esp + 0x10]
mov esi, ecx
mov ecx, dword [esp + 0x54]
mov ecx, dword [ecx]
mov edx, dword [esi + 0x48]
mov edx, dword [edx + eax*4]
mov ecx, dword [ecx + eax*4]
mov ebx, dword [esp + 0x24]
mov dword [ebx + ecx*4], 1
movzx edx, word [edx + 0x9c]
cmp edx, 1
jge 0x44a9bb
mov edx, 1
add dword [edi + ecx*4], edx
add eax, 1
cmp eax, dword [esi + 0x4c]
jl 0x44a990
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
xor eax, eax
test edx, edx
jle 0x44a9ec
mov ecx, dword [esp + 0x24]
cmp dword [ecx + eax*4], 0
jne 0x44a9e5
mov dword [edi + eax*4], 0xffffffff
add eax, 1
cmp eax, edx
jl 0x44a9d4
test edx, edx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], 0
mov dword [esp + 0x34], eax
jle 0x44aacd
mov ecx, eax
mov ebp, 1
mov eax, edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], edx
lea ecx, [ecx]
mov esi, dword [eax]
cmp esi, 0xfffffffe
je 0x44aaaf
mov ebx, dword [esp + 0x20]
mov ecx, ebx
add ebx, 1
test esi, esi
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x18]
mov byte [ecx + ebx], 0
mov ebx, dword [esp + 0x3c]
mov dword [ebx], ecx
jl 0x44aaaf
cmp ebp, edx
jge 0x44aaaf
mov ebx, dword [esp + 0x34]
add eax, 4
sub ebx, edi
jmp 0x44aa60
mov edx, dword [esp + 0x144]
mov edi, dword [edx + 0xa4]
lea edx, [esi + 0xa]
cmp edx, edi
jge 0x44aa9f
mov edx, dword [eax]
test edx, edx
jl 0x44aa93
add edx, esi
cmp edx, edi
jge 0x44aa93
mov esi, dword [esp + 0x18]
mov byte [ecx + esi], 1
mov dword [ebx + eax], ecx
mov esi, edx
mov dword [eax], 0xfffffffe
add ebp, 1
add eax, 4
cmp ebp, dword [esp + 0x14]
jl 0x44aa60
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x2c]
add dword [esp + 0x3c], 4
add eax, 4
add ebp, 1
sub dword [esp + 0x1c], 1
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], ebp
jne 0x44aa20
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x64]
push eax
push ecx
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x60]
call fcn.0046a820
mov eax, dword [0x4c6060]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [esp + 0x24]
push eax
call edi
cmp esi, dword [eax + 0x28]
mov dword [eax + 0x20], esi
jne 0x44ab09
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x18]
push esi
call eax
mov ecx, dword [0x4c6060]
push ecx
call edi
mov ecx, dword [esp + 0x10]
cmp ecx, dword [eax + 0x28]
mov dword [eax + 0x20], ecx
jne 0x44ab3d
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push ecx
mov ecx, eax
call edx
jmp 0x44ab3d
mov eax, dword [esp + 0x68]
add eax, 1
push eax
push 0
push edi
call fcn.00406240
add esp, 0xc
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x58]
call fcn.0046a730
mov esi, dword [esp + 0x18]
mov dl, byte [esi + eax]
mov cl, byte [esi]
mov ebx, dword [esp + 0x140]
mov byte [esi], dl
mov byte [esi + eax], cl
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
mov eax, dword [esp + 0x68]
cmp eax, 1
mov edx, dword [ebx + 0x4c]
mov edi, eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x38], edi
jne 0x44aba0
mov eax, dword [0x4c6060]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call edi
cmp esi, dword [eax + 0x28]
mov dword [eax + 0x20], esi
jne 0x44b213
push esi
jmp 0x44b20a
mov ecx, dword [0x4c6060]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [eax + 0x20]
lea ecx, [edi*4 + 0x10]
and ecx, 0xfffffff0
lea ebp, [edx + ecx]
cmp ebp, dword [eax + 0x2c]
ja 0x44abcd
mov dword [eax + 0x20], ebp
mov eax, edx
mov dword [esp + 0x14], edx
jmp 0x44abdb
mov edx, dword [eax]
push ecx
mov ecx, eax
mov eax, dword [edx + 0x14]
call eax
mov dword [esp + 0x14], eax
cmp byte [esi], 0
mov ebp, 1
setne cl
add cl, cl
add cl, cl
xor cl, byte [ebx + 0x25]
and cl, 0xc
xor byte [ebx + 0x25], cl
cmp edi, ebp
mov dword [eax], ebx
jle 0x44acc6
mov edi, dword [esp + 0x148]
jmp 0x44ac10
mov edx, dword [0x4c6060]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x32
push 0x6c
mov ecx, eax
call fcn.00402380
mov ecx, dword [esp + 0x144]
push ecx
mov ecx, eax
mov word [eax + 4], 0x6c
call fcn.00455d80
mov esi, eax
mov dl, byte [esi + 0x26]
mov eax, dword [esp + 0x18]
and dl, 0xf5
or dl, 5
mov byte [esi + 0x26], dl
cmp byte [eax + ebp], 0
setne cl
add cl, cl
add cl, cl
xor cl, byte [esi + 0x25]
and cl, 0xc
xor byte [esi + 0x25], cl
mov dx, word [edi + 4]
mov word [esi + 0x20], dx
mov eax, dword [edi + 8]
and eax, 0x3fffffff
cmp dword [edi + 4], eax
jne 0x44ac83
push 4
push edi
call fcn.00402730
add esp, 8
mov ecx, dword [edi + 4]
mov edx, dword [edi]
mov eax, dword [esp + 0x14]
mov dword [edx + ecx*4], esi
add dword [edi + 4], 1
mov dword [eax + ebp*4], esi
mov ecx, dword [esp + 0x64]
mov edx, dword [esi + 0x50]
mov eax, dword [ecx + ebp*4]
add esi, 0x48
and edx, 0x3fffffff
cmp edx, eax
jge 0x44acb9
push 4
push eax
push esi
call fcn.004026b0
add esp, 0xc
add ebp, 1
cmp ebp, dword [esp + 0x38]
jl 0x44ac10
mov eax, dword [ebx + 0x48]
mov edi, dword [ebx + 0x4c]
lea esi, [ebx + 0x48]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14c]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x3c], edi
je 0x44ad10
push eax
mov ecx, esi
call fcn.0044b7d0
mov ecx, dword [esp + 0x64]
mov dword [ebx + 0x4c], ebp
mov edx, dword [esi + 8]
mov eax, dword [ecx]
and edx, 0x3fffffff
cmp edx, eax
jge 0x44ad13
push 4
push eax
push esi
call fcn.004026b0
add esp, 0xc
jmp 0x44ad13
mov dword [ebx + 0x4c], ebp
cmp edi, ebp
mov dword [esp + 0x20], ebp
jle 0x44ae0d
nop
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x20]
mov edx, dword [ecx + eax*4]
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx + edx*4]
mov edx, dword [esp + 0x34]
mov eax, dword [edx + eax*4]
mov dword [eax + 0xb8], edi
mov cx, word [edi + 0x4c]
mov word [eax + 0x94], cx
mov edx, dword [edi + 0x4c]
mov ecx, dword [edi + 0x48]
mov dword [ecx + edx*4], eax
add dword [edi + 0x4c], 1
cmp ebx, edi
mov dword [esp + 0x2c], eax
je 0x44adf8
cmp word [eax + 0x9c], 0
mov esi, dword [eax + 0x98]
mov dword [esp + 0x1c], 0
jbe 0x44adf8
nop
mov eax, dword [ebx + 8]
movzx ecx, word [esi + 0x14]
movzx edx, word [esi + 0x16]
movzx ebp, word [esi + 0x18]
add dword [ebx + 0x1c], 0xffffffff
mov dword [esp + 0x40], eax
mov eax, dword [esi]
cmp dword [eax + 0x28], 0
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ebp
je 0x44adc3
sub dword [ebx + 0xc], ecx
sub dword [ebx + 0x10], edx
sub dword [ebx + 0x14], ebp
mov eax, dword [eax + 0x28]
sub word [eax + 0x16], dx
sub word [eax + 0x18], bp
sub word [eax + 0x14], cx
add dword [edi + 0x1c], 1
mov ecx, dword [esi]
mov dword [ecx + 8], edi
mov eax, dword [esi]
lea edx, [esp + 0x40]
push edx
push eax
mov ecx, edi
call fcn.0044b870
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
movzx edx, word [ecx + 0x9c]
add eax, 1
add esi, 0x30
cmp eax, edx
mov dword [esp + 0x1c], eax
jl 0x44ad80
mov eax, dword [esp + 0x20]
add eax, 1
cmp eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
jl 0x44ad20
mov eax, dword [esp + 0x144]
mov ecx, dword [eax + 0x20]
mov eax, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x38]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x20], eax
mov dword [ebx + 0x3c], ebp
mov dword [esp + 0x1c], ebp
jle 0x44af2e
lea ebx, [ebx]
mov ecx, dword [esp + 0x34]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x44af1f
mov eax, dword [edi]
lea edx, [esp + 0xfc]
lea ecx, [esp + 0xf0]
mov dword [esp + 0xf0], edx
mov edx, dword [eax + 0x10]
push ecx
xor esi, esi
mov ecx, edi
mov dword [esp + 0xf8], esi
mov dword [esp + 0xfc], reloc.WSOCK32.dll_recv
call edx
mov ecx, dword [esp + 0xf4]
xor eax, eax
test ecx, ecx
jle 0x44aeb6
mov edx, dword [esp + 0xf0]
jmp 0x44aea0
mov esi, dword [edx + eax*4]
mov esi, dword [esi + 0xb8]
cmp esi, dword [esp + 0x2c]
jne 0x44aeb6
add eax, 1
cmp eax, ecx
jl 0x44aea0
mov eax, dword [esp + 0xf8]
test eax, eax
js 0x44aef1
and eax, 0x3fffffff
mov ebp, eax
mov eax, dword [0x4c6060]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [esp + 0xf0]
push 0x17
lea ecx, [ebp*4]
push ecx
push edx
mov ecx, eax
call fcn.004023e0
mov ebp, dword [esp + 0x1c]
mov dword [edi + 0xc], esi
mov eax, dword [esi + 0x40]
add esi, 0x38
and eax, 0x3fffffff
cmp dword [esi + 4], eax
jne 0x44af0f
push 4
push esi
call fcn.00402730
add esp, 8
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov eax, dword [esp + 0x20]
mov dword [edx + ecx*4], edi
add dword [esi + 4], 1
add ebp, 1
cmp ebp, eax
mov dword [esp + 0x1c], ebp
jl 0x44ae40
mov eax, dword [esp + 0x10]
mov ecx, eax
sub ecx, dword [esp + 0x24]
add ecx, ecx
add ecx, ecx
add ecx, ecx
cmp ecx, eax
jge 0x44b00c
cmp dword [ebx + 0x60], 0
lea edi, [ebx + 0x58]
mov dword [esp + 0x10], 0
jle 0x44b150
mov ebx, dword [esp + 0x10]
nop
mov edx, dword [edi + 4]
mov ebp, dword [edx + ebx*4]
push ebx
mov ecx, edi
mov esi, ebp
call fcn.0044b800
add eax, ebp
cmp ebp, eax
jae 0x44aff7
lea ebx, [ebx]
mov eax, dword [esi + 0x10]
movsx ecx, byte [eax + 0x10]
mov eax, dword [ecx + eax + 0xb8]
cmp word [eax + 0x20], 0xffff
jne 0x44afa4
mov eax, dword [esi + 0x14]
movsx edx, byte [eax + 0x10]
mov eax, dword [edx + eax + 0xb8]
cmp eax, dword [esp + 0x140]
jne 0x44afb5
movzx eax, byte [esi + 3]
add esi, eax
jmp 0x44afe3
add eax, 0x58
push esi
mov ebx, esi
push eax
sub ebx, ebp
call fcn.00479b00
push esi
push edi
call fcn.00479960
mov ecx, dword [esp + 0x20]
add esp, 0x10
cmp ecx, dword [edi + 8]
jge 0x44aff3
mov edx, dword [edi + 4]
mov eax, ecx
mov ebp, dword [edx + eax*4]
lea esi, [ebx + ebp]
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.0044b800
add eax, ebp
cmp esi, eax
jb 0x44af80
jmp 0x44aff7
mov ebx, dword [esp + 0x10]
add ebx, 1
cmp ebx, dword [edi + 8]
mov dword [esp + 0x10], ebx
jl 0x44af60
jmp 0x44b150
mov eax, dword [ebx + 0x60]
lea ecx, [esp + 0x50]
mov dword [esp + 0x44], ecx
xor ecx, ecx
cmp eax, 1
mov edx, reloc.WSOCK32.dll_accept
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x40], 0x200
jne 0x44b04e
mov eax, dword [ebx + 0x5c]
mov ecx, dword [eax]
mov dword [esp + 0x50], ecx
mov ecx, 1
mov dword [esp + 0x48], ecx
mov dword [ebx + 0x60], 0
jmp 0x44b076
jle 0x44b076
push 4
lea edx, [esp + 0x48]
push 2
push edx
call fcn.004026b0
add esp, 0xc
lea eax, [ebx + 0x5c]
push eax
lea ecx, [esp + 0x48]
call fcn.0044b7d0
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
mov esi, dword [ebx + 0x58]
mov dword [ebx + 0x58], eax
xor eax, eax
test ecx, ecx
mov dword [esp + 0x40], esi
jle 0x44b119
mov edi, edi
mov edx, dword [esp + 0x44]
mov edi, dword [edx + eax*4]
lea ebx, [eax + 1]
cmp ebx, ecx
mov eax, dword [esp + 0x40]
mov esi, edi
je 0x44b0a9
mov eax, 0x200
lea ebp, [eax + edi]
cmp edi, ebp
jae 0x44b0eb
mov eax, dword [esi + 0x10]
movsx ecx, byte [eax + 0x10]
mov eax, dword [ecx + eax + 0xb8]
cmp word [eax + 0x20], 0xffff
jne 0x44b0d4
mov eax, dword [esi + 0x14]
movsx edx, byte [eax + 0x10]
mov eax, dword [edx + eax + 0xb8]
add eax, 0x58
push esi
push eax
call fcn.00479b00
movzx eax, byte [esi + 3]
add esi, eax
add esp, 8
cmp esi, ebp
jb 0x44b0b0
mov ecx, dword [0x4c6060]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x27
push 0x200
push edi
mov ecx, eax
call fcn.004023e0
mov ecx, dword [esp + 0x48]
mov eax, ebx
cmp eax, ecx
jl 0x44b090
mov edx, dword [esp + 0x4c]
test edx, edx
mov dword [esp + 0x48], 0
js 0x44b150
and edx, 0x3fffffff
mov esi, edx
mov edx, dword [0x4c6060]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [esp + 0x44]
push 0x17
lea ecx, [esi*4]
push ecx
push edx
mov ecx, eax
call fcn.004023e0
mov edi, dword [esp + 0x140]
mov esi, dword [edi + 0x64]
test esi, esi
lea edx, [edi + 0x5c]
js 0x44b1b1
mov eax, dword [edx + 4]
add eax, 3
mov ecx, eax
shr ecx, 0x10
or eax, ecx
mov ecx, eax
shr ecx, 8
or eax, ecx
mov ecx, eax
shr ecx, 4
or eax, ecx
mov ecx, eax
shr ecx, 2
or eax, ecx
mov ecx, eax
shr ecx, 1
or ecx, eax
add ecx, 1
cmp ecx, 1
jge 0x44b199
push 1
lea eax, [edx + 0xc]
push eax
jmp 0x44b1a6
and esi, 0x3fffffff
cmp ecx, esi
jge 0x44b1b1
push ecx
push 0
push 4
push edx
call fcn.004027d0
add esp, 0x10
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x14]
mov eax, 1
cmp ecx, eax
jle 0x44b1d4
mov dl, byte [edi + 0x24]
mov ebx, dword [esi + eax*4]
add dl, al
add eax, 1
cmp eax, ecx
mov byte [ebx + 0x24], dl
jl 0x44b1c2
mov eax, dword [0x4c6060]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call edi
cmp esi, dword [eax + 0x28]
mov dword [eax + 0x20], esi
jne 0x44b1f4
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x18]
push esi
call eax
mov ecx, dword [0x4c6060]
push ecx
call edi
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x28]
mov dword [eax + 0x20], ecx
jne 0x44b213
push ecx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x18]
call eax
mov eax, dword [esp + 0x6c]
test eax, eax
js 0x44b241
mov ecx, dword [0x4c6060]
and eax, 0x3fffffff
push ecx
mov esi, eax
call edi
mov ecx, dword [esp + 0x64]
push 0x17
lea edx, [esi*4]
push edx
push ecx
mov ecx, eax
call fcn.004023e0
mov edx, dword [0x4c6060]
mov esi, dword [esp + 0x5c]
push edx
call edi
cmp esi, dword [eax + 0x28]
mov dword [eax + 0x20], esi
jne 0x44b260
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x18]
push esi
call eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x12c
ret