Function at 0x4204d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2f75
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x53ba20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x10]
push 2
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x38], eax
mov word [eax], cx
push 2
mov dword [ebp - 4], ecx
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x40], eax
mov word [eax], cx
push 2
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x60], eax
mov word [eax], cx
push 2
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x5c], eax
mov word [eax], cx
push 2
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x88], eax
add esp, 0x14
mov word [eax], cx
cmp dword [ebp + 0x14], 0xffffffff
mov ebx, dword [ebp + 0xc]
mov byte [ebp - 4], 4
jne 0x420749
push 0x4fbd20
mov dword [ebp - 0x14], ecx
call fcn.004c8c20
push 0
mov dword [ebp - 0x14], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x50], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x50], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x4c], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x4c], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x48], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x48], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x10], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x10], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x18], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x18], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x1c], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x1c], eax
call fcn.004c8c7f
test edi, edi
mov dword [ebp - 0x20], 0
mov esi, 0x4fbd20
cmovne esi, edi
push esi
call fcn.004c8c20
push 0
mov dword [ebp - 0x20], eax
call fcn.004c8c7f
add esp, 0x40
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x3c]
push ebx
push eax
call fcn.00409d10
mov edi, eax
push 0x4fbd20
mov dword [ebp - 0x24], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x24], eax
call fcn.004c8c7f
push esi
mov dword [ebp - 0x44], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x44], eax
call fcn.004c8c7f
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x64]
push ebx
push eax
call fcn.00409d10
push 0xffffffffffffffff
push 0
push 0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x10
push ecx
movzx ecx, byte [ebp + 0x18]
push ecx
push 0
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push edi
push eax
push 0
push 0xffffffffffffffff
push 0
push dword [ebp + 8]
call fcn.00405510
add esp, 0x74
mov dword [ebp + 0x14], eax
push dword [ebp - 0x64]
call fcn.004c8c7f
push dword [ebp - 0x44]
call fcn.004c8c7f
push dword [ebp - 0x24]
call fcn.004c8c7f
push dword [ebp - 0x3c]
call fcn.004c8c7f
push dword [ebp - 0x20]
call fcn.004c8c7f
push dword [ebp - 0x1c]
call fcn.004c8c7f
push dword [ebp - 0x18]
call fcn.004c8c7f
push dword [ebp - 0x10]
call fcn.004c8c7f
push dword [ebp - 0x48]
call fcn.004c8c7f
push dword [ebp - 0x4c]
call fcn.004c8c7f
push dword [ebp - 0x50]
call fcn.004c8c7f
push dword [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.004c8c7f
mov edi, dword [ebp + 0x10]
add esp, 0x30
lea eax, [ebp - 0x58]
push eax
push 0x20119
push 0
push edi
push ebx
call fcn.00408690
add esp, 0x14
test eax, eax
jne 0x4214de
push 2
mov dword [ebp - 0x64], eax
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x24], eax
mov word [eax], cx
push 2
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x10], eax
mov word [eax], cx
push 2
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x1c], eax
mov word [eax], cx
push 2
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov word [eax], cx
push 2
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x34], eax
mov word [eax], cx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x15
push eax
push ecx
push dword [ebp - 0x58]
call fcn.00415050
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x20
test eax, eax
jne 0x421447
nop
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 - 0x14], eax
call fcn.004c8c7f
add esp, 0x10
lea ecx, [ebp - 0x14]
push dword [ebp - 0x40]
call fcn.00405090
push esi
call fcn.004c8c7f
mov edi, dword [ebp - 0x14]
mov eax, 0x4fbd20
mov esi, dword [ebp - 0x10]
test edi, edi
cmovne eax, edi
push eax
call fcn.004c8c20
push esi
mov dword [ebp - 0x10], eax
call fcn.004c8c7f
push edi
call fcn.004c8c7f
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
add esp, 0x10
push dword [0x540000]
call edi
lea ecx, [ebp - 0x20]
or eax, 0x20019
push ecx
push eax
push 0
push dword [ebp - 0x10]
push SysReAllocStringLen
call fcn.00408690
add esp, 0x14
test eax, eax
jne 0x4208b3
mov eax, dword [ebp - 0x40]
mov ecx, 0x4fbd20
mov esi, dword [ebp - 0x1c]
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8c20
push esi
mov dword [ebp - 0x1c], eax
call fcn.004c8c7f
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push 0x4fbd20
push dword [ebp - 0x20]
call fcn.004151a0
add esp, 0x1c
jmp 0x420950
push dword [0x540000]
call edi
lea ecx, [ebp - 0x20]
or eax, 0x20019
push ecx
push eax
push 0
push dword [ebp - 0x40]
push dword [ebp - 0x58]
call fcn.00408690
add esp, 0x14
test eax, eax
jne 0x421333
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0x4fbd20
push dword [ebp - 0x20]
call fcn.004151a0
add esp, 0x14
test eax, eax
je 0x42092e
push dword [ebp - 0x20]
call ebx
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], 0x14
test esi, esi
je 0x4213a5
mov edi, dword [ebp - 0x2c]
cmp esi, edi
je 0x421359
push dword [esi]
call fcn.004c8c7f
add esi, 4
add esp, 4
cmp esi, edi
jne 0x420918
jmp 0x421356
mov eax, dword [ebp - 0x40]
mov ecx, 0x4fbd20
mov esi, dword [ebp - 0x24]
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8c20
push esi
mov dword [ebp - 0x24], eax
call fcn.004c8c7f
add esp, 8
push dword [ebp - 0x20]
call ebx
push dword [0x540000]
call edi
mov esi, dword [ebp - 0x10]
cmp eax, 0x200
jne 0x42096e
push 0x4fca20
jmp 0x420973
push 0x4fbd20
call fcn.004c8c20
add esp, 4
mov dword [ebp - 0x10], 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 - 0x14], eax
call fcn.004c8c7f
add esp, 0x14
lea ecx, [ebp - 0x14]
push dword [ebp - 0x1c]
call fcn.00405090
push esi
call fcn.004c8c7f
push 0x4fca3c
call fcn.004c8c20
push 0
mov esi, eax
call fcn.004c8c7f
mov ecx, dword [ebp - 0x14]
mov eax, 0x4fbd20
test ecx, ecx
cmovne eax, ecx
push eax
call fcn.004c8c20
push 0
mov dword [ebp - 0x54], eax
call fcn.004c8c7f
add esp, 0x14
lea ecx, [ebp - 0x54]
push esi
call fcn.00405090
push esi
call fcn.004c8c7f
mov eax, dword [ebp - 0x10]
add esp, 4
mov edi, eax
lea edx, [edi + 2]
mov cx, word [edi]
add edi, 2
test cx, cx
jne 0x420a12
mov esi, dword [ebp - 0x54]
sub edi, edx
sar edi, 1
mov edx, CreateSecurityPage
mov ebx, esi
cmp edi, edx
cmovb edx, edi
mov dword [ebp - 0x3c], edx
lea ecx, [ebx + 2]
mov dword [ebp - 0x54], ecx
nop dword [eax]
mov cx, word [ebx]
add ebx, 2
test cx, cx
jne 0x420a40
sub ebx, dword [ebp - 0x54]
sar ebx, 1
test ebx, ebx
jle 0x420a6e
lea ecx, [ebx + edi]
lea ecx, [ecx*2 + 4]
push ecx
push eax
call fcn.004c8ca5
mov edx, dword [ebp - 0x3c]
add esp, 8
mov dword [ebp - 0x10], eax
sub edi, edx
lea ecx, [edi*2 + 2]
push ecx
lea ecx, [eax + edx*2]
push ecx
lea ecx, [ebx + edx]
lea eax, [eax + ecx*2]
push eax
call fcn.004c4d40
mov ecx, dword [ebp - 0x3c]
lea eax, [ebx + ebx]
push eax
mov eax, dword [ebp - 0x10]
push esi
lea eax, [eax + ecx*2]
push eax
call fcn.004c4d40
push esi
call fcn.004c8c7f
push dword [ebp - 0x14]
call fcn.004c8c7f
add esp, 0x20
push dword [0x540000]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea ecx, [ebp - 0x20]
or eax, 0x20019
push ecx
push eax
push 0
push dword [ebp - 0x10]
push SysReAllocStringLen
call fcn.00408690
add esp, 0x14
test eax, eax
jne 0x42128e
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x501df0
push dword [ebp - 0x20]
call fcn.004151a0
add esp, 0x14
test eax, eax
jne 0x420b9b
push 0x501e04
push dword [ebp - 0x10]
call fcn.004d5d5a
add esp, 8
test eax, eax
jne 0x420b53
mov eax, dword [ebp - 0x10]
mov ecx, 0x4fbd20
add eax, 0x10
cmovne ecx, eax
push ecx
call fcn.004c8c20
push 0
mov edi, eax
call fcn.004c8c7f
mov esi, dword [ebp - 0x10]
test edi, edi
mov ecx, 0x4fbd20
cmovne ecx, edi
push ecx
call fcn.004c8c20
push esi
mov dword [ebp - 0x10], eax
call fcn.004c8c7f
push edi
call fcn.004c8c7f
add esp, 0x14
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x10]
call fcn.00408e00
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x34]
push 0
push eax
lea eax, [ebp - 0x90]
push edi
push eax
call fcn.004069a0
mov esi, dword [ebp - 0x18]
mov ecx, 0x4fbd20
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8c20
push esi
mov dword [ebp - 0x18], eax
call fcn.004c8c7f
push dword [ebp - 0x90]
jmp 0x420c01
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x4fbd20
push dword [ebp - 0x20]
call fcn.004151a0
add esp, 0x14
test eax, eax
jne 0x421253
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x10]
call fcn.00408e00
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x34]
push 0
push eax
lea eax, [ebp - 0x94]
push edi
push eax
call fcn.004069a0
mov esi, dword [ebp - 0x18]
mov ecx, 0x4fbd20
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8c20
push esi
mov dword [ebp - 0x18], eax
call fcn.004c8c7f
push dword [ebp - 0x94]
call fcn.004c8c7f
add esp, 0x24
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x18]
push edi
call fcn.00406990
push 0x4fbe8c
mov dword [ebp - 0x54], eax
call fcn.004c8c20
push 0
mov ebx, eax
call fcn.004c8c7f
test ebx, ebx
mov ecx, 0x4fbd20
cmovne ecx, ebx
push ecx
call fcn.004c8c20
push 0
mov dword [ebp - 0x3c], eax
call fcn.004c8c7f
add esp, 0x20
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x1c]
call fcn.00405090
mov edi, dword [ebp - 0x3c]
mov eax, 0x4fbd20
mov esi, dword [ebp - 0x10]
test edi, edi
cmovne eax, edi
push eax
call fcn.004c8c20
push esi
mov dword [ebp - 0x10], eax
call fcn.004c8c7f
push edi
call fcn.004c8c7f
push ebx
call fcn.004c8c7f
push 0x4fca5c
call fcn.004c8c20
push 0
mov esi, eax
call fcn.004c8c7f
test esi, esi
mov dword [ebp - 0x44], 0
mov ecx, 0x4fbd20
cmovne ecx, esi
push ecx
call fcn.004c8c20
push 0
mov dword [ebp - 0x44], eax
call fcn.004c8c7f
add esp, 0x20
lea ecx, [ebp - 0x44]
push dword [ebp - 0x1c]
call fcn.00405090
push esi
call fcn.004c8c7f
mov eax, dword [ebp - 0x1c]
mov ecx, 0x4fbd20
mov esi, dword [ebp - 0x38]
test eax, eax
mov byte [ebp - 4], 0x16
cmovne ecx, eax
push ecx
call fcn.004c8c20
push esi
mov dword [ebp - 0x38], eax
call fcn.004c8c7f
add esp, 0xc
push dword [0x540000]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea ecx, [ebp - 0x20]
or eax, 0x20019
push ecx
push eax
push 0
push dword [ebp - 0x10]
push SysReAllocStringLen
call fcn.00408690
add esp, 0x14
test eax, eax
jne 0x420d89
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x4fbd20
push dword [ebp - 0x20]
call fcn.004151a0
add esp, 0x14
test eax, eax
jne 0x420d80
mov edx, dword [ebp - 0x10]
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420d50
sub ecx, esi
sar ecx, 1
je 0x420d80
mov esi, dword [ebp - 0x38]
test edx, edx
mov eax, 0x4fbd20
cmovne eax, edx
push eax
call fcn.004c8c20
push esi
mov dword [ebp - 0x38], eax
call fcn.004c8c7f
add esp, 8
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x10]
mov edi, 0x4fbd20
test eax, eax
mov dword [ebp - 0x14], 0
cmovne edi, eax
push edi
call fcn.004c8c20
push 0
mov dword [ebp - 0x14], eax
call fcn.004c8c7f
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x9c]
push ebx
push eax
call fcn.00409d10
mov esi, eax
push 0x4fbd20
mov dword [ebp - 0x4c], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x4c], eax
call fcn.004c8c7f
push edi
mov dword [ebp - 0x50], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x50], eax
call fcn.004c8c7f
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x98]
push ebx
push eax
call fcn.00409d10
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x1b
push ecx
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push esi
push eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 8]
call fcn.00405200
add esp, 0x58
mov bl, al
push dword [ebp - 0x98]
call fcn.004c8c7f
push dword [ebp - 0x50]
call fcn.004c8c7f
push dword [ebp - 0x4c]
call fcn.004c8c7f
push dword [ebp - 0x9c]
call fcn.004c8c7f
push dword [ebp - 0x14]
call fcn.004c8c7f
add esp, 0x14
test bl, bl
je 0x42119e
cmp dword [ebp + 0x14], 0xffffffff
jne 0x42107f
push 0x4fbd20
mov dword [ebp - 0x14], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x14], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x80], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x80], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x7c], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x7c], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x78], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x78], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x74], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x74], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x8c], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x8c], eax
call fcn.004c8c7f
push 0x4fbd20
mov dword [ebp - 0x70], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x70], eax
call fcn.004c8c7f
push edi
mov dword [ebp - 0x6c], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x6c], eax
call fcn.004c8c7f
add esp, 0x40
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0x23
push eax
lea eax, [ebp - 0xa4]
push ebx
push eax
call fcn.00409d10
mov esi, eax
push 0x4fbd20
mov dword [ebp - 0x68], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x68], eax
call fcn.004c8c7f
push edi
mov dword [ebp - 0x48], 0
call fcn.004c8c20
mov dword [ebp - 0x48], eax
push 0
call fcn.004c8c7f
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0x26
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0xa0]
push ebx
push eax
call fcn.00409d10
movzx ebx, byte [ebp + 0x18]
lea ecx, [ebp - 0x14]
push 0xffffffffffffffff
push 0
push 0
push ecx
push ebx
push 0
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x27
push ecx
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x3c], ebx
push ecx
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x8c]
push ecx
push esi
push eax
push 0
push 0xffffffffffffffff
push 0
push dword [ebp + 8]
call fcn.00405510
add esp, 0x74
mov dword [ebp + 0x14], eax
push dword [ebp - 0xa0]
call fcn.004c8c7f
push dword [ebp - 0x48]
call fcn.004c8c7f
push dword [ebp - 0x68]
call fcn.004c8c7f
push dword [ebp - 0xa4]
call fcn.004c8c7f
push dword [ebp - 0x6c]
call fcn.004c8c7f
push dword [ebp - 0x70]
call fcn.004c8c7f
push dword [ebp - 0x8c]
call fcn.004c8c7f
push dword [ebp - 0x74]
call fcn.004c8c7f
push dword [ebp - 0x78]
call fcn.004c8c7f
push dword [ebp - 0x7c]
call fcn.004c8c7f
push dword [ebp - 0x80]
call fcn.004c8c7f
push dword [ebp - 0x14]
call fcn.004c8c7f
add esp, 0x30
jmp 0x421086
movzx eax, byte [ebp + 0x18]
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x24]
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421090
sub ecx, esi
mov esi, dword [ebp - 0x38]
sar ecx, 1
jne 0x4210c3
cmp word [esi], 0x7b
jne 0x4210df
mov edx, dword [ebp - 0x5c]
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4210b2
sub ecx, ebx
sar ecx, 1
je 0x4210df
test edx, edx
mov eax, 0x4fbd20
cmovne eax, edx
push eax
call fcn.004c8c20
push esi
mov dword [ebp - 0x38], eax
call fcn.004c8c7f
add esp, 8
push 0x4fbd20
mov dword [ebp - 0x14], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x14], eax
call fcn.004c8c7f
mov esi, dword [ebp - 0xa8]
push edi
mov dword [ebp - 0x84], 0
call fcn.004c8c20
push 0
mov dword [ebp - 0x84], eax
call fcn.004c8c7f
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 0x29
push eax
lea eax, [ebp - 0xac]
push ebx
push eax
call fcn.00409d10
push 0xffffffffffffffff
push 0
push 0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x2a
push ecx
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x44]
push esi
push ecx
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push eax
lea eax, [ebp - 0x38]
push eax
push 3
push dword [ebp + 0x14]
push dword [ebp - 0x54]
push dword [ebp + 8]
call fcn.00405510
add esp, 0x64
push dword [ebp - 0xac]
call fcn.004c8c7f
push dword [ebp - 0x84]
call fcn.004c8c7f
push dword [ebp - 0x14]
call fcn.004c8c7f
add esp, 0xc
push dword [ebp - 0x44]
call fcn.004c8c7f
mov esi, dword [ebp - 0x30]
add esp, 4
mov byte [ebp - 4], 0x14
test esi, esi
je 0x421220
mov edi, dword [ebp - 0x2c]
cmp esi, edi
je 0x4211d4
nop dword [eax + eax]
push dword [esi]
call fcn.004c8c7f
add esi, 4
add esp, 4
cmp esi, edi
jne 0x4211c0
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x28]
sub eax, esi
sar eax, 2
lea ecx, [eax*4]
mov eax, esi
cmp ecx, 0x1000
jb 0x421201
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421521
push ecx
push esi
call fcn.004c3279
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
push dword [ebp - 0x34]
call fcn.004c8c7f
push dword [ebp - 0x18]
call fcn.004c8c7f
push dword [ebp - 0x1c]
call fcn.004c8c7f
push dword [ebp - 0x10]
call fcn.004c8c7f
push dword [ebp - 0x24]
call fcn.004c8c7f
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4213cd
push dword [ebp - 0x20]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], 0x14
test esi, esi
je 0x4213a5
mov edi, dword [ebp - 0x2c]
cmp esi, edi
je 0x421359
push dword [esi]
call fcn.004c8c7f
add esi, 4
add esp, 4
cmp esi, edi
jne 0x421278
jmp 0x421356
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], 0x14
test esi, esi
je 0x421300
mov edi, dword [ebp - 0x2c]
cmp esi, edi
je 0x4212b4
push dword [esi]
call fcn.004c8c7f
add esi, 4
add esp, 4
cmp esi, edi
jne 0x4212a0
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x28]
sub eax, esi
sar eax, 2
lea ecx, [eax*4]
mov eax, esi
cmp ecx, 0x1000
jb 0x4212e1
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421521
push ecx
push esi
call fcn.004c3279
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
push dword [ebp - 0x34]
call fcn.004c8c7f
push dword [ebp - 0x18]
call fcn.004c8c7f
push dword [ebp - 0x1c]
call fcn.004c8c7f
push dword [ebp - 0x10]
call fcn.004c8c7f
push dword [ebp - 0x24]
call fcn.004c8c7f
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4213cd
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], 0x14
test esi, esi
je 0x4213a5
mov edi, dword [ebp - 0x2c]
cmp esi, edi
je 0x421359
push dword [esi]
call fcn.004c8c7f
add esi, 4
add esp, 4
cmp esi, edi
jne 0x421345
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x28]
sub eax, esi
sar eax, 2
lea ecx, [eax*4]
mov eax, esi
cmp ecx, 0x1000
jb 0x421386
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421521
push ecx
push esi
call fcn.004c3279
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
push dword [ebp - 0x34]
call fcn.004c8c7f
push dword [ebp - 0x18]
call fcn.004c8c7f
push dword [ebp - 0x1c]
call fcn.004c8c7f
push dword [ebp - 0x10]
call fcn.004c8c7f
push dword [ebp - 0x24]
call fcn.004c8c7f
mov esi, dword [ebp - 0x64]
add esp, 0x14
inc esi
mov dword [ebp - 0x64], esi
push 2
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x24], eax
mov word [eax], cx
push 2
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x10], eax
mov word [eax], cx
push 2
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x1c], eax
mov word [eax], cx
push 2
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov word [eax], cx
push 2
call fcn.004c8c9a
xor ecx, ecx
mov dword [ebp - 0x34], eax
mov word [eax], cx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x15
push eax
push esi
push dword [ebp - 0x58]
call fcn.00415050
add esp, 0x20
test eax, eax
je 0x4207e0
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x4214ae
mov edi, dword [ebp - 0x2c]
cmp esi, edi
je 0x421469
push dword [esi]
call fcn.004c8c7f
add esi, 4
add esp, 4
cmp esi, edi
jne 0x421455
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x42148f
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421521
push ecx
push esi
call fcn.004c3279
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
push dword [ebp - 0x34]
call fcn.004c8c7f
push dword [ebp - 0x18]
call fcn.004c8c7f
push dword [ebp - 0x1c]
call fcn.004c8c7f
push dword [ebp - 0x10]
call fcn.004c8c7f
push dword [ebp - 0x24]
call fcn.004c8c7f
add esp, 0x14
push dword [ebp - 0x58]
call ebx
push dword [ebp - 0x88]
call fcn.004c8c7f
push dword [ebp - 0x5c]
call fcn.004c8c7f
push dword [ebp - 0x60]
call fcn.004c8c7f
push dword [ebp - 0x40]
call fcn.004c8c7f
push dword [ebp - 0x38]
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 esp, ebp
pop ebp
ret
call fcn.004c8bcf
int3