Function at 0x4187c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f1e9e
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x53ba20]
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.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x238], eax
mov word [eax], cx
push 2
mov dword [ebp - 4], ecx
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x25c], eax
mov word [eax], cx
push 2
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x280], eax
mov word [eax], cx
push 2
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x27c], eax
mov word [eax], cx
push 2
call fcn.004c8c9a
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 0x4fbd20
mov dword [ebp - 0x244], ecx
call fcn.004c8c20
push 0
mov dword [ebp - 0x244], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x240], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x240], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x220], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x220], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x23c], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x23c], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x21c], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x21c], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x224], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x224], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x228], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x228], eax
call fcn.004c8c7f
test edi, edi
mov dword [ebp - 0x22c], 0
mov esi, 0x4fbd20
cmovne esi, edi
push esi
call fcn.004c8c20
push 0
mov dword [ebp - 0x22c], eax
call fcn.004c8c7f
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.00409d10
mov edi, eax
push 0x4fbd20
mov dword [ebp - 0x230], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x230], eax
call fcn.004c8c7f
push esi
mov dword [ebp - 0x234], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x234], eax
call fcn.004c8c7f
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.00409d10
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.00405510
add esp, 0x74
mov dword [ebp + 0x14], eax
push dword [ebp - 0x250]
call fcn.004c8c7f
push dword [ebp - 0x234]
call fcn.004c8c7f
push dword [ebp - 0x230]
call fcn.004c8c7f
push dword [ebp - 0x24c]
call fcn.004c8c7f
push dword [ebp - 0x22c]
call fcn.004c8c7f
push dword [ebp - 0x228]
call fcn.004c8c7f
push dword [ebp - 0x224]
call fcn.004c8c7f
push dword [ebp - 0x21c]
call fcn.004c8c7f
push dword [ebp - 0x23c]
call fcn.004c8c7f
push dword [ebp - 0x220]
call fcn.004c8c7f
push dword [ebp - 0x240]
call fcn.004c8c7f
push dword [ebp - 0x244]
mov byte [ebp - 4], 4
call fcn.004c8c7f
mov edi, dword [ebp - 0x29c]
add esp, 0x30
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea eax, [ebp - 0x254]
push eax
push dword [0x540000]
call esi
or eax, 0x20019
push eax
push 0
push edi
push ebx
call fcn.00408690
add esp, 0x14
test eax, eax
jne 0x418cea
xor edi, edi
push 2
mov dword [ebp - 0x234], edi
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x228], eax
mov word [eax], cx
push 2
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x230], eax
mov word [eax], cx
push 2
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x21c], eax
mov word [eax], cx
push 2
call fcn.004c8c9a
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 [0x540000]
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.00408690
add esp, 0x14
test eax, eax
jne 0x418c13
lea eax, [ebp - 0x238]
push eax
push 0
push 0
push 0x50191c
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 0x501930
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.004c8c7f
push dword [ebp - 0x21c]
call fcn.004c8c7f
push dword [ebp - 0x230]
call fcn.004c8c7f
push dword [ebp - 0x228]
call fcn.004c8c7f
add esp, 0x10
inc edi
push 2
mov dword [ebp - 0x234], edi
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x228], eax
mov word [eax], cx
push 2
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x230], eax
mov word [eax], cx
push 2
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x21c], eax
mov word [eax], cx
push 2
call fcn.004c8c9a
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.004c8c7f
push dword [ebp - 0x21c]
call fcn.004c8c7f
push dword [ebp - 0x230]
call fcn.004c8c7f
push dword [ebp - 0x228]
call fcn.004c8c7f
add esp, 0x10
push dword [ebp - 0x254]
call ebx
push dword [ebp - 0x258]
call fcn.004c8c7f
push dword [ebp - 0x27c]
call fcn.004c8c7f
push dword [ebp - 0x280]
call fcn.004c8c7f
push dword [ebp - 0x25c]
call fcn.004c8c7f
push dword [ebp - 0x238]
call fcn.004c8c7f
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.004c3287
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x238]
cmp word [eax], 0x40
jne 0x418e45
push eax
call fcn.004c8c20
mov ebx, eax
push 0
mov dword [ebp - 0x298], ebx
call fcn.004c8c7f
push 0x2c
push ebx
mov byte [ebp - 4], 0x15
xor edi, edi
call fcn.004c55d8
add esp, 0x10
test eax, eax
je 0x418d9d
push 0x2c
push ebx
call fcn.004c55d8
xor ecx, ecx
mov word [eax], cx
add eax, 2
push eax
call fcn.004d5d1b
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.00414b30
mov ecx, 0x4fbd20
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8c20
push ebx
mov esi, eax
call fcn.004c8c7f
push dword [ebp - 0x2a0]
call fcn.004c8c7f
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.004c8c20
push edi
mov dword [ebp - 0x238], eax
call fcn.004c8c7f
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
mov byte [ebp - 4], 0x14
call fcn.004c8c7f
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 0x501948
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 0x5018f0
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 0x501954
push dword [ebp - 0x22c]
call fcn.004151a0
add esp, 0x14
push dword [ebp - 0x22c]
test eax, eax
jne 0x418c11
call ebx
push dword [0x540000]
call esi
mov esi, dword [ebp - 0x21c]
cmp eax, 0x200
jne 0x418edb
push 0x4fca20
jmp 0x418ee0
push 0x4fbd20
call fcn.004c8c20
add esp, 4
mov dword [ebp - 0x21c], eax
push esi
call fcn.004c8c7f
push 0x4fbe8c
call fcn.004c8c20
push 0
mov esi, eax
call fcn.004c8c7f
test esi, esi
mov ecx, 0x4fbd20
cmovne ecx, esi
push ecx
call fcn.004c8c20
push 0
mov dword [ebp - 0x220], eax
call fcn.004c8c7f
add esp, 0x14
lea ecx, [ebp - 0x220]
push dword [ebp - 0x230]
call fcn.00405090
push esi
call fcn.004c8c7f
push 0x4fca3c
call fcn.004c8c20
push 0
mov esi, eax
call fcn.004c8c7f
mov edi, dword [ebp - 0x220]
mov eax, 0x4fbd20
test edi, edi
cmovne eax, edi
push eax
call fcn.004c8c20
push 0
mov dword [ebp - 0x220], eax
call fcn.004c8c7f
add esp, 0x14
lea ecx, [ebp - 0x220]
push esi
call fcn.00405090
push esi
call fcn.004c8c7f
mov esi, dword [ebp - 0x220]
lea ecx, [ebp - 0x21c]
add esp, 4
push esi
call fcn.00405090
push esi
call fcn.004c8c7f
push edi
call fcn.004c8c7f
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
add esp, 8
push dword [0x540000]
call esi
lea ecx, [ebp - 0x22c]
or eax, 0x20019
push ecx
push eax
push 0
push dword [ebp - 0x21c]
push SysReAllocStringLen
call fcn.00408690
add esp, 0x14
test eax, eax
jne 0x41900f
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x4fbd20
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.004c8c7f
push dword [ebp - 0x21c]
call fcn.004c8c7f
push dword [ebp - 0x230]
call fcn.004c8c7f
push dword [ebp - 0x228]
call fcn.004c8c7f
mov edi, dword [ebp - 0x234]
jmp 0x418c3f
push 6
push 0x501974
push dword [ebp - 0x21c]
call fcn.004c94d0
add esp, 0xc
test eax, eax
jne 0x41906a
mov esi, dword [ebp - 0x21c]
lea ecx, [esi + 0xc]
jmp 0x41908c
push 7
push 0x501984
push dword [ebp - 0x21c]
call fcn.004c94d0
add esp, 0xc
test eax, eax
jne 0x4190ab
mov esi, dword [ebp - 0x21c]
lea ecx, [esi + 0xe]
test ecx, ecx
mov eax, 0x4fbd20
cmovne eax, ecx
push eax
call fcn.004c8c20
push esi
mov dword [ebp - 0x21c], eax
call fcn.004c8c7f
add esp, 8
push dword [ebp - 0x22c]
call ebx
push 2
call fcn.004c8c9a
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.00408e00
mov eax, dword [ebp - 0x21c]
mov ecx, 0x4fbd20
mov esi, dword [ebp - 0x258]
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8c20
push esi
mov dword [ebp - 0x258], eax
call fcn.004c8c7f
mov ebx, dword [ebp - 0x248]
lea eax, [ebp - 0x294]
push 0
push eax
lea eax, [ebp - 0x2a4]
push ebx
push eax
call fcn.004069a0
mov esi, dword [ebp - 0x224]
mov ecx, 0x4fbd20
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8c20
push esi
mov dword [ebp - 0x224], eax
call fcn.004c8c7f
push dword [ebp - 0x2a4]
call fcn.004c8c7f
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0x224]
push ebx
call fcn.00406990
mov dword [ebp - 0x298], eax
add esp, 0x40
mov eax, dword [ebp - 0x29c]
mov edi, 0x4fbd20
test eax, eax
mov dword [ebp - 0x220], 0
cmovne edi, eax
push edi
mov dword [ebp - 0x2bc], edi
call fcn.004c8c20
push 0
mov dword [ebp - 0x220], eax
call fcn.004c8c7f
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.00409d10
mov esi, eax
mov dword [ebp - 0x240], 0
push 0x4fbd20
call fcn.004c8c20
push 0
mov dword [ebp - 0x240], eax
call fcn.004c8c7f
push edi
mov dword [ebp - 0x244], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x244], eax
call fcn.004c8c7f
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.00409d10
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.00405200
add esp, 0x58
mov bl, al
push dword [ebp - 0x2a8]
call fcn.004c8c7f
push dword [ebp - 0x244]
call fcn.004c8c7f
push dword [ebp - 0x240]
call fcn.004c8c7f
push dword [ebp - 0x2ac]
call fcn.004c8c7f
push dword [ebp - 0x220]
call fcn.004c8c7f
add esp, 0x14
test bl, bl
je 0x419614
cmp dword [ebp + 0x14], 0xffffffff
jne 0x419527
push 0x4fbd20
mov dword [ebp - 0x220], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x220], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x24c], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x24c], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x26c], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x26c], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x284], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x284], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x268], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x268], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x264], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x264], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x260], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x260], eax
call fcn.004c8c7f
push edi
mov dword [ebp - 0x278], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x278], eax
call fcn.004c8c7f
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.00409d10
mov esi, eax
push 0x4fbd20
mov dword [ebp - 0x270], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x270], eax
call fcn.004c8c7f
push edi
mov dword [ebp - 0x23c], 0
call fcn.004c8c20
mov dword [ebp - 0x23c], eax
push 0
call fcn.004c8c7f
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.00409d10
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.00405510
add esp, 0x74
mov dword [ebp + 0x14], eax
push dword [ebp - 0x2b0]
call fcn.004c8c7f
push dword [ebp - 0x23c]
call fcn.004c8c7f
push dword [ebp - 0x270]
call fcn.004c8c7f
push dword [ebp - 0x2b4]
call fcn.004c8c7f
push dword [ebp - 0x278]
call fcn.004c8c7f
push dword [ebp - 0x260]
call fcn.004c8c7f
push dword [ebp - 0x264]
call fcn.004c8c7f
push dword [ebp - 0x268]
call fcn.004c8c7f
push dword [ebp - 0x284]
call fcn.004c8c7f
push dword [ebp - 0x26c]
call fcn.004c8c7f
push dword [ebp - 0x24c]
call fcn.004c8c7f
push dword [ebp - 0x220]
call fcn.004c8c7f
add esp, 0x30
jmp 0x419531
movzx edi, byte [ebp + 0x18]
mov ebx, dword [ebp - 0x274]
push 0x4fbd20
mov dword [ebp - 0x220], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x220], eax
call fcn.004c8c7f
push dword [ebp - 0x2bc]
mov esi, dword [ebp - 0x2b8]
mov dword [ebp - 0x250], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x250], eax
call fcn.004c8c7f
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.00409d10
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.00405510
add esp, 0x64
push dword [ebp - 0x2c0]
call fcn.004c8c7f
push dword [ebp - 0x250]
call fcn.004c8c7f
push dword [ebp - 0x220]
call fcn.004c8c7f
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.004c8c7f
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.004c3279
add esp, 8
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x288], 0
push dword [ebp - 0x294]
call fcn.004c8c7f
push dword [ebp - 0x224]
call fcn.004c8c7f
push dword [ebp - 0x21c]
call fcn.004c8c7f
push dword [ebp - 0x230]
call fcn.004c8c7f
push dword [ebp - 0x228]
call fcn.004c8c7f
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.004c8bcf
int3