Function at 0x10025b16
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b030
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push esi
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10025b63
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x70], eax
push dword [ebp - 0x58]
push 1
push dword [ebp - 0x70]
push 0x1b85
call fcn.10025f11
add esp, 0x10
jmp 0x10025f02
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], eax
push 4
lea ecx, [ebp - 0x34]
call fcn.1000b98b
and dword [ebp - 4], 0
mov dword [ebp - 0x10], 0x29000d4e
mov dword [ebp - 0x20], 0
jmp 0x10025b94
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 4
jge 0x10025bad
push dword [ebp - 0x20]
lea ecx, [ebp - 0x34]
call fcn.1000ba29
mov dword [eax], 0x207
jmp 0x10025b8d
mov dword [ebp - 0x10], 0
jmp 0x10025bbd
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jg 0x10025dae
mov dword [ebp - 0x14], 0
jmp 0x10025bd7
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x10025bed
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xac], 0xed69376
jmp 0x10025bd0
mov dword [ebp - 0x14], 0
jmp 0x10025bfd
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x10025c10
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x54], 0
jmp 0x10025bf6
push dword [ebp - 0x10]
lea ecx, [ebp - 0x34]
call fcn.1000ba29
mov esi, eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x34]
call fcn.1000ba29
mov ecx, dword [esi]
imul ecx, dword [eax]
test ecx, ecx
jne 0x10025c3c
xor eax, eax
inc eax
jne 0x10025c3c
and dword [ebp - 0x78], 0
jmp 0x10025c43
mov dword [ebp - 0x78], 1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x9c], eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x34]
call fcn.1000ba29
cmp dword [eax], 2
jge 0x10025c65
mov dword [ebp - 0x44], 1
jmp 0x10025c69
and dword [ebp - 0x44], 0
cmp dword [ebp - 0x44], 0x23cc
jl 0x10025c7b
mov dword [ebp - 0x48], 1
jmp 0x10025c7f
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x48]
sub eax, 0x47027eb9
cmp eax, 0x71639956
jle 0x10025c97
mov dword [ebp - 0x24], 1
jmp 0x10025c9b
and dword [ebp - 0x24], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x24]
mov dword [ebp + eax - 0xac], ecx
cmp dword [ebp - 0x24], 1
je 0x10025cba
mov dword [ebp - 0x4c], 1
jmp 0x10025cbe
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0
jne 0x10025cce
xor eax, eax
jne 0x10025cce
and dword [ebp - 0x38], 0
jmp 0x10025cd5
mov dword [ebp - 0x38], 1
push dword [ebp - 0x10]
lea ecx, [ebp - 0x34]
call fcn.1000ba29
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [eax]
jne 0x10025cf0
mov dword [ebp - 0x68], 1
jmp 0x10025cf4
and dword [ebp - 0x68], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x34]
call fcn.1000ba29
push dword [ebp - 0x10]
lea ecx, [ebp - 0x34]
call fcn.1000ba29
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffb
cmp dword [eax], ecx
jne 0x10025d20
mov dword [ebp - 0x3c], 1
jmp 0x10025d24
and dword [ebp - 0x3c], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x34]
call fcn.1000ba29
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [eax]
je 0x10025d4f
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x10025d4d
push 0x17b6
call dword [sym.imp.USER32.dll_IsWindow]
jmp 0x10025d63
mov dword [ebp - 0x64], 0xfffffffb
mov dword [ebp - 0x74], 0x9ff7503a
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x74], eax
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x54], 3
jmp 0x10025d88
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x54]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x54], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x54], 0
jl 0x10025da9
mov byte [ebp - 0x17], 0
movzx eax, byte [ebp - 0x17]
test eax, eax
je 0x10025da7
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
jmp 0x10025d73
jmp 0x10025bb6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.1000ba0d
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x1c], 0xd4e06482
mov dword [ebp - 0x1c], 0
jmp 0x10025ddd
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffef
jg 0x10025e9b
mov dword [ebp - 0x98], 0x5b0e446d
mov dword [ebp - 0x94], 0x5b0e446d
mov dword [ebp - 0x90], 0x5b0e446d
mov dword [ebp - 0x8c], 0x5b0e446d
lea ecx, [ebp - 0x25]
call fcn.1000ba38
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0xb4]
call fcn.1000ba3b
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x84]
call fcn.1000b9e7
mov dword [ebp - 4], 1
push 0
lea ecx, [ebp - 0x84]
call fcn.1000ba29
cmp dword [eax], 0
je 0x10025e6b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.1000ba0d
jmp 0x10025e9b
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xa0], eax
push 1
lea ecx, [ebp - 0x84]
call fcn.1000ba29
mov dword [eax], 0xfffffff6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.1000ba0d
jmp 0x10025dd6
mov byte [ebp - 0x16], 0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x10025ee4
push 0x1560
push 0x222e
push 0x1724
push 0x806
push 0x1c11
push 0x24d5
push 0xdb5
push 0x134a
push 0x1682
push 0x5b1
push 0x23b6
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
imul esi, dword [eax], 0xa
mov ecx, dword [ebp - 0x60]
call fcn.10014ef7
movsx eax, byte [eax]
lea eax, [esi + eax - 0x30]
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret