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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ed9f
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x46d45c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x18]
call fcn.00402160
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00402160
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00402160
mov byte [ebp - 4], 2
cmp dword [0x46f680], 0
je 0x4211a8
cmp dword [ebp + 0x14], 0xffffffff
jne 0x4211a8
push 0
lea ecx, [ebp - 0x5c]
call fcn.00402190
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0x60]
call fcn.00402190
mov byte [ebp - 4], 4
push 0x45d038
lea ecx, [ebp - 0x64]
call fcn.00402190
mov byte [ebp - 4], 5
push 0x45d03c
lea ecx, [ebp - 0x68]
call fcn.00402190
mov byte [ebp - 4], 6
push 0x45d040
lea ecx, [ebp - 0x6c]
call fcn.00402190
mov byte [ebp - 4], 7
push 0
lea ecx, [ebp - 0x70]
call fcn.00402190
mov byte [ebp - 4], 8
push 0x45d044
lea ecx, [ebp - 0x74]
call fcn.00402190
mov byte [ebp - 4], 9
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x78]
call fcn.00402190
mov byte [ebp - 4], 0xa
push 0x45d048
lea ecx, [ebp - 0x80]
call fcn.00402190
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x84]
call fcn.00402190
mov byte [ebp - 4], 0xc
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 - 0xdc], eax
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], ecx
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0xe0]
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 - 0xe4], eax
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], ecx
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0xe8]
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], 0xd
lea ecx, [ebp - 0x88]
call fcn.004021c0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x7c]
call fcn.004021c0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x84]
call fcn.004021c0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x80]
call fcn.004021c0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x78]
call fcn.004021c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x74]
call fcn.004021c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x70]
call fcn.004021c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x6c]
call fcn.004021c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x68]
call fcn.004021c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x64]
call fcn.004021c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
call fcn.004021c0
mov byte [ebp - 4], 2
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
test eax, eax
jne 0x421944
mov dword [ebp - 0x10], 0
jmp 0x4211ea
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x30]
call fcn.00402160
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2c]
call fcn.00402160
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x58]
call fcn.00402160
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x28]
call fcn.00402160
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x50]
call fcn.00402160
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.0041d570
add esp, 0xc
test eax, eax
je 0x42127f
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x50]
call fcn.004021c0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x28]
call fcn.004021c0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x58]
call fcn.004021c0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2c]
call fcn.004021c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.004021c0
jmp 0x42193a
lea ecx, [ebp - 0x54]
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 - 0x30]
call fcn.00402270
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.004047c0
add esp, 0x14
test eax, eax
je 0x4212f2
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x50]
call fcn.004021c0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x28]
call fcn.004021c0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x58]
call fcn.004021c0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2c]
call fcn.004021c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.004021c0
jmp 0x4211e1
lea ecx, [ebp - 0x2c]
push ecx
push 0
push 0
push str.CLSID
mov edx, dword [ebp - 0x54]
push edx
call fcn.0041d480
add esp, 0x14
test eax, eax
je 0x42135a
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x50]
call fcn.004021c0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x28]
call fcn.004021c0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x58]
call fcn.004021c0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2c]
call fcn.004021c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.004021c0
jmp 0x4211e1
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x45d058
lea edx, [ebp - 0x2c]
push edx
push 0x45d078
lea eax, [ebp - 0x8c]
push eax
call fcn.00421b90
add esp, 0xc
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0xf0], ecx
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0xf0]
push edx
lea eax, [ebp - 0x90]
push eax
call fcn.00421a70
add esp, 0xc
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0xf4]
mov dword [ebp - 0xf8], ecx
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0xf8]
push edx
lea ecx, [ebp - 0x58]
call fcn.00402240
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x90]
call fcn.004021c0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x8c]
call fcn.004021c0
lea eax, [ebp - 0x2c]
push eax
push 0x45d088
lea ecx, [ebp - 0x94]
push ecx
call fcn.00421b90
add esp, 0xc
mov dword [ebp - 0xfc], eax
mov edx, dword [ebp - 0xfc]
mov dword [ebp - 0x100], edx
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x100]
push eax
lea ecx, [ebp - 0x50]
call fcn.00402240
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x94]
call fcn.004021c0
lea ecx, [ebp - 0x54]
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 - 0x58]
call fcn.00402270
push eax
push SysReAllocString
call fcn.004047c0
add esp, 0x14
test eax, eax
je 0x4214b0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x50]
call fcn.004021c0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x28]
call fcn.004021c0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x58]
call fcn.004021c0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2c]
call fcn.004021c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.004021c0
jmp 0x4211e1
push 0x45d0a0
lea ecx, [ebp - 0x58]
call fcn.004021e0
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0x45d0a4
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.0041d480
add esp, 0x14
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x58]
call fcn.00416f60
test eax, eax
jne 0x42152d
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x50]
call fcn.004021c0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x28]
call fcn.004021c0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x58]
call fcn.004021c0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2c]
call fcn.004021c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.004021c0
jmp 0x4211e1
lea ecx, [ebp - 0x4c]
call fcn.00401a80
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x58]
call fcn.00402270
push eax
call fcn.0040d610
add esp, 8
push 0
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x98]
push edx
call fcn.00408fc0
add esp, 0xc
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x108], eax
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x108]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00402240
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x98]
call fcn.004021c0
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402270
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00409fb0
add esp, 0x10
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0040b960
add esp, 0x14
movzx ecx, al
test ecx, ecx
je 0x4218ed
cmp dword [ebp + 0x14], 0xffffffff
jne 0x421821
push 0
lea ecx, [ebp - 0x9c]
call fcn.00402190
mov byte [ebp - 4], 0x19
push 0
lea ecx, [ebp - 0xa0]
call fcn.00402190
mov byte [ebp - 4], 0x1a
push 0x45d0a8
lea ecx, [ebp - 0xa4]
call fcn.00402190
mov byte [ebp - 4], 0x1b
push 0x45d0ac
lea ecx, [ebp - 0xa8]
call fcn.00402190
mov byte [ebp - 4], 0x1c
push 0x45d0b0
lea ecx, [ebp - 0xac]
call fcn.00402190
mov byte [ebp - 4], 0x1d
push 0
lea ecx, [ebp - 0xb0]
call fcn.00402190
mov byte [ebp - 4], 0x1e
push 0x45d0b4
lea ecx, [ebp - 0xb4]
call fcn.00402190
mov byte [ebp - 4], 0x1f
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0xb8]
call fcn.00402190
mov byte [ebp - 4], 0x20
push 0x45d0b8
lea ecx, [ebp - 0xc0]
call fcn.00402190
mov byte [ebp - 4], 0x21
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0xc4]
call fcn.00402190
mov byte [ebp - 4], 0x22
push 0xffffffffffffffff
push 0
push 0
lea ecx, [ebp - 0x9c]
push ecx
movzx edx, byte [ebp + 0x18]
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
lea edx, [ebp - 0xb4]
push edx
lea eax, [ebp - 0xb8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0xbc]
push edx
call fcn.0040ce20
add esp, 0x10
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x110], eax
mov byte [ebp - 4], 0x23
mov ecx, dword [ebp - 0x110]
push ecx
lea edx, [ebp - 0xc0]
push edx
lea eax, [ebp - 0xc4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0xc8]
push edx
call fcn.0040ce20
add esp, 0x10
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x118], eax
mov byte [ebp - 4], 0x24
mov ecx, dword [ebp - 0x118]
push ecx
push 0
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040c020
add esp, 0x40
mov dword [ebp + 0x14], eax
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0xc8]
call fcn.004021c0
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0xbc]
call fcn.004021c0
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0xc4]
call fcn.004021c0
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0xc0]
call fcn.004021c0
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0xb8]
call fcn.004021c0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0xb4]
call fcn.004021c0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0xb0]
call fcn.004021c0
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0xac]
call fcn.004021c0
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0xa8]
call fcn.004021c0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0xa4]
call fcn.004021c0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0xa0]
call fcn.004021c0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x9c]
call fcn.004021c0
push 0
lea ecx, [ebp - 0xcc]
call fcn.00402190
mov byte [ebp - 4], 0x25
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0xd0]
call fcn.00402190
mov byte [ebp - 4], 0x26
push 0xffffffffffffffff
push 0
push 0
lea edx, [ebp - 0xcc]
push edx
movzx eax, byte [ebp + 0x18]
push eax
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xd0]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xd4]
push eax
call fcn.0040ce20
add esp, 0x10
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x120], ecx
mov byte [ebp - 4], 0x27
mov edx, dword [ebp - 0x120]
push edx
lea eax, [ebp - 0x30]
push eax
push 3
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0040c020
add esp, 0x40
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0xd4]
call fcn.004021c0
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0xd0]
call fcn.004021c0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0xcc]
call fcn.004021c0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x4c]
call fcn.00401ae0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x50]
call fcn.004021c0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x28]
call fcn.004021c0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x58]
call fcn.004021c0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2c]
call fcn.004021c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.004021c0
jmp 0x4211e1
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0xd8], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004021c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004021c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004021c0
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret