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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44fb90
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x46d45c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x24]
call fcn.00402160
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00402160
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00402160
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00402160
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00402160
mov byte [ebp - 4], 4
cmp dword [0x46f680], 0
je 0x42597a
cmp dword [ebp + 0x14], 0xffffffff
jne 0x42597a
push 0
lea ecx, [ebp - 0x70]
call fcn.00402190
mov byte [ebp - 4], 5
push 0
lea ecx, [ebp - 0x74]
call fcn.00402190
mov byte [ebp - 4], 6
push 0x45d474
lea ecx, [ebp - 0x78]
call fcn.00402190
mov byte [ebp - 4], 7
push 0x45d478
lea ecx, [ebp - 0x7c]
call fcn.00402190
mov byte [ebp - 4], 8
push 0x45d47c
lea ecx, [ebp - 0x80]
call fcn.00402190
mov byte [ebp - 4], 9
push 0
lea ecx, [ebp - 0x84]
call fcn.00402190
mov byte [ebp - 4], 0xa
push 0x45d480
lea ecx, [ebp - 0x88]
call fcn.00402190
mov byte [ebp - 4], 0xb
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x8c]
call fcn.00402190
mov byte [ebp - 4], 0xc
push 0x45d484
lea ecx, [ebp - 0x94]
call fcn.00402190
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x98]
call fcn.00402190
mov byte [ebp - 4], 0xe
push 0xffffffffffffffff
push 0
push 0
lea edx, [ebp - 0x70]
push edx
movzx eax, byte [ebp + 0x18]
push eax
lea ecx, [ebp - 0x74]
push ecx
lea edx, [ebp - 0x78]
push edx
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x8c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x90]
push eax
call fcn.0040ce20
add esp, 0x10
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0xec], ecx
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0xec]
push edx
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x98]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x9c]
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], 0x10
mov edx, dword [ebp - 0xf4]
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], 0xf
lea ecx, [ebp - 0x9c]
call fcn.004021c0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x90]
call fcn.004021c0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x98]
call fcn.004021c0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x94]
call fcn.004021c0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x8c]
call fcn.004021c0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x88]
call fcn.004021c0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x84]
call fcn.004021c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x80]
call fcn.004021c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x7c]
call fcn.004021c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x78]
call fcn.004021c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x74]
call fcn.004021c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
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 0x42610d
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x4259be
mov dword [ebp - 0xf8], 0x45d488
jmp 0x4259c8
mov dword [ebp - 0xf8], 0x45d4a4
lea ecx, [ebp - 0x2c]
push ecx
push 0
push 0
mov edx, dword [ebp - 0xf8]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.0041d480
add esp, 0x14
test eax, eax
jne 0x426103
lea ecx, [ebp - 0x2c]
call fcn.00402270
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.0041d6a0
add esp, 8
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x10], 0
jmp 0x425a16
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
lea ecx, [ebp - 0x3c]
call fcn.00402160
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x60]
call fcn.00402160
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x68]
call fcn.00402160
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x6c]
call fcn.00402160
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x5c]
call fcn.00402160
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x64]
call fcn.00402160
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x34]
call fcn.00402160
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x38]
push ecx
push 0
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0041d5f0
add esp, 0x18
test eax, eax
je 0x425ae5
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x34]
call fcn.004021c0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x64]
call fcn.004021c0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x5c]
call fcn.004021c0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x6c]
call fcn.004021c0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x68]
call fcn.004021c0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x60]
call fcn.004021c0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x3c]
call fcn.004021c0
jmp 0x4260f7
cmp dword [ebp - 0x38], 1
je 0x425b50
cmp dword [ebp - 0x38], 2
je 0x425b50
cmp dword [ebp - 0x38], 7
je 0x425b50
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x34]
call fcn.004021c0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x64]
call fcn.004021c0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x5c]
call fcn.004021c0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x6c]
call fcn.004021c0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x68]
call fcn.004021c0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x60]
call fcn.004021c0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x3c]
call fcn.004021c0
jmp 0x425a0d
push str.DLLDirectory
lea ecx, [ebp - 0x3c]
call fcn.00402270
push eax
call fcn.00438d0f
add esp, 8
test eax, eax
je 0x425b84
push str.DLLDirectory32
lea ecx, [ebp - 0x3c]
call fcn.00402270
push eax
call fcn.00438d0f
add esp, 8
test eax, eax
jne 0x425bdd
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x34]
call fcn.004021c0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x64]
call fcn.004021c0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x5c]
call fcn.004021c0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x6c]
call fcn.004021c0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x68]
call fcn.004021c0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x60]
call fcn.004021c0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x3c]
call fcn.004021c0
jmp 0x425a0d
lea ecx, [ebp - 0x3c]
call fcn.00416f60
test eax, eax
jne 0x425bf6
push str._Default_
lea ecx, [ebp - 0x3c]
call fcn.004021e0
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x60]
call fcn.00402240
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x64]
call fcn.00402240
lea ecx, [ebp - 0x68]
push ecx
push 0x45d514
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0xa0]
push eax
call fcn.00426380
add esp, 0xc
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0x100], ecx
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0x100]
push edx
lea eax, [ebp - 0xa4]
push eax
call fcn.004262f0
add esp, 0xc
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x104]
mov dword [ebp - 0x108], ecx
mov byte [ebp - 4], 0x1a
mov edx, dword [ebp - 0x108]
push edx
lea ecx, [ebp - 0x24]
call fcn.00402240
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0xa4]
call fcn.004021c0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0xa0]
call fcn.004021c0
lea ecx, [ebp - 0x58]
call fcn.00401a80
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x24]
call fcn.00402270
push eax
call fcn.0040d610
add esp, 8
push 0
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0xa8]
push edx
call fcn.00408fc0
add esp, 0xc
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x110], eax
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x110]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00402240
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0xa8]
call fcn.004021c0
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x34]
call fcn.00402270
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00409fb0
add esp, 0x10
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x60]
call fcn.00416f60
test eax, eax
jne 0x425d7f
lea ecx, [ebp - 0x34]
call fcn.00416f60
test eax, eax
je 0x425d7f
push 0x5c
lea ecx, [ebp - 0x34]
call fcn.00402270
push eax
call fcn.00416770
add esp, 8
test eax, eax
je 0x425d73
push 0x5c
lea ecx, [ebp - 0x34]
call fcn.00402270
push eax
call fcn.00416770
add esp, 8
add eax, 2
push eax
lea ecx, [ebp - 0x60]
call fcn.004021e0
jmp 0x425d7f
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x60]
call fcn.00402240
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040b960
add esp, 0x14
movzx edx, al
test edx, edx
je 0x426092
cmp dword [ebp + 0x14], 0xffffffff
jne 0x425fe9
push 0
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 0x45d518
lea ecx, [ebp - 0xb4]
call fcn.00402190
mov byte [ebp - 4], 0x1f
push 0x45d51c
lea ecx, [ebp - 0xb8]
call fcn.00402190
mov byte [ebp - 4], 0x20
push 0x45d520
lea ecx, [ebp - 0xbc]
call fcn.00402190
mov byte [ebp - 4], 0x21
push 0
lea ecx, [ebp - 0xc0]
call fcn.00402190
mov byte [ebp - 4], 0x22
push 0x45d524
lea ecx, [ebp - 0xc4]
call fcn.00402190
mov byte [ebp - 4], 0x23
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0xc8]
call fcn.00402190
mov byte [ebp - 4], 0x24
push 0x45d528
lea ecx, [ebp - 0xd0]
call fcn.00402190
mov byte [ebp - 4], 0x25
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0xd4]
call fcn.00402190
mov byte [ebp - 4], 0x26
push 0xffffffffffffffff
push 0
push 0
lea edx, [ebp - 0xac]
push edx
movzx eax, byte [ebp + 0x18]
push eax
lea ecx, [ebp - 0xb0]
push ecx
lea edx, [ebp - 0xb4]
push edx
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0xbc]
push ecx
lea edx, [ebp - 0xc0]
push edx
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0xc8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xcc]
push eax
call fcn.0040ce20
add esp, 0x10
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x118], ecx
mov byte [ebp - 4], 0x27
mov edx, dword [ebp - 0x118]
push edx
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0xd4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xd8]
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], 0x28
mov edx, dword [ebp - 0x120]
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], 0x27
lea ecx, [ebp - 0xd8]
call fcn.004021c0
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0xcc]
call fcn.004021c0
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0xd4]
call fcn.004021c0
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0xd0]
call fcn.004021c0
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0xc8]
call fcn.004021c0
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], 0x1e
lea ecx, [ebp - 0xb4]
call fcn.004021c0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0xb0]
call fcn.004021c0
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0xac]
call fcn.004021c0
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0xdc]
call fcn.00402190
mov byte [ebp - 4], 0x29
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x3c]
push eax
movzx ecx, byte [ebp + 0x18]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0xdc]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0xe0]
push ecx
call fcn.0040ce20
add esp, 0x10
mov dword [ebp - 0x124], eax
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x128], edx
mov byte [ebp - 4], 0x2a
mov eax, dword [ebp - 0x128]
push eax
lea ecx, [ebp - 0x60]
push ecx
push 1
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040c020
add esp, 0x40
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0xe0]
call fcn.004021c0
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0xdc]
call fcn.004021c0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x58]
call fcn.00401ae0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x34]
call fcn.004021c0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x64]
call fcn.004021c0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x5c]
call fcn.004021c0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x6c]
call fcn.004021c0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x68]
call fcn.004021c0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x60]
call fcn.004021c0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x3c]
call fcn.004021c0
jmp 0x425a0d
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.004021c0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xe4], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.004021c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.004021c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004021c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004021c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004021c0
mov eax, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret