Function at 0x401000
Capabilities:
Allocate thread local storage

Disassembly:
push 0x38
push 0
push 0x44e798
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0
call sub.KERNEL32.dll_GetModuleHandleW
mov dword [0x44e79c], eax
push 0
push 0x1000
push 0
call sub.KERNEL32.dll_HeapCreate
mov dword [0x44e798], eax
call fcn.00418cd0
push esp
call fcn.00419930
add esp, 4
call fcn.0041838b
call fcn.004183ff
call fcn.004182d0
call fcn.00418010
call fcn.0041614c
call fcn.004159f0
call fcn.00414fd7
call fcn.00414359
call fcn.00413e87
call fcn.0041408e
call fcn.0040b405
call fcn.0040b0b4
call fcn.0040af7d
call fcn.0040a529
call fcn.0040a850
call fcn.00409934
call fcn.004092fb
call fcn.00407b01
call fcn.00407fa9
call fcn.00405279
call fcn.004056b8
call fcn.00404ea5
call fcn.00404ffb
call fcn.004046c9
call fcn.00404de8
call fcn.004040a9
call fcn.004044a9
call fcn.00403c8f
call fcn.00403fee
call fcn.004034ce
call fcn.00403936
call fcn.004033ee
call fcn.00402e13
call fcn.00403182
call fcn.00402bff
call fcn.004026a2
push eax
push 8
call fcn.004019b3
call fcn.004058cd
call fcn.004058fe
push 8
call fcn.004019b3
call fcn.00406a89
call fcn.00406d43
push 8
call fcn.004019b3
call fcn.004072da
call fcn.004073ab
push 8
call fcn.004019b3
call fcn.004075a8
call fcn.00407601
push 0xa
call fcn.004019b3
push 0x1000000
mov eax, str.Thread_Mesh
push eax
push 0
push 0
push 0
push 0
push 0
call fcn.00407b89
call fcn.00408014
and eax, eax
je 0x4018ce
push 0xb
call fcn.004019b3
push 1
push 0
call fcn.00407d05
call fcn.0040838a
mov dword [0x44e7bc], eax
push 0xc
call fcn.004019b3
push 1
push 0
call fcn.00407cab
call fcn.004083df
mov dword [0x44e7c0], eax
push 0xe
call fcn.004019b3
push 0
push 0
push 0
push dword [0x44e7c0]
push dword [0x44e7bc]
push 0
push 0
push 0
call fcn.00407cd0
call fcn.0040845c
push eax
call fcn.00405ba5
call fcn.00405cd5
and eax, eax
je 0x4018c4
push 0xf
call fcn.004019b3
push 0x42c80000
push 0x42c80000
push 0
push 0
push 0
call fcn.00405249
call dword [0x4523a8]
push 0x10
call fcn.004019b3
push 0xc1f00000
push 0
push 0
push 0
call fcn.004052b8
call dword [0x4523ac]
push 0x11
call fcn.004019b3
push 0
push 0
push 0
push 0
call fcn.004050e5
call dword [0x4523b0]
push 0x12
call fcn.004019b3
push 0x44fa0000
push 0x459c4000
push 0x461c4000
push 0x888888
push 0
call fcn.00404053
call dword [0x4523b4]
push 0x13
call fcn.004019b3
push 0x220000
push 0
call fcn.00405057
call dword [0x4523b8]
push 0x14
call fcn.004019b3
push 0x444444
call fcn.00402c14
call dword [0x4523bc]
push 0x15
call fcn.004019b3
mov dword [0x44e7cc], 4
push 0x15
call fcn.004019b3
mov ebx, dword [0x44e7cc]
dec ebx
mov eax, ebx
inc eax
push 0x44b04c
push 0
push 0x15
push eax
push 4
call fcn.00401a69
call fcn.0040b0dd
push 0x17
call fcn.004019b3
mov dword [0x44e7b8], 0
jmp 0x401377
push 0x17
call fcn.004019b3
mov ebx, dword [0x44e7cc]
dec ebx
cmp ebx, dword [0x44e7b8]
jl 0x4013dd
push 0x18
call fcn.004019b3
push dword [0x44e7b8]
lea eax, [0x40195c]
push eax
call fcn.00402db9
call fcn.004031fd
push eax
mov ebx, dword [0x44e7b8]
mov eax, ebx
mov edx, dword [0x44b04c]
mov edx, dword [edx - 8]
call fcn.00401a79
mov ebp, dword [0x44b04c]
shl ebx, 2
pop dword [ebp + ebx]
push 0x19
call fcn.004019b3
inc dword [0x44e7b8]
jno 0x40136d
push 0x1b
call fcn.004019b3
push 0x1b
call fcn.004019b3
push 0x1b
call fcn.004019b3
push 0x1b
call fcn.004019b3
push 0x1b
call fcn.004019b3
push 0x1d
call fcn.004019b3
push 0x1e
call fcn.004019b3
call fcn.00407ca2
call fcn.004085a3
mov dword [0x44e7c4], eax
push 0x20
call fcn.004019b3
push dword [0x44e7c4]
push 0x21
call fcn.004019b3
mov ebx, 0x10000
cmp ebx, dword [esp]
jne 0x40162d
push 0x22
call fcn.004019b3
call fcn.00409483
call fcn.00409484
mov dword [0x44e7a0], eax
push 0x23
call fcn.004019b3
fild dword [0x44e7a0]
fmul dword [0x44b0d0]
fadd dword [0x44b0d4]
sub esp, 4
fstp dword [esp]
push dword [0x44e7a0]
call dword [0x4523c0]
push 0x24
call fcn.004019b3
push 0x100
push 0x100
push 0
call fcn.00404e9a
call dword [0x4523c4]
push 0x26
call fcn.004019b3
push 0
call fcn.00404ebf
call fcn.00405010
push eax
call fcn.0040b4e4
call fcn.0040b56c
and eax, eax
je 0x401598
push 0x27
call fcn.004019b3
mov dword [0x44e7b8], 0
jmp 0x401511
push 0x27
call fcn.004019b3
mov eax, 0x3e8
cmp eax, dword [0x44e7b8]
jl 0x401584
push 0x28
call fcn.004019b3
push 0xffffff
call fcn.00403950
call fcn.004039c0
push eax
push 0xa
call fcn.00403950
call fcn.004039c0
push eax
push 0xff
call fcn.00403950
call fcn.004039c0
push eax
push 0xff
call fcn.00403950
call fcn.004039c0
push eax
call fcn.0040b449
call fcn.0040b5d1
push 0x29
call fcn.004019b3
inc dword [0x44e7b8]
jno 0x401507
push 0x2a
call fcn.004019b3
call fcn.0040b51e
call fcn.0040b653
push 0x2b
call fcn.004019b3
push 0x2c
call fcn.004019b3
push 0
call fcn.00404eba
call dword [0x4523c8]
push eax
push 0
call fcn.00403c35
call dword [0x4523cc]
push 0x2d
call fcn.004019b3
push 0x3e4ccccd
push 0x3dcccccd
push 0
call fcn.00403cfa
call dword [0x4523d0]
push 0x2e
call fcn.004019b3
push 0
call fcn.00403cd0
call dword [0x4523d4]
push eax
push 0
call fcn.004034e3
call dword [0x4523d8]
push eax
push 0
call fcn.0040450e
call dword [0x4523dc]
push 0x2f
call fcn.004019b3
pop eax
push 0x30
call fcn.004019b3
call fcn.004072ca
call fcn.00407441
push 0x31
call fcn.004019b3
call fcn.004075a3
call fcn.00407684
push 0x32
call fcn.004019b3
push 0xcb
call fcn.004072e5
call fcn.0040749f
and eax, eax
je 0x401684
mov eax, 1
jmp 0x401686
xor eax, eax
mov dword [esp - 4], eax
fild dword [esp - 4]
fchs
sub esp, 8
fstp qword [esp]
push 0xcd
call fcn.004072e5
call fcn.0040749f
fld qword [esp]
add esp, 8
and eax, eax
je 0x4016b6
mov eax, 1
jmp 0x4016b8
xor eax, eax
mov dword [esp - 4], eax
fiadd dword [esp - 4]
fadd dword [0x44b0d8]
fmul dword [0x44b0dc]
fstp dword [0x44e7b0]
push 0x33
call fcn.004019b3
push 0xd0
call fcn.004072e5
call fcn.0040749f
and eax, eax
je 0x4016f6
mov eax, 1
jmp 0x4016f8
xor eax, eax
mov dword [esp - 4], eax
fild dword [esp - 4]
fchs
sub esp, 8
fstp qword [esp]
push 0xc8
call fcn.004072e5
call fcn.0040749f
fld qword [esp]
add esp, 8
and eax, eax
je 0x401728
mov eax, 1
jmp 0x40172a
xor eax, eax
mov dword [esp - 4], eax
fiadd dword [esp - 4]
fadd dword [0x44b0d8]
fmul dword [0x44b0dc]
sub esp, 8
fstp qword [esp]
call fcn.0040796a
fld qword [esp]
add esp, 8
mov dword [esp - 4], eax
fild dword [esp - 4]
fmul dword [0x44b0d0]
faddp st(1)
fadd dword [0x44b0d8]
fstp dword [0x44e7b4]
push 0x34
call fcn.004019b3
call fcn.004075c9
call fcn.0040794e
mov dword [esp - 4], eax
fild dword [esp - 4]
fchs
fmul dword [0x44b0e0]
fstp dword [0x44e7a4]
push 0x35
call fcn.004019b3
call fcn.004075ce
call fcn.0040795c
mov dword [esp - 4], eax
fild dword [esp - 4]
fchs
fmul dword [0x44b0e0]
fstp dword [0x44e7a8]
push 0x36
call fcn.004019b3
push 1
push 0
push dword [0x44e7a4]
push dword [0x44e7a8]
push 0
call fcn.004052e1
call dword [0x4523e0]
push 0x37
call fcn.004019b3
fld dword [0x44e7c8]
fld dword [0x44e7b4]
fsub dword [0x44e7c8]
fadd dword [0x44b0d8]
fmul dword [0x44b0e0]
faddp st(1)
fadd dword [0x44b0d8]
fstp dword [0x44e7c8]
push 0x38
call fcn.004019b3
fld dword [0x44e7c8]
fchs
sub esp, 4
fstp dword [esp]
push 0
push dword [0x44e7b0]
push 0
call fcn.004052b8
call dword [0x4523ac]
push 0x39
call fcn.004019b3
call fcn.00402c19
call dword [0x4523e4]
push 0x3a
call fcn.004019b3
call fcn.00405b02
call fcn.00406040
push 0x3b
call fcn.004019b3
push 1
call fcn.0040730b
call fcn.004074ed
and eax, eax
jne 0x4018b3
push 3
call fcn.004075a9
call fcn.00407939
and eax, eax
jne 0x4018b3
jmp 0x4018ba
mov eax, 1
jmp 0x4018bc
xor eax, eax
and eax, eax
je 0x40140f
push 0x3c
call fcn.004019b3
push 0x3d
call fcn.004019b3
push 0x3e
call fcn.004019b3
push 0
call fcn.00401906
call fcn.00419250
call fcn.00418d20
push dword [0x44e798]
call sub.KERNEL32.dll_HeapDestroy
call sub.KERNEL32.dll_ExitProcess