Function at 0x49ddb0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5baf87
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [str.W__a]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
push edi
mov eax, dword [str.W__a]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov ecx, dword [0x62c194]
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esp + 0x14], eax
cmp ecx, 0xffffffff
jne 0x49de10
xor ebx, ebx
mov dword [esp + 0x18], ebx
jmp 0x49de1f
mov edx, dword [0x62c194]
push edx
call esi
mov dword [esp + 0x18], eax
xor ebx, ebx
mov eax, dword [0x62b6dc]
cmp eax, 0xffffffff
jne 0x49de2f
mov dword [esp + 0x10], ebx
jmp 0x49de3c
mov ecx, dword [0x62b6dc]
push ecx
call esi
mov dword [esp + 0x10], eax
cmp dword [esp + 0x18], ebx
je 0x49df73
cmp dword [esp + 0x10], ebx
je 0x49df73
mov edi, 0xf
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
mov dword [esp + 0x140], ebx
push 0xb
push str.resource:__
lea ecx, [esp + 0xe4]
mov dword [esp + 0xf8], edi
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
call fcn.00408800
push str.messages_catalog.xml
lea edx, [esp + 0xe0]
push edx
lea eax, [esp + 0x74]
push eax
mov byte [esp + 0x14c], 1
call fcn.0040c430
add esp, 0xc
mov esi, 0x10
mov byte [esp + 0x140], 3
cmp dword [esp + 0xf0], esi
jb 0x49dee1
mov ecx, dword [esp + 0xdc]
push ecx
call fcn.00548a36
add esp, 4
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xf0], edi
mov dword [esp + 0xec], ebx
mov byte [esp + 0xdc], bl
cmp dword [esp + 0x80], esi
jae 0x49df07
lea eax, [esp + 0x6c]
mov edx, dword [esp + 0x18]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
lea ecx, [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x1c]
push eax
call edx
test al, al
jne 0x49df9b
mov byte [esp + 0x140], bl
cmp dword [esp + 0x80], esi
jb 0x49df40
mov eax, dword [esp + 0x6c]
push eax
call fcn.00548a36
add esp, 4
mov dword [esp + 0x140], 0xffffffff
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
cmp dword [esp + 0x9c], esi
jb 0x49df73
mov ecx, dword [esp + 0x88]
push ecx
call fcn.00548a36
add esp, 4
xor al, al
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.00548a41
mov esp, ebp
pop ebp
ret 4
lea esi, [esp + 0x24]
call fcn.0049e820
mov byte [esp + 0x140], 4
cmp dword [esp + 0x9c], 0x10
mov eax, dword [esp + 0x88]
jae 0x49dfc4
lea eax, [esp + 0x88]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
lea esi, [esp + 0x24]
push esi
push str.ISO8859_1
push ebx
push str.messages
push eax
push ebx
lea eax, [esp + 0xa0]
push eax
call edx
test al, al
jne 0x49e029
mov eax, esi
push eax
mov byte [esp + 0x144], 3
call fcn.0049e470
lea ecx, [esp + 0x6c]
mov byte [esp + 0x140], bl
call fcn.004c0ca0
lea ecx, [esp + 0x88]
mov dword [esp + 0x140], 0xffffffff
call fcn.004c0ca0
jmp 0x49df73
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
mov dword [esp + 0x20], eax
cmp eax, ecx
je 0x49e307
jmp 0x49e047
mov edi, 0xf
xor ebx, ebx
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xc0], bl
mov dword [esp + 0xb8], edi
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], bl
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
lea esi, [eax + 0xc]
mov byte [esp + 0x140], 7
cmp dword [esi + 0x14], 0x10
mov dword [esp + 0x1c], esi
jb 0x49e096
mov edi, dword [esi]
jmp 0x49e098
mov edi, esi
lea ecx, [esp + 0x50]
push ecx
call fcn.004aa150
add esp, 4
test al, al
jne 0x49e0b6
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [esp + 0x5c]
call fcn.00409870
mov edi, dword [esp + 0x14]
mov edx, dword [edi + 4]
lea esi, [esp + 0x50]
lea ebx, [esp + 0x4c]
mov dword [esp + 0x34], edx
call fcn.0049e7c0
mov ecx, dword [esp + 0x34]
cmp dword [eax], ecx
je 0x49e16d
mov esi, 0x10
mov byte [esp + 0x140], 6
cmp dword [esp + 0x64], esi
jb 0x49e0fa
mov edx, dword [esp + 0x50]
push edx
call fcn.00548a36
add esp, 4
xor ebx, ebx
mov edi, 0xf
mov byte [esp + 0x140], 5
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
cmp dword [esp + 0xb8], esi
jb 0x49e12e
mov eax, dword [esp + 0xa4]
push eax
call fcn.00548a36
add esp, 4
mov byte [esp + 0x140], 4
mov dword [esp + 0xb8], edi
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], bl
cmp dword [esp + 0xd4], esi
jb 0x49e2f0
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.00548a36
add esp, 4
jmp 0x49e2f0
push 0xb
xor edi, edi
push str.resource:__
lea ecx, [esp + 0x100]
mov dword [esp + 0x114], 0xf
mov dword [esp + 0x110], edi
mov byte [esp + 0x100], 0
call fcn.00408800
mov esi, dword [esp + 0x1c]
lea edx, [esi + 0x1c]
push edx
lea eax, [esp + 0xfc]
push eax
lea ecx, [esp + 0x11c]
mov bl, 8
push ecx
mov byte [esp + 0x14c], bl
call fcn.0040c4e0
add esp, 0xc
push eax
lea ecx, [esp + 0xc4]
mov byte [esp + 0x144], 9
call fcn.00407740
mov byte [esp + 0x140], bl
mov ebx, 0x10
cmp dword [esp + 0x128], ebx
jb 0x49e1ff
mov edx, dword [esp + 0x114]
push edx
call fcn.00548a36
add esp, 4
mov byte [esp + 0x140], 7
mov dword [esp + 0x128], 0xf
mov dword [esp + 0x124], edi
mov byte [esp + 0x114], 0
cmp dword [esp + 0x10c], ebx
jb 0x49e23a
mov eax, dword [esp + 0xf8]
push eax
call fcn.00548a36
add esp, 4
mov eax, dword [esp + 0xc0]
cmp dword [esp + 0xd4], ebx
jae 0x49e251
lea eax, [esp + 0xc0]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
lea edi, [esp + 0xa4]
push edi
push eax
mov eax, dword [edx + 0xc]
call eax
test al, al
je 0x49e2b7
cmp dword [esi + 0x30], 0x10
lea ebx, [esi + 0x1c]
jb 0x49e274
mov ebx, dword [ebx]
mov ecx, dword [esp + 0x10]
mov esi, dword [ecx]
mov ecx, dword [esp + 0x14]
lea edi, [esp + 0x50]
call fcn.0049e610
mov ecx, dword [esp + 0x10]
push eax
mov eax, dword [esi + 0x14]
push str.ISO8859_1
push 0
push str.strings
push ebx
push 0
lea edx, [esp + 0xbc]
push edx
call eax
test al, al
jne 0x49e2b7
mov ecx, dword [esp + 0x14]
mov eax, edi
call fcn.0049e770
lea ecx, [esp + 0x50]
mov byte [esp + 0x140], 6
call fcn.004c0ca0
lea ecx, [esp + 0xa4]
mov byte [esp + 0x140], 5
call fcn.004c0ca0
lea ecx, [esp + 0xc0]
mov byte [esp + 0x140], 4
call fcn.004c0ca0
lea ecx, [esp + 0x20]
call fcn.0040bc50
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x28]
jne 0x49e040
mov edi, dword [esp + 0x14]
mov ecx, dword [edi + 4]
lea esi, [edi + 0x2c]
lea ebx, [esp + 0x44]
mov dword [esp + 0x1c], ecx
call fcn.0049e7c0
mov edx, dword [esp + 0x1c]
cmp dword [eax], edx
jne 0x49e34f
push str.Default_messages_are_not_available.
lea esi, [esp + 0x3c]
mov dword [esp + 0x3c], 2
mov dword [esp + 0x40], str.p:p_agentshpam2.eem_recipes201152726_base_branchesinputtools_win_release_branchgoogleclientimegoopy_third_partygoogle_gadgets_for_linuxggadgetmessages.cc
mov dword [esp + 0x44], 0xd5
call fcn.00491eb0
add esp, 4
mov eax, edi
cmp dword [eax + 8], 0
setne bl
mov byte [esp + 0x140], 0xa
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x30]
call fcn.0040be20
mov byte [esp + 0x140], 3
mov edx, dword [esp + 0x28]
push edx
call fcn.00548a36
mov esi, 0x10
add esp, 4
mov byte [esp + 0x140], 0
cmp dword [esp + 0x80], esi
jb 0x49e3ae
mov eax, dword [esp + 0x6c]
push eax
call fcn.00548a36
add esp, 4
mov dword [esp + 0x140], 0xffffffff
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], 0
mov byte [esp + 0x6c], 0
cmp dword [esp + 0x9c], esi
jb 0x49e3ea
mov ecx, dword [esp + 0x88]
push ecx
call fcn.00548a36
add esp, 4
mov al, bl
jmp 0x49df75