Function at 0x436430
Capabilities:
Contain obfuscated stackstrings
Get thread local storage value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451fa0
mov eax, dword fs:[0]
push eax
sub esp, 0x370
mov eax, dword [0x46d45c]
xor eax, ebp
mov dword [ebp - 0x50], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x10]
call fcn.00402160
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.00402160
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00402160
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00402160
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.00402160
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.00402160
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa4]
call fcn.00402160
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x30]
call fcn.00402160
mov byte [ebp - 4], 8
cmp dword [0x46f680], 0
je 0x4366d6
push 0
lea ecx, [ebp - 0x2e8]
call fcn.00402190
mov byte [ebp - 4], 9
push 0
lea ecx, [ebp - 0x2ec]
call fcn.00402190
mov byte [ebp - 4], 0xa
push 0x45eb0c
lea ecx, [ebp - 0x2f0]
call fcn.00402190
mov byte [ebp - 4], 0xb
push 0x45eb10
lea ecx, [ebp - 0x2f4]
call fcn.00402190
mov byte [ebp - 4], 0xc
push 0x45eb14
lea ecx, [ebp - 0x2f8]
call fcn.00402190
mov byte [ebp - 4], 0xd
push 0x45eb18
lea ecx, [ebp - 0x2fc]
call fcn.00402190
mov byte [ebp - 4], 0xe
push 0x45eb1c
lea ecx, [ebp - 0x300]
call fcn.00402190
mov byte [ebp - 4], 0xf
push 0x45eb20
lea ecx, [ebp - 0x308]
call fcn.00402190
mov byte [ebp - 4], 0x10
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x2e8]
push eax
push 1
lea ecx, [ebp - 0x2ec]
push ecx
lea edx, [ebp - 0x2f0]
push edx
lea eax, [ebp - 0x2f4]
push eax
lea ecx, [ebp - 0x2f8]
push ecx
lea edx, [ebp - 0x2fc]
push edx
lea eax, [ebp - 0x300]
push eax
lea ecx, [ebp + 0xc]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
lea edx, [ebp - 0x304]
push edx
call fcn.0040ce20
add esp, 0x10
mov dword [ebp - 0x348], eax
mov eax, dword [ebp - 0x348]
mov dword [ebp - 0x34c], eax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x34c]
push ecx
lea edx, [ebp - 0x308]
push edx
lea eax, [ebp + 0xc]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x30c]
push ecx
call fcn.0040ce20
add esp, 0x10
mov dword [ebp - 0x350], eax
mov edx, dword [ebp - 0x350]
mov dword [ebp - 0x354], edx
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x354]
push eax
push 0
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040c020
add esp, 0x40
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x30c]
call fcn.004021c0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x304]
call fcn.004021c0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x308]
call fcn.004021c0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x300]
call fcn.004021c0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2fc]
call fcn.004021c0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2f8]
call fcn.004021c0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2f4]
call fcn.004021c0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2f0]
call fcn.004021c0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2ec]
call fcn.004021c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2e8]
call fcn.004021c0
lea edx, [ebp - 0x18]
push edx
push 0x20019
push 0
lea ecx, [ebp + 0xc]
call fcn.00402270
push eax
mov eax, dword [reloc.OLEAUT32.dll_SysReAllocString]
push eax
call fcn.004047c0
add esp, 0x14
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x436778
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x30]
call fcn.004021c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa4]
call fcn.004021c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.004021c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.004021c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.004021c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.004021c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.004021c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004021c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004021c0
jmp 0x436e37
lea ecx, [ebp - 0x2c]
call fcn.00402160
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.0041d570
add esp, 0xc
test eax, eax
jne 0x436daf
lea ecx, [ebp - 0x48]
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 - 0x2c]
call fcn.00402270
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x436da1
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x30]
push ecx
push 0
push 0
push str.LibraryPath
mov edx, dword [ebp - 0x48]
push edx
call fcn.0041d480
add esp, 0x14
test eax, eax
jne 0x436d97
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xc8]
call fcn.00402280
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xc4]
call fcn.00401a80
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xc4]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00402270
push eax
call fcn.0040d610
add esp, 8
push 0
lea edx, [ebp - 0xc4]
push edx
lea eax, [ebp - 0x310]
push eax
call fcn.00408fc0
add esp, 0xc
mov dword [ebp - 0x358], eax
mov ecx, dword [ebp - 0x358]
mov dword [ebp - 0x35c], ecx
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x35c]
push edx
lea ecx, [ebp - 0x10]
call fcn.00402240
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x310]
call fcn.004021c0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x1c]
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 - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00402280
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0xa8]
push ecx
push 0
push 0
push str.DisplayString
mov edx, dword [ebp - 0x48]
push edx
call fcn.0041d480
add esp, 0x14
test eax, eax
jne 0x436a3e
lea ecx, [ebp - 0xa8]
call fcn.00402270
movzx eax, word [eax]
cmp eax, 0x40
jne 0x436a3e
lea ecx, [ebp - 0xa8]
push ecx
lea ecx, [ebp - 0xd0]
call fcn.00402280
mov byte [ebp - 4], 0x18
mov dword [ebp - 0xd8], 0
push 0x2c
lea ecx, [ebp - 0xd0]
call fcn.00402270
push eax
call fcn.00416790
add esp, 8
test eax, eax
je 0x436972
push 0x2c
lea ecx, [ebp - 0xd0]
call fcn.00402270
push eax
call fcn.00416790
add esp, 8
mov dword [ebp - 0xcc], eax
xor edx, edx
mov eax, dword [ebp - 0xcc]
mov word [eax], dx
mov ecx, dword [ebp - 0xcc]
add ecx, 2
push ecx
call fcn.0043a89e
add esp, 4
push eax
call fcn.0043a878
add esp, 4
mov dword [ebp - 0xd8], eax
lea ecx, [ebp - 0xd0]
call fcn.00402270
add eax, 2
push eax
lea edx, [ebp - 0x314]
push edx
call fcn.0041d6a0
add esp, 8
mov dword [ebp - 0x360], eax
mov eax, dword [ebp - 0x360]
mov dword [ebp - 0x364], eax
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x364]
push ecx
lea ecx, [ebp - 0xd0]
call fcn.00402240
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x314]
call fcn.004021c0
push 2
push 0
lea ecx, [ebp - 0xd0]
call fcn.00402270
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0
je 0x436a2f
push 0x104
lea edx, [ebp - 0x2e4]
push edx
mov eax, dword [ebp - 0xd8]
push eax
mov ecx, dword [ebp - 0xd4]
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x436a22
lea edx, [ebp - 0x2e4]
push edx
lea ecx, [ebp - 0xa8]
call fcn.004021e0
mov eax, dword [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0xd0]
call fcn.004021c0
mov dword [ebp - 0x14], 4
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0xa0]
push edx
push 0
push 0
push str.Enabled
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x60]
push edx
push 0
push 0
push str.ProviderId
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x436d6a
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0040b960
add esp, 0x14
movzx eax, al
test eax, eax
je 0x436d6a
cmp dword [ebp - 0x34], 0xffffffff
jne 0x436cb4
push 0
lea ecx, [ebp - 0x318]
call fcn.00402190
mov byte [ebp - 4], 0x1a
push 0
lea ecx, [ebp - 0x31c]
call fcn.00402190
mov byte [ebp - 4], 0x1b
push 0x45eb80
lea ecx, [ebp - 0x320]
call fcn.00402190
mov byte [ebp - 4], 0x1c
push 0x45eb84
lea ecx, [ebp - 0x324]
call fcn.00402190
mov byte [ebp - 4], 0x1d
push 0x45eb88
lea ecx, [ebp - 0x328]
call fcn.00402190
mov byte [ebp - 4], 0x1e
push 0x45eb8c
lea ecx, [ebp - 0x32c]
call fcn.00402190
mov byte [ebp - 4], 0x1f
push 0x45eb90
lea ecx, [ebp - 0x330]
call fcn.00402190
mov byte [ebp - 4], 0x20
push 0x45eb94
lea ecx, [ebp - 0x338]
call fcn.00402190
mov byte [ebp - 4], 0x21
push 0xffffffffffffffff
push 0
push 0
lea ecx, [ebp - 0x318]
push ecx
mov edx, dword [ebp - 0xa0]
push edx
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x320]
push ecx
lea edx, [ebp - 0x324]
push edx
lea eax, [ebp - 0x328]
push eax
lea ecx, [ebp - 0x32c]
push ecx
lea edx, [ebp - 0x330]
push edx
lea eax, [ebp + 0xc]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x334]
push ecx
call fcn.0040ce20
add esp, 0x10
mov dword [ebp - 0x368], eax
mov edx, dword [ebp - 0x368]
mov dword [ebp - 0x36c], edx
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x36c]
push eax
lea ecx, [ebp - 0x338]
push ecx
lea edx, [ebp + 0xc]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 0x33c]
push eax
call fcn.0040ce20
add esp, 0x10
mov dword [ebp - 0x370], eax
mov ecx, dword [ebp - 0x370]
mov dword [ebp - 0x374], ecx
mov byte [ebp - 4], 0x23
mov edx, dword [ebp - 0x374]
push edx
push 0
mov eax, dword [ebp - 0x34]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040c020
add esp, 0x40
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x33c]
call fcn.004021c0
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x334]
call fcn.004021c0
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x338]
call fcn.004021c0
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x330]
call fcn.004021c0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x32c]
call fcn.004021c0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x328]
call fcn.004021c0
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x324]
call fcn.004021c0
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x320]
call fcn.004021c0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x31c]
call fcn.004021c0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x318]
call fcn.004021c0
push 0
lea ecx, [ebp - 0x340]
call fcn.00402190
mov byte [ebp - 4], 0x24
push 0xffffffffffffffff
push 0
push 0
lea edx, [ebp - 0x340]
push edx
mov eax, dword [ebp - 0xa0]
push eax
lea ecx, [ebp - 0xc8]
push ecx
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0xc]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
lea edx, [ebp - 0x344]
push edx
call fcn.0040ce20
add esp, 0x10
mov dword [ebp - 0x378], eax
mov eax, dword [ebp - 0x378]
mov dword [ebp - 0x37c], eax
mov byte [ebp - 4], 0x25
mov ecx, dword [ebp - 0x37c]
push ecx
lea edx, [ebp - 0xa8]
push edx
push 0x10
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0040c020
add esp, 0x40
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x344]
call fcn.004021c0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x340]
call fcn.004021c0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xa8]
call fcn.004021c0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xc4]
call fcn.00401ae0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xc8]
call fcn.004021c0
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
jmp 0x436784
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.004021c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x30]
call fcn.004021c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa4]
call fcn.004021c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.004021c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.004021c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.004021c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.004021c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.004021c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004021c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004021c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x50]
xor ecx, ebp
call fcn.004376f1
mov esp, ebp
pop ebp
ret