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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [0x54d750]
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_TlsGetValue
add eax, 0xa0
mov dword [ebp - 4], eax
xor edi, edi
test ebx, ebx
je 0x44870b
push 0
push esi
call fcn.004477f8
add esp, 8
mov eax, esi
cmp eax, 0x75
ja case.0x4478d2.0
jmp dword [eax*4 + 0x4478d9]
mov eax, dword [ebx]
test ah, 4
jne 0x447ac3
test eax, 0xfffbffff
jne case.0x4478d2.0
push esi
push 0
push ebx
call fcn.0043dd70
pop ecx
push eax
mov edx, dword [ebp - 4]
push edx
call fcn.00445388
add esp, 0x10
mov edi, 1
cmp esi, 0x18
jne case.0x4478d2.0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc0], 0
jne case.0x4478d2.0
call fcn.00445814
mov edx, dword [ebp - 4]
mov dword [edx + 0xc0], eax
jmp case.0x4478d2.0
test byte [ebx], 0x80
je case.0x4478d2.0
push ebx
call fcn.0043dee4
pop ecx
mov edi, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x24], eax
jmp case.0x4478d2.0
test byte [ebx], 0x80
je case.0x4478d2.0
push ebx
call fcn.0043dee4
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], eax
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x80
je case.0x4478d2.0
push ebx
call fcn.0043dee4
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x80
je case.0x4478d2.0
push ebx
call fcn.0043dee4
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x80
je case.0x4478d2.0
push ebx
call fcn.0043dee4
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x80
je case.0x4478d2.0
push ebx
call fcn.0043dee4
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x48], eax
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x80
je case.0x4478d2.0
push ebx
call fcn.0043dee4
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x80
je case.0x4478d2.0
push ebx
call fcn.0043dee4
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x5c], eax
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x80
je case.0x4478d2.0
push ebx
call fcn.0043dee4
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x64], eax
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x80
je case.0x4478d2.0
push ebx
call fcn.0043dee4
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x6c], eax
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x80
je case.0x4478d2.0
push ebx
call fcn.0043dee4
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x74], eax
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x80
je case.0x4478d2.0
push ebx
call fcn.0043dee4
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], eax
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x80
je case.0x4478d2.0
push ebx
call fcn.0043dee4
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x80
je case.0x4478d2.0
push ebx
call fcn.0043dee4
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x80
je case.0x4478d2.0
push ebx
call fcn.0043dee4
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x80
je case.0x4478d2.0
push ebx
call fcn.0043dee4
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x90], eax
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x80
je case.0x4478d2.0
push ebx
call fcn.0043dee4
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x94], eax
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x80
je case.0x4478d2.0
push ebx
call fcn.0043dee4
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x98], eax
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x80
je case.0x4478d2.0
push ebx
call fcn.0043dee4
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x9c], eax
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x80
je case.0x4478d2.0
push ebx
call fcn.0043dee4
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xac], eax
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x80
je case.0x4478d2.0
push ebx
call fcn.0043dee4
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xb8], eax
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x80
je case.0x4478d2.0
push ebx
call fcn.0043dee4
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xf8], eax
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x80
je case.0x4478d2.0
push ebx
call fcn.0043dee4
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xbc], eax
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x80
je case.0x4478d2.0
push ebx
call fcn.0043dee4
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xc4], eax
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x80
je case.0x4478d2.0
push ebx
call fcn.0043dee4
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xc8], eax
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x80
je case.0x4478d2.0
push ebx
call fcn.0043dee4
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xcc], eax
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x80
je case.0x4478d2.0
push ebx
call fcn.0043dee4
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xd0], eax
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x80
je case.0x4478d2.0
push ebx
call fcn.0043dee4
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xd8], eax
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x80
je case.0x4478d2.0
push ebx
call fcn.0043dee4
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xec], eax
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x80
je case.0x4478d2.0
push ebx
call fcn.0043dee4
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xf4], eax
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x80
je case.0x4478d2.0
push ebx
call fcn.0043dee4
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xfc], eax
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x80
je case.0x4478d2.0
push ebx
call fcn.0043dee4
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x104], eax
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x1a
je case.0x4478d2.0
push ebx
call fcn.0043df78
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl case.0x4478d2.0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x54], edx
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x1a
je case.0x4478d2.0
push ebx
call fcn.0043df78
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl case.0x4478d2.0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x70], edx
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x1a
je case.0x4478d2.0
push ebx
call fcn.0043df78
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl case.0x4478d2.0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0xa8], edx
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x1a
je case.0x4478d2.0
push ebx
call fcn.0043df78
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl case.0x4478d2.0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0xf0], edx
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x1a
je case.0x4478d2.0
push ebx
call fcn.0043df78
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl case.0x4478d2.0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x30], edx
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x1a
je case.0x4478d2.0
push ebx
call fcn.0043df78
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl case.0x4478d2.0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x34], edx
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x1a
je case.0x4478d2.0
push ebx
call fcn.0043df78
pop ecx
push eax
push 1
call fcn.0046f2d8
add esp, 8
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x1a
je case.0x4478d2.0
push ebx
call fcn.0043df78
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl case.0x4478d2.0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x78], edx
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x1a
je case.0x4478d2.0
push ebx
call fcn.0043df78
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl case.0x4478d2.0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0xa4], edx
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x1a
je case.0x4478d2.0
push ebx
call fcn.0043df78
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl case.0x4478d2.0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0xb0], edx
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x1a
je case.0x4478d2.0
push ebx
call fcn.0043df78
mov edi, eax
mov eax, dword [ebp - 4]
pop ecx
test edi, edi
mov dword [eax + 0xd4], edi
je 0x448177
cmp edi, 0x10
jge 0x44815b
mov edx, dword [ebp - 4]
mov dword [edx + 0xd4], 0x10
jmp 0x448177
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0xd4], 0x1000
jle 0x448177
mov eax, dword [ebp - 4]
mov dword [eax + 0xd4], 0x1000
call fcn.004689c0
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx], 0x1a
je case.0x4478d2.0
push ebx
call fcn.0043df78
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xe8], eax
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx + 1], 4
je case.0x4478d2.0
push ebx
call fcn.0043dd70
pop ecx
push eax
call fcn.0046f1bc
pop ecx
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx + 1], 4
je case.0x4478d2.0
push ebx
call fcn.0043dd70
pop ecx
push eax
call fcn.0046bcf4
pop ecx
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx + 1], 4
je case.0x4478d2.0
push ebx
call fcn.0043dd70
pop ecx
push eax
call fcn.004528b8
pop ecx
mov edi, 1
jmp case.0x4478d2.0
mov dword [ebp - 8], 0xffffffff
test byte [ebx + 1], 4
je 0x448280
push 0x539504
push ebx
call fcn.0043dd70
pop ecx
push eax
call fcn.004a868c
add esp, 8
test eax, eax
jne 0x44823e
mov dword [ebp - 8], 1
jmp 0x44828f
push 0x53950a
push ebx
call fcn.0043dd70
pop ecx
push eax
call fcn.004a868c
add esp, 8
test eax, eax
jne 0x448260
mov dword [ebp - 8], 2
jmp 0x44828f
push str.MIXED
push ebx
call fcn.0043dd70
pop ecx
push eax
call fcn.004a868c
add esp, 8
test eax, eax
jne 0x44828f
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x44828f
test byte [ebx], 0x1a
je 0x44828f
push ebx
call fcn.0043df78
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
je 0x4482a5
cmp dword [ebp - 8], 2
je 0x4482a5
cmp dword [ebp - 8], 0
jne case.0x4478d2.0
cmp esi, 0x66
jne 0x4482b8
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [edx + 0xdc], ecx
jmp 0x4482c4
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0xe0], edx
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx + 1], 4
je case.0x4478d2.0
xor edi, edi
push 0xffff
push ebx
call fcn.0043dd70
pop ecx
push eax
call fcn.004a85a4
mov ebx, eax
mov eax, dword [ebp - 4]
add esp, 8
mov eax, dword [eax + 0x4c]
test eax, eax
je 0x448302
push eax
call fcn.0043b208
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], ebx
jmp 0x44831c
mov al, byte [ebx]
cmp al, 0x59
je 0x448314
cmp al, 0x79
jne 0x448317
inc edi
jmp 0x44831b
test edi, edi
jne 0x448321
inc ebx
cmp byte [ebx], 0
jne 0x44830a
cmp edi, 4
mov ecx, dword [ebp - 4]
setge dl
and edx, 1
mov edi, 1
mov dword [ecx], edx
jmp case.0x4478d2.0
test byte [ebx + 1], 4
je case.0x4478d2.0
push 0xffff
push ebx
call fcn.0043dd70
pop ecx
push eax
call fcn.004a85a4
mov ebx, eax
mov eax, dword [ebp - 4]
add esp, 8
mov eax, dword [eax + 0x110]
test eax, eax
je 0x44836e
push eax
call fcn.0043b208
pop ecx
mov edx, dword [ebp - 4]
mov edi, 1
mov dword [edx + 0x110], ebx
jmp case.0x4478d2.0
push ebx
call fcn.0043dd8c
pop ecx
test eax, eax
jbe case.0x4478d2.0
push ebx
call fcn.0043dd70
movsx eax, byte [eax]
mov edx, dword [ebp - 4]
pop ecx
mov edi, 1
mov dword [edx + 0xe4], eax
jmp case.0x4478d2.0
test byte [ebx + 1], 4
je case.0x4478d2.0
push 0xffff
push ebx
call fcn.0043dd70
pop ecx
push eax
call fcn.004a85a4
mov ebx, eax
mov eax, dword [ebp - 4]
add esp, 8
mov eax, dword [eax + 0x68]
test eax, eax
je 0x4483df
push eax
call fcn.0043b208
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x68], ebx
push ebx
call fcn.004ab624
pop ecx
cmp eax, 4
jb 0x448405
push 4
push str.PRIN
push ebx
call fcn.004a86ec
add esp, 0xc
test eax, eax
je 0x448409
xor ecx, ecx
jmp 0x44840e
mov ecx, 1
mov eax, dword [ebp - 4]
mov edi, 1
mov dword [eax + 4], ecx
jmp case.0x4478d2.0
mov eax, dword [ebx]
test ah, 4
jne 0x448430
test eax, 0xfffbffff
jne case.0x4478d2.0
push 0xffff
push ebx
call fcn.0043dd70
pop ecx
push eax
call fcn.004a85a4
mov edx, dword [ebp - 4]
mov ebx, eax
add esp, 8
mov eax, dword [edx + 0xb4]
test eax, eax
je 0x44845b
push eax
call fcn.0043b208
pop ecx
mov edx, dword [ebp - 4]
mov edi, 1
mov dword [edx + 0xb4], ebx
jmp case.0x4478d2.0
mov eax, dword [ebx]
test ah, 4
jne 0x448480
test eax, 0xfffbffff
jne case.0x4478d2.0
push 0xffff
push ebx
call fcn.0043dd70
pop ecx
push eax
call fcn.004a85a4
mov edx, dword [ebp - 4]
mov ebx, eax
add esp, 8
mov eax, dword [edx + 0x58]
test eax, eax
je 0x4484a8
push eax
call fcn.0043b208
pop ecx
mov edx, dword [ebp - 4]
mov edi, 1
mov dword [edx + 0x58], ebx
jmp case.0x4478d2.0
mov eax, dword [ebx]
test ah, 4
jne 0x4484ca
test eax, 0xfffbffff
jne case.0x4478d2.0
push 0xffff
push ebx
call fcn.0043dd70
pop ecx
push eax
call fcn.004a85a4
mov edx, dword [ebp - 4]
mov ebx, eax
add esp, 8
mov eax, dword [edx + 0xa0]
test eax, eax
je 0x4484f5
push eax
call fcn.0043b208
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xa0], ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x14]
push eax
call fcn.004a63c4
pop ecx
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [edx + 0x14], ecx
mov eax, dword [ebp - 4]
add eax, 0x14
push eax
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0xa0]
push ecx
call fcn.004a633c
add esp, 8
mov edi, 1
jmp case.0x4478d2.0
mov eax, dword [ebx]
test ah, 4
jne 0x448548
test eax, 0xfffbffff
jne case.0x4478d2.0
push 0xffff
push ebx
call fcn.0043dd70
pop ecx
push eax
call fcn.004a85a4
mov edx, dword [ebp - 4]
mov ebx, eax
add esp, 8
mov eax, dword [edx + 0x60]
test eax, eax
je 0x448570
push eax
call fcn.0043b208
pop ecx
mov edx, dword [ebp - 4]
mov edi, 1
mov dword [edx + 0x60], ebx
jmp case.0x4478d2.0
mov eax, dword [ebx]
test ah, 4
jne 0x448592
test eax, 0xfffbffff
jne case.0x4478d2.0
push 0xffff
push ebx
call fcn.0043dd70
pop ecx
push eax
call fcn.004a85a4
mov edx, dword [ebp - 4]
mov ebx, eax
add esp, 8
mov eax, dword [edx + 0x100]
test eax, eax
je 0x4485bd
push eax
call fcn.0043b208
pop ecx
mov edx, dword [ebp - 4]
mov edi, 1
mov dword [edx + 0x100], ebx
jmp case.0x4478d2.0
mov eax, dword [ebx]
test ah, 4
jne 0x4485e2
test eax, 0xfffbffff
jne case.0x4478d2.0
test eax, 0xfffbffff
jne 0x4485ed
xor ebx, ebx
jmp 0x448604
push 0xffff
push ebx
call fcn.0043dd70
pop ecx
push eax
call fcn.004a85a4
add esp, 8
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x108]
test eax, eax
je 0x448618
push eax
call fcn.0043b208
pop ecx
mov edx, dword [ebp - 4]
mov eax, ebx
mov dword [edx + 0x108], eax
push eax
call fcn.0043b0d0
pop ecx
mov edi, 1
jmp case.0x4478d2.0
mov eax, dword [ebx]
test ah, 4
jne 0x448646
test eax, 0xfffbffff
jne case.0x4478d2.0
push 0xffff
push ebx
call fcn.0043dd70
pop ecx
push eax
call fcn.004a85a4
mov edx, dword [ebp - 4]
mov ebx, eax
add esp, 8
mov eax, dword [edx + 0x10c]
test eax, eax
je 0x448671
push eax
call fcn.0043b208
pop ecx
mov edx, dword [ebp - 4]
mov eax, ebx
mov dword [edx + 0x10c], eax
push eax
call fcn.0043b0d8
pop ecx
mov edi, 1
jmp case.0x4478d2.0
test dword [ebx], 0xfffbffff
jne 0x4486a1
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x18], edx
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx + 1], 4
je case.0x4478d2.0
push ebx
call fcn.0043dd70
pop ecx
push eax
call fcn.00452838
pop ecx
test eax, eax
je case.0x4478d2.0
mov edx, dword [ebp - 4]
mov edi, 1
mov dword [edx + 0x18], eax
jmp case.0x4478d2.0
test dword [ebx], 0xfffbffff
jne 0x4486dd
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x1c], edx
mov edi, 1
jmp case.0x4478d2.0
test byte [ebx + 1], 4
je case.0x4478d2.0
push ebx
call fcn.0043dd70
pop ecx
push eax
call fcn.00452838
pop ecx
test eax, eax
je case.0x4478d2.0
mov edx, dword [ebp - 4]
mov edi, 1
mov dword [edx + 0x1c], eax
push 1
push esi
call fcn.004477f8
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret