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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f201
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x46d45c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x1c]
call fcn.00402160
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00402160
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00402160
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00402160
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00402160
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.00402160
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24]
call fcn.00402160
mov byte [ebp - 4], 6
cmp dword [0x46f680], 0
je 0x422c32
cmp dword [ebp + 0x14], 0xffffffff
jne 0x422c32
push 0
lea ecx, [ebp - 0x5c]
call fcn.00402190
mov byte [ebp - 4], 7
push 0
lea ecx, [ebp - 0x60]
call fcn.00402190
mov byte [ebp - 4], 8
push 0x45d228
lea ecx, [ebp - 0x64]
call fcn.00402190
mov byte [ebp - 4], 9
push 0x45d22c
lea ecx, [ebp - 0x68]
call fcn.00402190
mov byte [ebp - 4], 0xa
push 0x45d230
lea ecx, [ebp - 0x6c]
call fcn.00402190
mov byte [ebp - 4], 0xb
push 0x45d234
lea ecx, [ebp - 0x70]
call fcn.00402190
mov byte [ebp - 4], 0xc
push 0x45d238
lea ecx, [ebp - 0x74]
call fcn.00402190
mov byte [ebp - 4], 0xd
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x78]
call fcn.00402190
mov byte [ebp - 4], 0xe
push 0x45d23c
lea ecx, [ebp - 0x80]
call fcn.00402190
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x84]
call fcn.00402190
mov byte [ebp - 4], 0x10
push 0xffffffffffffffff
push 0
push 0
lea edx, [ebp - 0x5c]
push edx
movzx eax, byte [ebp + 0x18]
push eax
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x70]
push edx
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x78]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x7c]
push eax
call fcn.0040ce20
add esp, 0x10
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0xdc], ecx
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0xdc]
push edx
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x84]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x88]
push eax
call fcn.0040ce20
add esp, 0x10
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], ecx
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0xe4]
push edx
push 0
mov eax, dword [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040c020
add esp, 0x40
mov dword [ebp + 0x14], eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x88]
call fcn.004021c0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x7c]
call fcn.004021c0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x84]
call fcn.004021c0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x80]
call fcn.004021c0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x78]
call fcn.004021c0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x74]
call fcn.004021c0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x70]
call fcn.004021c0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x6c]
call fcn.004021c0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x68]
call fcn.004021c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x64]
call fcn.004021c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x60]
call fcn.004021c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x5c]
call fcn.004021c0
lea edx, [ebp - 0x14]
push edx
mov eax, dword [0x46f464]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004047c0
add esp, 0x14
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x422cce
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24]
call fcn.004021c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.004021c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.004021c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.004021c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.004021c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.004021c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004021c0
mov eax, dword [ebp - 0x8c]
jmp 0x4231c6
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.0041d570
add esp, 0xc
test eax, eax
jne 0x423156
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [0x46f464]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
push eax
push 0
lea ecx, [ebp - 0x34]
call fcn.00402270
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.004047c0
add esp, 0x14
test eax, eax
jne 0x423148
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
push str.Source
mov edx, dword [ebp - 0x38]
push edx
call fcn.0041d480
add esp, 0x14
test eax, eax
jne 0x42313e
lea ecx, [ebp - 0x58]
call fcn.00401a80
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402270
push eax
call fcn.0040d550
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x423132
push 0
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x90]
push eax
call fcn.00408fc0
add esp, 0xc
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0xec], ecx
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0xec]
push edx
lea ecx, [ebp - 0x10]
call fcn.00402240
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x90]
call fcn.004021c0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00402270
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.00409fb0
add esp, 0x10
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040b960
add esp, 0x14
movzx edx, al
test edx, edx
je 0x423132
cmp dword [ebp + 0x14], 0xffffffff
jne 0x423043
push 0
lea ecx, [ebp - 0x94]
call fcn.00402190
mov byte [ebp - 4], 0x15
push 0
lea ecx, [ebp - 0x98]
call fcn.00402190
mov byte [ebp - 4], 0x16
push 0x45d250
lea ecx, [ebp - 0x9c]
call fcn.00402190
mov byte [ebp - 4], 0x17
push 0x45d254
lea ecx, [ebp - 0xa0]
call fcn.00402190
mov byte [ebp - 4], 0x18
push 0x45d258
lea ecx, [ebp - 0xa4]
call fcn.00402190
mov byte [ebp - 4], 0x19
push 0x45d25c
lea ecx, [ebp - 0xa8]
call fcn.00402190
mov byte [ebp - 4], 0x1a
push 0x45d260
lea ecx, [ebp - 0xac]
call fcn.00402190
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0xb0]
call fcn.00402190
mov byte [ebp - 4], 0x1c
push 0x45d264
lea ecx, [ebp - 0xb8]
call fcn.00402190
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0xbc]
call fcn.00402190
mov byte [ebp - 4], 0x1e
push 0xffffffffffffffff
push 0
push 0
lea edx, [ebp - 0x94]
push edx
movzx eax, byte [ebp + 0x18]
push eax
lea ecx, [ebp - 0x98]
push ecx
lea edx, [ebp - 0x9c]
push edx
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0xa4]
push ecx
lea edx, [ebp - 0xa8]
push edx
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0xb0]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xb4]
push eax
call fcn.0040ce20
add esp, 0x10
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xf0]
mov dword [ebp - 0xf4], ecx
mov byte [ebp - 4], 0x1f
mov edx, dword [ebp - 0xf4]
push edx
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0xbc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xc0]
push eax
call fcn.0040ce20
add esp, 0x10
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], ecx
mov byte [ebp - 4], 0x20
mov edx, dword [ebp - 0xfc]
push edx
push 0
mov eax, dword [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040c020
add esp, 0x40
mov dword [ebp + 0x14], eax
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0xc0]
call fcn.004021c0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0xb4]
call fcn.004021c0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0xbc]
call fcn.004021c0
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0xb8]
call fcn.004021c0
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0xb0]
call fcn.004021c0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0xac]
call fcn.004021c0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0xa8]
call fcn.004021c0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0xa4]
call fcn.004021c0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0xa0]
call fcn.004021c0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x9c]
call fcn.004021c0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x98]
call fcn.004021c0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x94]
call fcn.004021c0
push 0
lea ecx, [ebp - 0xc4]
call fcn.00402190
mov byte [ebp - 4], 0x21
push 0
lea ecx, [ebp - 0xc8]
call fcn.00402190
mov byte [ebp - 4], 0x22
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0xcc]
call fcn.00402190
mov byte [ebp - 4], 0x23
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0xc4]
push eax
movzx ecx, byte [ebp + 0x18]
push ecx
lea edx, [ebp - 0xc8]
push edx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0xcc]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0xd0]
push ecx
call fcn.0040ce20
add esp, 0x10
mov dword [ebp - 0x100], eax
mov edx, dword [ebp - 0x100]
mov dword [ebp - 0x104], edx
mov byte [ebp - 4], 0x24
mov eax, dword [ebp - 0x104]
push eax
lea ecx, [ebp - 0x34]
push ecx
push 3
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040c020
add esp, 0x40
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0xd0]
call fcn.004021c0
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0xcc]
call fcn.004021c0
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0xc8]
call fcn.004021c0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xc4]
call fcn.004021c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.00401ae0
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
jmp 0x422cce
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0xd4], edx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24]
call fcn.004021c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.004021c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.004021c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.004021c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.004021c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.004021c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004021c0
mov eax, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret