Function at 0x414330
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov dword [ebp - 8], 0x4e
mov dword [ebp - 0x54], 0x52
mov dword [ebp - 0x58], 0x41
mov dword [ebp - 0x6c], 0x44
mov dword [ebp - 0x40], 0x49
mov dword [ebp - 0x38], 0x5e
mov dword [ebp - 0x34], 0x54
mov dword [ebp - 0x50], 0x4f
mov dword [ebp - 0x14], 0x2b
mov dword [ebp - 0x3c], 0x12
mov dword [ebp - 0x48], 0x48
mov dword [ebp - 0x70], 0x29
mov dword [ebp - 0x18], 0x30
mov dword [ebp - 0x20], 0x4e
mov dword [ebp - 4], 0x48
mov dword [ebp - 0x74], 0x38
mov dword [ebp - 0xc], 0x33
mov dword [ebp - 0x78], 0x58
mov dword [ebp - 0x60], 0x5c
mov dword [ebp - 0x64], 0x26
mov dword [ebp - 0x68], 0x50
mov dword [ebp - 0x7c], 0x24
mov dword [ebp - 0x80], 0x34
mov dword [ebp - 0x10], 0
jmp 0x4143ec
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x50]
sub ecx, 0x4e
cmp dword [ebp - 0x10], ecx
jge 0x414526
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x34]
jge 0x414521
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x48]
jne 0x414521
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp - 8]
or ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x38]
jge 0x41442d
mov dword [ebp - 0x24], 1
jmp 0x414434
mov dword [ebp - 0x24], 0
mov edx, dword [ebp - 0x54]
imul edx, dword [ebp - 0xc]
and edx, dword [ebp - 0x24]
je 0x414521
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x20]
jne 0x414521
mov ecx, dword [ebp - 0x58]
cmp ecx, dword [ebp - 0x18]
jge 0x414461
mov dword [ebp - 0x28], 1
jmp 0x414468
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0xc]
and edx, dword [ebp - 0x40]
and edx, dword [ebp - 0x28]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x5c], 0
je 0x41450e
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 8]
jge 0x41450e
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 4]
jne 0x41450e
push 0x13316
push 0x11d88
push 0x10f8e
push 0x115f0
push 0x2e09
push 0x17a64
push 0x17cc0
push 0xac5b
push 0x10aed
call dword [sym.imp.USER32.dll_LoadIconA]
add esp, 0x24
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 4]
jge 0x4144de
mov dword [ebp - 0x2c], 1
jmp 0x4144e5
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x64]
jge 0x4144f6
mov dword [ebp - 0x30], 1
jmp 0x4144fd
mov dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x2c]
or edx, dword [ebp - 0x30]
je 0x41450e
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
push 0x11f6b
push 0x144b2
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
add esp, 8
jmp 0x4143e3
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
mov dword [ebp - 0x1c], 0
jmp 0x414541
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x34]
sub eax, 0x53
cmp dword [ebp - 0x1c], eax
jge 0x4145bf
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp - 0x3c]
jge 0x41455d
mov dword [ebp - 0x44], 1
jmp 0x414564
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 0x68]
cmp edx, dword [ebp - 0x40]
jge 0x414575
mov dword [ebp - 0x4c], 1
jmp 0x41457c
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x44]
and eax, dword [ebp - 0x48]
xor eax, dword [ebp - 0x4c]
je 0x4145ba
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x20]
jne 0x4145ba
push 0x15125
push 0x12932
push 0x72e2
push 0x40eb
push 0x5e76
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
add esp, 0x14
mov edx, dword [ebp - 4]
sub edx, 1
mov dword [ebp - 4], edx
jmp 0x414538
mov esp, ebp
pop ebp
ret