Function at 0x10072300
Capabilities:
Get thread local storage value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, esp
mov edi, ecx
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [esi + 0x78], eax
mov eax, dword [0x101beebc]
test eax, eax
je 0x1007236b
mov edx, dword [ebp + 8]
test byte [eax], 0x19
jne 0x1007237f
cmp byte [edi + 8], 0
je 0x100723aa
test byte [0x101bb2dc], 0x19
jne 0x10072c1d
mov eax, dword [0x101beec0]
test eax, eax
je 0x10072bd5
test byte [eax], 0x19
jne 0x10072bf0
mov ecx, dword [esi + 0x78]
xor ecx, ebp
call fcn.101465a3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
push 0x101a0a49
call fcn.10088f50
add esp, 4
mov dword [0x101beebc], eax
jmp 0x10072326
mov dword [esi + 0x64], 0
mov dword [esi + 0x60], 0
sub esp, 8
movsd xmm0, qword [esi + 0x60]
movsd qword [esp], xmm0
mov ecx, eax
call fcn.100736d0
add esp, 8
cmp byte [edi + 8], 0
jne 0x10072334
mov ecx, dword [edi]
mov ebx, dword [ecx + 8]
mov eax, dword [ecx + 0xc]
cmp ebx, eax
mov dword [esi + 0x10], edi
jae 0x100723d0
test ebx, ebx
je 0x10072d8d
mov dword [ebx], edi
add ebx, 4
mov dword [ecx + 8], ebx
mov edi, ebx
jmp 0x10072481
mov dword [esi + 8], ecx
mov ecx, dword [ecx + 4]
sub ebx, ecx
sar ebx, 2
lea edx, [ebx + 1]
cmp edx, 0x40000000
jae 0x10072d33
sub eax, ecx
mov ecx, eax
sar ecx, 1
cmp ecx, edx
cmovbe ecx, edx
cmp eax, 0x7ffffffc
mov eax, 0x3fffffff
cmovb eax, ecx
test eax, eax
mov dword [esi + 0xc], eax
je 0x10072426
cmp eax, 0x40000000
jae 0x10072d70
lea eax, [eax*4]
push eax
call fcn.10145ba4
add esp, 4
jmp 0x10072428
xor eax, eax
shl ebx, 2
add ebx, eax
mov ecx, dword [esi + 8]
je 0x10072d90
mov edx, dword [esi + 0xc]
lea eax, [eax + edx*4]
mov dword [esi + 0xc], eax
mov dword [ebx], edi
lea edi, [ebx + 4]
mov eax, dword [ecx + 4]
mov ecx, dword [esi + 8]
mov ecx, dword [ecx + 8]
sub ecx, eax
sub ebx, ecx
push ecx
push eax
push ebx
call fcn.10148eb0
mov ecx, dword [esi + 8]
add esp, 0xc
mov eax, dword [ecx + 4]
mov dword [ecx + 4], ebx
mov dword [ecx + 8], edi
mov edx, dword [esi + 0xc]
mov dword [ecx + 0xc], edx
test eax, eax
je 0x10072481
push eax
call fcn.10145bd4
mov ecx, dword [esi + 8]
add esp, 4
mov edi, dword [ecx + 8]
sub edi, dword [ecx + 4]
cmp edi, 5
mov edi, dword [esi + 0x10]
jb 0x10072594
mov eax, dword [edi]
mov ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
je 0x100724cd
lea ecx, [eax + 0x10]
mov dword [esi + 0x68], ecx
lea ecx, [eax + 0x1c]
mov dword [esi + 0x64], ecx
mov ecx, dword [eax + 0x1c]
mov dword [esi + 0x60], ecx
lea edx, [esi + 0x60]
mov dword [ecx + 4], edx
mov dword [eax + 0x1c], edx
mov dword [esi + 0x6c], 0
cmp dword [eax + 0x28], 0
je 0x100724e8
mov edi, dword [eax + 0x14]
sub edi, dword [eax + 0x10]
sar edi, 2
jmp 0x100724ed
xorps xmm0, xmm0
movaps xmmword [esi + 0x60], xmm0
mov dword [esi + 0x70], 0
movaps xmmword [esi + 0x40], xmm0
mov dword [esi + 0x50], 0
jmp 0x10072562
mov edi, 0xffffffff
mov dword [esi + 0x70], edi
mov edx, dword [esi + 0x68]
mov ecx, dword [edx + 4]
sub ecx, dword [edx]
sar ecx, 2
cmp ecx, edi
cmovae ecx, edi
test ecx, ecx
je 0x10072537
mov dword [esi + 8], edi
xor eax, eax
nop dword [eax]
mov ebx, dword [edx]
mov edi, dword [edx + 4]
sub edi, ebx
sar edi, 2
cmp edi, eax
jbe 0x10072d7e
cmp dword [ebx + eax*4], 0
jne 0x10072532
inc eax
mov dword [esi + 0x6c], eax
cmp ecx, eax
jne 0x10072510
mov eax, ecx
mov edi, dword [esi + 8]
jmp 0x10072539
xor eax, eax
xorps xmm0, xmm0
movaps xmmword [esi + 0x40], xmm0
mov dword [esi + 0x50], 0
test edx, edx
je 0x10072562
mov ecx, dword [edx]
mov edx, dword [edx + 4]
sub edx, ecx
sar edx, 2
cmp edx, edi
cmovb edi, edx
cmp eax, edi
jne 0x10072668
lea ecx, [esi + 0x40]
call fcn.100735c0
lea ecx, [esi + 0x60]
call fcn.100735c0
mov edi, dword [esi + 0x10]
cmp dword [edi + 4], 1
jne 0x10072594
mov eax, dword [esi + 0x10]
mov edi, dword [eax]
mov eax, dword [edi]
mov ebx, dword [eax + 0xc]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
mov edi, dword [esi + 0x10]
call ebx
mov byte [edi + 9], 1
mov dword [esi + 0x34], 0
push 8
call fcn.10145ba4
add esp, 4
mov dword [eax], 0
mov byte [eax + 4], 0
mov dword [esi + 0x38], eax
test eax, eax
je 0x100725bd
lock inc dword [eax]
lea eax, [esi + 0x34]
mov dword [esi + 0x3c], eax
mov eax, dword [0x101beed0]
mov ecx, dword [0x101bd164]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x10072ce7
push dword [0x101bac5c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x100728eb
mov ecx, dword [0x101beec8]
mov edx, dword [eax + ecx*8 + 4]
cmp edx, dword [0x101beecc]
jne 0x100728eb
mov eax, dword [eax + ecx*8]
mov dword [esi + 8], eax
test eax, eax
je 0x100728eb
mov dword [esi + 0x14], esp
push eax
mov dword [esi + 0xc], esp
mov eax, edi
shr eax, 0xe
mov ecx, edi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x101c1e84]
bt ecx, eax
jae 0x100726d5
push edi
call fcn.10069180
add esp, 4
jmp 0x100726e1
mov ecx, dword [edi]
mov edx, dword [edi + 4]
sub edx, ecx
sar edx, 2
mov eax, ebx
mov ebx, dword [esi + 8]
cmp edx, ebx
cmovb ebx, edx
cmp eax, ebx
je 0x10072562
cmp edx, eax
jbe 0x10072d84
mov edi, dword [ecx + eax*4]
mov eax, dword [edi]
mov ebx, dword [eax]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
mov edi, dword [esi + 0x68]
test edi, edi
je 0x10072562
mov eax, dword [esi + 0x6c]
mov ebx, dword [esi + 0x70]
inc eax
mov dword [esi + 0x6c], eax
mov ecx, dword [edi]
mov edx, dword [edi + 4]
sub edx, ecx
sar edx, 2
cmp edx, ebx
mov dword [esi + 8], ebx
cmovb ebx, edx
cmp eax, ebx
jae 0x10072660
nop
mov ecx, dword [edi]
mov edx, dword [edi + 4]
sub edx, ecx
sar edx, 2
cmp edx, eax
jbe 0x10072d78
cmp dword [ecx + eax*4], 0
jne 0x10072658
inc eax
mov dword [esi + 0x6c], eax
cmp ebx, eax
jne 0x100726b0
jmp 0x1007264c
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x101c9e84], 1
push 0x2c
call fcn.10145ba4
add esp, 4
mov ebx, eax
mov dword [eax], 1
mov dword [eax + 4], 0x100739d0
mov dword [eax + 8], 0x10073a80
mov dword [eax + 0xc], 0x100639c0
mov dword [eax + 0x10], 0x10072da0
mov dword [eax + 0x14], edi
mov eax, dword [ebp + 8]
movups xmm0, xmmword [eax]
movups xmmword [ebx + 0x18], xmm0
mov dword [ebx + 0x28], 0
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
test eax, eax
je 0x1007275c
mov ecx, 1
lock xadd dword [eax], ecx
test ecx, ecx
jle 0x10072d93
mov edi, dword [ebx + 0x28]
mov dword [ebx + 0x28], eax
test edi, edi
je 0x1007275c
lock dec dword [edi]
jne 0x1007275c
mov ecx, dword [edi + 8]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
mov eax, dword [esi + 0xc]
mov dword [eax], ebx
mov eax, dword [esi + 0x38]
mov byte [eax + 4], 1
push 8
call fcn.10145ba4
add esp, 4
mov dword [eax], 0
mov byte [eax + 4], 0
test eax, eax
je 0x10072783
lock inc dword [eax]
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x38], eax
test ecx, ecx
je 0x1007279b
lock dec dword [ecx]
jne 0x1007279b
push ecx
call fcn.10145bd4
add esp, 4
mov edi, dword [esi + 0x34]
mov dword [esi + 0x34], 0
test edi, edi
je 0x10072805
lock dec dword [edi]
jne 0x100727bd
mov ecx, dword [edi + 8]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
mov ebx, dword [esi + 0x34]
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
mov dword [ecx], 0
mov dword [esi + 0x34], eax
test ebx, ebx
je 0x10072813
lock dec dword [ebx]
jne 0x100727e6
mov ecx, dword [ebx + 8]
call dword [section..00cfg]
push ebx
call ecx
add esp, 4
mov eax, dword [esi + 0xc]
mov edi, dword [eax]
test edi, edi
je 0x10072813
lock dec dword [edi]
jne 0x10072813
mov ecx, dword [edi + 8]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
jmp 0x10072813
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
mov dword [ecx], 0
mov dword [esi + 0x34], eax
mov esp, dword [esi + 0x14]
mov dword [esi + 0xc], esp
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0x10]
mov dword [esi + 0x14], eax
push eax
sub esp, 0xc
mov edi, esp
mov eax, dword [esi + 8]
movsd xmm0, qword [eax]
movsd qword [edi + 8], xmm0
cmp dword [esi + 0x34], 0
mov dword [edi + 4], 0
je 0x100728b5
mov ebx, dword [esi + 0x38]
mov eax, dword [esi + 0x3c]
mov dword [esi + 8], eax
test ebx, ebx
je 0x10072862
lock inc dword [ebx]
lock inc dword [ebx]
lock dec dword [ebx]
jne 0x10072862
push ebx
call fcn.10145bd4
add esp, 4
push 0x1c
call fcn.10145ba4
add esp, 4
mov dword [eax], 1
mov dword [eax + 4], 0x1003b1b0
mov dword [eax + 8], 0x1003b250
mov dword [eax + 0xc], 0x1003b200
mov dword [eax + 0x10], 0x1003b160
mov dword [eax + 0x14], ebx
mov ecx, dword [esi + 8]
mov dword [eax + 0x18], ecx
mov ebx, dword [edi + 4]
mov dword [edi + 4], eax
test ebx, ebx
je 0x100728b5
lock dec dword [ebx]
jne 0x100728b5
mov ecx, dword [ebx + 8]
call dword [section..00cfg]
push ebx
call ecx
add esp, 4
lea ebx, [esi + 0x60]
push 0x86
push str....._base_run_loop.cc
push 0x101a09ec
push ebx
call fcn.10065960
add esp, 0x10
mov dword [edi], ebx
mov ebx, dword [esi + 0x14]
mov eax, dword [ebx]
mov edi, dword [eax]
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
call edi
mov esp, dword [esi + 0xc]
mov edi, dword [esi + 0x10]
mov ebx, dword [edi]
mov eax, dword [ebx + 8]
sub eax, dword [ebx + 4]
mov cl, 1
cmp eax, 4
je 0x10072901
cmp dword [edi + 4], 1
sete cl
mov byte [esi + 8], cl
mov dword [esi + 0x2c], 0x7fffffff
mov dword [esi + 0x28], 0xffffffff
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [section..00cfg]
sub esp, 0xc
movsd xmm0, qword [esi + 0x28]
movsd qword [esp + 4], xmm0
movzx eax, byte [esi + 8]
mov dword [esp], eax
mov ecx, ebx
call edi
mov edi, dword [esi + 0x10]
mov byte [edi + 9], 0
movzx eax, byte [0x101bb2dc]
mov byte [esi + 0x14], al
test al, 0x19
jne 0x10072c94
mov dword [esi + 0x20], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x1c], 0xffffffff
mov dword [esi + 0x18], 0xffffffff
mov ebx, dword [edi]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
cmp eax, ecx
je 0x10072d87
add ecx, 0xfffffffc
mov dword [ebx + 8], ecx
cmp eax, ecx
je 0x10072aa0
mov eax, dword [edi]
mov ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
mov dword [esi + 0x24], ebx
je 0x100729cb
lea ecx, [eax + 0x10]
mov dword [esi + 0x68], ecx
lea ecx, [eax + 0x1c]
mov dword [esi + 0x64], ecx
mov ecx, dword [eax + 0x1c]
mov dword [esi + 0x60], ecx
lea edx, [esi + 0x60]
mov dword [ecx + 4], edx
mov dword [eax + 0x1c], edx
mov dword [esi + 0x6c], 0
cmp dword [eax + 0x28], 0
je 0x100729e6
mov edi, dword [eax + 0x14]
sub edi, dword [eax + 0x10]
sar edi, 2
jmp 0x100729eb
xorps xmm0, xmm0
movaps xmmword [esi + 0x60], xmm0
mov dword [esi + 0x70], 0
movaps xmmword [esi + 0x40], xmm0
mov dword [esi + 0x50], 0
jmp 0x10072a62
mov edi, 0xffffffff
mov dword [esi + 0x70], edi
mov edx, dword [esi + 0x68]
mov ecx, dword [edx + 4]
sub ecx, dword [edx]
sar ecx, 2
cmp ecx, edi
cmovae ecx, edi
test ecx, ecx
je 0x10072a37
mov dword [esi + 8], edi
xor eax, eax
nop word [eax + eax]
mov ebx, dword [edx]
mov edi, dword [edx + 4]
sub edi, ebx
sar edi, 2
cmp edi, eax
jbe 0x10072d7b
cmp dword [ebx + eax*4], 0
jne 0x10072a32
inc eax
mov dword [esi + 0x6c], eax
cmp ecx, eax
jne 0x10072a10
mov eax, ecx
mov edi, dword [esi + 8]
jmp 0x10072a39
xor eax, eax
xorps xmm0, xmm0
movaps xmmword [esi + 0x40], xmm0
mov dword [esi + 0x50], 0
test edx, edx
je 0x10072a62
mov ecx, dword [edx]
mov edx, dword [edx + 4]
sub edx, ecx
sar edx, 2
cmp edx, edi
cmovb edi, edx
cmp eax, edi
jne 0x10072b64
lea ecx, [esi + 0x40]
call fcn.100735c0
lea ecx, [esi + 0x60]
call fcn.100735c0
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx + 8]
cmp dword [ecx + 4], eax
je 0x10072d8a
mov eax, dword [eax - 4]
cmp byte [eax + 8], 0
mov eax, dword [esi + 0x10]
je 0x10072aa0
mov edi, dword [eax]
mov eax, dword [edi]
mov ebx, dword [eax + 8]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
test byte [esi + 0x14], 0x19
mov edi, dword [esi + 0xc]
je 0x10072afd
cmp byte [edi], 0
je 0x10072afd
mov eax, dword [0x101bfe60]
mov ecx, dword [0x101bd164]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x10072d38
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x60], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x64], eax
sub esp, 0x10
movsd xmm0, qword [esi + 0x60]
movsd qword [esp + 8], xmm0
mov eax, dword [esi + 0x20]
mov dword [esp + 4], eax
mov dword [esp], edi
mov ecx, 0x101bfc60
call fcn.1008aff0
mov dword [esi + 0x3c], 0
mov eax, dword [esi + 0x38]
mov byte [eax + 4], 1
mov eax, dword [esi + 0x38]
test eax, eax
je 0x10072b20
lock dec dword [eax]
jne 0x10072b20
push eax
call fcn.10145bd4
add esp, 4
mov edi, dword [esi + 0x34]
test edi, edi
je 0x10072341
lock dec dword [edi]
jne 0x10072341
mov ecx, dword [edi + 8]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
jmp 0x10072341
mov ecx, dword [edi]
mov edx, dword [edi + 4]
sub edx, ecx
sar edx, 2
mov eax, ebx
mov ebx, dword [esi + 8]
cmp edx, ebx
cmovb ebx, edx
cmp eax, ebx
je 0x10072a62
cmp edx, eax
jbe 0x10072d81
mov edi, dword [ecx + eax*4]
mov eax, dword [edi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
mov edi, dword [esi + 0x68]
test edi, edi
je 0x10072a62
mov eax, dword [esi + 0x6c]
mov ebx, dword [esi + 0x70]
inc eax
mov dword [esi + 0x6c], eax
mov ecx, dword [edi]
mov edx, dword [edi + 4]
sub edx, ecx
sar edx, 2
cmp edx, ebx
mov dword [esi + 8], ebx
cmovb ebx, edx
cmp eax, ebx
jae 0x10072b5c
nop dword [eax + eax]
mov ecx, dword [edi]
mov edx, dword [edi + 4]
sub edx, ecx
sar edx, 2
cmp edx, eax
jbe 0x10072d75
cmp dword [ecx + eax*4], 0
jne 0x10072b54
inc eax
mov dword [esi + 0x6c], eax
cmp ebx, eax
jne 0x10072bb0
jmp 0x10072b48
push 0x101a0a49
call fcn.10088f50
add esp, 4
mov dword [0x101beec0], eax
test byte [eax], 0x19
je 0x10072357
mov dword [esi + 0x64], 0
mov dword [esi + 0x60], 0
sub esp, 8
movsd xmm0, qword [esi + 0x60]
movsd qword [esp], xmm0
lea edx, [esi + 0x40]
mov ecx, eax
call fcn.100738d0
add esp, 8
jmp 0x10072357
sub esp, 0x24
mov dword [esp + 0x1c], edi
movaps xmm0, xmmword [0x101a09a0]
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x20], 0
mov dword [esp + 8], str.RunLoop_ExitedEarly
mov dword [esp + 4], 0x101bb2dc
mov dword [esp], 0x58
call fcn.1003ae9c
add esp, 0x24
cmp byte [0x101bb2dc], 0
je 0x10072341
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], edx
sub esp, 0x10
movsd xmm0, qword [esi + 0x60]
movsd qword [esp + 8], xmm0
mov dword [esp + 4], str.RunLoop_ExitedEarly
mov dword [esp], 0x101bb2dc
call fcn.1008c510
add esp, 0x10
jmp 0x10072341
sub esp, 0x24
mov dword [esp + 0x1c], edi
movaps xmm0, xmmword [0x101a09a0]
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x20], 0
mov dword [esp + 8], str.RunLoop_Exited
mov dword [esp + 4], 0x101bb2dc
mov dword [esp], 0x58
mov dword [esi + 0x20], str.RunLoop_Exited
mov dword [esi + 0xc], 0x101bb2dc
call fcn.1003ae9c
add esp, 0x24
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], edx
jmp 0x1007296d
push 0x101beed0
call fcn.10145c47
add esp, 4
cmp dword [0x101beed0], 0xffffffff
jne 0x100725e4
mov dword [0x101beecc], 0
mov dword [0x101beec8], 0xffffffff
mov ecx, 0x101beec8
push 0
call fcn.1007a5a0
push 0x101beed0
call fcn.10145cbd
add esp, 4
jmp 0x100725e4
call fcn.1015b4f0
push 0x101bfe60
call fcn.10145c47
add esp, 4
cmp dword [0x101bfe60], 0xffffffff
jne 0x10072acf
mov ecx, 0x101bfc60
push 0
call fcn.100882a0
push 0x101bfe60
call fcn.10145cbd
add esp, 4
jmp 0x10072acf
call fcn.10034a48
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3
int3