Function at 0x40c390
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ef13e
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
push ebx
push esi
push edi
mov eax, dword [0x535a40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x10]
xor eax, eax
push 2
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x38], eax
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0xf8], eax
mov word [eax], cx
push 2
mov dword [ebp - 4], ecx
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0xa8], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0xc0], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0xa4], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
mov esi, eax
add esp, 0x14
xor eax, eax
mov dword [ebp - 0x34], esi
mov word [esi], ax
cmp dword [ebp + 0x1c], 0xffffffff
mov ebx, dword [ebp + 0xc]
mov byte [ebp - 4], 4
jne 0x40c5e1
push 0x4f9d20
call fcn.004c8d00
push 0
mov dword [ebp - 0x24], eax
call fcn.004c8d5f
push 0x4f9d20
call fcn.004c8d00
push 0
mov dword [ebp - 0x28], eax
call fcn.004c8d5f
push 0x4f9d20
call fcn.004c8d00
push 0
mov dword [ebp - 0x3c], eax
call fcn.004c8d5f
push 0x4f9d20
call fcn.004c8d00
push 0
mov dword [ebp - 0x44], eax
call fcn.004c8d5f
push 0x4f9d20
call fcn.004c8d00
push 0
mov dword [ebp - 0x50], eax
call fcn.004c8d5f
push 0x4f9d20
call fcn.004c8d00
push 0
mov dword [ebp - 0x14], eax
call fcn.004c8d5f
push 0x4f9d20
call fcn.004c8d00
push 0
mov dword [ebp - 0x54], eax
call fcn.004c8d5f
test edi, edi
mov esi, 0x4f9d20
cmovne esi, edi
push esi
call fcn.004c8d00
push 0
mov dword [ebp - 0x58], eax
call fcn.004c8d5f
add esp, 0x40
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x4c]
push ebx
push eax
call fcn.00409cf0
mov ebx, eax
push 0x4f9d20
call fcn.004c8d00
mov edi, eax
push 0
mov dword [ebp + 0x1c], edi
call fcn.004c8d5f
push esi
call fcn.004c8d00
mov esi, eax
push 0
mov dword [ebp - 0x38], esi
call fcn.004c8d5f
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.00409cf0
push 0xffffffffffffffff
push 0
push 0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x10
push ecx
movzx ecx, byte [ebp + 0x20]
push ecx
push 0
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push ebx
push eax
push 0
push 0xffffffffffffffff
push 0
push dword [ebp + 8]
call fcn.00405550
add esp, 0x74
mov dword [ebp + 0x1c], eax
push dword [ebp - 0xac]
call fcn.004c8d5f
push esi
call fcn.004c8d5f
push edi
call fcn.004c8d5f
push dword [ebp - 0x4c]
call fcn.004c8d5f
push dword [ebp - 0x58]
call fcn.004c8d5f
push dword [ebp - 0x54]
call fcn.004c8d5f
push dword [ebp - 0x14]
call fcn.004c8d5f
push dword [ebp - 0x50]
call fcn.004c8d5f
push dword [ebp - 0x44]
call fcn.004c8d5f
push dword [ebp - 0x3c]
call fcn.004c8d5f
push dword [ebp - 0x28]
call fcn.004c8d5f
push dword [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.004c8d5f
mov esi, dword [ebp - 0x34]
add esp, 0x30
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0xa0]
push eax
push 0x20119
push 0
push edi
push ebx
call fcn.004086c0
add esp, 0x14
test eax, eax
jne 0x40ddc4
push 2
mov dword [ebp - 0x44], eax
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x3c], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x20], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x10], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
mov edi, eax
xor eax, eax
mov dword [ebp - 0x58], edi
mov word [edi], ax
push 2
call fcn.004c8d7a
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x40], ebx
mov word [ebx], ax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0x50]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push dword [ebp - 0xa0]
call fcn.004150d0
add esp, 0x30
test eax, eax
jne 0x40dd89
mov eax, dword [ebp - 0x50]
cmp eax, 1
je 0x40c6da
cmp eax, 2
je 0x40c6da
cmp eax, 7
je 0x40c6da
cmp eax, 3
je 0x40c6da
push ebx
call fcn.004c8d5f
push edi
call fcn.004c8d5f
push dword [ebp - 0x10]
call fcn.004c8d5f
push dword [ebp - 0x20]
call fcn.004c8d5f
push dword [ebp - 0x14]
call fcn.004c8d5f
push dword [ebp - 0x18]
call fcn.004c8d5f
jmp 0x40dcf3
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c6e2
sub ecx, edx
sar ecx, 1
jne 0x40c711
cmp byte [ebp + 0x24], al
je 0x40c75a
push 0x4faa0c
call fcn.004c8d00
push ebx
mov dword [ebp - 0x18], eax
call fcn.004c8d5f
mov ebx, dword [ebp - 0x18]
add esp, 8
test ebx, ebx
mov eax, 0x4f9d20
cmovne eax, ebx
push eax
call fcn.004c8d00
push dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x3c], eax
call fcn.004c8d5f
add esp, 8
cmp byte [ebp + 0x18], 0
je 0x40cd9e
push dword [0x539fd0]
mov eax, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call eax
mov esi, dword [ebp - 0x10]
cmp eax, 0x200
jne 0x40c762
push str.Wow6432Node_
jmp 0x40c767
push dword [ebp - 0x24]
jmp 0x40c6aa
push 0x4f9d20
call fcn.004c8d00
add esp, 4
mov dword [ebp - 0x10], 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 - 0x14], eax
call fcn.004c8d5f
add esp, 0x14
lea ecx, [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.004050e0
push esi
call fcn.004c8d5f
push 0x4faa3c
call fcn.004c8d00
push 0
mov esi, eax
call fcn.004c8d5f
mov ebx, dword [ebp - 0x14]
mov eax, 0x4f9d20
test ebx, ebx
cmovne eax, ebx
push eax
call fcn.004c8d00
push 0
mov dword [ebp - 0x14], eax
call fcn.004c8d5f
add esp, 0x14
lea ecx, [ebp - 0x14]
push esi
call fcn.004050e0
push esi
call fcn.004c8d5f
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
add esp, 4
push esi
call fcn.004050e0
push esi
call fcn.004c8d5f
push ebx
call fcn.004c8d5f
push str.HKCRCLSID_
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 - 0x14], eax
call fcn.004c8d5f
add esp, 0x18
lea ecx, [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.004050e0
push esi
call fcn.004c8d5f
mov ebx, dword [ebp - 0x14]
mov eax, 0x4f9d20
mov esi, dword [ebp - 0x34]
test ebx, ebx
cmovne eax, ebx
push eax
call fcn.004c8d00
mov dword [ebp - 0x34], eax
push esi
call fcn.004c8d5f
push ebx
call fcn.004c8d5f
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
add esp, 0x10
push dword [0x539fd0]
call ebx
lea ecx, [ebp - 0x30]
or eax, 0x20019
push ecx
push eax
push 0
push dword [ebp - 0x10]
push SysReAllocStringLen
call fcn.004086c0
add esp, 0x14
test eax, eax
jne 0x40c8e9
mov esi, dword [ebp - 0x10]
push 0x4f9d20
call fcn.004c8d00
push esi
mov dword [ebp - 0x10], eax
call fcn.004c8d5f
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x4f9d20
push dword [ebp - 0x30]
call fcn.004151a0
add esp, 0x1c
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40ca7a
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 - 0x14], eax
call fcn.004c8d5f
add esp, 0x10
lea ecx, [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.004050e0
push esi
call fcn.004c8d5f
push str.ShellOpenCommand
call fcn.004c8d00
push 0
mov esi, eax
call fcn.004c8d5f
mov ecx, dword [ebp - 0x14]
mov eax, 0x4f9d20
test ecx, ecx
cmovne eax, ecx
push eax
call fcn.004c8d00
push 0
mov dword [ebp - 0x1c], eax
call fcn.004c8d5f
add esp, 0x14
lea ecx, [ebp - 0x1c]
push esi
call fcn.004050e0
push esi
call fcn.004c8d5f
mov ebx, dword [ebp - 0x1c]
mov eax, 0x4f9d20
mov esi, dword [ebp - 0x10]
test ebx, ebx
cmovne eax, ebx
push eax
call fcn.004c8d00
push esi
mov dword [ebp - 0x10], eax
call fcn.004c8d5f
push ebx
call fcn.004c8d5f
push dword [ebp - 0x14]
call fcn.004c8d5f
push str.HKCRCLSID_
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 - 0x1c], eax
call fcn.004c8d5f
add esp, 0x24
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x18]
call fcn.004050e0
push esi
call fcn.004c8d5f
mov ebx, dword [ebp - 0x1c]
mov eax, 0x4f9d20
mov esi, dword [ebp - 0x34]
test ebx, ebx
cmovne eax, ebx
push eax
call fcn.004c8d00
mov dword [ebp - 0x34], eax
push esi
call fcn.004c8d5f
push ebx
call fcn.004c8d5f
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
add esp, 0x10
push dword [0x539fd0]
call ebx
lea ecx, [ebp - 0x30]
or eax, 0x20019
push ecx
push eax
push 0
push dword [ebp - 0x10]
push SysReAllocStringLen
call fcn.004086c0
mov esi, dword [ebp - 0x10]
add esp, 0x14
push 0x4f9d20
test eax, eax
jne 0x40ca69
call fcn.004c8d00
push esi
mov dword [ebp - 0x10], eax
call fcn.004c8d5f
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x4f9d20
push dword [ebp - 0x30]
call fcn.004151a0
add esp, 0x1c
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40ca7a
call fcn.004c8d00
push esi
mov dword [ebp - 0x10], eax
call fcn.004c8d5f
add esp, 8
mov ecx, dword [ebp - 0x20]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ca80
sub ecx, edx
sar ecx, 1
jne 0x40cb16
push dword [0x539fd0]
call ebx
mov ebx, eax
push str.CLSID_
or ebx, 0x20019
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 - 0x54], eax
call fcn.004c8d5f
add esp, 0x10
lea ecx, [ebp - 0x54]
push dword [ebp - 0x18]
call fcn.004050e0
push esi
call fcn.004c8d5f
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x54]
or eax, 1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x30]
push eax
push ebx
push 0
push esi
push SysReAllocStringLen
mov byte [ebp - 4], 0x17
call fcn.004086c0
add esp, 0x18
test eax, eax
jne 0x40cb19
mov bl, 1
jmp 0x40cb1b
mov esi, dword [ebp - 0x54]
xor bl, bl
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], 0x16
test al, 1
je 0x40cb38
and eax, 0xfffffffe
push esi
mov dword [ebp - 0x2c], eax
call fcn.004c8d5f
add esp, 4
test bl, bl
je 0x40cb5d
lea eax, [ebp - 0x20]
push eax
push 0
push 0
push 0x4f9d20
push dword [ebp - 0x30]
call fcn.004151a0
add esp, 0x14
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x84], ecx
mov word [eax], cx
mov dword [ebp - 0x80], ecx
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 0x18
push eax
push dword [ebp - 0x10]
call fcn.00408a50
add esp, 0xc
test al, al
jne 0x40cc60
mov ebx, dword [ebp - 0x88]
mov byte [ebp - 4], 0x16
test ebx, ebx
je 0x40cc1b
mov esi, ebx
cmp esi, dword [ebp - 0x84]
je 0x40cbc9
push dword [esi]
call fcn.004c8d5f
add esi, 4
add esp, 4
cmp esi, dword [ebp - 0x84]
jne 0x40cbb4
mov eax, dword [ebp - 0x80]
sub eax, ebx
sar eax, 2
lea ecx, [eax*4]
mov eax, ebx
cmp ecx, 0x1000
jb 0x40cbf6
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de0e
push ecx
push ebx
call fcn.004c34a9
add esp, 8
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
push dword [ebp - 0x8c]
call fcn.004c8d5f
push dword [ebp - 0x24]
call fcn.004c8d5f
push edi
call fcn.004c8d5f
push dword [ebp - 0x10]
call fcn.004c8d5f
push dword [ebp - 0x20]
call fcn.004c8d5f
mov edi, dword [ebp - 0x28]
push edi
call fcn.004c8d5f
push dword [ebp - 0x18]
call fcn.004c8d5f
mov esi, dword [ebp - 0x34]
add esp, 0x1c
jmp 0x40dcf6
mov eax, dword [ebp - 0x20]
mov ecx, 0x4f9d20
mov esi, dword [ebp - 0x28]
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8d00
push esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x3c], eax
call fcn.004c8d5f
push dword [ebp - 0x10]
lea eax, [ebp - 0xd8]
push eax
call fcn.00406290
mov esi, dword [ebp - 0x10]
mov ecx, 0x4f9d20
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8d00
push esi
mov dword [ebp - 0x10], eax
call fcn.004c8d5f
push dword [ebp - 0xd8]
call fcn.004c8d5f
add esp, 0x18
lea ecx, [ebp - 0x8c]
mov eax, esp
push 0
push 0
push ecx
mov ecx, dword [ebp + 8]
push ecx
push eax
call fcn.00408f50
add esp, 0x14
lea eax, [ebp - 0xc4]
push eax
call fcn.0040a6b0
mov eax, dword [ebp - 0xc4]
mov ecx, 0x4f9d20
or dword [ebp - 0x2c], 4
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8d00
push dword [ebp - 0x24]
mov dword [ebp - 0x40], eax
call fcn.004c8d5f
push dword [ebp - 0xc4]
call fcn.004c8d5f
mov edi, dword [ebp - 0x88]
add esp, 0x14
mov byte [ebp - 4], 0x16
test edi, edi
je 0x40cd93
mov ebx, dword [ebp - 0x84]
mov esi, edi
cmp esi, ebx
je 0x40cd41
push dword [esi]
call fcn.004c8d5f
add esi, 4
add esp, 4
cmp esi, ebx
jne 0x40cd30
mov eax, dword [ebp - 0x80]
sub eax, edi
sar eax, 2
lea ecx, [eax*4]
mov eax, edi
cmp ecx, 0x1000
jb 0x40cd6e
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de0e
push ecx
push edi
call fcn.004c34a9
add esp, 8
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
push dword [ebp - 0x8c]
jmp 0x40d3ff
cmp byte [ebp + 0x14], 0
jne 0x40d224
push dword [0x539fd0]
mov eax, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call eax
mov esi, dword [ebp - 0x10]
cmp eax, 0x200
jne 0x40cdc6
push str.Wow6432Node_
jmp 0x40cdcb
push 0x4f9d20
call fcn.004c8d00
add esp, 4
mov dword [ebp - 0x10], 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 - 0x1c], eax
call fcn.004c8d5f
add esp, 0x14
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.004050e0
push esi
call fcn.004c8d5f
push 0x4faa3c
call fcn.004c8d00
push 0
mov esi, eax
call fcn.004c8d5f
mov ebx, dword [ebp - 0x1c]
mov eax, 0x4f9d20
test ebx, ebx
cmovne eax, ebx
push eax
call fcn.004c8d00
push 0
mov dword [ebp - 0x1c], eax
call fcn.004c8d5f
add esp, 0x14
lea ecx, [ebp - 0x1c]
push esi
call fcn.004050e0
push esi
call fcn.004c8d5f
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
add esp, 4
push esi
call fcn.004050e0
push esi
call fcn.004c8d5f
push ebx
call fcn.004c8d5f
push str.HKCRCLSID_
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 - 0x14], eax
call fcn.004c8d5f
add esp, 0x18
lea ecx, [ebp - 0x14]
push dword [ebp - 0x20]
call fcn.004050e0
push esi
call fcn.004c8d5f
mov ecx, dword [ebp - 0x14]
mov eax, 0x4f9d20
mov ebx, dword [ebp - 0x34]
test ecx, ecx
cmovne eax, ecx
push eax
call fcn.004c8d00
mov esi, eax
mov dword [ebp - 0x34], esi
push ebx
call fcn.004c8d5f
push dword [ebp - 0x14]
call fcn.004c8d5f
add esp, 0x10
push dword [0x539fd0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea ecx, [ebp - 0x30]
or eax, 0x20019
push ecx
push eax
push 0
push dword [ebp - 0x10]
push SysReAllocStringLen
call fcn.004086c0
add esp, 0x14
test eax, eax
jne 0x40d1f0
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x4f9d20
push dword [ebp - 0x30]
call fcn.004151a0
add esp, 0x14
test eax, eax
jne 0x40d1f0
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], ecx
mov word [eax], cx
mov dword [ebp - 0x70], ecx
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 0x19
push eax
push dword [ebp - 0x10]
call fcn.00408a50
add esp, 0xc
test al, al
je 0x40d138
push ecx
mov eax, esp
lea ecx, [ebp - 0x7c]
push 0
push 0
push ecx
mov ecx, dword [ebp + 8]
push ecx
push eax
call fcn.00408f50
add esp, 0x14
lea eax, [ebp - 0xc8]
push eax
call fcn.0040a6b0
mov eax, dword [ebp - 0xc8]
mov ecx, 0x4f9d20
or dword [ebp - 0x2c], 0x20
mov esi, edi
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8d00
mov edi, eax
push esi
mov dword [ebp - 0x58], edi
call fcn.004c8d5f
push dword [ebp - 0xc8]
call fcn.004c8d5f
push 0x4fab28
call fcn.004c8d00
push 0
mov esi, eax
call fcn.004c8d5f
mov eax, dword [ebp - 0x18]
mov ecx, 0x4f9d20
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8d00
push 0
mov dword [ebp - 0x1c], eax
call fcn.004c8d5f
add esp, 0x24
lea ecx, [ebp - 0x1c]
push esi
call fcn.004050e0
push esi
call fcn.004c8d5f
mov ebx, dword [ebp - 0x1c]
mov eax, 0x4f9d20
test ebx, ebx
cmovne eax, ebx
push eax
call fcn.004c8d00
push 0
mov dword [ebp - 0x1c], eax
call fcn.004c8d5f
add esp, 0xc
lea ecx, [ebp - 0x1c]
push edi
call fcn.004050e0
mov edi, dword [ebp - 0x1c]
mov eax, 0x4f9d20
mov esi, dword [ebp - 0x20]
test edi, edi
cmovne eax, edi
push eax
call fcn.004c8d00
push esi
mov dword [ebp - 0x20], eax
call fcn.004c8d5f
push edi
call fcn.004c8d5f
push ebx
call fcn.004c8d5f
add esp, 0xc
lea ecx, [ebp - 0x7c]
mov eax, esp
push 0
push 0
push ecx
push dword [ebp + 8]
push eax
call fcn.00408f50
add esp, 0x14
lea eax, [ebp - 0xd0]
push eax
call fcn.0040a6b0
mov eax, dword [ebp - 0xd0]
mov ecx, 0x4f9d20
or dword [ebp - 0x2c], 0x10
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8d00
push dword [ebp - 0x24]
mov dword [ebp - 0x40], eax
call fcn.004c8d5f
push dword [ebp - 0xd0]
call fcn.004c8d5f
mov ebx, dword [ebp - 0x78]
add esp, 0x14
mov byte [ebp - 4], 0x16
test ebx, ebx
je 0x40d11f
mov edi, dword [ebp - 0x74]
mov esi, ebx
cmp esi, edi
je 0x40d0d3
push dword [esi]
call fcn.004c8d5f
add esi, 4
add esp, 4
cmp esi, edi
jne 0x40d0c2
mov eax, dword [ebp - 0x70]
sub eax, ebx
sar eax, 2
lea ecx, [eax*4]
mov eax, ebx
cmp ecx, 0x1000
jb 0x40d100
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de0e
push ecx
push ebx
call fcn.004c34a9
add esp, 8
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
push dword [ebp - 0x7c]
call fcn.004c8d5f
add esp, 4
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40d407
mov ecx, dword [ebp - 0x78]
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x40d1b1
mov ebx, ecx
cmp ebx, dword [ebp - 0x74]
je 0x40d165
nop dword [eax]
push dword [ebx]
call fcn.004c8d5f
add ebx, 4
add esp, 4
cmp ebx, dword [ebp - 0x74]
jne 0x40d150
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x70]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d192
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de0e
push edx
push ecx
call fcn.004c34a9
add esp, 8
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
push dword [ebp - 0x7c]
call fcn.004c8d5f
push dword [ebp - 0x24]
call fcn.004c8d5f
push edi
call fcn.004c8d5f
push dword [ebp - 0x10]
call fcn.004c8d5f
push dword [ebp - 0x20]
call fcn.004c8d5f
mov edi, dword [ebp - 0x28]
push edi
call fcn.004c8d5f
push dword [ebp - 0x18]
call fcn.004c8d5f
add esp, 0x1c
jmp 0x40dcf6
push dword [ebp - 0x24]
call fcn.004c8d5f
push edi
call fcn.004c8d5f
push dword [ebp - 0x10]
call fcn.004c8d5f
push dword [ebp - 0x20]
call fcn.004c8d5f
mov edi, dword [ebp - 0x28]
push edi
call fcn.004c8d5f
push dword [ebp - 0x18]
call fcn.004c8d5f
jmp 0x40dcf3
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x94], ecx
mov word [eax], cx
mov dword [ebp - 0x90], ecx
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 0x1a
push eax
push dword [ebp - 0x20]
call fcn.00408a50
add esp, 0xc
test al, al
jne 0x40d2fc
mov ecx, dword [ebp - 0x98]
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x40d2f1
mov ebx, ecx
cmp ebx, dword [ebp - 0x94]
je 0x40d299
push dword [ebx]
call fcn.004c8d5f
add ebx, 4
add esp, 4
cmp ebx, dword [ebp - 0x94]
jne 0x40d281
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x90]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d2c9
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de0e
push edx
push ecx
call fcn.004c34a9
add esp, 8
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
push dword [ebp - 0x9c]
jmp 0x40d1b4
mov eax, dword [ebp - 0x20]
mov ecx, 0x4f9d20
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8d00
push esi
mov dword [ebp - 0x34], eax
call fcn.004c8d5f
add esp, 4
lea ecx, [ebp - 0x9c]
mov eax, esp
push 0
push 0
push ecx
push dword [ebp + 8]
push eax
call fcn.00408f50
add esp, 0x14
lea eax, [ebp - 0xd4]
push eax
call fcn.0040a6b0
mov eax, dword [ebp - 0xd4]
mov ecx, 0x4f9d20
or dword [ebp - 0x2c], 8
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8d00
push dword [ebp - 0x24]
mov dword [ebp - 0x40], eax
call fcn.004c8d5f
push dword [ebp - 0xd4]
call fcn.004c8d5f
mov edi, dword [ebp - 0x98]
add esp, 0x14
mov byte [ebp - 4], 0x16
test edi, edi
je 0x40d3f9
mov ebx, dword [ebp - 0x94]
mov esi, edi
cmp esi, ebx
je 0x40d3a1
nop dword [eax]
push dword [esi]
call fcn.004c8d5f
add esi, 4
add esp, 4
cmp esi, ebx
jne 0x40d390
mov eax, dword [ebp - 0x90]
sub eax, edi
sar eax, 2
lea ecx, [eax*4]
mov eax, edi
cmp ecx, 0x1000
jb 0x40d3d1
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de0e
push ecx
push edi
call fcn.004c34a9
add esp, 8
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
push dword [ebp - 0x9c]
call fcn.004c8d5f
add esp, 4
mov edi, dword [ebp - 0x28]
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d410
sub ecx, edx
sar ecx, 1
jne 0x40d493
mov ebx, dword [ebp - 0x40]
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d430
sub ecx, edx
sar ecx, 1
je 0x40d493
push 0x5c
push ebx
call fcn.004c5767
add esp, 8
test eax, eax
je 0x40d477
push 0x5c
push ebx
call fcn.004c5767
add eax, 2
mov ecx, 0x4f9d20
cmovne ecx, eax
push ecx
call fcn.004c8d00
push edi
mov dword [ebp - 0x3c], eax
call fcn.004c8d5f
add esp, 0x10
jmp 0x40d493
test ebx, ebx
mov eax, 0x4f9d20
cmovne eax, ebx
push eax
call fcn.004c8d00
push edi
mov dword [ebp - 0x3c], eax
call fcn.004c8d5f
add esp, 8
mov eax, dword [ebp + 0x10]
mov esi, 0x4f9d20
test eax, eax
cmovne esi, eax
push esi
mov dword [ebp - 0x14], esi
call fcn.004c8d00
push 0
mov dword [ebp - 0x1c], eax
call fcn.004c8d5f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.00409cf0
mov ebx, eax
push 0x4f9d20
call fcn.004c8d00
mov edi, eax
push 0
mov dword [ebp - 0x38], edi
call fcn.004c8d5f
push esi
call fcn.004c8d00
mov esi, eax
push 0
mov dword [ebp - 0x4c], esi
call fcn.004c8d5f
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0xdc]
push eax
call fcn.00409cf0
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0x1f
push ecx
lea ecx, [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0xa8]
push ecx
lea ecx, [ebp - 0x40]
push ecx
push ebx
push eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 8]
call fcn.00405240
add esp, 0x58
mov bl, al
push dword [ebp - 0xdc]
call fcn.004c8d5f
push esi
call fcn.004c8d5f
push edi
call fcn.004c8d5f
push dword [ebp - 0xe0]
call fcn.004c8d5f
push dword [ebp - 0x1c]
mov byte [ebp - 4], 0x16
call fcn.004c8d5f
add esp, 0x14
test bl, bl
je 0x40d7b9
cmp dword [ebp + 0x1c], 0xffffffff
jne 0x40d725
push 0x4f9d20
call fcn.004c8d00
push 0
mov dword [ebp - 0x4c], eax
call fcn.004c8d5f
push 0x4f9d20
call fcn.004c8d00
push 0
mov dword [ebp - 0x68], eax
call fcn.004c8d5f
push 0x4f9d20
call fcn.004c8d00
push 0
mov dword [ebp - 0x64], eax
call fcn.004c8d5f
push 0x4f9d20
call fcn.004c8d00
push 0
mov dword [ebp - 0x60], eax
call fcn.004c8d5f
push 0x4f9d20
call fcn.004c8d00
push 0
mov dword [ebp - 0x5c], eax
call fcn.004c8d5f
push 0x4f9d20
call fcn.004c8d00
push 0
mov dword [ebp - 0x24], eax
call fcn.004c8d5f
push 0x4f9d20
call fcn.004c8d00
push 0
mov dword [ebp - 0x28], eax
call fcn.004c8d5f
mov esi, dword [ebp - 0x14]
push esi
call fcn.004c8d00
push 0
mov dword [ebp - 0x1c], eax
call fcn.004c8d5f
add esp, 0x40
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0xe4]
push eax
call fcn.00409cf0
mov ebx, eax
push 0x4f9d20
call fcn.004c8d00
mov edi, eax
push 0
mov dword [ebp + 0x1c], edi
call fcn.004c8d5f
push esi
call fcn.004c8d00
mov esi, eax
push 0
mov dword [ebp - 0x38], esi
call fcn.004c8d5f
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0xfc]
push eax
call fcn.00409cf0
movzx ecx, byte [ebp + 0x20]
lea edx, [ebp - 0x4c]
push 0xffffffffffffffff
push 0
push 0
push edx
push ecx
push 0
mov dword [ebp - 0x6c], ecx
lea ecx, [ebp - 0x68]
push ecx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x2b
push ecx
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x24]
push ecx
push ebx
push eax
push 0
push 0xffffffffffffffff
push 0
push dword [ebp + 8]
call fcn.00405550
add esp, 0x74
mov dword [ebp + 0x1c], eax
push dword [ebp - 0xfc]
call fcn.004c8d5f
push esi
call fcn.004c8d5f
push edi
call fcn.004c8d5f
push dword [ebp - 0xe4]
call fcn.004c8d5f
push dword [ebp - 0x1c]
call fcn.004c8d5f
push dword [ebp - 0x28]
call fcn.004c8d5f
push dword [ebp - 0x24]
call fcn.004c8d5f
push dword [ebp - 0x5c]
call fcn.004c8d5f
push dword [ebp - 0x60]
call fcn.004c8d5f
push dword [ebp - 0x64]
call fcn.004c8d5f
push dword [ebp - 0x68]
call fcn.004c8d5f
push dword [ebp - 0x4c]
call fcn.004c8d5f
mov ebx, dword [ebp - 0x6c]
add esp, 0x30
jmp 0x40d729
movzx ebx, byte [ebp + 0x20]
push dword [ebp - 0x14]
mov edi, dword [ebp - 0xcc]
call fcn.004c8d00
mov esi, eax
push 0
mov dword [ebp - 0x6c], esi
call fcn.004c8d5f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0xe8]
push eax
call fcn.00409cf0
push 0xffffffffffffffff
push 0
push 0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x2d
push ecx
push ebx
push edi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0xc0]
push ecx
lea ecx, [ebp - 0xa8]
push ecx
lea ecx, [ebp - 0x40]
push ecx
push eax
lea eax, [ebp - 0x3c]
push eax
push 1
push dword [ebp + 0x1c]
push 0xffffffffffffffff
push edi
call fcn.00405550
add esp, 0x5c
push dword [ebp - 0xe8]
call fcn.004c8d5f
push esi
mov byte [ebp - 4], 0x16
call fcn.004c8d5f
add esp, 8
jmp 0x40d7bc
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x30]
push eax
push 0x20119
push 0
push 0x4fab34
push dword [ebp - 0xa0]
call fcn.004086c0
add esp, 0x14
test eax, eax
jne 0x40dcc0
lea eax, [ebp - 0x20]
xor ebx, ebx
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x44], ebx
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp - 0x30]
call fcn.004150d0
add esp, 0x18
test eax, eax
jne 0x40dcc0
jmp 0x40d813
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x50]
cmp eax, 1
je 0x40d82e
cmp eax, 2
je 0x40d82e
cmp eax, 7
je 0x40d82e
cmp eax, 3
jne 0x40dc9a
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0xb4], ecx
mov word [eax], cx
mov dword [ebp - 0xb0], ecx
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 0x2e
push eax
push dword [ebp - 0x20]
call fcn.00408a50
add esp, 0xc
test al, al
jne 0x40d90c
mov edi, dword [ebp - 0xb8]
mov byte [ebp - 4], 0x16
test edi, edi
je 0x40d8fc
mov ebx, dword [ebp - 0xb4]
mov esi, edi
cmp esi, ebx
je 0x40d8a1
nop word [eax + eax]
push dword [esi]
call fcn.004c8d5f
add esi, 4
add esp, 4
cmp esi, ebx
jne 0x40d890
mov eax, dword [ebp - 0xb0]
sub eax, edi
sar eax, 2
lea ecx, [eax*4]
mov eax, edi
cmp ecx, 0x1000
jb 0x40d8d1
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de0e
push ecx
push edi
call fcn.004c34a9
mov ebx, dword [ebp - 0x44]
add esp, 8
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
push dword [ebp - 0xbc]
call fcn.004c8d5f
jmp 0x40dc97
mov eax, dword [ebp - 0x20]
mov ecx, 0x4f9d20
mov esi, dword [ebp - 0x34]
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8d00
push esi
mov dword [ebp - 0x34], eax
call fcn.004c8d5f
add esp, 4
lea ecx, [ebp - 0xbc]
mov eax, esp
push 0
push 0
push ecx
push edi
push eax
call fcn.00408f50
add esp, 0x14
lea eax, [ebp - 0xac]
push eax
call fcn.0040a6b0
mov eax, dword [ebp - 0xac]
mov ecx, 0x4f9d20
or dword [ebp - 0x2c], 2
test eax, eax
mov esi, dword [ebp - 0x40]
cmovne ecx, eax
push ecx
call fcn.004c8d00
push esi
mov dword [ebp - 0x40], eax
call fcn.004c8d5f
push dword [ebp - 0xac]
call fcn.004c8d5f
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.004c8d00
push 0
mov edi, eax
call fcn.004c8d5f
push str.Depend
call fcn.004c8d00
push 0
mov esi, eax
call fcn.004c8d5f
test edi, edi
mov eax, 0x4f9d20
cmovne eax, edi
push eax
call fcn.004c8d00
push 0
mov dword [ebp - 0x28], eax
call fcn.004c8d5f
add esp, 0x2c
lea ecx, [ebp - 0x28]
push esi
call fcn.004050e0
push esi
call fcn.004c8d5f
push edi
call fcn.004c8d5f
add esp, 8
cmp dword [ebp + 0x1c], 0xffffffff
jne 0x40db8b
push 0x4f9d20
call fcn.004c8d00
push 0
mov dword [ebp - 0x38], eax
call fcn.004c8d5f
push 0x4f9d20
call fcn.004c8d00
push 0
mov dword [ebp - 0x24], eax
call fcn.004c8d5f
push 0x4f9d20
call fcn.004c8d00
push 0
mov dword [ebp - 0x1c], eax
call fcn.004c8d5f
push 0x4f9d20
call fcn.004c8d00
push 0
mov dword [ebp - 0x5c], eax
call fcn.004c8d5f
push 0x4f9d20
call fcn.004c8d00
push 0
mov dword [ebp - 0x60], eax
call fcn.004c8d5f
push 0x4f9d20
call fcn.004c8d00
push 0
mov dword [ebp - 0x64], eax
call fcn.004c8d5f
push 0x4f9d20
call fcn.004c8d00
push 0
mov dword [ebp - 0x68], eax
call fcn.004c8d5f
push ebx
call fcn.004c8d00
push 0
mov dword [ebp - 0x4c], eax
call fcn.004c8d5f
add esp, 0x40
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0xf0]
push eax
call fcn.00409cf0
mov ebx, eax
push 0x4f9d20
call fcn.004c8d00
mov edi, eax
push 0
mov dword [ebp + 0x1c], edi
call fcn.004c8d5f
push dword [ebp - 0x14]
call fcn.004c8d00
mov esi, eax
push 0
mov dword [ebp - 0x6c], esi
call fcn.004c8d5f
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0xec]
push eax
call fcn.00409cf0
movzx ecx, byte [ebp + 0x20]
lea edx, [ebp - 0x38]
push 0xffffffffffffffff
push 0
push 0
push edx
push ecx
push 0
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x3b
push ecx
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x64]
push ecx
push ebx
push eax
push 0
push 0xffffffffffffffff
push 0
push dword [ebp + 8]
call fcn.00405550
add esp, 0x74
mov dword [ebp + 0x1c], eax
push dword [ebp - 0xec]
call fcn.004c8d5f
push esi
call fcn.004c8d5f
push edi
call fcn.004c8d5f
push dword [ebp - 0xf0]
call fcn.004c8d5f
push dword [ebp - 0x4c]
call fcn.004c8d5f
push dword [ebp - 0x68]
call fcn.004c8d5f
push dword [ebp - 0x64]
call fcn.004c8d5f
push dword [ebp - 0x60]
call fcn.004c8d5f
push dword [ebp - 0x5c]
call fcn.004c8d5f
push dword [ebp - 0x1c]
call fcn.004c8d5f
push dword [ebp - 0x24]
call fcn.004c8d5f
push dword [ebp - 0x38]
call fcn.004c8d5f
mov edi, dword [ebp - 0x48]
add esp, 0x30
jmp 0x40db8f
movzx edi, byte [ebp + 0x20]
mov esi, dword [ebp - 0xcc]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0xf4]
push eax
call fcn.00409cf0
push 0xffffffffffffffff
push 0
push 0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x3c
push ecx
push edi
push esi
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0xc0]
push ecx
lea ecx, [ebp - 0xa8]
push ecx
lea ecx, [ebp - 0x40]
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
push 1
push dword [ebp + 0x1c]
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00405550
add esp, 0x54
push dword [ebp - 0xf4]
call fcn.004c8d5f
push dword [ebp - 0x28]
call fcn.004c8d5f
mov edi, dword [ebp - 0xb8]
add esp, 8
mov byte [ebp - 4], 0x16
test edi, edi
je 0x40dc89
mov ebx, dword [ebp - 0xb4]
mov esi, edi
cmp esi, ebx
je 0x40dc31
push dword [esi]
call fcn.004c8d5f
add esi, 4
add esp, 4
cmp esi, ebx
jne 0x40dc20
mov eax, dword [ebp - 0xb0]
sub eax, edi
sar eax, 2
lea ecx, [eax*4]
mov eax, edi
cmp ecx, 0x1000
jb 0x40dc61
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de0e
push ecx
push edi
call fcn.004c34a9
add esp, 8
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
push dword [ebp - 0xbc]
call fcn.004c8d5f
mov ebx, dword [ebp - 0x44]
add esp, 4
lea eax, [ebp - 0x20]
inc ebx
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x44], ebx
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp - 0x30]
call fcn.004150d0
add esp, 0x18
test eax, eax
je 0x40d810
push dword [ebp - 0x40]
call fcn.004c8d5f
push dword [ebp - 0x58]
call fcn.004c8d5f
push dword [ebp - 0x10]
call fcn.004c8d5f
push dword [ebp - 0x20]
call fcn.004c8d5f
push dword [ebp - 0x3c]
call fcn.004c8d5f
push dword [ebp - 0x18]
call fcn.004c8d5f
mov esi, dword [ebp - 0x34]
add esp, 0x18
inc dword [ebp - 0x44]
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x3c], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x20], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x10], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
mov edi, eax
xor eax, eax
mov dword [ebp - 0x58], edi
mov word [edi], ax
push 2
call fcn.004c8d7a
mov ebx, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x40], ebx
mov word [ebx], ax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0x50]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x44]
push eax
push dword [ebp - 0xa0]
call fcn.004150d0
add esp, 0x30
test eax, eax
je 0x40c692
push ebx
call fcn.004c8d5f
push edi
call fcn.004c8d5f
push dword [ebp - 0x10]
call fcn.004c8d5f
push dword [ebp - 0x20]
call fcn.004c8d5f
push dword [ebp - 0x14]
call fcn.004c8d5f
push dword [ebp - 0x18]
call fcn.004c8d5f
add esp, 0x18
push dword [ebp - 0xa0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.004c8d5f
push dword [ebp - 0xa4]
call fcn.004c8d5f
push dword [ebp - 0xc0]
call fcn.004c8d5f
push dword [ebp - 0xa8]
call fcn.004c8d5f
push dword [ebp - 0xf8]
call fcn.004c8d5f
mov eax, dword [ebp + 0x1c]
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004c8caf
int3