Function at 0x449ee7
Capabilities:
Get thread local storage value
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x234
mov eax, dword [0x472008]
xor eax, esp
mov dword [esp + 0x230], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [esp + 8], eax
xor ebx, ebx
mov eax, dword [ebp + 0x18]
and dword [esp + 0x10], ebx
push esi
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x1c]
push edi
mov dword [esp + 0x20], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop ecx
push 0x1f4
mov dword [esp + 0x2c], eax
lea edi, [esp + 0x34]
lea eax, [esp + 0x48]
mov esi, 0x412f00
push ebx
rep movsd dword es:[edi], dword [esi]
push eax
call sub.msvcrt.dll_memset
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], ecx
cmp dword [0x474ec4], ecx
je 0x44a158
mov edi, dword [esp + 0xc]
test edi, edi
je 0x44a158
mov eax, dword [esp + 0x20]
or dword [edi + 4], eax
mov esi, dword [esp + 0x10]
test esi, esi
je 0x449fd7
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x449f8a
sub ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x10], eax
add eax, eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x449fdb
push esi
mov esi, dword [esp + 0x14]
push 0x412be4
push esi
push ebx
call fcn.0044909d
add esp, 0x10
test eax, eax
jns 0x449fd1
xor eax, eax
mov word [ebx + esi*2 - 2], ax
mov dword [esp + 0x18], ebx
jmp 0x449fdb
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x44a02f
mov ecx, eax
call fcn.0044920b
test eax, eax
je 0x44a027
mov esi, dword [0x474ee0]
lea ecx, [esp + 0x30]
push 0x104
push ecx
push eax
mov ecx, esi
call dword [0x47547c]
call esi
lea eax, [esp + 0x30]
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x44a027
add esi, 2
mov dword [esp + 0x14], esi
jmp 0x44a02f
lea eax, [esp + 0x30]
mov dword [esp + 0x14], eax
mov edx, 0x65000000
cmp dword [edi], edx
je 0x44a03d
cmp dword [edi], 0
jne 0x44a06f
mov ecx, dword [0x474ec0]
test ecx, 0x80000
je 0x44a05f
xor eax, eax
cmp dword [edi], edx
setne al
dec eax
and eax, 0x69000000
add eax, 0x2000000
mov dword [edi], eax
test ecx, 0x40000
je 0x44a06f
mov dword [esp + 0x1c], 1
push dword [0x472070]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x44a096
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x44a096
mov eax, dword [eax]
mov edi, dword [eax + ecx*4 - 4]
test edi, edi
je 0x44a096
mov edi, dword [edi]
test edi, edi
jne 0x44a09b
mov edi, 0x412bec
mov eax, dword [0x474ec4]
mov esi, dword [eax]
call fcn.00449e8a
push ecx
push ecx
fstp qword [esp]
push dword [ebp + 0x28]
push 0
push dword [ebp + 0x20]
push dword [esp + 0x28]
push str._unknown_
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push dword [0x474ea8]
mov eax, dword [esp + 0x34]
push dword [eax + 8]
push dword [eax + 4]
push dword [esp + 0x54]
push 0
push dword [ebp + 0x10]
call fcn.0044a418
mov ecx, dword [esp + 0x48]
push eax
push edi
push dword [ecx]
mov ecx, dword [esi + 0x14]
push 0x406430
push 0x11
push dword [0x474ec4]
call dword [0x47547c]
call dword [esi + 0x14]
add esp, 0x54
mov esi, eax
test ebx, ebx
je 0x44a120
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, 4
jne 0x44a132
call fcn.00449de0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [esp + 0x1c], 0
je 0x44a14a
push 0
push 0
push 1
push 0xc0000025
call dword [sym.imp.KERNEL32.dll_RaiseException]
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
jmp 0x44a15a
xor eax, eax
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00451d90
mov esp, ebp
pop ebp
ret 0x24