Function at 0x4204d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f1515
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
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 ebx, dword [ebp + 0x10]
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x38], eax
mov word [eax], cx
push 2
mov dword [ebp - 4], ecx
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x40], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x60], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x5c], eax
mov word [eax], cx
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x88], eax
add esp, 0x14
mov word [eax], cx
cmp dword [ebp + 0x14], 0xffffffff
mov edi, dword [ebp + 0xc]
mov byte [ebp - 4], 4
jne 0x42074c
push 0x4f9d20
mov dword [ebp - 0x14], ecx
call fcn.004c8d00
push 0
mov dword [ebp - 0x14], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x50], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x50], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x4c], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x4c], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x48], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x48], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x10], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x10], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x18], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x18], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x1c], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x1c], eax
call fcn.004c8d5f
test ebx, ebx
mov dword [ebp - 0x20], 0
mov esi, 0x4f9d20
cmovne esi, ebx
push esi
call fcn.004c8d00
push 0
mov dword [ebp - 0x20], eax
call fcn.004c8d5f
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 edi
push eax
call fcn.00409cf0
mov edi, eax
push 0x4f9d20
mov dword [ebp - 0x24], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x24], eax
call fcn.004c8d5f
push esi
mov dword [ebp - 0x44], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x44], eax
call fcn.004c8d5f
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00409cf0
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.00405550
add esp, 0x74
mov dword [ebp + 0x14], eax
push dword [ebp - 0x64]
call fcn.004c8d5f
push dword [ebp - 0x44]
call fcn.004c8d5f
push dword [ebp - 0x24]
call fcn.004c8d5f
push dword [ebp - 0x3c]
call fcn.004c8d5f
push dword [ebp - 0x20]
call fcn.004c8d5f
push dword [ebp - 0x1c]
call fcn.004c8d5f
push dword [ebp - 0x18]
call fcn.004c8d5f
push dword [ebp - 0x10]
call fcn.004c8d5f
push dword [ebp - 0x48]
call fcn.004c8d5f
push dword [ebp - 0x4c]
call fcn.004c8d5f
push dword [ebp - 0x50]
call fcn.004c8d5f
push dword [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.004c8d5f
mov edi, dword [ebp + 0xc]
add esp, 0x30
lea eax, [ebp - 0x58]
push eax
push 0x20119
push 0
push ebx
push edi
call fcn.004086c0
add esp, 0x14
test eax, eax
jne 0x4214e9
push 2
mov dword [ebp - 0x64], eax
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x24], 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
xor ecx, ecx
mov dword [ebp - 0x1c], eax
mov word [eax], cx
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 - 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 0x421452
push 0x4f9e8c
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 - 0x40]
call fcn.004050e0
push esi
call fcn.004c8d5f
mov edi, dword [ebp - 0x14]
mov eax, 0x4f9d20
mov esi, dword [ebp - 0x10]
test edi, edi
cmovne eax, edi
push eax
call fcn.004c8d00
push esi
mov dword [ebp - 0x10], eax
call fcn.004c8d5f
push edi
call fcn.004c8d5f
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
add esp, 0x10
push dword [0x539fd0]
call edi
lea ecx, [ebp - 0x20]
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 0x4208b5
mov eax, dword [ebp - 0x40]
mov ecx, 0x4f9d20
mov esi, dword [ebp - 0x1c]
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8d00
push esi
mov dword [ebp - 0x1c], eax
call fcn.004c8d5f
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push 0x4f9d20
push dword [ebp - 0x20]
call fcn.004151a0
add esp, 0x1c
jmp 0x420958
push dword [0x539fd0]
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.004086c0
add esp, 0x14
test eax, eax
jne 0x42133b
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0x4f9d20
push dword [ebp - 0x20]
call fcn.004151a0
add esp, 0x14
test eax, eax
je 0x420936
push dword [ebp - 0x20]
call ebx
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], 0x14
test esi, esi
je 0x4213b0
mov edi, dword [ebp - 0x2c]
cmp esi, edi
je 0x421364
nop word [eax + eax]
push dword [esi]
call fcn.004c8d5f
add esi, 4
add esp, 4
cmp esi, edi
jne 0x420920
jmp 0x421361
mov eax, dword [ebp - 0x40]
mov ecx, 0x4f9d20
mov esi, dword [ebp - 0x24]
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8d00
push esi
mov dword [ebp - 0x24], eax
call fcn.004c8d5f
add esp, 8
push dword [ebp - 0x20]
call ebx
push dword [0x539fd0]
call edi
mov esi, dword [ebp - 0x10]
cmp eax, 0x200
jne 0x420976
push 0x4faa20
jmp 0x42097b
push 0x4f9d20
call fcn.004c8d00
add esp, 4
mov dword [ebp - 0x10], eax
push esi
call fcn.004c8d5f
push 0x4f9e8c
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 - 0x1c]
call fcn.004050e0
push esi
call fcn.004c8d5f
push 0x4faa3c
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 - 0x54], eax
call fcn.004c8d5f
add esp, 0x14
lea ecx, [ebp - 0x54]
push esi
call fcn.004050e0
push esi
call fcn.004c8d5f
mov eax, dword [ebp - 0x10]
add esp, 4
mov edi, eax
lea edx, [edi + 2]
nop word [eax + eax]
mov cx, word [edi]
add edi, 2
test cx, cx
jne 0x420a20
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
mov cx, word [ebx]
add ebx, 2
test cx, cx
jne 0x420a47
sub ebx, dword [ebp - 0x54]
sar ebx, 1
test ebx, ebx
jle 0x420a75
lea ecx, [ebx + edi]
lea ecx, [ecx*2 + 4]
push ecx
push eax
call fcn.004c8d85
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.004c4e20
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.004c4e20
push esi
call fcn.004c8d5f
push dword [ebp - 0x14]
call fcn.004c8d5f
add esp, 0x20
push dword [0x539fd0]
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.004086c0
add esp, 0x14
test eax, eax
jne 0x421296
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x4ffdf0
push dword [ebp - 0x20]
call fcn.004151a0
add esp, 0x14
test eax, eax
jne 0x420ba2
push 0x4ffe04
push dword [ebp - 0x10]
call fcn.004d5e3a
add esp, 8
test eax, eax
jne 0x420b5a
mov eax, dword [ebp - 0x10]
mov ecx, 0x4f9d20
add eax, 0x10
cmovne ecx, eax
push ecx
call fcn.004c8d00
push 0
mov edi, eax
call fcn.004c8d5f
mov esi, dword [ebp - 0x10]
test edi, edi
mov ecx, 0x4f9d20
cmovne ecx, edi
push ecx
call fcn.004c8d00
push esi
mov dword [ebp - 0x10], eax
call fcn.004c8d5f
push edi
call fcn.004c8d5f
add esp, 0x14
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x10]
call fcn.00408e30
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x34]
push 0
push eax
lea eax, [ebp - 0x90]
push edi
push eax
call fcn.004069d0
mov esi, dword [ebp - 0x18]
mov ecx, 0x4f9d20
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8d00
push esi
mov dword [ebp - 0x18], eax
call fcn.004c8d5f
push dword [ebp - 0x90]
jmp 0x420c08
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x4f9d20
push dword [ebp - 0x20]
call fcn.004151a0
add esp, 0x14
test eax, eax
jne 0x42125b
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x10]
call fcn.00408e30
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x34]
push 0
push eax
lea eax, [ebp - 0x94]
push edi
push eax
call fcn.004069d0
mov esi, dword [ebp - 0x18]
mov ecx, 0x4f9d20
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
call fcn.004c8d00
push esi
mov dword [ebp - 0x18], eax
call fcn.004c8d5f
push dword [ebp - 0x94]
call fcn.004c8d5f
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.004069c0
push 0x4f9e8c
mov dword [ebp - 0x54], eax
call fcn.004c8d00
push 0
mov ebx, eax
call fcn.004c8d5f
test ebx, ebx
mov ecx, 0x4f9d20
cmovne ecx, ebx
push ecx
call fcn.004c8d00
push 0
mov dword [ebp - 0x3c], eax
call fcn.004c8d5f
add esp, 0x20
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x1c]
call fcn.004050e0
mov edi, dword [ebp - 0x3c]
mov eax, 0x4f9d20
mov esi, dword [ebp - 0x10]
test edi, edi
cmovne eax, edi
push eax
call fcn.004c8d00
push esi
mov dword [ebp - 0x10], eax
call fcn.004c8d5f
push edi
call fcn.004c8d5f
push ebx
call fcn.004c8d5f
push 0x4faa5c
call fcn.004c8d00
push 0
mov esi, eax
call fcn.004c8d5f
test esi, esi
mov dword [ebp - 0x44], 0
mov ecx, 0x4f9d20
cmovne ecx, esi
push ecx
call fcn.004c8d00
push 0
mov dword [ebp - 0x44], eax
call fcn.004c8d5f
add esp, 0x20
lea ecx, [ebp - 0x44]
push dword [ebp - 0x1c]
call fcn.004050e0
push esi
call fcn.004c8d5f
mov eax, dword [ebp - 0x1c]
mov ecx, 0x4f9d20
mov esi, dword [ebp - 0x38]
test eax, eax
mov byte [ebp - 4], 0x16
cmovne ecx, eax
push ecx
call fcn.004c8d00
push esi
mov dword [ebp - 0x38], eax
call fcn.004c8d5f
add esp, 0xc
push dword [0x539fd0]
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.004086c0
add esp, 0x14
test eax, eax
jne 0x420d8a
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x4f9d20
push dword [ebp - 0x20]
call fcn.004151a0
add esp, 0x14
test eax, eax
jne 0x420d81
mov edx, dword [ebp - 0x10]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420d51
sub ecx, esi
sar ecx, 1
je 0x420d81
mov esi, dword [ebp - 0x38]
test edx, edx
mov eax, 0x4f9d20
cmovne eax, edx
push eax
call fcn.004c8d00
push esi
mov dword [ebp - 0x38], eax
call fcn.004c8d5f
add esp, 8
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x10]
mov edi, 0x4f9d20
test eax, eax
mov dword [ebp - 0x14], 0
cmovne edi, eax
push edi
call fcn.004c8d00
push 0
mov dword [ebp - 0x14], eax
call fcn.004c8d5f
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.00409cf0
mov esi, eax
push 0x4f9d20
mov dword [ebp - 0x4c], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x4c], eax
call fcn.004c8d5f
push edi
mov dword [ebp - 0x50], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x50], eax
call fcn.004c8d5f
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.00409cf0
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.00405240
add esp, 0x58
mov bl, al
push dword [ebp - 0x98]
call fcn.004c8d5f
push dword [ebp - 0x50]
call fcn.004c8d5f
push dword [ebp - 0x4c]
call fcn.004c8d5f
push dword [ebp - 0x9c]
call fcn.004c8d5f
push dword [ebp - 0x14]
call fcn.004c8d5f
add esp, 0x14
test bl, bl
je 0x4211ab
cmp dword [ebp + 0x14], 0xffffffff
jne 0x42107e
push 0x4f9d20
mov dword [ebp - 0x14], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x14], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x80], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x80], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x7c], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x7c], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x78], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x78], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x74], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x74], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x8c], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x8c], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x70], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x70], eax
call fcn.004c8d5f
push edi
mov dword [ebp - 0x6c], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x6c], eax
call fcn.004c8d5f
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.00409cf0
mov esi, eax
push 0x4f9d20
mov dword [ebp - 0x68], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x68], eax
call fcn.004c8d5f
push edi
mov dword [ebp - 0x48], 0
call fcn.004c8d00
mov dword [ebp - 0x48], eax
push 0
call fcn.004c8d5f
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.00409cf0
push 0xffffffffffffffff
push 0
push 0
lea ecx, [ebp - 0x14]
mov ebx, dword [ebp + 8]
push ecx
movzx ecx, byte [ebp + 0x18]
push ecx
push 0
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x27
push ecx
lea ecx, [ebp - 0x7c]
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 ebx
call fcn.00405550
add esp, 0x74
mov dword [ebp + 0x14], eax
push dword [ebp - 0xa0]
call fcn.004c8d5f
push dword [ebp - 0x48]
call fcn.004c8d5f
push dword [ebp - 0x68]
call fcn.004c8d5f
push dword [ebp - 0xa4]
call fcn.004c8d5f
push dword [ebp - 0x6c]
call fcn.004c8d5f
push dword [ebp - 0x70]
call fcn.004c8d5f
push dword [ebp - 0x8c]
call fcn.004c8d5f
push dword [ebp - 0x74]
call fcn.004c8d5f
push dword [ebp - 0x78]
call fcn.004c8d5f
push dword [ebp - 0x7c]
call fcn.004c8d5f
push dword [ebp - 0x80]
call fcn.004c8d5f
push dword [ebp - 0x14]
call fcn.004c8d5f
add esp, 0x30
jmp 0x421081
mov ebx, dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
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 edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4210b2
sub ecx, edi
sar ecx, 1
je 0x4210df
test edx, edx
mov eax, 0x4f9d20
cmovne eax, edx
push eax
call fcn.004c8d00
push esi
mov dword [ebp - 0x38], eax
call fcn.004c8d5f
add esp, 8
push 0x4f9d20
mov dword [ebp - 0x14], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x14], eax
call fcn.004c8d5f
mov ecx, dword [ebp + 0x10]
mov eax, 0x4f9d20
mov esi, dword [ebp - 0xa8]
test ecx, ecx
mov dword [ebp - 0x84], 0
cmovne eax, ecx
push eax
call fcn.004c8d00
push 0
mov dword [ebp - 0x84], eax
call fcn.004c8d5f
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x29
push eax
lea eax, [ebp - 0x84]
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 - 0x14]
mov byte [ebp - 4], 0x2a
push ecx
movzx ecx, byte [ebp + 0x18]
push ecx
push esi
lea ecx, [ebp - 0x44]
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 ebx
call fcn.00405550
add esp, 0x64
push dword [ebp - 0xac]
call fcn.004c8d5f
push dword [ebp - 0x84]
call fcn.004c8d5f
push dword [ebp - 0x14]
call fcn.004c8d5f
add esp, 0xc
push dword [ebp - 0x44]
call fcn.004c8d5f
mov esi, dword [ebp - 0x30]
add esp, 4
mov byte [ebp - 4], 0x14
test esi, esi
je 0x421228
mov edi, dword [ebp - 0x2c]
cmp esi, edi
je 0x4211dc
push dword [esi]
call fcn.004c8d5f
add esi, 4
add esp, 4
cmp esi, edi
jne 0x4211c8
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 0x421209
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42152c
push ecx
push esi
call fcn.004c34a9
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
push dword [ebp - 0x34]
call fcn.004c8d5f
push dword [ebp - 0x18]
call fcn.004c8d5f
push dword [ebp - 0x1c]
call fcn.004c8d5f
push dword [ebp - 0x10]
call fcn.004c8d5f
push dword [ebp - 0x24]
call fcn.004c8d5f
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4213d8
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 0x4213b0
mov edi, dword [ebp - 0x2c]
cmp esi, edi
je 0x421364
push dword [esi]
call fcn.004c8d5f
add esi, 4
add esp, 4
cmp esi, edi
jne 0x421280
jmp 0x421361
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], 0x14
test esi, esi
je 0x421308
mov edi, dword [ebp - 0x2c]
cmp esi, edi
je 0x4212bc
push dword [esi]
call fcn.004c8d5f
add esi, 4
add esp, 4
cmp esi, edi
jne 0x4212a8
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 0x4212e9
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42152c
push ecx
push esi
call fcn.004c34a9
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
push dword [ebp - 0x34]
call fcn.004c8d5f
push dword [ebp - 0x18]
call fcn.004c8d5f
push dword [ebp - 0x1c]
call fcn.004c8d5f
push dword [ebp - 0x10]
call fcn.004c8d5f
push dword [ebp - 0x24]
call fcn.004c8d5f
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4213d8
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], 0x14
test esi, esi
je 0x4213b0
mov edi, dword [ebp - 0x2c]
cmp esi, edi
je 0x421364
nop dword [eax]
push dword [esi]
call fcn.004c8d5f
add esi, 4
add esp, 4
cmp esi, edi
jne 0x421350
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 0x421391
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42152c
push ecx
push esi
call fcn.004c34a9
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
push dword [ebp - 0x34]
call fcn.004c8d5f
push dword [ebp - 0x18]
call fcn.004c8d5f
push dword [ebp - 0x1c]
call fcn.004c8d5f
push dword [ebp - 0x10]
call fcn.004c8d5f
push dword [ebp - 0x24]
call fcn.004c8d5f
mov esi, dword [ebp - 0x64]
add esp, 0x14
inc esi
mov dword [ebp - 0x64], esi
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x24], 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
xor ecx, ecx
mov dword [ebp - 0x1c], eax
mov word [eax], cx
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 - 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 0x4207e2
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x4214b9
mov edi, dword [ebp - 0x2c]
cmp esi, edi
je 0x421474
push dword [esi]
call fcn.004c8d5f
add esi, 4
add esp, 4
cmp esi, edi
jne 0x421460
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x42149a
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42152c
push ecx
push esi
call fcn.004c34a9
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
push dword [ebp - 0x34]
call fcn.004c8d5f
push dword [ebp - 0x18]
call fcn.004c8d5f
push dword [ebp - 0x1c]
call fcn.004c8d5f
push dword [ebp - 0x10]
call fcn.004c8d5f
push dword [ebp - 0x24]
call fcn.004c8d5f
add esp, 0x14
push dword [ebp - 0x58]
call ebx
push dword [ebp - 0x88]
call fcn.004c8d5f
push dword [ebp - 0x5c]
call fcn.004c8d5f
push dword [ebp - 0x60]
call fcn.004c8d5f
push dword [ebp - 0x40]
call fcn.004c8d5f
push dword [ebp - 0x38]
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 esp, ebp
pop ebp
ret
call fcn.004c8caf
int3