Function at 0x1004489c
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e7ae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xf4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x50], 0x472d
mov dword [ebp - 0xc8], 0x10008e1c
cmp dword [ebp - 0x50], 0x47e3
jle 0x1004493a
and dword [ebp - 0x20], 0
jmp 0x100448e8
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x784f
jge 0x10044934
and dword [ebp - 0x28], 0
jmp 0x100448fe
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x2afe
jge 0x10044932
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], edx
push dword [ebp - 0xe4]
push dword [ebp - 0xe8]
mov ecx, 0x10615778
call fcn.1000f4d4
jmp 0x100448f7
jmp 0x100448e1
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10044b98
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xa4], eax
lea eax, [ebp + 0x3c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xb4]
movzx eax, byte [eax]
test eax, eax
je 0x10044b73
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x38], 0x29a
mov dword [ebp - 0xc4], 0x10008e54
cmp dword [ebp - 0x38], 0x4be
jle 0x10044aac
and dword [ebp - 0x24], 0
jmp 0x10044a2d
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x873
jge 0x10044a9f
and dword [ebp - 0x2c], 0
jmp 0x10044a43
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x5ec9
jge 0x10044a9d
mov eax, dword [ebp - 0x24]
xor eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], edx
push dword [ebp - 0xd4]
push dword [ebp - 0xd8]
lea ecx, [ebp - 0x104]
call fcn.1000abb3
pop ecx
pop ecx
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
call fcn.1000f3f9
push eax
call fcn.10058105
pop ecx
lea ecx, [ebp - 0x104]
call fcn.1000f3db
jmp 0x10044a3c
jmp 0x10044a26
push 0
push 0x1727
call dword [sym.imp.GDI32.dll_GetClipBox]
push 0
mov ecx, dword [ebp - 0x34]
call fcn.1000f7aa
cmp dword [eax], 7
jle 0x10044ac4
mov dword [ebp - 0x44], 1
jmp 0x10044ac8
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0xdc]
mov ecx, dword [ecx]
imul ecx, dword [eax]
cmp ecx, 0xfffffffe
jbe 0x10044afd
mov dword [ebp - 0x4c], 1
jmp 0x10044b01
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
cmp dword [ebp - 0x4c], eax
je 0x10044b14
mov dword [ebp - 0x30], 1
jmp 0x10044b18
and dword [ebp - 0x30], 0
push 0
mov ecx, dword [ebp - 0x34]
call fcn.1000f7aa
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
and dword [ebp - 4], 0
cmp dword [ebp - 0x38], 0xfffffeee
jge 0x10044b4b
push dword [ebp - 0xc4]
call fcn.10058105
pop ecx
jmp 0x10044b67
or dword [ebp - 4], 0xffffffff
jmp 0x10044b71
jmp 0x10044b93
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x10044b93
push 0
push 0
call dword [sym.imp.USER32.dll_CharLowerBuffW]
jmp 0x10044cd7
lea eax, [ebp + 0x34]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax]
test eax, eax
je 0x10044cb1
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x10044c34
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 3
jg 0x10044caf
mov dword [ebp - 0x1c], 5
mov dword [ebp - 0x1c], 0
jmp 0x10044c53
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jg 0x10044caa
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xb8]
call fcn.1000f7aa
imul esi, dword [eax]
cmp esi, 2
jne 0x10044c7d
mov dword [ebp - 0x40], 1
jmp 0x10044c81
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
push dword [ebp - 0xc0]
push 1
push 1
push 0x739
push dword [ebp - 0x48]
push 0x22db
call fcn.1004463f
add esp, 0x18
jmp 0x10044c4c
jmp 0x10044c29
jmp 0x10044cd7
mov byte [ebp - 0x11], 0
push 0x4386
push 0x6834
push 0
push 0x674b
push 0x5319
lea eax, [ebp - 0x11]
push eax
call fcn.1004ca53
add esp, 0x18
mov dword [ebp - 4], 2
cmp dword [ebp - 0x50], 0x450d
jge 0x10044cf7
mov edx, dword [ebp - 0xc8]
mov ecx, 0x10615778
call fcn.1001223d
jmp 0x10044d13
or dword [ebp - 4], 0xffffffff
jmp 0x10044d1d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret