Function at 0x412440
Capabilities:
Get thread local storage value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x45c5ec
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x473354]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
xor edi, edi
push 1
mov dword [esp + 0x48], edi
call fcn.0042f396
mov dword [esp + 0x68], eax
mov byte [eax], 0
push 1
mov dword [esp + 0x100], edi
call fcn.0042f396
mov dword [esp + 0x40], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x4c], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x70], eax
mov byte [eax], 0
push 1
call fcn.0042f396
add esp, 0x14
mov dword [esp + 0x30], eax
mov byte [eax], 0
mov byte [esp + 0xf8], 4
cmp dword [0x474d7c], edi
je 0x41269c
cmp dword [esp + 0x114], 0xffffffff
jne 0x41269c
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x1c], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x24], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x2c], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x38], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x38], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x44], eax
push 0x46043c
call fcn.0042f484
add esp, 0x1c
mov dword [esp + 0x3c], eax
mov esi, dword [esp + 0x108]
mov eax, esi
cmp esi, edi
jne 0x41255c
mov eax, 0x46043c
push eax
call fcn.0042f484
mov ebx, eax
mov dword [esp + 0x4c], ebx
push 0x46043c
call fcn.0042f484
mov ebp, eax
add esp, 8
mov dword [esp + 0x54], ebp
mov eax, esi
cmp esi, edi
jne 0x412586
mov eax, 0x46043c
push eax
call fcn.0042f484
mov esi, eax
mov dword [esp + 0x54], esi
mov edx, dword [esp + 0x108]
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x50]
push ecx
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.00407af0
mov edi, eax
mov eax, dword [esp + 0x118]
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x68]
push edx
push eax
lea ecx, [esp + 0x78]
push ecx
call fcn.00407af0
movzx ecx, byte [esp + 0x13c]
push 0xffffffffffffffff
push 0
push 0
lea edx, [esp + 0x48]
push edx
push ecx
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x74]
push edx
push edi
push eax
mov eax, dword [esp + 0x154]
push 0
push 0xffffffffffffffff
push 0
push eax
mov byte [esp + 0x15c], 0x10
call fcn.0040c0f0
mov ecx, dword [esp + 0xbc]
add esp, 0x64
push ecx
mov dword [esp + 0x118], eax
call fcn.0042f4d9
mov edx, dword [esp + 0x50]
push edx
call fcn.0042f4d9
push esi
call fcn.0042f4d9
push ebp
call fcn.0042f4d9
push ebx
call fcn.0042f4d9
mov eax, dword [esp + 0x50]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x40]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x48]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x44]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x44]
push eax
mov byte [esp + 0x128], 4
call fcn.0042f4d9
add esp, 0x30
xor edi, edi
mov edx, dword [0x4746a8]
lea ecx, [esp + 0x5c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [esp + 0x108]
or eax, 0x20019
push eax
mov eax, dword [esp + 0x110]
push edi
push eax
push ecx
call fcn.00409f10
add esp, 0x14
test eax, eax
jne 0x4133f6
push 1
mov dword [esp + 0x58], edi
call fcn.0042f396
mov dword [esp + 0x1c], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov esi, eax
mov dword [esp + 0x30], esi
mov byte [esi], 0
push 1
call fcn.0042f396
mov dword [esp + 0x28], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x24], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov ebx, eax
mov dword [esp + 0x38], ebx
mov byte [ebx], 0
push 1
call fcn.0042f396
mov edi, eax
mov dword [esp + 0x44], edi
mov byte [edi], 0
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x78]
lea eax, [esp + 0x64]
push eax
push 0
lea ecx, [esp + 0x3c]
push ecx
push 0
push edx
mov byte [esp + 0x128], 0x16
call fcn.00416c10
add esp, 0x30
test eax, eax
jne 0x4133b8
mov eax, dword [esp + 0x48]
cmp eax, 1
je 0x4127a1
cmp eax, 2
je 0x4127a1
cmp eax, 7
je 0x4127a1
cmp eax, 3
je 0x4127a1
push edi
call fcn.0042f4d9
push ebx
call fcn.0042f4d9
mov eax, dword [esp + 0x1c]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0042f4d9
push esi
jmp 0x413312
mov edx, dword [esp + 0x18]
mov eax, edx
lea ebx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4127b0
sub eax, ebx
jne 0x4127d8
push str._Default_
mov ebx, edx
call fcn.0042f484
push ebx
mov dword [esp + 0x20], eax
call fcn.0042f4d9
mov edx, dword [esp + 0x20]
add esp, 8
push edx
call fcn.0042f484
mov ebp, eax
push esi
mov dword [esp + 0x30], ebp
call fcn.0042f4d9
add esp, 8
cmp byte [esp + 0x110], 0
je 0x412c26
lea eax, [esp + 0x18]
push eax
mov eax, str.CLSID_
lea ecx, [esp + 0xd0]
call fcn.00406910
push eax
mov eax, 0x46155c
lea ecx, [esp + 0xf0]
call fcn.004068d0
mov eax, dword [eax]
mov esi, dword [esp + 0x1c]
push eax
call fcn.0042f484
push esi
mov dword [esp + 0x24], eax
call fcn.0042f4d9
mov ecx, dword [esp + 0xf8]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0xe0]
push edx
call fcn.0042f4d9
lea eax, [esp + 0x30]
push eax
mov eax, str.HKCRCLSID_
lea ecx, [esp + 0x108]
call fcn.00406910
mov eax, dword [eax]
mov esi, dword [esp + 0x4c]
push eax
call fcn.0042f484
mov ebx, eax
push esi
mov dword [esp + 0x54], ebx
call fcn.0042f4d9
mov ecx, dword [esp + 0x110]
push ecx
call fcn.0042f4d9
mov eax, dword [0x4746a8]
mov esi, dword [esp + 0x3c]
add esp, 0x28
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
push eax
push 0
push esi
push SysReAllocString
call fcn.00409f10
add esp, 0x14
test eax, eax
jne 0x412903
mov esi, dword [esp + 0x14]
push 0x46043c
call fcn.0042f484
push esi
mov dword [esp + 0x1c], eax
call fcn.0042f4d9
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push 0x46043c
push edx
call fcn.00416ab0
mov eax, dword [esp + 0x3c]
add esp, 0x1c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x412a17
lea ecx, [esp + 0x18]
push ecx
mov eax, str.CLSID_
lea ecx, [esp + 0xcc]
call fcn.00406910
push eax
mov eax, str.ShellOpenCommand
lea ecx, [esp + 0xa8]
call fcn.004068d0
mov eax, dword [eax]
mov esi, dword [esp + 0x1c]
push eax
call fcn.0042f484
push esi
mov dword [esp + 0x24], eax
call fcn.0042f4d9
mov edx, dword [esp + 0xb0]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0xdc]
push eax
call fcn.0042f4d9
lea ecx, [esp + 0x30]
push ecx
mov eax, str.HKCRCLSID_
lea ecx, [esp + 0xc4]
call fcn.00406910
mov eax, dword [eax]
push eax
mov esi, ebx
call fcn.0042f484
push esi
mov dword [esp + 0x54], eax
call fcn.0042f4d9
mov edx, dword [esp + 0xcc]
push edx
call fcn.0042f4d9
mov ecx, dword [0x4746a8]
mov esi, dword [esp + 0x3c]
add esp, 0x28
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
push eax
push 0
push esi
push SysReAllocString
call fcn.00409f10
mov esi, dword [esp + 0x28]
add esp, 0x14
push 0x46043c
test eax, eax
jne 0x412a05
call fcn.0042f484
push esi
mov dword [esp + 0x1c], eax
call fcn.0042f4d9
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0x46043c
push eax
call fcn.00416ab0
mov ecx, dword [esp + 0x3c]
add esp, 0x1c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x412a17
call fcn.0042f484
push esi
mov dword [esp + 0x1c], eax
call fcn.0042f4d9
add esp, 8
mov eax, dword [esp + 0x1c]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412a20
sub eax, edx
jne 0x412a83
lea edx, [esp + 0x18]
push edx
mov eax, str.CLSID_
lea ecx, [esp + 0x9c]
call fcn.00406910
add esp, 4
mov esi, dword [eax]
mov ecx, dword [0x4746a8]
or dword [esp + 0x44], 1
lea eax, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x100], 0x17
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
push eax
push 0
push esi
push SysReAllocString
call fcn.00409f10
add esp, 0x14
test eax, eax
jne 0x412a83
mov bl, 1
jmp 0x412a85
xor bl, bl
test byte [esp + 0x44], 1
mov dword [esp + 0xf8], 0x16
je 0x412aac
mov edx, dword [esp + 0x98]
and dword [esp + 0x44], 0xfffffffe
push edx
call fcn.0042f4d9
add esp, 4
test bl, bl
je 0x412ad6
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0x46043c
push ecx
call fcn.00416ab0
mov edx, dword [esp + 0x34]
add esp, 0x14
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x68]
call fcn.00402320
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x68]
push eax
push ecx
mov byte [esp + 0x100], 0x18
call fcn.00411310
add esp, 8
test al, al
jne 0x412b56
lea ecx, [esp + 0x6c]
call fcn.00402070
mov edx, dword [esp + 0x6c]
push edx
call fcn.0042f2c2
mov eax, dword [esp + 0x6c]
push eax
call fcn.0042f4d9
push edi
call fcn.0042f4d9
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x24]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x30]
push eax
call fcn.0042f4d9
push ebp
call fcn.0042f4d9
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0042f4d9
add esp, 0x20
jmp 0x413324
mov edx, dword [esp + 0x1c]
push edx
mov esi, ebp
call fcn.0042f484
push esi
mov dword [esp + 0x30], eax
call fcn.0042f4d9
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0xbc]
push ecx
call fcn.00406f00
mov eax, dword [eax]
mov esi, dword [esp + 0x24]
push eax
call fcn.0042f484
push esi
mov dword [esp + 0x2c], eax
call fcn.0042f4d9
mov edx, dword [esp + 0xc8]
push edx
call fcn.0042f4d9
push 0
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0xf4]
push ecx
call fcn.0040b350
mov eax, dword [eax]
push eax
call fcn.0042f484
mov esi, eax
push edi
mov dword [esp + 0x5c], esi
call fcn.0042f4d9
mov edx, dword [esp + 0x100]
push edx
call fcn.0042f4d9
mov edx, dword [esp + 0x134]
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x70]
push ecx
push esi
push edx
call fcn.0040b950
add esp, 0x44
lea ecx, [esp + 0x6c]
mov dword [esp + 0x3c], eax
mov byte [esp + 0xf8], 0x16
call fcn.00402070
mov eax, dword [esp + 0x6c]
push eax
call fcn.0042f2c2
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.0042f4d9
mov ebp, dword [esp + 0x30]
jmp 0x412f9f
cmp byte [esp + 0x10c], 0
jne 0x412eab
lea edx, [esp + 0x1c]
push edx
mov eax, str.CLSID_
lea ecx, [esp + 0xe4]
call fcn.00406910
push eax
mov eax, 0x46155c
lea ecx, [esp + 0xc0]
call fcn.004068d0
mov eax, dword [eax]
mov esi, dword [esp + 0x1c]
push eax
call fcn.0042f484
push esi
mov dword [esp + 0x24], eax
call fcn.0042f4d9
mov eax, dword [esp + 0xc8]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0xf4]
push ecx
call fcn.0042f4d9
lea edx, [esp + 0x34]
push edx
mov eax, str.HKCRCLSID_
lea ecx, [esp + 0xdc]
call fcn.00406910
mov eax, dword [eax]
mov esi, dword [esp + 0x4c]
push eax
call fcn.0042f484
push esi
mov dword [esp + 0x54], eax
call fcn.0042f4d9
mov eax, dword [esp + 0xe4]
push eax
call fcn.0042f4d9
mov edx, dword [0x4746a8]
mov esi, dword [esp + 0x3c]
add esp, 0x28
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
push eax
push 0
push esi
push SysReAllocString
call fcn.00409f10
add esp, 0x14
test eax, eax
jne 0x412ea5
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0x46043c
push ecx
call fcn.00416ab0
add esp, 0x14
test eax, eax
jne 0x412e71
lea ecx, [esp + 0x68]
call fcn.00402320
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x68]
push edx
push eax
mov byte [esp + 0x100], 0x19
call fcn.00411310
add esp, 8
lea ecx, [esp + 0x68]
test al, al
je 0x412e38
push 0
push ecx
lea edx, [esp + 0xe0]
push edx
call fcn.0040b350
add esp, 0xc
push eax
lea ecx, [esp + 0x28]
call fcn.00401690
mov eax, dword [esp + 0xd8]
push eax
call fcn.0042f4d9
lea ecx, [esp + 0x1c]
push ecx
mov eax, 0x46169c
lea ecx, [esp + 0xac]
call fcn.004068d0
lea edx, [esp + 0x2c]
push edx
lea esi, [esp + 0xa8]
call fcn.004068a0
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
call fcn.00401690
mov eax, dword [esp + 0x9c]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.0042f4d9
push 0
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0xbc]
push eax
call fcn.0040b350
add esp, 0x14
push eax
lea ecx, [esp + 0x30]
call fcn.00401690
mov ecx, dword [esp + 0xac]
push ecx
call fcn.0042f4d9
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x104]
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x40]
push eax
push esi
push ecx
call fcn.0040b950
add esp, 0x14
lea ecx, [esp + 0x68]
mov dword [esp + 0x3c], eax
mov byte [esp + 0xf8], 0x16
call fcn.00402290
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x412fa2
call fcn.00402290
push edi
call fcn.0042f4d9
mov eax, dword [esp + 0x28]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x28]
push edx
call fcn.0042f4d9
push ebp
call fcn.0042f4d9
mov eax, dword [esp + 0x2c]
push eax
jmp 0x41331c
push edi
call fcn.0042f4d9
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x1c]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x28]
push eax
call fcn.0042f4d9
push ebp
call fcn.0042f4d9
mov ecx, dword [esp + 0x2c]
push ecx
jmp 0x41331c
push edi
jmp 0x4132ee
lea ecx, [esp + 0x68]
call fcn.00402320
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x68]
push eax
push ecx
mov byte [esp + 0x100], 0x1a
call fcn.00411310
add esp, 8
test al, al
je 0x412afd
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x30]
push edx
call fcn.0042f484
push esi
mov dword [esp + 0x38], eax
call fcn.0042f4d9
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0xc0]
push ecx
call fcn.00406f00
mov eax, dword [eax]
mov esi, dword [esp + 0x74]
push eax
call fcn.0042f484
push esi
mov dword [esp + 0x7c], eax
call fcn.0042f4d9
mov edx, dword [esp + 0xcc]
push edx
call fcn.0042f4d9
push 0
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0xe0]
push ecx
call fcn.0040b350
mov eax, dword [eax]
push eax
call fcn.0042f484
mov esi, eax
push edi
mov dword [esp + 0x5c], esi
call fcn.0042f4d9
mov edx, dword [esp + 0xec]
push edx
call fcn.0042f4d9
mov edx, dword [esp + 0x134]
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x70]
push ecx
push esi
push edx
call fcn.0040b950
add esp, 0x44
lea ecx, [esp + 0x6c]
mov dword [esp + 0x3c], eax
mov byte [esp + 0xf8], 0x16
call fcn.00402070
mov eax, dword [esp + 0x6c]
push eax
call fcn.0042f2c2
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.0042f4d9
add esp, 8
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412fa7
sub eax, edx
jne 0x41300a
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412fb7
sub eax, edx
je 0x41300a
push 0x5c
push esi
call fcn.004306d0
add esp, 8
test eax, eax
je 0x412ff1
push 0x5c
push esi
call fcn.004306d0
inc eax
push eax
mov edi, ebp
call fcn.0042f484
push edi
mov dword [esp + 0x38], eax
call fcn.0042f4d9
add esp, 0x10
jmp 0x413006
push esi
mov edi, ebp
call fcn.0042f484
push edi
mov dword [esp + 0x30], eax
call fcn.0042f4d9
add esp, 8
mov ebp, dword [esp + 0x28]
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x108]
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x34]
push edx
push eax
call fcn.0040bd70
add esp, 0x14
test al, al
je 0x4132ed
cmp dword [esp + 0x114], 0xffffffff
jne 0x41323f
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x54], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x60], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x58], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0x94], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0xa4], eax
push 0x46043c
call fcn.0042f484
mov dword [esp + 0xa0], eax
push 0x46043c
call fcn.0042f484
add esp, 0x1c
mov dword [esp + 0x94], eax
mov edi, dword [esp + 0x108]
mov eax, edi
test edi, edi
jne 0x4130c7
mov eax, 0x46043c
push eax
call fcn.0042f484
mov ebx, eax
mov dword [esp + 0xc8], ebx
push 0x46043c
call fcn.0042f484
add esp, 8
mov dword [esp + 0x8c], eax
mov eax, edi
test edi, edi
jne 0x4130f5
mov eax, 0x46043c
push eax
call fcn.0042f484
mov edi, eax
mov dword [esp + 0x38], edi
mov eax, dword [esp + 0x108]
lea ecx, [esp + 0x98]
push ecx
lea edx, [esp + 0xcc]
push edx
push eax
lea ecx, [esp + 0xec]
push ecx
call fcn.00407af0
mov ebp, eax
mov ecx, dword [esp + 0x118]
lea edx, [esp + 0xa0]
push edx
lea eax, [esp + 0x4c]
push eax
push ecx
lea edx, [esp + 0xf4]
push edx
call fcn.00407af0
movzx edx, byte [esp + 0x13c]
push 0xffffffffffffffff
push 0
push 0
lea ecx, [esp + 0x80]
push ecx
push edx
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0x88]
push edx
lea ecx, [esp + 0xc4]
push ecx
lea edx, [esp + 0xd4]
push edx
mov edx, dword [esp + 0x148]
lea ecx, [esp + 0xd0]
push ecx
push ebp
push eax
push 0
push 0xffffffffffffffff
push 0
push edx
mov byte [esp + 0x15c], 0x26
call fcn.0040c0f0
mov dword [esp + 0x178], eax
mov eax, dword [esp + 0x138]
add esp, 0x64
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0xe0]
push ecx
call fcn.0042f4d9
push edi
call fcn.0042f4d9
mov edx, dword [esp + 0x98]
push edx
call fcn.0042f4d9
push ebx
call fcn.0042f4d9
mov eax, dword [esp + 0xa8]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0xac]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0xa4]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x70]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x80]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x7c]
push eax
call fcn.0042f4d9
mov ebp, dword [esp + 0x58]
add esp, 0x30
mov eax, dword [esp + 0x108]
test eax, eax
jne 0x41324f
mov eax, 0x46043c
push eax
call fcn.0042f484
mov edi, eax
mov dword [esp + 0x38], edi
mov eax, dword [esp + 0x108]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x3c]
push edx
push eax
lea ecx, [esp + 0xf4]
push ecx
call fcn.00407af0
movzx ecx, byte [esp + 0x12c]
push 0xffffffffffffffff
push 0
push 0
lea edx, [esp + 0x38]
push edx
push ecx
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x70]
push edx
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x14c]
lea edx, [esp + 0x64]
push edx
mov edx, dword [esp + 0x78]
push eax
lea eax, [esp + 0x68]
push eax
mov eax, dword [esp + 0x144]
push 1
push ecx
push edx
push eax
mov byte [esp + 0x14c], 0x28
call fcn.0040c0f0
mov ecx, dword [esp + 0x138]
add esp, 0x54
push ecx
call fcn.0042f4d9
push edi
call fcn.0042f4d9
add esp, 8
push esi
call fcn.0042f4d9
mov edx, dword [esp + 0x28]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x1c]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0042f4d9
push ebp
call fcn.0042f4d9
mov edx, dword [esp + 0x2c]
push edx
call fcn.0042f4d9
add esp, 0x18
mov ebx, dword [esp + 0x54]
inc ebx
push 1
mov dword [esp + 0x58], ebx
call fcn.0042f396
mov dword [esp + 0x1c], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov esi, eax
mov dword [esp + 0x30], esi
mov byte [esi], 0
push 1
call fcn.0042f396
mov dword [esp + 0x28], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x24], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov dword [esp + 0x38], eax
mov byte [eax], 0
push 1
call fcn.0042f396
mov edi, eax
mov dword [esp + 0x44], edi
mov byte [edi], 0
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x64]
push ecx
push 0
lea edx, [esp + 0x3c]
push edx
push ebx
push eax
mov byte [esp + 0x128], 0x16
call fcn.00416c10
mov ebx, dword [esp + 0x54]
add esp, 0x30
test eax, eax
je 0x412763
push edi
call fcn.0042f4d9
push ebx
call fcn.0042f4d9
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x28]
push edx
call fcn.0042f4d9
push esi
call fcn.0042f4d9
mov eax, dword [esp + 0x2c]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x74]
add esp, 0x18
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x30]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x64]
push eax
call fcn.0042f4d9
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0042f4d9
mov edx, dword [esp + 0x44]
push edx
call fcn.0042f4d9
mov eax, dword [esp + 0x74]
push eax
call fcn.0042f4d9
mov eax, dword [esp + 0x128]
add esp, 0x14
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe8
ret