Function at 0x407310
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov dword [ebp - 0x48], 0x16fc3
mov dword [ebp - 0x1c], 0x670e
mov dword [ebp - 8], 0x131b
mov dword [ebp - 0x70], 0x6284
mov dword [ebp - 0x78], 0x633a
mov dword [ebp - 0x6c], 0xa133
mov dword [ebp - 0x60], 0x155c7
mov dword [ebp - 0x40], 0xa582
mov dword [ebp - 0x4c], 0x5d38
mov dword [ebp - 0x74], 0x5d0e
mov dword [ebp - 0x68], 0xf300
mov dword [ebp - 0x54], 0x8b57
mov dword [ebp - 0x20], 0x15031
mov dword [ebp - 0x58], 0x7731
mov dword [ebp - 0x8c], 0x14950
mov dword [ebp - 0x44], 0x113d
mov dword [ebp - 0x18], 0xd4a3
mov dword [ebp - 0xc], 0xf1fb
mov dword [ebp - 0x84], 0x5a8c
mov dword [ebp - 0x90], 0x8446
mov dword [ebp - 0x88], 0xd935
mov dword [ebp - 0x94], 0x179f0
mov dword [ebp - 4], 0xad79
mov dword [ebp - 0x64], 0x6dbe
mov dword [ebp - 0x30], 0xf83e
mov dword [ebp - 0x10], 0
jmp 0x4073e9
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0x1c]
sub ecx, 0x5a9b
cmp dword [ebp - 0x10], ecx
jge 0x40740d
mov edx, dword [ebp + 0x20]
imul edx, dword [ebp - 0x40]
test edx, edx
je 0x40740b
mov eax, dword [ebp + 0x24]
add eax, 1
mov dword [ebp + 0x24], eax
jmp 0x4073e0
mov dword [ebp - 0x14], 0
jmp 0x40741f
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0x18]
sub edx, 0xcf
cmp dword [ebp - 0x14], edx
jge 0x407438
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
jmp 0x407416
mov ecx, dword [ebp + 0x28]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0xc]
sub edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0x5c], 0
je 0x40749c
mov eax, dword [ebp - 0x54]
imul eax, dword [ebp - 0x60]
test eax, eax
je 0x40749c
mov ecx, dword [ebp + 0x18]
cmp ecx, dword [ebp - 0x30]
jge 0x40746c
mov dword [ebp - 0x28], 1
jmp 0x407473
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x4c]
cmp edx, dword [ebp + 0x1c]
jge 0x407484
mov dword [ebp - 0x2c], 1
jmp 0x40748b
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x28]
and eax, dword [ebp - 0x2c]
je 0x40749c
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x1c], 0x670f
jge 0x4075af
mov edx, dword [ebp - 0x64]
cmp edx, dword [ebp - 0x48]
jge 0x4074ba
mov dword [ebp - 0x34], 1
jmp 0x4074c1
mov dword [ebp - 0x34], 0
mov eax, dword [ebp + 0x14]
or eax, dword [ebp - 0x30]
cmp eax, dword [ebp + 0x28]
jge 0x4074d5
mov dword [ebp - 0x38], 1
jmp 0x4074dc
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x68]
cmp ecx, dword [ebp - 0x6c]
jge 0x4074ed
mov dword [ebp - 0x3c], 1
jmp 0x4074f4
mov dword [ebp - 0x3c], 0
mov edx, dword [ebp - 0x34]
and edx, dword [ebp - 0x38]
or edx, dword [ebp - 0x3c]
je 0x4075a1
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x18]
jne 0x4075a1
mov ecx, dword [ebp - 0x70]
cmp ecx, dword [ebp - 0x18]
jne 0x4075a1
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x74]
jne 0x4075a1
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x44]
jne 0x4075a1
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp - 0x78]
jne 0x4075a1
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x7c]
cmp edx, dword [ebp - 0x80]
jge 0x407559
mov dword [ebp - 0x50], 1
jmp 0x407560
mov dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x4c]
imul eax, dword [ebp + 0x24]
and eax, dword [ebp - 0x50]
je 0x407575
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
push 0x700a
push 0x895
push 0x14cee
push 0x14bd2
push 0x1090e
push 0x2cd3
push 0x2f82
call dword [sym.imp.USER32.dll_SetCursor]
add esp, 0x1c
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
jmp 0x40749c
mov dword [ebp - 0x24], 0
jmp 0x4075c1
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
sub ecx, 0x15031
cmp dword [ebp - 0x24], ecx
jge 0x407628
mov edx, dword [ebp - 0x84]
cmp edx, dword [ebp - 0x54]
jge 0x407626
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x58]
jne 0x407626
mov ecx, dword [ebp + 0x18]
cmp ecx, dword [ebp - 0x58]
jne 0x407626
mov edx, dword [ebp + 0x14]
cmp edx, dword [ebp + 0x10]
jne 0x407626
mov eax, dword [ebp - 0x88]
cmp eax, dword [ebp + 8]
jne 0x407626
mov ecx, dword [ebp + 0x20]
cmp ecx, dword [ebp - 0xc]
jne 0x407626
push 0x142a
push 0xb461
push 0x6538
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
add esp, 0xc
mov edx, dword [ebp - 4]
sub edx, 1
mov dword [ebp - 4], edx
jmp 0x4075b8
mov esp, ebp
pop ebp
ret