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

Disassembly:
mov byte [rsp + 0x1c0], 1
jmp 0x10000c674
mov rax, qword [rbx + 0x88]
mov rcx, qword [rax + rdi*8]
test byte [rcx + 0x44], 2
je 0x10000c42e
lea rdx, [rsp + 0x98]
call fcn.10000c440
sub rdi, 1
jns 0x10000c410
jmp 0x10000c732
mov rax, rsp
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x198
mov rdi, qword [rdx]
mov rbx, rcx
mov rsi, rdx
mov rcx, qword [rdi]
movaps xmmword [rax - 0x38], xmm6
lea rdx, [rax + 0x20]
movaps xmmword [rax - 0x48], xmm7
call sub.gdiplus.dll_GdipSaveGraphics
test eax, eax
jne 0x100022138
lea rdx, [rsp + 0xb8]
mov r8d, 8
mov rcx, rbx
call fcn.10000b620
lea rcx, [rsp + 0x98]
mov rdx, rsi
movd xmm0, dword [rbx + 0x24]
movd xmm1, dword [rbx + 0x28]
xorps xmm6, xmm6
movss dword [rsp + 0x60], xmm6
movss dword [rsp + 0x64], xmm6
mov r8d, 0x20
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x68], xmm0
movss dword [rsp + 0x6c], xmm1
call sub.msvcrt.dll_memcpy
mov r10, qword [rsi + 0x10]
or dword [rsp + 0xec], 3
movss xmm7, dword [0x1000ac158]
movss dword [rsp + 0xcc], xmm6
movss dword [rsp + 0xd0], xmm6
lea rax, [rsp + 0x78]
mov r9, r10
mov r8d, 2
movss dword [rsp + 0xc8], xmm7
movss dword [rsp + 0xd4], xmm6
movss dword [rsp + 0xd8], xmm7
lea rdx, [r10 + 8]
lea rcx, [rsp + 0x78]
sub r9, rax
movss dword [rsp + 0xdc], xmm6
movss dword [rsp + 0xe0], xmm6
movss dword [rsp + 0xe4], xmm6
movss dword [rsp + 0xe8], xmm7
mov eax, dword [r9 + rcx]
mov dword [rcx - 8], eax
mov eax, dword [rdx - 4]
mov dword [rcx - 4], eax
mov eax, dword [rdx]
add rdx, 0xc
mov dword [rcx], eax
add rcx, 0xc
sub r8d, 1
jns 0x10000c549
mov eax, dword [r10 + 0x24]
mov ecx, dword [rsp + 0x94]
movd xmm2, dword [rsp + 0xbc]
movd xmm1, dword [rsp + 0xb8]
shl eax, 0x1f
sar eax, 0x1f
xor eax, ecx
cvtdq2ps xmm2, xmm2
and eax, 1
cvtdq2ps xmm1, xmm1
xor ecx, eax
mov dword [rsp + 0x94], ecx
mov eax, dword [r10 + 0x24]
shl eax, 0x1e
sar eax, 0x1e
xor eax, ecx
and eax, 2
xor ecx, eax
cmp byte [rbx + 0x5d], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0x94], ecx
jne 0x100022140
mov rdi, qword [rsi]
xor r9d, r9d
mov rcx, qword [rdi]
call sub.gdiplus.dll_GdipTranslateWorldTransform
test eax, eax
jne 0x1000221eb
mov rdi, qword [rsi]
movss xmm0, dword [rsp + 0x6c]
movss xmm3, dword [rsp + 0x68]
lea rax, [rsp + 0x1c0]
mov dword [rsp + 0x1c0], 1
mov rcx, qword [rdi]
movss xmm2, dword [rsp + 0x64]
movss xmm1, dword [rsp + 0x60]
mov qword [rsp + 0x28], rax
movss dword [rsp + 0x20], xmm0
call sub.gdiplus.dll_GdipIsVisibleRect
test eax, eax
jne 0x1000221f3
cmp dword [rsp + 0x1c0], 0
je 0x10000c765
xor ebp, ebp
test byte [rbx + 0x44], 0x80
jne 0x10000f1b2
cmp qword [rbx + 0x128], 0
jne 0x10000c732
mov eax, dword [rbx + 0x44]
mov byte [rsp + 0x1c0], 0
and eax, 0xc0000000
jne 0x10000b6cf
cmp byte [rsi + 0x18], al
jne 0x10000b6cf
cmp qword [rbx + 0x138], 0
jne 0x10000e347
cmp byte [rbx + 0x3c], 0xff
jne 0x10000e347
test eax, eax
jne 0x10000e347
mov dl, byte [rsp + 0x1c0]
and dword [rsp + 0x110], 0
and dword [rsp + 0x118], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x120], rax
lea rax, [rsp + 0x60]
mov dword [rsp + 0x100], 0x38
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x98]
mov dword [rsp + 0x104], 0x8002
mov qword [rsp + 0x130], rax
mov al, byte [rsi + 0x19]
mov qword [rsp + 0x108], rbx
neg al
sbb ecx, ecx
xor eax, eax
and ecx, 2
test dl, dl
lea rdx, [rsp + 0x100]
setne al
or ecx, eax
mov rax, qword [rbx]
mov dword [rsp + 0x11c], ecx
mov rcx, rbx
call qword [rax + 0x18]
mov r11d, dword [rbx + 0x90]
sub r11d, 1
movsxd rdi, r11d
jns 0x10000c410
mov rdx, qword [rbx + 0x128]
test rdx, rdx
jne 0x10000efbe
test rbp, rbp
jne 0x10000c799
mov rcx, rbx
call fcn.10000328c
test rax, rax
je 0x10000c765
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 8]
test al, al
jne 0x1000222f2
mov rbx, qword [rsi]
mov edx, dword [rsp + 0x1d8]
mov rcx, qword [rbx]
call sub.gdiplus.dll_GdipRestoreGraphics
test eax, eax
jne 0x100022351
lea r11, [rsp + 0x198]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
mov rsp, r11
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rdi, qword [rsi]
mov rdx, qword [rbp]
xor r8d, r8d
mov rcx, qword [rdi]
call sub.gdiplus.dll_GdipSetClipRegion
test eax, eax
jne 0x1000222ea
mov rcx, qword [rbp]
call sub.gdiplus.dll_GdipDeleteRegion
mov rcx, rbp
call sub.gdiplus.dll_GdipFree
nop
jmp 0x10000c747
mov ecx, 0x18
call sub.gdiplus.dll_GdipAlloc
mov rdi, rax
mov qword [rsp + 0x1d0], rax
test rax, rax
je 0x100022212
mov edx, dword [rbx + 0x28]
mov ecx, dword [rbx + 0x24]
and qword [rsp + 0x1c8], 0
lea rax, [0x1000a9918]
mov r9d, 0x26200a
xor r8d, r8d
mov qword [rdi], rax
lea rax, [rsp + 0x1c8]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
call sub.gdiplus.dll_GdipCreateBitmapFromScan0
mov dword [rdi + 0x10], eax
mov rax, qword [rsp + 0x1c8]
mov qword [rdi + 8], rax
jmp 0x10000e3b0
mov qword [rbx + 0x128], rdi
test rdi, rdi
je 0x10000c694
mov ecx, 0x10
call sub.gdiplus.dll_GdipAlloc
mov rdi, rax
test rax, rax
je 0x100022221
mov rcx, qword [rsp + 0x1d0]
and qword [rsp + 0x1c8], 0
lea rdx, [rsp + 0x1c8]
mov rcx, qword [rcx + 8]
call sub.gdiplus.dll_GdipGetImageGraphicsContext
mov rcx, qword [rsp + 0x1c8]
mov qword [rdi], rcx
mov dword [rdi + 8], eax
jmp 0x10000e408
mov qword [rbx + 0x130], rdi
test rdi, rdi
je 0x100022228
and dword [rsp + 0xa0], 0
and dword [rsp + 0xa4], 0
cmp byte [rsi + 0x18], 0
mov dl, byte [rsp + 0x1c0]
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0xa8], rax
jne 0x10000e468
mov byte [rsp + 0xb0], 0
test dl, dl
jne 0x10000e468
mov al, byte [rsi + 0x19]
mov byte [rsp + 0xb1], al
jmp 0x10000c69b
mov byte [rsp + 0xb0], 1
jmp 0x10000e459
mov rcx, qword [rbx + 0x138]
test rcx, rcx
jne 0x10002224f
xor edi, edi
cmp byte [rbx + 0x3c], 0xff
je 0x10000f089
lea r8d, [rdi + 0x60]
lea rcx, [rsp + 0x104]
xor edx, edx
movss dword [rsp + 0x100], xmm6
call sub.msvcrt.dll_memset
lea ecx, [rdi + 0x10]
call sub.gdiplus.dll_GdipAlloc
mov rdi, rax
test rax, rax
je 0x100022299
and qword [rax], 0
mov rcx, rax
call sub.gdiplus.dll_GdipCreateImageAttributes
mov dword [rdi + 8], eax
jmp 0x10000f01b
test rdi, rdi
je 0x10000f089
movzx eax, byte [rbx + 0x3c]
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
movss dword [rsp + 0x160], xmm7
movss dword [rsp + 0x130], xmm7
movss dword [rsp + 0x118], xmm7
movd xmm0, eax
xor edx, edx
movss dword [rsp + 0x100], xmm7
lea r9, [rsp + 0x100]
lea r8d, [rdx + 1]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x1000ae960]
movss dword [rsp + 0x148], xmm0
mov rcx, qword [rdi]
call sub.gdiplus.dll_GdipSetImageAttributesColorMatrix
test eax, eax
jne 0x1000222a0
mov rax, qword [rsi]
mov edx, 2
mov rcx, qword [rax]
mov qword [rsp + 0x1c0], rax
call sub.gdiplus.dll_GdipSetInterpolationMode
mov r11d, eax
test eax, eax
jne 0x1000222a8
mov rax, qword [rbx + 0x128]
and dword [rsp + 0x1c0], 0
lea rdx, [rsp + 0x1c0]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x1c8], rax
call sub.gdiplus.dll_GdipGetImageHeight
mov r11d, eax
test eax, eax
jne 0x1000222b9
mov eax, dword [rsp + 0x1c0]
and dword [rsp + 0x1c8], 0
lea rdx, [rsp + 0x1c8]
mov dword [rsp + 0x1d0], eax
mov rax, qword [rbx + 0x128]
mov rcx, qword [rax + 8]
mov qword [rsp + 0xf0], rax
call sub.gdiplus.dll_GdipGetImageWidth
mov r11d, eax
test eax, eax
jne 0x1000222ca
and qword [rsp + 0x50], 0
and qword [rsp + 0x48], 0
mov eax, dword [rsp + 0x1d0]
pxor xmm1, xmm1
pxor xmm0, xmm0
movaps xmm3, xmm6
cvtsi2ss xmm1, rax
mov eax, dword [rsp + 0x1c8]
mov rdx, qword [rbx + 0x128]
mov rcx, qword [rsi]
cvtsi2ss xmm0, rax
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], 2
lea r8, [rsp + 0x60]
movss dword [rsp + 0x30], xmm1
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x20], xmm6
call fcn.10000db30
test rdi, rdi
je 0x10000f197
mov rcx, qword [rdi]
call sub.gdiplus.dll_GdipDisposeImageAttributes
mov rcx, rdi
call sub.gdiplus.dll_GdipFree
cmp byte [rsi + 0x18], 0
je 0x10000c742
jmp 0x1000222db
lea ecx, [rbp + 0x10]
call sub.gdiplus.dll_GdipAlloc
mov rbp, rax
test rax, rax
je 0x1000221fb
and qword [rsp + 0x1c0], 0
lea rcx, [rsp + 0x1c0]
call sub.gdiplus.dll_GdipCreateRegion
mov dword [rbp + 8], eax
mov rax, qword [rsp + 0x1c0]
mov qword [rbp], rax
jmp 0x10000f1ed
test rbp, rbp
je 0x10000c647
mov rdi, qword [rsi]
mov rdx, qword [rbp]
mov rcx, qword [rdi]
call sub.gdiplus.dll_GdipGetClip
test eax, eax
jne 0x100022202
mov rdi, qword [rsi]
movss xmm0, dword [rsp + 0x6c]
movss xmm3, dword [rsp + 0x68]
mov dword [rsp + 0x28], 1
mov rcx, qword [rdi]
movss xmm2, dword [rsp + 0x64]
movss xmm1, dword [rsp + 0x60]
movss dword [rsp + 0x20], xmm0
call sub.gdiplus.dll_GdipSetClipRect
test eax, eax
je 0x10000c647
jmp 0x10002220a
mov dword [rdi + 8], eax
jmp 0x10000c473
lea rcx, [rsp + 0x70]
call fcn.100011f34
cmp byte [rbx + 0x5d], 0
je 0x10002215d
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.10003e7e8
movd xmm0, dword [rsi + 0xc]
movd xmm1, dword [rsi + 8]
movss xmm3, dword [rsp + 0x80]
movss xmm2, dword [rsp + 0x7c]
and qword [rsp + 0x1c0], 0
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x30], rax
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
addss xmm0, dword [rsp + 0x8c]
addss xmm1, dword [rsp + 0x88]
movss dword [rsp + 0x28], xmm0
movss xmm0, dword [rsp + 0x70]
movss dword [rsp + 0x20], xmm1
movss xmm1, dword [rsp + 0x74]
call sub.gdiplus.dll_GdipCreateMatrix2
mov rdi, qword [rsi]
mov rbp, qword [rsp + 0x1c0]
mov rcx, qword [rdi]
mov rdx, rbp
call sub.gdiplus.dll_GdipSetWorldTransform
test eax, eax
je 0x1000221de
mov dword [rdi + 8], eax
mov rcx, rbp
call sub.gdiplus.dll_GdipDeleteMatrix
jmp 0x10000c5e4
mov dword [rdi + 8], eax
jmp 0x10000c5e4
mov dword [rdi + 8], eax
jmp 0x10000c62d
xor ebp, ebp
jmp 0x10000f1ed
mov dword [rdi + 8], eax
jmp 0x10000f20d
mov dword [rdi + 8], eax
jmp 0x10000c647
xor edi, edi
mov qword [rsp + 0x1d0], rdi
jmp 0x10000e3b0
xor edi, edi
jmp 0x10000e408
mov rcx, qword [rbx + 0x128]
test rcx, rcx
je 0x10000c694
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
and qword [rbx + 0x128], 0
jmp 0x10000c694
mov rax, qword [rbx + 0x130]
movaps xmm0, xmmword [rsp + 0x60]
mov r10, qword [rcx]
mov r9b, byte [rbx + 0x3c]
mov qword [rsp + 0x30], rax
mov rax, qword [rsi]
movdqa xmmword [rsp + 0xf0], xmm0
mov qword [rsp + 0x28], rdx
lea r8, [rsp + 0xf0]
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [r10 + 8]
test eax, eax
je 0x10000efce
jmp 0x10000f197
xor edi, edi
jmp 0x10000f01b
mov dword [rdi + 8], eax
jmp 0x10000f089
mov rax, qword [rsp + 0x1c0]
mov dword [rax + 8], r11d
jmp 0x10000f0ac
mov rax, qword [rsp + 0x1c8]
mov dword [rax + 0x10], r11d
jmp 0x10000f0df
mov rax, qword [rsp + 0xf0]
mov dword [rax + 0x10], r11d
jmp 0x10000f120
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x20]
nop
jmp 0x10000c742
mov dword [rdi + 8], eax
jmp 0x10000c7b3
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
test al, al
je 0x10000c765
call fcn.100001210
test al, al
je 0x10000c765
mov ecx, dword [0x1000da584]
cmp ecx, 0xffffffff
jne 0x10002231f
xor eax, eax
jmp 0x100022325
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp qword [rax + 0x30], rbx
jne 0x10000c765
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x30]
test eax, eax
jne 0x10000c765
mov rdx, rsi
mov rcx, rbx
call fcn.10003eb70
nop
jmp 0x10000c765
mov dword [rbx + 8], eax
jmp 0x10000c77f