Function at 0x401000
Capabilities:
Allocate thread local storage
Set console window title

Disassembly:
push 0x44
push 0
push 0x437ee0
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0
call sub.KERNEL32.dll_GetModuleHandleW
mov dword [0x437ee4], eax
push 0
push 0x1000
push 0
call sub.KERNEL32.dll_HeapCreate
mov dword [0x437ee0], eax
call fcn.004076d0
push esp
call fcn.004084e0
add esp, 4
call fcn.00407447
call fcn.004062a2
call fcn.004062ff
call fcn.00405d3c
call fcn.004059a0
call fcn.00405666
push eax
push 0
call fcn.004046dc
push 0x3e33
call fcn.00405bb0
push 8
call fcn.004046dc
call fcn.00406502
call fcn.004065a8
push 9
call fcn.004046dc
mov eax, str.Bloop
push eax
call fcn.004064b7
call sub.KERNEL32.dll_SetConsoleTitleW
push 0xa
call fcn.004046dc
push 1
call fcn.004065b8
push 0xb
call fcn.004046dc
call fcn.0040647e
call fcn.00406623
push 0x32
call fcn.004046dc
push 0x435068
push 0x43574c
push 8
push 9
mov eax, 9
push 4
call fcn.00404792
call fcn.00407470
push 0x32
call fcn.004046dc
push 0x435070
push 0x43574c
push 8
push 9
mov eax, 9
push 4
call fcn.00404792
call fcn.00407470
push 0x113
call fcn.004046dc
call fcn.0040444d
push 0x113
call fcn.0040482f
push 0x114
call fcn.004046dc
mov dword [0x437f04], 0x28
push 0x114
call fcn.004046dc
mov dword [0x437f08], 0x14
push 0x114
call fcn.004046dc
mov dword [0x437f18], 0x50
push 0x114
call fcn.004046dc
mov dword [0x437f20], 0x28
push 0x114
call fcn.004046dc
mov dword [0x437f1c], 0x14
push 0x114
call fcn.004046dc
mov dword [0x437f14], 0x28
push 0x116
call fcn.004046dc
push 4
call fcn.00405cf0
call fcn.00405b10
mov dword [esp - 4], eax
fild dword [esp - 4]
fadd qword [0x435128]
sub esp, 8
fstp qword [esp]
call fcn.00405d30
mov dword [0x437f00], eax
push 0x117
call fcn.004046dc
push dword [0x437f00]
push 0x118
call fcn.004046dc
mov ebx, 1
cmp ebx, dword [esp]
jne 0x40124f
push 0x119
call fcn.004046dc
mov edx, str.__0O
lea ecx, [0x437f0c]
call fcn.00405008
push 0x11a
call fcn.004046dc
jmp 0x40132e
push 0x11a
call fcn.004046dc
mov ebx, 2
cmp ebx, dword [esp]
jne 0x40128c
push 0x11b
call fcn.004046dc
mov edx, 0x4350d4
lea ecx, [0x437f0c]
call fcn.00405008
push 0x11c
call fcn.004046dc
jmp 0x40132e
push 0x11c
call fcn.004046dc
mov ebx, 3
cmp ebx, dword [esp]
jne 0x4012c6
push 0x11d
call fcn.004046dc
mov edx, 0x4350cc
lea ecx, [0x437f0c]
call fcn.00405008
push 0x11e
call fcn.004046dc
jmp 0x40132e
push 0x11e
call fcn.004046dc
mov ebx, 4
cmp ebx, dword [esp]
jne 0x401300
push 0x11f
call fcn.004046dc
mov edx, 0x4350c8
lea ecx, [0x437f0c]
call fcn.00405008
push 0x120
call fcn.004046dc
jmp 0x40132e
push 0x120
call fcn.004046dc
mov ebx, 5
cmp ebx, dword [esp]
jne 0x40132e
push 0x121
call fcn.004046dc
mov edx, 0x4350d0
lea ecx, [0x437f0c]
call fcn.00405008
push 0x122
call fcn.004046dc
pop eax
push 0x124
call fcn.004046dc
push 0x125
call fcn.004046dc
push dword [0x437f08]
push dword [0x437f04]
call fcn.004064b2
call fcn.0040668e
push 0x125
call fcn.004046dc
push dword [0x437f0c]
call fcn.0040650e
call dword [0x4362ec]
push 0x126
call fcn.004046dc
push 3
call fcn.00405cf0
call fcn.00405b10
mov dword [esp - 4], eax
fild dword [esp - 4]
sub esp, 8
fstp qword [esp]
call fcn.00405d30
mov ebx, eax
inc ebx
mov dword [0x437f00], ebx
push 0x127
call fcn.004046dc
mov dword [0x437f10], 1
jmp 0x4013d3
push 0x127
call fcn.004046dc
mov eax, 0x4e2
cmp eax, dword [0x437f10]
jl 0x40140b
push 0x128
call fcn.004046dc
call fcn.0040463a
push 0x128
call fcn.0040482f
push 0x129
call fcn.004046dc
inc dword [0x437f10]
jno 0x4013c9
push 0x12a
call fcn.004046dc
push dword [0x437f00]
push 0x12b
call fcn.004046dc
mov ebx, 1
cmp ebx, dword [esp]
jne 0x40169f
push 0x12c
call fcn.004046dc
mov ebx, dword [0x437f08]
dec ebx
mov dword [0x437f08], ebx
push 0x12d
call fcn.004046dc
mov ebx, dword [0x437f08]
and ebx, ebx
jge 0x401686
push 0x12e
call fcn.004046dc
push dword [0x437f1c]
pop dword [0x437f08]
push 0x12e
call fcn.004046dc
push dword [0x437f14]
pop dword [0x437f04]
push 0x12f
call fcn.004046dc
push 0xe
call fcn.00405cf0
call fcn.00405b10
mov dword [esp - 4], eax
fild dword [esp - 4]
sub esp, 8
fstp qword [esp]
call fcn.00405d30
mov ebx, eax
inc ebx
mov dword [0x437f00], ebx
push 0x130
call fcn.004046dc
push 0xe
call fcn.00405cf0
call fcn.00405b10
mov dword [esp - 4], eax
fild dword [esp - 4]
sub esp, 8
fstp qword [esp]
call fcn.00405d30
mov ebx, eax
inc ebx
mov dword [0x437efc], ebx
push 0x131
call fcn.004046dc
push dword [0x437efc]
push dword [0x437f00]
call fcn.00406483
call fcn.004066d9
push 0x132
call fcn.004046dc
push 4
call fcn.00405cf0
call fcn.00405b10
mov dword [esp - 4], eax
fild dword [esp - 4]
fadd qword [0x435128]
sub esp, 8
fstp qword [esp]
call fcn.00405d30
mov dword [0x437f00], eax
push 0x133
call fcn.004046dc
push dword [0x437f00]
push 0x134
call fcn.004046dc
mov ebx, 1
cmp ebx, dword [esp]
jne 0x40159c
push 0x135
call fcn.004046dc
mov edx, str.__0O
lea ecx, [0x437f0c]
call fcn.00405008
push 0x136
call fcn.004046dc
jmp 0x40167b
push 0x136
call fcn.004046dc
mov ebx, 2
cmp ebx, dword [esp]
jne 0x4015d9
push 0x137
call fcn.004046dc
mov edx, 0x4350d4
lea ecx, [0x437f0c]
call fcn.00405008
push 0x138
call fcn.004046dc
jmp 0x40167b
push 0x138
call fcn.004046dc
mov ebx, 3
cmp ebx, dword [esp]
jne 0x401613
push 0x139
call fcn.004046dc
mov edx, 0x4350cc
lea ecx, [0x437f0c]
call fcn.00405008
push 0x13a
call fcn.004046dc
jmp 0x40167b
push 0x13a
call fcn.004046dc
mov ebx, 4
cmp ebx, dword [esp]
jne 0x40164d
push 0x13b
call fcn.004046dc
mov edx, 0x4350c8
lea ecx, [0x437f0c]
call fcn.00405008
push 0x13c
call fcn.004046dc
jmp 0x40167b
push 0x13c
call fcn.004046dc
mov ebx, 5
cmp ebx, dword [esp]
jne 0x40167b
push 0x13d
call fcn.004046dc
mov edx, 0x4350d0
lea ecx, [0x437f0c]
call fcn.00405008
push 0x13e
call fcn.004046dc
pop eax
push 0x13f
call fcn.004046dc
push 0x140
call fcn.004046dc
jmp 0x401e24
push 0x140
call fcn.004046dc
mov ebx, 2
cmp ebx, dword [esp]
jne 0x401927
push 0x141
call fcn.004046dc
mov ebx, dword [0x437f04]
inc ebx
mov dword [0x437f04], ebx
push 0x142
call fcn.004046dc
mov ebx, dword [0x437f04]
cmp ebx, dword [0x437f18]
jle 0x40190e
push 0x143
call fcn.004046dc
push dword [0x437f14]
pop dword [0x437f04]
push 0x143
call fcn.004046dc
push dword [0x437f1c]
pop dword [0x437f08]
push 0x144
call fcn.004046dc
push 0xe
call fcn.00405cf0
call fcn.00405b10
mov dword [esp - 4], eax
fild dword [esp - 4]
sub esp, 8
fstp qword [esp]
call fcn.00405d30
mov ebx, eax
inc ebx
mov dword [0x437f00], ebx
push 0x145
call fcn.004046dc
push 0xe
call fcn.00405cf0
call fcn.00405b10
mov dword [esp - 4], eax
fild dword [esp - 4]
sub esp, 8
fstp qword [esp]
call fcn.00405d30
mov ebx, eax
inc ebx
mov dword [0x437efc], ebx
push 0x146
call fcn.004046dc
push dword [0x437efc]
push dword [0x437f00]
call fcn.00406483
call fcn.004066d9
push 0x147
call fcn.004046dc
push 4
call fcn.00405cf0
call fcn.00405b10
mov dword [esp - 4], eax
fild dword [esp - 4]
fadd qword [0x435128]
sub esp, 8
fstp qword [esp]
call fcn.00405d30
mov dword [0x437f00], eax
push 0x148
call fcn.004046dc
push dword [0x437f00]
push 0x149
call fcn.004046dc
mov ebx, 1
cmp ebx, dword [esp]
jne 0x401824
push 0x14a
call fcn.004046dc
mov edx, str.__0O
lea ecx, [0x437f0c]
call fcn.00405008
push 0x14b
call fcn.004046dc
jmp 0x401903
push 0x14b
call fcn.004046dc
mov ebx, 2
cmp ebx, dword [esp]
jne 0x401861
push 0x14c
call fcn.004046dc
mov edx, 0x4350d4
lea ecx, [0x437f0c]
call fcn.00405008
push 0x14d
call fcn.004046dc
jmp 0x401903
push 0x14d
call fcn.004046dc
mov ebx, 3
cmp ebx, dword [esp]
jne 0x40189b
push 0x14e
call fcn.004046dc
mov edx, 0x4350cc
lea ecx, [0x437f0c]
call fcn.00405008
push 0x14f
call fcn.004046dc
jmp 0x401903
push 0x14f
call fcn.004046dc
mov ebx, 4
cmp ebx, dword [esp]
jne 0x4018d5
push 0x150
call fcn.004046dc
mov edx, 0x4350c8
lea ecx, [0x437f0c]
call fcn.00405008
push 0x151
call fcn.004046dc
jmp 0x401903
push 0x151
call fcn.004046dc
mov ebx, 5
cmp ebx, dword [esp]
jne 0x401903
push 0x152
call fcn.004046dc
mov edx, 0x4350d0
lea ecx, [0x437f0c]
call fcn.00405008
push 0x153
call fcn.004046dc
pop eax
push 0x154
call fcn.004046dc
push 0x155
call fcn.004046dc
jmp 0x401e24
push 0x155
call fcn.004046dc
mov ebx, 3
cmp ebx, dword [esp]
jne 0x401baf
push 0x156
call fcn.004046dc
mov ebx, dword [0x437f08]
inc ebx
mov dword [0x437f08], ebx
push 0x157
call fcn.004046dc
mov ebx, dword [0x437f08]
cmp ebx, dword [0x437f20]
jle 0x401b96
push 0x158
call fcn.004046dc
push dword [0x437f1c]
pop dword [0x437f08]
push 0x158
call fcn.004046dc
push dword [0x437f14]
pop dword [0x437f04]
push 0x159
call fcn.004046dc
push 0xe
call fcn.00405cf0
call fcn.00405b10
mov dword [esp - 4], eax
fild dword [esp - 4]
sub esp, 8
fstp qword [esp]
call fcn.00405d30
mov ebx, eax
inc ebx
mov dword [0x437f00], ebx
push 0x15a
call fcn.004046dc
push 0xe
call fcn.00405cf0
call fcn.00405b10
mov dword [esp - 4], eax
fild dword [esp - 4]
sub esp, 8
fstp qword [esp]
call fcn.00405d30
mov ebx, eax
inc ebx
mov dword [0x437efc], ebx
push 0x15b
call fcn.004046dc
push dword [0x437efc]
push dword [0x437f00]
call fcn.00406483
call fcn.004066d9
push 0x15c
call fcn.004046dc
push 4
call fcn.00405cf0
call fcn.00405b10
mov dword [esp - 4], eax
fild dword [esp - 4]
fadd qword [0x435128]
sub esp, 8
fstp qword [esp]
call fcn.00405d30
mov dword [0x437f00], eax
push 0x15d
call fcn.004046dc
push dword [0x437f00]
push 0x15e
call fcn.004046dc
mov ebx, 1
cmp ebx, dword [esp]
jne 0x401aac
push 0x15f
call fcn.004046dc
mov edx, str.__0O
lea ecx, [0x437f0c]
call fcn.00405008
push 0x160
call fcn.004046dc
jmp 0x401b8b
push 0x160
call fcn.004046dc
mov ebx, 2
cmp ebx, dword [esp]
jne 0x401ae9
push 0x161
call fcn.004046dc
mov edx, 0x4350d4
lea ecx, [0x437f0c]
call fcn.00405008
push 0x162
call fcn.004046dc
jmp 0x401b8b
push 0x162
call fcn.004046dc
mov ebx, 3
cmp ebx, dword [esp]
jne 0x401b23
push 0x163
call fcn.004046dc
mov edx, 0x4350cc
lea ecx, [0x437f0c]
call fcn.00405008
push 0x164
call fcn.004046dc
jmp 0x401b8b
push 0x164
call fcn.004046dc
mov ebx, 4
cmp ebx, dword [esp]
jne 0x401b5d
push 0x165
call fcn.004046dc
mov edx, 0x4350c8
lea ecx, [0x437f0c]
call fcn.00405008
push 0x166
call fcn.004046dc
jmp 0x401b8b
push 0x166
call fcn.004046dc
mov ebx, 5
cmp ebx, dword [esp]
jne 0x401b8b
push 0x167
call fcn.004046dc
mov edx, 0x4350d0
lea ecx, [0x437f0c]
call fcn.00405008
push 0x168
call fcn.004046dc
pop eax
push 0x169
call fcn.004046dc
push 0x16a
call fcn.004046dc
jmp 0x401e24
push 0x16a
call fcn.004046dc
mov ebx, 4
cmp ebx, dword [esp]
jne 0x401e24
push 0x16b
call fcn.004046dc
mov ebx, dword [0x437f04]
dec ebx
mov dword [0x437f04], ebx
push 0x16c
call fcn.004046dc
mov ebx, dword [0x437f04]
and ebx, ebx
jge 0x401e1a
push 0x16d
call fcn.004046dc
push dword [0x437f14]
pop dword [0x437f04]
push 0x16d
call fcn.004046dc
push dword [0x437f1c]
pop dword [0x437f08]
push 0x16e
call fcn.004046dc
push 0xe
call fcn.00405cf0
call fcn.00405b10
mov dword [esp - 4], eax
fild dword [esp - 4]
sub esp, 8
fstp qword [esp]
call fcn.00405d30
mov ebx, eax
inc ebx
mov dword [0x437f00], ebx
push 0x16f
call fcn.004046dc
push 0xe
call fcn.00405cf0
call fcn.00405b10
mov dword [esp - 4], eax
fild dword [esp - 4]
sub esp, 8
fstp qword [esp]
call fcn.00405d30
mov ebx, eax
inc ebx
mov dword [0x437efc], ebx
push 0x170
call fcn.004046dc
push dword [0x437efc]
push dword [0x437f00]
call fcn.00406483
call fcn.004066d9
push 0x171
call fcn.004046dc
push 4
call fcn.00405cf0
call fcn.00405b10
mov dword [esp - 4], eax
fild dword [esp - 4]
fadd qword [0x435128]
sub esp, 8
fstp qword [esp]
call fcn.00405d30
mov dword [0x437f00], eax
push 0x172
call fcn.004046dc
push dword [0x437f00]
push 0x173
call fcn.004046dc
mov ebx, 1
cmp ebx, dword [esp]
jne 0x401d30
push 0x174
call fcn.004046dc
mov edx, str.__0O
lea ecx, [0x437f0c]
call fcn.00405008
push 0x175
call fcn.004046dc
jmp 0x401e0f
push 0x175
call fcn.004046dc
mov ebx, 2
cmp ebx, dword [esp]
jne 0x401d6d
push 0x176
call fcn.004046dc
mov edx, 0x4350d4
lea ecx, [0x437f0c]
call fcn.00405008
push 0x177
call fcn.004046dc
jmp 0x401e0f
push 0x177
call fcn.004046dc
mov ebx, 3
cmp ebx, dword [esp]
jne 0x401da7
push 0x178
call fcn.004046dc
mov edx, 0x4350cc
lea ecx, [0x437f0c]
call fcn.00405008
push 0x179
call fcn.004046dc
jmp 0x401e0f
push 0x179
call fcn.004046dc
mov ebx, 4
cmp ebx, dword [esp]
jne 0x401de1
push 0x17a
call fcn.004046dc
mov edx, 0x4350c8
lea ecx, [0x437f0c]
call fcn.00405008
push 0x17b
call fcn.004046dc
jmp 0x401e0f
push 0x17b
call fcn.004046dc
mov ebx, 5
cmp ebx, dword [esp]
jne 0x401e0f
push 0x17c
call fcn.004046dc
mov edx, 0x4350d0
lea ecx, [0x437f0c]
call fcn.00405008
push 0x17d
call fcn.004046dc
pop eax
push 0x17e
call fcn.004046dc
push 0x17f
call fcn.004046dc
pop eax
push 0x180
call fcn.004046dc
push 0x1388
call fcn.00405cf0
call fcn.00405b10
mov dword [0x437ee8], eax
push 0x181
call fcn.004046dc
push 0x1388
call fcn.00405cf0
call fcn.00405b10
mov dword [0x437eec], eax
push 0x182
call fcn.004046dc
push 0x1388
call fcn.00405cf0
call fcn.00405b10
mov dword [0x437ef0], eax
push 0x183
call fcn.004046dc
push 0x1388
call fcn.00405cf0
call fcn.00405b10
mov dword [0x437ef4], eax
push 0x184
call fcn.004046dc
mov ebx, dword [0x437ee8]
cmp ebx, 1
jne 0x401f07
push 0x185
call fcn.004046dc
push 0xc8
call fcn.00405963
call fcn.00405964
push 0x186
call fcn.004046dc
call fcn.004037f9
push 0x186
call fcn.0040482f
push 0x187
call fcn.004046dc
push 0xc8
call fcn.00405963
call fcn.00405964
push 0x188
call fcn.004046dc
push 0x189
call fcn.004046dc
mov ebx, dword [0x437ee8]
cmp ebx, 0xa
jne 0x401f71
push 0x18a
call fcn.004046dc
push 0xc8
call fcn.00405963
call fcn.00405964
push 0x18b
call fcn.004046dc
call fcn.00402d63
push 0x18b
call fcn.0040482f
push 0x18c
call fcn.004046dc
push 0xc8
call fcn.00405963
call fcn.00405964
push 0x18d
call fcn.004046dc
push 0x18e
call fcn.004046dc
mov ebx, dword [0x437ef0]
cmp ebx, 0x14
jne 0x401fdb
push 0x18f
call fcn.004046dc
push 0xc8
call fcn.00405963
call fcn.00405964
push 0x190
call fcn.004046dc
call fcn.0040210e
push 0x190
call fcn.0040482f
push 0x191
call fcn.004046dc
push 0xc8
call fcn.00405963
call fcn.00405964
push 0x192
call fcn.004046dc
push 0x194
call fcn.004046dc
mov ebx, dword [0x437ef0]
cmp ebx, 0x78
jne 0x402045
push 0x195
call fcn.004046dc
push 0xc8
call fcn.00405963
call fcn.00405964
push 0x196
call fcn.004046dc
call fcn.0040351d
push 0x196
call fcn.0040482f
push 0x197
call fcn.004046dc
push 0xc8
call fcn.00405963
call fcn.00405964
push 0x198
call fcn.004046dc
push 0x199
call fcn.004046dc
mov ebx, dword [0x437ef0]
cmp ebx, 0x140
jne 0x4020b2
push 0x19a
call fcn.004046dc
push 0xc8
call fcn.00405963
call fcn.00405964
push 0x19b
call fcn.004046dc
call fcn.00403f25
push 0x19b
call fcn.0040482f
push 0x19c
call fcn.004046dc
push 0xc8
call fcn.00405963
call fcn.00405964
push 0x19d
call fcn.004046dc
push 0x19e
call fcn.004046dc
jmp 0x401339