Function at 0x487b88
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf781
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xcc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x487cf2
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x70], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x9c]
movzx eax, byte [eax]
test eax, eax
je 0x487cd7
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax]
test eax, eax
je 0x487c87
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x487c65
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 4
jge 0x487c85
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x88]
call fcn.0043566b
mov dword [eax], 0x833fcb50
jmp 0x487c5a
jmp 0x487cd5
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x487cb8
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
jge 0x487cd5
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x74]
call fcn.0043566b
mov dword [eax], 0xa3c0bf90
jmp 0x487cad
jmp 0x487ced
push 1
push 0x5a92
push 0x11cd
push 1
call fcn.00486c74
add esp, 0x10
jmp 0x487f51
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x30], 0xfff6
mov dword [ebp - 0x48], 0x1b4f
mov dword [ebp - 0x7c], str.tageb_iefukkhgh_kvxxsgmo_hsmr_gidkjn
cmp dword [ebp - 0x48], 0x1cb7
jle 0x487db8
and dword [ebp - 0x28], 0
jmp 0x487d2a
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x37bd
jge 0x487db2
and dword [ebp - 0x1c], 0
jmp 0x487d40
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xba
jge 0x487dad
and dword [ebp - 0x20], 0
jmp 0x487d56
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xba5
jge 0x487dab
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
shl eax, cl
cdq
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
push dword [ebp - 0xac]
push dword [ebp - 0xb0]
lea ecx, [ebp - 0xdc]
call fcn.00401a1e
pop ecx
pop ecx
mov ecx, eax
call fcn.0043542e
push eax
call fcn.004a9457
pop ecx
lea ecx, [ebp - 0xdc]
call fcn.00435424
jmp 0x487d4f
jmp 0x487d39
jmp 0x487d23
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [ebp - 0x2c], 0xecf4a416
and dword [ebp - 4], 0
cmp dword [ebp - 0x48], 0x1a52
jge 0x487dd5
push dword [ebp - 0x7c]
call fcn.004a9457
pop ecx
jmp 0x487df1
or dword [ebp - 4], 0xffffffff
jmp 0x487dfb
push 3
lea ecx, [ebp - 0xbc]
call fcn.0043557d
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x24], 0
jmp 0x487e29
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x487e45
push dword [ebp - 0x24]
lea ecx, [ebp - 0xbc]
call fcn.0043566b
mov dword [eax], 5
jmp 0x487e22
mov dword [ebp - 0x30], 1
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xc0], eax
imul eax, dword [ebp - 0x2c], 0
mov dword [ebp - 0x40], eax
push 1
lea ecx, [ebp - 0xbc]
call fcn.0043566b
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x40], eax
jl 0x487e82
mov dword [ebp - 0x84], 1
jmp 0x487e89
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0x2c], 0xfffe
ja 0x487ea4
mov dword [ebp - 0x50], 1
jmp 0x487ea8
and dword [ebp - 0x50], 0
cmp dword [ebp - 0x50], 0xa4c
jne 0x487eba
mov dword [ebp - 0x38], 1
jmp 0x487ebe
and dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 0xffffffff
jle 0x487ecd
mov dword [ebp - 0x3c], 1
jmp 0x487ed1
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0x3c]
cmp eax, 0x7fce6bb2
jg 0x487ee8
mov dword [ebp - 0x44], 1
jmp 0x487eec
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x44]
jge 0x487efd
mov dword [ebp - 0x4c], 1
jmp 0x487f01
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x2c]
jl 0x487f15
mov dword [ebp - 0x54], 1
jmp 0x487f19
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0xbc]
call fcn.0043564f
push 0
push dword [ebp - 0x94]
push 0x3ed9
push 0x3134
push 0x75ef
push 0x6f89
call fcn.00469670
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret