Function at 0x404af0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov dword [ebp - 0x10], 0x186
mov dword [ebp - 0xc0], 0x193
mov dword [ebp - 0x64], 0x364
mov dword [ebp - 0x28], 0x37d
mov dword [ebp - 0x58], 0x2d
mov dword [ebp - 0x50], 0x1c7
mov dword [ebp - 0x44], 0x31
mov dword [ebp - 0xc], 0xd2
mov dword [ebp - 0x54], 0x2e6
mov dword [ebp - 8], 0x24f
mov dword [ebp - 0x18], 0x32d
mov dword [ebp - 0x14], 0x263
mov dword [ebp - 0x90], 0xb0
mov dword [ebp - 4], 0xe
mov dword [ebp - 0x1c], 0x18b
mov dword [ebp - 0xa0], 9
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x74], 0x327
mov dword [ebp - 0x8c], 0x394
mov dword [ebp - 0x20], 0x1a2
mov dword [ebp - 0x2c], 0x237
mov dword [ebp - 0xd4], 0x372
mov dword [ebp - 0xa4], 0x11d
mov dword [ebp - 0x30], 0x29c
mov dword [ebp - 0x34], 0
jmp 0x404bc5
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
mov ecx, dword [0x512e24]
sub ecx, 0x2b0
cmp dword [ebp - 0x34], ecx
jge 0x404be1
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
jmp 0x404bbc
mov eax, dword [ebp - 8]
sub eax, 0xd9
push eax
mov ecx, dword [ebp - 0xa0]
add ecx, 0x172
push ecx
mov edx, dword [ebp - 0x90]
add edx, 0x18c
push edx
mov eax, dword [ebp - 0x24]
add eax, 0xfc
push eax
mov ecx, dword [0x512e18]
add ecx, 0x7c
push ecx
mov edx, dword [ebp - 0x44]
sub edx, 0xe
push edx
mov eax, dword [0x512e38]
add eax, 0x1ac
push eax
mov ecx, dword [0x512e08]
sub ecx, 0x2a1
push ecx
call fcn.00419a50
add esp, 0x20
mov dword [ebp - 0x38], 0
jmp 0x404c50
mov edx, dword [ebp - 0x38]
add edx, 1
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x58]
sub eax, 0x186cd
cmp dword [ebp - 0x38], eax
jge 0x404c74
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ecx, dword [0x512e0c]
add ecx, 1
mov dword [0x512e0c], ecx
jmp 0x404c47
mov edx, dword [0x512e08]
sub edx, 1
mov dword [0x512e08], edx
mov eax, dword [ebp + 0xc]
add eax, 0x6cc4
xor eax, 0x65749817
mov ecx, dword [ebp + 0xc]
or ecx, 0x2ae8
xor ecx, 0xabfa
mov dword [ecx + str.AteohwRoRslcGnLbmxPJcE], eax
mov edx, dword [ebp - 0x18]
sub edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
sub eax, 0x93
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x20]
add edx, 0x15d
push edx
mov eax, dword [0x512e1c]
sub eax, 0x169
push eax
mov ecx, dword [ebp - 0x64]
sub ecx, 0x1c9
push ecx
mov edx, dword [ebp - 0x28]
sub edx, 0x246
push edx
mov eax, dword [0x512e24]
add eax, 0x18
push eax
call fcn.004146c0
add esp, 0x1c
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x58]
cmp edx, dword [ebp - 0xc]
jge 0x404d12
mov dword [ebp - 0x5c], 1
jmp 0x404d19
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x44]
and eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x54]
jge 0x404d2d
mov dword [ebp - 0x60], 1
jmp 0x404d34
mov dword [ebp - 0x60], 0
mov ecx, dword [ebp - 0x50]
xor ecx, dword [0x512e40]
and ecx, dword [ebp - 0x5c]
and ecx, dword [ebp - 0x60]
je 0x404d54
mov edx, dword [0x512e18]
sub edx, 1
mov dword [0x512e18], edx
mov eax, 0xffee
sub eax, dword [ebp + 0x14]
xor eax, 0xfc20
mov ecx, 0x53
sub ecx, dword [ebp + 0x18]
and ecx, 0xd504
xor ecx, 0xc515
mov byte [ecx + str.AteohwRoRslcGnLbmxPJcE], al
mov dword [ebp - 0x3c], 0
jmp 0x404d8d
mov edx, dword [ebp - 0x3c]
add edx, 1
mov dword [ebp - 0x3c], edx
mov eax, dword [0x512e28]
sub eax, 0x140
cmp dword [ebp - 0x3c], eax
jge 0x404dc5
mov ecx, dword [ebp - 0x30]
imul ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x2c]
jge 0x404dc3
mov edx, dword [ebp - 0xa4]
imul edx, dword [ebp - 0xc]
test edx, edx
je 0x404dc3
mov eax, dword [0x512e1c]
add eax, 1
mov dword [0x512e1c], eax
jmp 0x404d84
mov ecx, dword [ebp + 0xc]
xor ecx, 0xe035
or ecx, 0x11a3
xor ecx, 0x416c0bfa
mov edx, dword [ebp + 8]
or edx, 0xe223
xor edx, 0x6c28
and edx, 0x121e
xor edx, 0x1202
mov dword [edx + str.AteohwRoRslcGnLbmxPJcE], ecx
mov dword [ebp - 0x40], 0
jmp 0x404e0d
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x64]
sub ecx, 0x18a04
cmp dword [ebp - 0x40], ecx
jge 0x404f43
mov edx, dword [0x512e30]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0x1c]
sub ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0xa8]
cmp edx, dword [ebp - 0xac]
jge 0x404e54
mov dword [ebp - 0x68], 1
jmp 0x404e5b
mov dword [ebp - 0x68], 0
mov eax, dword [0x512e28]
mov dword [ebp - 0xb0], eax
mov ecx, dword [0x512e40]
mov dword [ebp - 0xb4], ecx
mov edx, dword [0x512e28]
sub edx, 1
mov dword [0x512e28], edx
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0xb4]
jge 0x404e98
mov dword [ebp - 0x6c], 1
jmp 0x404e9f
mov dword [ebp - 0x6c], 0
mov ecx, dword [0x512e14]
imul ecx, dword [0x512e0c]
and ecx, dword [ebp - 0x68]
or ecx, dword [ebp - 0x6c]
je 0x404f3e
mov edx, dword [ebp - 8]
sub edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x2c]
jge 0x404f3e
mov ecx, dword [ebp - 0x8c]
cmp ecx, dword [0x512e14]
jge 0x404f3e
mov edx, dword [0x512e34]
mov dword [ebp - 0xb8], edx
mov eax, dword [0x512e2c]
mov dword [ebp - 0xbc], eax
mov ecx, dword [0x512e34]
add ecx, 1
mov dword [0x512e34], ecx
mov edx, dword [ebp - 0xb8]
cmp edx, dword [ebp - 0xbc]
jge 0x404f14
mov dword [ebp - 0x70], 1
jmp 0x404f1b
mov dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
and ecx, dword [ebp - 0x70]
or ecx, dword [ebp - 0x74]
je 0x404f38
mov edx, dword [ebp - 0x1c]
sub edx, 1
mov dword [ebp - 0x1c], edx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
jmp 0x404e04
mov eax, dword [ebp - 0x24]
xor eax, dword [ebp - 0x74]
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xc8], ecx
mov edx, dword [ebp - 0x24]
sub edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0xc4]
cmp eax, dword [ebp - 0xc8]
jge 0x404f7b
mov dword [ebp - 0x78], 1
jmp 0x404f82
mov dword [ebp - 0x78], 0
mov ecx, dword [0x512e28]
cmp ecx, dword [0x512e20]
jge 0x404f99
mov dword [ebp - 0x7c], 1
jmp 0x404fa0
mov dword [ebp - 0x7c], 0
mov edx, dword [ebp - 0x78]
and edx, dword [ebp - 0x7c]
je 0x405054
mov eax, dword [0x512e0c]
cmp eax, dword [ebp - 0x44]
jge 0x404fbf
mov dword [ebp - 0x80], 1
jmp 0x404fc6
mov dword [ebp - 0x80], 0
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
mov edx, dword [0x512e38]
sub edx, dword [ebp - 0x28]
mov eax, dword [0x512e30]
xor eax, dword [ebp - 0x14]
or eax, edx
or eax, dword [ebp - 0x80]
je 0x405054
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0xc]
cmp ecx, dword [0x512e20]
jge 0x405001
mov dword [ebp - 0x84], 1
jmp 0x40500b
mov dword [ebp - 0x84], 0
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x20]
jge 0x405022
mov dword [ebp - 0x88], 1
jmp 0x40502c
mov dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x84]
and eax, dword [ebp - 0x88]
je 0x405054
mov ecx, dword [ebp - 0x14]
add ecx, dword [0x512e3c]
cmp ecx, dword [0x512e14]
jge 0x405054
mov edx, dword [ebp - 0x20]
sub edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 0xc]
or eax, 0xfd36
sub eax, 0xe480
xor eax, 0x193e
mov ecx, 0x1403
sub ecx, dword [ebp + 0x18]
xor ecx, 0xfffff902
mov byte [ecx + str.AteohwRoRslcGnLbmxPJcE], al
mov edx, dword [0x512e0c]
add edx, 0x39
push edx
mov eax, dword [0x512e1c]
sub eax, 0x96
push eax
mov ecx, dword [ebp - 0x10]
sub ecx, 0x4e
push ecx
mov edx, dword [ebp - 0x8c]
sub edx, 0x321
push edx
mov eax, dword [ebp - 8]
add eax, 0x67
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0xb7
push ecx
call fcn.00408e70
add esp, 0x18
mov edx, dword [0x512e08]
add edx, 1
mov dword [0x512e08], edx
mov eax, dword [ebp + 8]
add eax, 0x6e46
xor eax, 0xe185
xor eax, 0x6e64b946
mov ecx, dword [ebp + 8]
xor ecx, 0x1312
xor ecx, 0xa95c
mov dword [ecx + str.AteohwRoRslcGnLbmxPJcE], eax
mov edx, dword [ebp - 0x54]
sub edx, 0x184
push edx
mov eax, dword [ebp - 0x90]
add eax, 0xe1
push eax
mov ecx, dword [0x512e30]
sub ecx, 0x1ad
push ecx
mov edx, dword [ebp - 8]
sub edx, 0x1db
push edx
mov eax, dword [ebp - 8]
add eax, 0x67
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x1b
push ecx
call fcn.00408e70
add esp, 0x18
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xcc], edx
mov eax, dword [0x512e38]
mov dword [ebp - 0xd0], eax
mov ecx, dword [0x512e38]
sub ecx, 1
mov dword [0x512e38], ecx
mov edx, dword [ebp - 0xcc]
cmp edx, dword [ebp - 0xd0]
jge 0x405172
mov dword [ebp - 0x94], 1
jmp 0x40517c
mov dword [ebp - 0x94], 0
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [0x512e0c]
jge 0x40519c
mov dword [ebp - 0x98], 1
jmp 0x4051a6
mov dword [ebp - 0x98], 0
mov edx, dword [ebp - 0x94]
or edx, dword [ebp - 0x98]
je 0x4051bd
mov eax, dword [ebp - 0xc]
sub eax, 1
mov dword [ebp - 0xc], eax
mov ecx, 0x6c5e
sub ecx, dword [ebp + 0x18]
or ecx, 0x2034
xor ecx, 0x74651f0f
mov edx, dword [ebp + 0x14]
and edx, 0xfdf2
xor edx, 0xf4
mov dword [edx + str.AteohwRoRslcGnLbmxPJcE], ecx
mov dword [ebp - 0x48], 0
jmp 0x4051f8
mov eax, dword [ebp - 0x48]
add eax, 1
mov dword [ebp - 0x48], eax
mov ecx, dword [0x512e1c]
sub ecx, 0x226
cmp dword [ebp - 0x48], ecx
jge 0x40521a
mov edx, dword [0x512e34]
add edx, 1
mov dword [0x512e34], edx
jmp 0x4051ef
mov eax, 0x2456
sub eax, dword [ebp + 0x14]
xor eax, 0x21d2
mov ecx, 0xffffd978
sub ecx, dword [ebp + 0x10]
xor ecx, 0xffff333b
mov byte [ecx + str.AteohwRoRslcGnLbmxPJcE], al
mov edx, dword [ebp - 4]
add edx, 0x1e8
push edx
call fcn.00409450
add esp, 4
mov eax, dword [ebp + 0xc]
xor eax, 0x164cc
xor eax, 0x1edd3
mov ecx, dword [ebp + 0x18]
add ecx, 0xc299
xor ecx, 0xdd98
mov byte [ecx + str.AteohwRoRslcGnLbmxPJcE], al
mov edx, dword [0x512e0c]
sub edx, 1
mov dword [0x512e0c], edx
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [0x512e18]
add ecx, 0x113
push ecx
mov edx, dword [0x512e20]
sub edx, 0x2f7
push edx
mov eax, dword [ebp - 0x10]
add eax, 0xab
push eax
call fcn.00409b30
add esp, 0xc
mov ecx, dword [ebp + 0x14]
add ecx, 0x37f2
and ecx, 0x8b
xor ecx, 0x61
mov edx, dword [ebp + 0xc]
add edx, 0x3020
xor edx, 0xb9ab
mov byte [edx + str.AteohwRoRslcGnLbmxPJcE], cl
mov eax, dword [0x512e10]
sub eax, 1
mov dword [0x512e10], eax
mov ecx, dword [ebp + 0x18]
or ecx, 0x6a47
xor ecx, 0x7aea
mov edx, dword [ebp + 8]
add edx, 0x16291
xor edx, 0x21cc4
mov byte [edx + str.AteohwRoRslcGnLbmxPJcE], cl
mov eax, dword [0x512e3c]
add eax, 1
mov dword [0x512e3c], eax
mov dword [ebp - 0x4c], 0
jmp 0x405329
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x20]
sub edx, 0x18841
cmp dword [ebp - 0x4c], edx
jge 0x405379
mov eax, dword [0x512e34]
xor eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x2c]
jge 0x405350
mov dword [ebp - 0x9c], 1
jmp 0x40535a
mov dword [ebp - 0x9c], 0
mov ecx, dword [ebp - 0x50]
or ecx, dword [ebp - 0x54]
or ecx, dword [ebp - 0x9c]
je 0x405377
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
call dword [sym.imp.KERNEL32.dll_DecodePointer]
jmp 0x405320
mov eax, str.AteohwRoRslcGnLbmxPJcE
jmp 0x4053e9
mov esp, ebp
pop ebp
ret