Function at 0x402da0
Capabilities:
Contain obfuscated stackstrings
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c213
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x46d45c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x28]
call fcn.00402160
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00402160
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00402160
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00402160
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00402160
mov byte [ebp - 4], 4
cmp dword [0x46f680], 0
je 0x402ff5
cmp dword [ebp + 0x18], 0xffffffff
jne 0x402ff5
push 0
lea ecx, [ebp - 0x4c]
call fcn.00402190
mov byte [ebp - 4], 5
push 0x4534f4
lea ecx, [ebp - 0x50]
call fcn.00402190
mov byte [ebp - 4], 6
push 0x4534f8
lea ecx, [ebp - 0x54]
call fcn.00402190
mov byte [ebp - 4], 7
push 0x4534fc
lea ecx, [ebp - 0x58]
call fcn.00402190
mov byte [ebp - 4], 8
push 0x453500
lea ecx, [ebp - 0x5c]
call fcn.00402190
mov byte [ebp - 4], 9
push 0x453504
lea ecx, [ebp - 0x60]
call fcn.00402190
mov byte [ebp - 4], 0xa
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x64]
call fcn.00402190
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x68]
call fcn.00402190
mov byte [ebp - 4], 0xc
mov edx, dword [ebp + 0x14]
push edx
lea ecx, [ebp - 0x70]
call fcn.00402190
mov byte [ebp - 4], 0xd
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x74]
call fcn.00402190
mov byte [ebp - 4], 0xe
push 0xffffffffffffffff
push 0
push 0
lea ecx, [ebp - 0x4c]
push ecx
movzx edx, byte [ebp + 0x1c]
push edx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x6c]
push edx
call fcn.0040ce20
add esp, 0x10
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0xd0]
push ecx
lea edx, [ebp - 0x70]
push edx
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x78]
push edx
call fcn.0040ce20
add esp, 0x10
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0xd8]
push ecx
push 0
mov edx, dword [ebp + 0x18]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040c020
add esp, 0x40
mov dword [ebp + 0x18], eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x78]
call fcn.004021c0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x6c]
call fcn.004021c0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x74]
call fcn.004021c0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x70]
call fcn.004021c0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x68]
call fcn.004021c0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x64]
call fcn.004021c0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x60]
call fcn.004021c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x5c]
call fcn.004021c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x58]
call fcn.004021c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x54]
call fcn.004021c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x50]
call fcn.004021c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4c]
call fcn.004021c0
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [0x46f464]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
push eax
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004047c0
add esp, 0x14
test eax, eax
je 0x40306f
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x7c], edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.004021c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004021c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004021c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004021c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004021c0
mov eax, dword [ebp - 0x7c]
jmp 0x403537
lea eax, [ebp - 0x28]
push eax
push 0
push 0
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.0041d480
add esp, 0x14
test eax, eax
jne 0x4034df
lea ecx, [ebp - 0x40]
call fcn.00403750
mov byte [ebp - 4], 0x11
push 0x20
lea eax, [ebp - 0x40]
push eax
push 0x2c
lea ecx, [ebp - 0x28]
call fcn.00402270
push eax
call fcn.0040d350
add esp, 0x10
mov dword [ebp - 0x44], 0
jmp 0x4030c6
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x40]
call fcn.00403820
cmp dword [ebp - 0x44], eax
jae 0x4034d3
mov edx, dword [ebp - 0x44]
push edx
lea ecx, [ebp - 0x40]
call fcn.00403840
mov dword [ebp - 0x48], eax
push 0
mov eax, dword [ebp - 0x48]
push eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.00408fc0
add esp, 0xc
mov dword [ebp - 0xdc], eax
mov edx, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], edx
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0xe0]
push eax
lea ecx, [ebp - 0x10]
call fcn.00402240
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x80]
call fcn.004021c0
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x10]
call fcn.00402270
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00409fb0
add esp, 0x10
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0040b960
add esp, 0x14
movzx eax, al
test eax, eax
je 0x4034ce
cmp dword [ebp + 0x18], 0xffffffff
jne 0x4033b7
push 0
lea ecx, [ebp - 0x84]
call fcn.00402190
mov byte [ebp - 4], 0x13
push 0x453508
lea ecx, [ebp - 0x88]
call fcn.00402190
mov byte [ebp - 4], 0x14
push 0x45350c
lea ecx, [ebp - 0x8c]
call fcn.00402190
mov byte [ebp - 4], 0x15
push 0x453510
lea ecx, [ebp - 0x90]
call fcn.00402190
mov byte [ebp - 4], 0x16
push 0x453514
lea ecx, [ebp - 0x94]
call fcn.00402190
mov byte [ebp - 4], 0x17
push 0x453518
lea ecx, [ebp - 0x98]
call fcn.00402190
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp + 0x14]
push ecx
lea ecx, [ebp - 0x9c]
call fcn.00402190
mov byte [ebp - 4], 0x19
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0xa0]
call fcn.00402190
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00402190
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0xac]
call fcn.00402190
mov byte [ebp - 4], 0x1c
push 0xffffffffffffffff
push 0
push 0
lea edx, [ebp - 0x84]
push edx
movzx eax, byte [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x88]
push ecx
lea edx, [ebp - 0x8c]
push edx
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x94]
push ecx
lea edx, [ebp - 0x98]
push edx
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0xa0]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xa4]
push eax
call fcn.0040ce20
add esp, 0x10
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], ecx
mov byte [ebp - 4], 0x1d
mov edx, dword [ebp - 0xe8]
push edx
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0xac]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xb0]
push eax
call fcn.0040ce20
add esp, 0x10
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0xf0], ecx
mov byte [ebp - 4], 0x1e
mov edx, dword [ebp - 0xf0]
push edx
push 0
mov eax, dword [ebp + 0x18]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040c020
add esp, 0x40
mov dword [ebp + 0x18], eax
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0xb0]
call fcn.004021c0
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0xa4]
call fcn.004021c0
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0xac]
call fcn.004021c0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0xa8]
call fcn.004021c0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0xa0]
call fcn.004021c0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x9c]
call fcn.004021c0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x98]
call fcn.004021c0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x94]
call fcn.004021c0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x90]
call fcn.004021c0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x8c]
call fcn.004021c0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x88]
call fcn.004021c0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x84]
call fcn.004021c0
push 0
lea ecx, [ebp - 0xb4]
call fcn.00402190
mov byte [ebp - 4], 0x1f
push 0x45351c
lea ecx, [ebp - 0xb8]
call fcn.00402190
mov byte [ebp - 4], 0x20
mov edx, dword [ebp + 0x14]
push edx
lea ecx, [ebp - 0xbc]
call fcn.00402190
mov byte [ebp - 4], 0x21
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0xc0]
call fcn.00402190
mov byte [ebp - 4], 0x22
push 0xffffffffffffffff
push 0
push 0
lea ecx, [ebp - 0xb4]
push ecx
movzx edx, byte [ebp + 0x1c]
push edx
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0xbc]
push edx
lea eax, [ebp - 0xc0]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0xc4]
push edx
call fcn.0040ce20
add esp, 0x10
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xf8], eax
mov byte [ebp - 4], 0x23
mov ecx, dword [ebp - 0xf8]
push ecx
mov edx, dword [ebp - 0x48]
push edx
push 5
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0040c020
add esp, 0x40
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0xc4]
call fcn.004021c0
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0xc0]
call fcn.004021c0
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0xbc]
call fcn.004021c0
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0xb8]
call fcn.004021c0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xb4]
call fcn.004021c0
jmp 0x4030bd
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.004037c0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0xc8], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.004021c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004021c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004021c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004021c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004021c0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret