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

Disassembly:
push 0xffffffffffffffff
push 0x1f0561ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x290
mov eax, dword [0x1f0837bc]
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 0x100
push 8
push eax
call edi
mov ecx, dword [0x1f0837bc]
push 0x820
push 8
mov esi, eax
push ecx
mov dword [esp + 0x20], esi
call edi
mov edi, dword [esp + 0x2b4]
mov ecx, dword [edi]
mov dword [esp + 0x10], eax
mov eax, ecx
cmp eax, 0xc0000005
ja 0x1f017877
je 0x1f017814
add eax, 0x7fffffff
cmp eax, 3
ja case.0x1f01789f.1073741817
jmp dword [eax*4 + 0x1f018088]
mov eax, str.DATATYPE_MISALIGNMENT
mov edx, esi
sub edx, eax
jmp 0x1f0177a0
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1f0177a0
jmp 0x1f017b5f
mov eax, str.BREAKPOINT
mov edx, esi
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1f0177c0
jmp 0x1f017b5f
mov eax, str.SINGLE_STEP
mov edx, esi
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1f0177e0
jmp 0x1f017b5f
mov eax, str.GUARD_PAGE
mov edx, esi
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1f017800
jmp 0x1f017b5f
mov eax, str.ACCESS_VIOLATION
mov edx, esi
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1f017820
cmp dword [edi + 0x10], 2
jb 0x1f017b5f
cmp dword [edi + 0x14], 0
jne 0x1f01785b
mov edx, dword [edi + 0x18]
push edx
push str.ACCESS_VIOLATION_reading_location_0x_p
push 0x80
push esi
call fcn.1f03ea51
add esp, 0x10
jmp 0x1f017b5f
mov eax, dword [edi + 0x18]
push eax
push str.ACCESS_VIOLATION_writing_location_0x_p
push 0x80
push esi
call fcn.1f03ea51
add esp, 0x10
jmp 0x1f017b5f
cmp eax, 0xc000013a
ja 0x1f017ae4
je 0x1f017ac4
add eax, 0x3ffffffa
cmp eax, 0xf7
ja case.0x1f01789f.1073741817
movzx edx, byte [eax + 0x1f0180e0]
jmp dword [edx*4 + 0x1f018098]
mov eax, str.ARRAY_BOUNDS_EXCEEDED
mov edx, esi
sub edx, eax
nop
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1f0178b0
jmp 0x1f017b5f
mov eax, str.FLT_DENORMAL_OPERAND
mov edx, esi
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1f0178d0
jmp 0x1f017b5f
mov eax, str.FLT_DIVIDE_BY_ZERO
mov edx, esi
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1f0178f0
jmp 0x1f017b5f
mov eax, str.FLT_INEXACT_RESULT
mov edx, esi
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1f017910
jmp 0x1f017b5f
mov eax, str.FLT_INVALID_OPERATION
mov edx, esi
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1f017930
jmp 0x1f017b5f
mov eax, str.FLT_OVERFLOW
mov edx, esi
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1f017950
jmp 0x1f017b5f
mov eax, str.FLT_STACK_CHECK
mov edx, esi
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1f017970
jmp 0x1f017b5f
mov eax, str.FLT_UNDERFLOW
mov edx, esi
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1f017990
jmp 0x1f017b5f
mov eax, str.INT_DIVIDE_BY_ZERO
mov edx, esi
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1f0179b0
jmp 0x1f017b5f
mov eax, str.INT_OVERFLOW
mov edx, esi
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1f0179d0
jmp 0x1f017b5f
mov eax, str.PRIV_INSTRUCTION
mov edx, esi
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1f0179f0
jmp 0x1f017b5f
mov eax, str.IN_PAGE_ERROR
mov edx, esi
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1f017a10
jmp 0x1f017b5f
mov eax, str.ILLEGAL_INSTRUCTION
mov edx, esi
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1f017a30
jmp 0x1f017b5f
mov eax, str.NONCONTINUABLE_EXCEPTION
mov edx, esi
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1f017a50
jmp 0x1f017b5f
mov eax, str.STACK_OVERFLOW
mov edx, esi
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1f017a70
jmp 0x1f017b5f
mov eax, str.INVALID_DISPOSITION
mov edx, esi
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1f017a90
jmp 0x1f017b5f
mov eax, str.INVALID_HANDLE
mov edx, esi
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1f017ab0
jmp 0x1f017b5f
mov eax, str.CONTROL_C_EXIT
mov edx, esi
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1f017ad0
jmp 0x1f017b5f
cmp eax, 0xe0434352
je 0x1f017b41
cmp eax, 0xe0434f4d
je 0x1f017b41
cmp eax, 0xe06d7363
je 0x1f017b20
push ecx
push str.UNKNOWN_EXCEPTION_0x_08X
push 0x80
push esi
call fcn.1f03ea51
add esp, 0x10
xor eax, eax
mov word [esi + 0xfe], ax
jmp 0x1f017b5f
mov eax, str.SOFTWARE_EXCEPTION
mov edx, esi
sub edx, eax
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1f017b30
jmp 0x1f017b5f
mov eax, str.MANAGED_EXCEPTION
mov edx, esi
sub edx, eax
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1f017b50
mov esi, dword [esp + 0x2b8]
mov eax, dword [esi + 0xac]
mov ecx, dword [esi + 0xb0]
mov edx, dword [esi + 0xa4]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x9c]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0xb4]
mov dword [esp + 0x40], ecx
mov ecx, dword [esi + 0xa8]
mov dword [esp + 0x44], edx
mov edx, dword [esi + 0xa0]
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 0x8c]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esi + 0xc0]
mov dword [esp + 0x50], edx
mov edx, dword [esi + 0xc4]
mov dword [esp + 0x64], eax
mov eax, dword [0x1f0837c0]
mov dword [esp + 0x58], ecx
mov ecx, dword [esi + 0x94]
mov dword [esp + 0x68], edx
mov edx, dword [esi + 0x90]
xor ebp, ebp
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
push eax
cmp eax, 0x40
jae 0x1f017bf2
call section..text
jmp 0x1f017bf8
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x1f017c0e
mov eax, dword [edi + 4]
test eax, eax
je 0x1f017c0e
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov ebp, dword [edx + eax + 0x10]
mov eax, dword [esp + 0x2b4]
or ebx, 0xffffffff
cmp dword [eax], 0xc00000fd
jne 0x1f017c25
mov ebx, 0x100
push 1
push 0x214
lea ecx, [esp + 0x78]
mov dword [esp + 0x20], 0
call fcn.1f02eb30
mov dword [esp + 0x2a8], 0
mov ecx, dword [0x1f0837bc]
mov edx, dword [esp + 0x70]
push ecx
mov ecx, dword [edx + 4]
lea ecx, [esp + ecx + 0x74]
call fcn.1f03dab0
movzx eax, word [0x1f06c394]
push edi
push ebx
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x2c4]
lea edx, [esp + 0x80]
push edx
mov edx, dword [ecx + 0xc]
push ebp
lea eax, [esp + 0x58]
push eax
push edx
call fcn.1f022ef0
add esp, 0x20
test eax, eax
je 0x1f017f36
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x2c]
sub ecx, dword [0x1f082a00]
mov edx, dword [esp + 0x30]
sbb edx, dword [0x1f082a04]
xor ebp, ebp
push ebp
push 0x989680
push edx
push ecx
call fcn.1f040a80
mov ecx, dword [0x1f0829fc]
push ecx
mov ecx, dword [0x1f0829f8]
push ecx
push edx
push eax
call fcn.1f0409d0
add eax, dword [0x1f0834b0]
mov ebx, dword [esp + 0x2b4]
adc edx, dword [0x1f0834b4]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2b0]
mov dword [esp + 0x30], edx
mov dword [esp + 0x3c], edx
cmp eax, ebp
je 0x1f017d58
mov edx, dword [eax + 0x1a58]
mov ecx, dword [eax + 0x1a5c]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0x1b04]
mov eax, dword [eax + 0x1b08]
push edx
mov edx, dword [esp + 0x18]
push eax
push str.thrown_by
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx + 0xc]
push ecx
push edx
push str._s_at_address_0x_p__s__s___s_
push 0x410
push esi
call fcn.1f03ea51
add esp, 0x20
jmp 0x1f017d7c
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push str._s_at_address_0x_p
push 0x410
push esi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebp
call fcn.1f03ea51
add esp, 0x14
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x1f017d81
push ebp
sub eax, edx
push 1
push ebp
sar eax, 1
lea edi, [eax + eax + 2]
lea edx, [esp + 0x9c]
push edx
lea eax, [esp + 0x44]
push eax
mov eax, dword [ebx + 0xc]
lea ecx, [esp + 0xac]
push ecx
mov ecx, dword [0x1f083714]
lea edx, [esp + 0xac]
push edx
push eax
call fcn.1f026d40
test eax, eax
je 0x1f017dd2
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
jmp 0x1f017de0
xor edx, edx
mov dword [esp + 0x1c], ebp
mov word [esp + 0x98], dx
lea eax, [esp + 0x98]
lea ecx, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
cmp dx, bp
jne 0x1f017df0
mov edx, dword [0x1f0837bc]
sub eax, ecx
mov ecx, dword [esp + 0x18]
sar eax, 1
lea esi, [eax + eax + 2]
lea eax, [esi + edi]
lea eax, [eax + ecx + 0x6c]
push eax
push 0
push edx
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ebp, eax
mov eax, dword [esp + 0x28]
mov dword [ebp], 0x22
add eax, 0xfffffff8
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x20]
lea ebx, [ebp + 4]
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [ebx + 8], edx
add ebx, 4
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x2b4]
mov dword [ebx + 0xc], ecx
mov edx, dword [eax + 0xc]
mov ecx, dword [esp + 0x1c]
add ebx, 8
mov dword [ebx + 8], edx
mov eax, dword [eax + 0x10]
add ebx, 8
mov dword [ebx + 4], eax
add ebx, 8
mov dword [ebx], ecx
add ebx, 4
push esi
lea edx, [esp + 0x9c]
mov dword [ebx], esi
push edx
add ebx, 4
push ebx
call fcn.1f03f910
mov eax, dword [esp + 0x1c]
add ebx, esi
push edi
mov dword [ebx], edi
push eax
add ebx, 4
push ebx
call fcn.1f03f910
add ebx, edi
mov edi, ebx
mov ecx, 0xc
lea esi, [esp + 0x58]
add esp, 0x18
rep movsd dword es:[edi], dword [esi]
add ebx, 0x30
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebx], eax
add ebx, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebx], eax
mov ecx, dword [esp + 0x70]
mov ecx, dword [ecx + 4]
lea ecx, [esp + ecx + 0x70]
add ebx, 4
call fcn.1f03dac0
mov word [ebx], ax
mov dx, word [0x1f06c394]
add ebx, 2
mov word [ebx], dx
movzx eax, word [0x1f06c394]
push eax
lea ecx, [esp + 0x1c]
add ebx, 2
push ecx
push ebx
lea edx, [esp + 0x7c]
push edx
call fcn.1f023070
mov eax, dword [esp + 0x38]
mov ecx, dword [0x1f083708]
add esp, 0x10
push eax
push ebp
call fcn.1f02f220
mov ecx, dword [0x1f0837bc]
push ebp
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [esp + 0x10]
jmp 0x1f01802e
mov eax, dword [esp + 0x2b0]
mov ecx, dword [esi + 0xc4]
test eax, eax
je 0x1f017fc6
mov edx, dword [esi + 0xb4]
push edx
mov edx, dword [esi + 0xc0]
mov eax, dword [eax + 0x38]
push ecx
mov ecx, dword [esi + 0x9c]
push edx
mov edx, dword [esi + 0xa0]
push ecx
mov ecx, dword [esi + 0xa8]
push edx
mov edx, dword [esi + 0xac]
push ecx
mov ecx, dword [esi + 0xa4]
push edx
mov edx, dword [esi + 0xb0]
mov esi, dword [esp + 0x2c]
push ecx
mov ecx, dword [eax + 0x1b04]
push edx
mov edx, dword [eax + 0x1b08]
mov eax, dword [esp + 0x2d8]
push ecx
mov ecx, dword [eax + 0xc]
push edx
mov edx, dword [esp + 0x40]
push str.thrown_by
push ecx
push edx
push str._s_at_address_0x_p__s__s___s_EAX0x_08X__EBX0x_08X__ECX0x_08X__EDX0x_08X__ESI0x_08X__EDI0x_08X__EFL0x_08X__ESP0x_08X__EBP0x_08X
push 0x410
push esi
call fcn.1f03ea51
add esp, 0x44
jmp 0x1f018026
mov eax, dword [esi + 0xb4]
mov edx, dword [esi + 0xc0]
push eax
mov eax, dword [esi + 0x9c]
push ecx
mov ecx, dword [esi + 0xa0]
push edx
mov edx, dword [esi + 0xa8]
push eax
mov eax, dword [esi + 0xac]
push ecx
mov ecx, dword [esi + 0xa4]
push edx
mov edx, dword [esi + 0xb0]
mov esi, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x2d0]
push ecx
mov ecx, dword [eax + 0xc]
push edx
mov edx, dword [esp + 0x38]
push ecx
push edx
push str._s_at_address_0x_pEAX0x_08X__EBX0x_08X__ECX0x_08X__EDX0x_08X__ESI0x_08X__EDI0x_08X__EFL0x_08X__ESP0x_08X__EBP0x_08X
push 0x410
push esi
call fcn.1f03ea51
add esp, 0x38
push esi
push 4
call fcn.1f029250
mov eax, dword [esp + 0x14]
mov ecx, dword [0x1f0837bc]
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
push eax
push 0
push ecx
call edi
mov edx, dword [0x1f0837bc]
push esi
push 0
push edx
call edi
mov dword [esp + 0x2a8], 0xffffffff
lea ecx, [esp + 0x7c]
call fcn.1f02f110
lea ecx, [esp + 0x7c]
call fcn.1f03daa0
mov ecx, dword [esp + 0x2a0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x29c
ret