Function at 0x4187c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f043e
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x535a40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
push 2
mov dword [ebp - 0x29c], edi
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x274], ebx
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x238], eax
mov word [eax], cx
push 2
mov dword [ebp - 4], ecx
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x25c], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x280], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x27c], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x258], eax
add esp, 0x14
mov word [eax], cx
cmp dword [ebp + 0x14], 0xffffffff
mov byte [ebp - 4], 4
jne 0x418ae7
push 0x4f9d20
mov dword [ebp - 0x244], ecx
call fcn.004c8d00
push 0
mov dword [ebp - 0x244], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x240], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x240], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x220], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x220], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x23c], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x23c], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x21c], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x21c], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x224], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x224], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x228], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x228], eax
call fcn.004c8d5f
test edi, edi
mov dword [ebp - 0x22c], 0
mov esi, 0x4f9d20
cmovne esi, edi
push esi
call fcn.004c8d00
push 0
mov dword [ebp - 0x22c], eax
call fcn.004c8d5f
add esp, 0x40
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x24c]
push ebx
push eax
call fcn.00409cf0
mov edi, eax
push 0x4f9d20
mov dword [ebp - 0x230], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x230], eax
call fcn.004c8d5f
push esi
mov dword [ebp - 0x234], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x234], eax
call fcn.004c8d5f
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x250]
push ebx
push eax
call fcn.00409cf0
movzx ecx, byte [ebp + 0x18]
lea edx, [ebp - 0x244]
push 0xffffffffffffffff
push 0
push 0
push edx
push ecx
push 0
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0x10
push ecx
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x23c]
push ecx
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x224]
push ecx
push edi
push eax
push 0
push 0xffffffffffffffff
push 0
push dword [ebp - 0x248]
call fcn.00405550
add esp, 0x74
mov dword [ebp + 0x14], eax
push dword [ebp - 0x250]
call fcn.004c8d5f
push dword [ebp - 0x234]
call fcn.004c8d5f
push dword [ebp - 0x230]
call fcn.004c8d5f
push dword [ebp - 0x24c]
call fcn.004c8d5f
push dword [ebp - 0x22c]
call fcn.004c8d5f
push dword [ebp - 0x228]
call fcn.004c8d5f
push dword [ebp - 0x224]
call fcn.004c8d5f
push dword [ebp - 0x21c]
call fcn.004c8d5f
push dword [ebp - 0x23c]
call fcn.004c8d5f
push dword [ebp - 0x220]
call fcn.004c8d5f
push dword [ebp - 0x240]
call fcn.004c8d5f
push dword [ebp - 0x244]
mov byte [ebp - 4], 4
call fcn.004c8d5f
mov edi, dword [ebp - 0x29c]
add esp, 0x30
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea eax, [ebp - 0x254]
push eax
push dword [0x539fd0]
call esi
or eax, 0x20019
push eax
push 0
push edi
push ebx
call fcn.004086c0
add esp, 0x14
test eax, eax
jne 0x418cea
xor edi, edi
push 2
mov dword [ebp - 0x234], edi
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x228], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x230], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x21c], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x224], eax
mov word [eax], cx
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 0x14
push eax
push ecx
push dword [ebp - 0x254]
call fcn.00415050
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x1c
test eax, eax
jne 0x418cb3
nop
push dword [0x539fd0]
call esi
lea ecx, [ebp - 0x22c]
or eax, 0x20019
push ecx
push eax
push 0
push dword [ebp - 0x228]
push dword [ebp - 0x254]
call fcn.004086c0
add esp, 0x14
test eax, eax
jne 0x418c13
lea eax, [ebp - 0x238]
push eax
push 0
push 0
push str.MenuText
push dword [ebp - 0x22c]
call fcn.004151a0
add esp, 0x14
test eax, eax
je 0x418d43
lea eax, [ebp - 0x238]
push eax
push 0
push 0
push str.ButtonText
push dword [ebp - 0x22c]
call fcn.004151a0
add esp, 0x14
test eax, eax
je 0x418d43
push dword [ebp - 0x22c]
call ebx
push dword [ebp - 0x224]
call fcn.004c8d5f
push dword [ebp - 0x21c]
call fcn.004c8d5f
push dword [ebp - 0x230]
call fcn.004c8d5f
push dword [ebp - 0x228]
call fcn.004c8d5f
add esp, 0x10
inc edi
push 2
mov dword [ebp - 0x234], edi
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x228], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x230], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x21c], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x224], eax
mov word [eax], cx
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 0x14
push eax
push edi
push dword [ebp - 0x254]
call fcn.00415050
add esp, 0x1c
test eax, eax
je 0x418b90
push dword [ebp - 0x224]
call fcn.004c8d5f
push dword [ebp - 0x21c]
call fcn.004c8d5f
push dword [ebp - 0x230]
call fcn.004c8d5f
push dword [ebp - 0x228]
call fcn.004c8d5f
add esp, 0x10
push dword [ebp - 0x254]
call ebx
push dword [ebp - 0x258]
call fcn.004c8d5f
push dword [ebp - 0x27c]
call fcn.004c8d5f
push dword [ebp - 0x280]
call fcn.004c8d5f
push dword [ebp - 0x25c]
call fcn.004c8d5f
push dword [ebp - 0x238]
call fcn.004c8d5f
mov eax, dword [ebp + 0x14]
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x238]
cmp word [eax], 0x40
jne 0x418e45
push eax
call fcn.004c8d00
mov ebx, eax
push 0
mov dword [ebp - 0x298], ebx
call fcn.004c8d5f
push 0x2c
push ebx
mov byte [ebp - 4], 0x15
xor edi, edi
call fcn.004c56b8
add esp, 0x10
test eax, eax
je 0x418d9d
push 0x2c
push ebx
call fcn.004c56b8
xor ecx, ecx
mov word [eax], cx
add eax, 2
push eax
call fcn.004d5dfb
cdq
add esp, 0xc
mov edi, eax
xor edi, edx
sub edi, edx
lea ecx, [ebx + 2]
push ecx
lea eax, [ebp - 0x2a0]
push eax
call fcn.00414b20
mov ecx, 0x4f9d20
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8d00
push ebx
mov esi, eax
call fcn.004c8d5f
push dword [ebp - 0x2a0]
call fcn.004c8d5f
add esp, 0x14
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
test ebx, ebx
je 0x418e26
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
push ebx
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x418e1f
mov edi, dword [ebp - 0x238]
lea eax, [ebp - 0x218]
push eax
call fcn.004c8d00
push edi
mov dword [ebp - 0x238], eax
call fcn.004c8d5f
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
mov byte [ebp - 4], 0x14
call fcn.004c8d5f
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [ebp - 0x234]
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push str.Exec
push dword [ebp - 0x22c]
call fcn.004151a0
add esp, 0x14
test eax, eax
je 0x4190ab
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push str.Script
push dword [ebp - 0x22c]
call fcn.004151a0
add esp, 0x14
test eax, eax
je 0x419046
lea eax, [ebp - 0x230]
push eax
push 0
push 0
push str.ClsidExtension
push dword [ebp - 0x22c]
call fcn.004151a0
add esp, 0x14
push dword [ebp - 0x22c]
test eax, eax
jne 0x418c11
call ebx
push dword [0x539fd0]
call esi
mov esi, dword [ebp - 0x21c]
cmp eax, 0x200
jne 0x418edb
push str.Wow6432Node_
jmp 0x418ee0
push 0x4f9d20
call fcn.004c8d00
add esp, 4
mov dword [ebp - 0x21c], eax
push esi
call fcn.004c8d5f
push str.CLSID_
call fcn.004c8d00
push 0
mov esi, eax
call fcn.004c8d5f
test esi, esi
mov ecx, 0x4f9d20
cmovne ecx, esi
push ecx
call fcn.004c8d00
push 0
mov dword [ebp - 0x220], eax
call fcn.004c8d5f
add esp, 0x14
lea ecx, [ebp - 0x220]
push dword [ebp - 0x230]
call fcn.004050e0
push esi
call fcn.004c8d5f
push 0x4faa3c
call fcn.004c8d00
push 0
mov esi, eax
call fcn.004c8d5f
mov edi, dword [ebp - 0x220]
mov eax, 0x4f9d20
test edi, edi
cmovne eax, edi
push eax
call fcn.004c8d00
push 0
mov dword [ebp - 0x220], eax
call fcn.004c8d5f
add esp, 0x14
lea ecx, [ebp - 0x220]
push esi
call fcn.004050e0
push esi
call fcn.004c8d5f
mov esi, dword [ebp - 0x220]
lea ecx, [ebp - 0x21c]
add esp, 4
push esi
call fcn.004050e0
push esi
call fcn.004c8d5f
push edi
call fcn.004c8d5f
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
add esp, 8
push dword [0x539fd0]
call esi
lea ecx, [ebp - 0x22c]
or eax, 0x20019
push ecx
push eax
push 0
push dword [ebp - 0x21c]
push SysReAllocStringLen
call fcn.004086c0
add esp, 0x14
test eax, eax
jne 0x41900f
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x4f9d20
push dword [ebp - 0x22c]
call fcn.004151a0
add esp, 0x14
test eax, eax
je 0x4190ab
push dword [ebp - 0x22c]
call ebx
push dword [ebp - 0x224]
call fcn.004c8d5f
push dword [ebp - 0x21c]
call fcn.004c8d5f
push dword [ebp - 0x230]
call fcn.004c8d5f
push dword [ebp - 0x228]
call fcn.004c8d5f
mov edi, dword [ebp - 0x234]
jmp 0x418c3f
push 6
push str.res:__
push dword [ebp - 0x21c]
call fcn.004c95b0
add esp, 0xc
test eax, eax
jne 0x41906a
mov esi, dword [ebp - 0x21c]
lea ecx, [esi + 0xc]
jmp 0x41908c
push 7
push str.file:__
push dword [ebp - 0x21c]
call fcn.004c95b0
add esp, 0xc
test eax, eax
jne 0x4190ab
mov esi, dword [ebp - 0x21c]
lea ecx, [esi + 0xe]
test ecx, ecx
mov eax, 0x4f9d20
cmovne eax, ecx
push eax
call fcn.004c8d00
push esi
mov dword [ebp - 0x21c], eax
call fcn.004c8d5f
add esp, 8
push dword [ebp - 0x22c]
call ebx
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x294], eax
mov word [eax], cx
mov dword [ebp - 0x290], ecx
mov dword [ebp - 0x28c], ecx
mov dword [ebp - 0x288], ecx
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 0x16
push eax
push dword [ebp - 0x21c]
call fcn.00408e30
mov eax, dword [ebp - 0x21c]
mov ecx, 0x4f9d20
mov esi, dword [ebp - 0x258]
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8d00
push esi
mov dword [ebp - 0x258], eax
call fcn.004c8d5f
mov ebx, dword [ebp - 0x248]
lea eax, [ebp - 0x294]
push 0
push eax
lea eax, [ebp - 0x2a4]
push ebx
push eax
call fcn.004069d0
mov esi, dword [ebp - 0x224]
mov ecx, 0x4f9d20
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8d00
push esi
mov dword [ebp - 0x224], eax
call fcn.004c8d5f
push dword [ebp - 0x2a4]
call fcn.004c8d5f
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0x224]
push ebx
call fcn.004069c0
mov dword [ebp - 0x298], eax
add esp, 0x40
mov eax, dword [ebp - 0x29c]
mov edi, 0x4f9d20
test eax, eax
mov dword [ebp - 0x220], 0
cmovne edi, eax
push edi
mov dword [ebp - 0x2bc], edi
call fcn.004c8d00
push 0
mov dword [ebp - 0x220], eax
call fcn.004c8d5f
mov ebx, dword [ebp - 0x274]
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x2ac]
push ebx
push eax
call fcn.00409cf0
mov esi, eax
mov dword [ebp - 0x240], 0
push 0x4f9d20
call fcn.004c8d00
push 0
mov dword [ebp - 0x240], eax
call fcn.004c8d5f
push edi
mov dword [ebp - 0x244], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x244], eax
call fcn.004c8d5f
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x2a8]
push ebx
push eax
call fcn.00409cf0
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x1b
push ecx
lea ecx, [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x25c]
push ecx
lea ecx, [ebp - 0x224]
push ecx
push esi
push eax
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0x248]
call fcn.00405240
add esp, 0x58
mov bl, al
push dword [ebp - 0x2a8]
call fcn.004c8d5f
push dword [ebp - 0x244]
call fcn.004c8d5f
push dword [ebp - 0x240]
call fcn.004c8d5f
push dword [ebp - 0x2ac]
call fcn.004c8d5f
push dword [ebp - 0x220]
call fcn.004c8d5f
add esp, 0x14
test bl, bl
je 0x419614
cmp dword [ebp + 0x14], 0xffffffff
jne 0x419527
push 0x4f9d20
mov dword [ebp - 0x220], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x220], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x24c], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x24c], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x26c], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x26c], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x284], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x284], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x268], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x268], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x264], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x264], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x260], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x260], eax
call fcn.004c8d5f
push edi
mov dword [ebp - 0x278], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x278], eax
call fcn.004c8d5f
add esp, 0x40
mov ebx, dword [ebp - 0x274]
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 0x23
push eax
lea eax, [ebp - 0x2b4]
push ebx
push eax
call fcn.00409cf0
mov esi, eax
push 0x4f9d20
mov dword [ebp - 0x270], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x270], eax
call fcn.004c8d5f
push edi
mov dword [ebp - 0x23c], 0
call fcn.004c8d00
mov dword [ebp - 0x23c], eax
push 0
call fcn.004c8d5f
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 0x26
push eax
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x2b0]
push ebx
push eax
call fcn.00409cf0
movzx edi, byte [ebp + 0x18]
lea ecx, [ebp - 0x220]
push 0xffffffffffffffff
push 0
push 0
push ecx
push edi
push 0
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0x27
push ecx
lea ecx, [ebp - 0x26c]
push ecx
lea ecx, [ebp - 0x284]
push ecx
lea ecx, [ebp - 0x268]
push ecx
lea ecx, [ebp - 0x264]
push ecx
push esi
push eax
push 0
push 0xffffffffffffffff
push 0
push dword [ebp - 0x248]
call fcn.00405550
add esp, 0x74
mov dword [ebp + 0x14], eax
push dword [ebp - 0x2b0]
call fcn.004c8d5f
push dword [ebp - 0x23c]
call fcn.004c8d5f
push dword [ebp - 0x270]
call fcn.004c8d5f
push dword [ebp - 0x2b4]
call fcn.004c8d5f
push dword [ebp - 0x278]
call fcn.004c8d5f
push dword [ebp - 0x260]
call fcn.004c8d5f
push dword [ebp - 0x264]
call fcn.004c8d5f
push dword [ebp - 0x268]
call fcn.004c8d5f
push dword [ebp - 0x284]
call fcn.004c8d5f
push dword [ebp - 0x26c]
call fcn.004c8d5f
push dword [ebp - 0x24c]
call fcn.004c8d5f
push dword [ebp - 0x220]
call fcn.004c8d5f
add esp, 0x30
jmp 0x419531
movzx edi, byte [ebp + 0x18]
mov ebx, dword [ebp - 0x274]
push 0x4f9d20
mov dword [ebp - 0x220], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x220], eax
call fcn.004c8d5f
push dword [ebp - 0x2bc]
mov esi, dword [ebp - 0x2b8]
mov dword [ebp - 0x250], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x250], eax
call fcn.004c8d5f
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 0x29
push eax
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x2c0]
push ebx
push eax
call fcn.00409cf0
push 0xffffffffffffffff
push 0
push 0
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 0x2a
push ecx
push edi
push esi
lea ecx, [ebp - 0x258]
push ecx
lea ecx, [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x280]
push ecx
lea ecx, [ebp - 0x25c]
push ecx
lea ecx, [ebp - 0x224]
push ecx
push eax
lea eax, [ebp - 0x238]
push eax
push 3
push dword [ebp + 0x14]
push dword [ebp - 0x298]
push dword [ebp - 0x248]
call fcn.00405550
add esp, 0x64
push dword [ebp - 0x2c0]
call fcn.004c8d5f
push dword [ebp - 0x250]
call fcn.004c8d5f
push dword [ebp - 0x220]
call fcn.004c8d5f
add esp, 0xc
mov esi, dword [ebp - 0x290]
mov byte [ebp - 4], 0x14
test esi, esi
je 0x41969b
mov edi, dword [ebp - 0x28c]
cmp esi, edi
je 0x419647
nop dword [eax]
push dword [esi]
call fcn.004c8d5f
add esi, 4
add esp, 4
cmp esi, edi
jne 0x419630
mov esi, dword [ebp - 0x290]
mov eax, dword [ebp - 0x288]
sub eax, esi
sar eax, 2
lea ecx, [eax*4]
mov eax, esi
cmp ecx, 0x1000
jb 0x419673
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4196ec
push ecx
push esi
call fcn.004c34a9
add esp, 8
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x288], 0
push dword [ebp - 0x294]
call fcn.004c8d5f
push dword [ebp - 0x224]
call fcn.004c8d5f
push dword [ebp - 0x21c]
call fcn.004c8d5f
push dword [ebp - 0x230]
call fcn.004c8d5f
push dword [ebp - 0x228]
call fcn.004c8d5f
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x14
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [ebp - 0x234]
jmp 0x418c42
call fcn.004c8caf
int3