Function at 0x41f5b0
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Get file attributes
Get thread local storage value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44eb78
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x46d45c]
xor eax, ebp
mov dword [ebp - 0x6c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x40]
call fcn.00402160
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00402160
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.00402160
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.00402160
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
call fcn.00402160
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.00402160
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4c]
call fcn.00402160
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10]
call fcn.00402160
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x20]
call fcn.00402160
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x3c]
call fcn.00402160
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x14]
call fcn.00402160
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call fcn.00402160
mov byte [ebp - 4], 0xb
mov eax, dword [ebp + 0xc]
cmp eax, dword [0x469980]
jne 0x41f68c
mov dword [ebp - 0x1c8], 0x45cf00
jmp 0x41f696
mov dword [ebp - 0x1c8], str.HKLM
mov ecx, dword [ebp + 0x10]
push ecx
push 0x45cefc
mov edx, dword [ebp - 0x1c8]
push edx
lea ecx, [ebp - 0x11c]
call fcn.00402190
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x1d0], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x1d0]
push ecx
lea edx, [ebp - 0x120]
push edx
call fcn.00420960
add esp, 0xc
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x1d8], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x1d8]
push ecx
lea edx, [ebp - 0x124]
push edx
call fcn.00420960
add esp, 0xc
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x1e0], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x1e0]
push ecx
lea ecx, [ebp - 0x54]
call fcn.00402240
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x124]
call fcn.004021c0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x120]
call fcn.004021c0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x11c]
call fcn.004021c0
cmp dword [0x46f680], 0
je 0x41f886
cmp dword [ebp + 0x14], 0xffffffff
jne 0x41f886
push 0
lea ecx, [ebp - 0x128]
call fcn.00402190
mov byte [ebp - 4], 0xf
push 0
lea ecx, [ebp - 0x12c]
call fcn.00402190
mov byte [ebp - 4], 0x10
push 0
lea ecx, [ebp - 0x130]
call fcn.00402190
mov byte [ebp - 4], 0x11
push 0
lea ecx, [ebp - 0x134]
call fcn.00402190
mov byte [ebp - 4], 0x12
push 0
lea ecx, [ebp - 0x138]
call fcn.00402190
mov byte [ebp - 4], 0x13
push 0
lea ecx, [ebp - 0x13c]
call fcn.00402190
mov byte [ebp - 4], 0x14
push 0xffffffffffffffff
push 0
push 0
lea edx, [ebp - 0x128]
push edx
movzx eax, byte [ebp + 0x18]
push eax
lea ecx, [ebp - 0x12c]
push ecx
lea edx, [ebp - 0x130]
push edx
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x138]
push ecx
lea edx, [ebp - 0x13c]
push edx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x54]
push ecx
push 0
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040c020
add esp, 0x40
mov dword [ebp + 0x14], eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x13c]
call fcn.004021c0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x138]
call fcn.004021c0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x134]
call fcn.004021c0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x130]
call fcn.004021c0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x12c]
call fcn.004021c0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x128]
call fcn.004021c0
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004021e0
movzx edx, byte [ebp + 0x18]
test edx, edx
jne 0x41f8a7
push 0x45cf18
lea ecx, [ebp - 0x14]
call fcn.004022b0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [0x46f464]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
push eax
push 0
lea ecx, [ebp - 0x14]
call fcn.00402270
push eax
mov edx, dword [ebp + 0xc]
push edx
call fcn.004047c0
add esp, 0x14
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x41fedd
mov dword [ebp - 0x2c], 0
jmp 0x41f8f4
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x4c]
push ecx
push 0
push 0
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0041d5f0
add esp, 0x18
test eax, eax
je 0x41f919
jmp 0x41fed3
push str.Scripts.Ini
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x58]
push eax
call fcn.00420960
add esp, 0xc
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x58]
call fcn.00402270
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41f954
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x58]
call fcn.004021c0
jmp 0x41f8eb
mov dword [ebp - 0x5c], 0
jmp 0x41f966
mov ecx, dword [ebp - 0x5c]
add ecx, 1
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
push edx
push str._dCmdLine
lea eax, [ebp - 0xa8]
push eax
call fcn.00438ac1
add esp, 0xc
lea ecx, [ebp - 0xcc]
call fcn.00402160
mov byte [ebp - 4], 0x16
push 1
push 0x208
lea ecx, [ebp - 0xcc]
call fcn.004023f0
lea ecx, [ebp - 0x58]
call fcn.00402270
push eax
push 0x208
lea ecx, [ebp - 0xcc]
call fcn.00402270
push eax
push 0x45cf6c
lea ecx, [ebp - 0xa8]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00402270
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0
jne 0x41f9f7
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xcc]
call fcn.004021c0
jmp 0x41fec2
mov edx, dword [ebp - 0x5c]
push edx
push str._dParameters
lea eax, [ebp - 0xa8]
push eax
call fcn.00438ac1
add esp, 0xc
lea ecx, [ebp - 0x64]
call fcn.00402160
mov byte [ebp - 4], 0x17
push 1
push 0x208
lea ecx, [ebp - 0x64]
call fcn.004023f0
lea ecx, [ebp - 0x58]
call fcn.00402270
push eax
push 0x208
lea ecx, [ebp - 0x64]
call fcn.00402270
push eax
push 0x45cf8c
lea ecx, [ebp - 0xa8]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00402270
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp dword [ebp - 0xd0], 2
jle 0x41faac
push 2
push 0x45cf90
lea ecx, [ebp - 0xcc]
call fcn.00402270
push eax
call fcn.00438fb4
add esp, 0xc
test eax, eax
je 0x41fa98
lea ecx, [ebp - 0xcc]
call fcn.00402270
movzx edx, word [eax + 2]
cmp edx, 0x3a
jne 0x41faac
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x40]
call fcn.00402240
jmp 0x41fbb9
lea ecx, [ebp - 0xcc]
push ecx
push 0x45cf98
lea edx, [ebp - 0x38]
push edx
push 0x45cf9c
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x140]
push ecx
call fcn.00420960
add esp, 0xc
mov dword [ebp - 0x1e4], eax
mov edx, dword [ebp - 0x1e4]
mov dword [ebp - 0x1e8], edx
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x1e8]
push eax
lea ecx, [ebp - 0x144]
push ecx
call fcn.004208d0
add esp, 0xc
mov dword [ebp - 0x1ec], eax
mov edx, dword [ebp - 0x1ec]
mov dword [ebp - 0x1f0], edx
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x1f0]
push eax
lea ecx, [ebp - 0x148]
push ecx
call fcn.00420960
add esp, 0xc
mov dword [ebp - 0x1f4], eax
mov edx, dword [ebp - 0x1f4]
mov dword [ebp - 0x1f8], edx
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x1f8]
push eax
lea ecx, [ebp - 0x14c]
push ecx
call fcn.004208d0
add esp, 0xc
mov dword [ebp - 0x1fc], eax
mov edx, dword [ebp - 0x1fc]
mov dword [ebp - 0x200], edx
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x200]
push eax
lea ecx, [ebp - 0x40]
call fcn.00402240
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x14c]
call fcn.004021c0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x148]
call fcn.004021c0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x144]
call fcn.004021c0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x140]
call fcn.004021c0
lea ecx, [ebp - 0x40]
call fcn.00402270
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41fbed
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x64]
call fcn.004021c0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xcc]
call fcn.004021c0
jmp 0x41f95d
lea ecx, [ebp - 0xc8]
call fcn.00401a80
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0xc8]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00402270
push eax
call fcn.0040d610
add esp, 8
push 0
lea edx, [ebp - 0xc8]
push edx
lea eax, [ebp - 0x60]
push eax
call fcn.00408fc0
add esp, 0xc
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x60]
call fcn.00402270
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00409fb0
add esp, 0x10
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x64]
push ecx
push 0x45cfa0
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x150]
push eax
call fcn.00420960
add esp, 0xc
mov dword [ebp - 0x204], eax
mov ecx, dword [ebp - 0x204]
mov dword [ebp - 0x208], ecx
mov byte [ebp - 4], 0x1e
mov edx, dword [ebp - 0x208]
push edx
lea eax, [ebp - 0xac]
push eax
call fcn.004208d0
add esp, 0xc
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x150]
call fcn.004021c0
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0xac]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0040b960
add esp, 0x14
movzx eax, al
test eax, eax
je 0x41fe78
cmp dword [ebp + 0x14], 0xffffffff
jne 0x41fdec
push 0
lea ecx, [ebp - 0x154]
call fcn.00402190
mov byte [ebp - 4], 0x21
push 0
lea ecx, [ebp - 0x158]
call fcn.00402190
mov byte [ebp - 4], 0x22
push 0
lea ecx, [ebp - 0x15c]
call fcn.00402190
mov byte [ebp - 4], 0x23
push 0
lea ecx, [ebp - 0x160]
call fcn.00402190
mov byte [ebp - 4], 0x24
push 0
lea ecx, [ebp - 0x164]
call fcn.00402190
mov byte [ebp - 4], 0x25
push 0
lea ecx, [ebp - 0x168]
call fcn.00402190
mov byte [ebp - 4], 0x26
push 0xffffffffffffffff
push 0
push 0
lea ecx, [ebp - 0x154]
push ecx
movzx edx, byte [ebp + 0x18]
push edx
lea eax, [ebp - 0x158]
push eax
lea ecx, [ebp - 0x15c]
push ecx
lea edx, [ebp - 0x160]
push edx
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x168]
push ecx
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x54]
push eax
push 0
mov ecx, dword [ebp + 0x14]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0040c020
add esp, 0x40
mov dword [ebp + 0x14], eax
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x168]
call fcn.004021c0
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x164]
call fcn.004021c0
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x160]
call fcn.004021c0
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x15c]
call fcn.004021c0
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x158]
call fcn.004021c0
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x154]
call fcn.004021c0
push 0
lea ecx, [ebp - 0x16c]
call fcn.00402190
mov byte [ebp - 4], 0x27
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x170]
call fcn.00402190
mov byte [ebp - 4], 0x28
push 0xffffffffffffffff
push 0
push 0
lea ecx, [ebp - 0x16c]
push ecx
movzx edx, byte [ebp + 0x18]
push edx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x170]
push eax
push 0xa
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0040c020
add esp, 0x40
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x170]
call fcn.004021c0
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x16c]
call fcn.004021c0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0xac]
call fcn.004021c0
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x60]
call fcn.004021c0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0xc8]
call fcn.00401ae0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x64]
call fcn.004021c0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xcc]
call fcn.004021c0
jmp 0x41f95d
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x58]
call fcn.004021c0
jmp 0x41f8eb
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [0x46f464]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004047c0
add esp, 0x14
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x41ffb9
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x174], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call fcn.004021c0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x14]
call fcn.004021c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x3c]
call fcn.004021c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x20]
call fcn.004021c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10]
call fcn.004021c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4c]
call fcn.004021c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.004021c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
call fcn.004021c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.004021c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.004021c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004021c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004021c0
mov eax, dword [ebp - 0x174]
jmp 0x42085d
mov dword [ebp - 0x2c], 0
jmp 0x41ffcb
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0041d570
add esp, 0xc
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x103
jne 0x41fff0
jmp 0x4207b1
cmp dword [ebp - 0x34], 0
je 0x41fffb
jmp 0x4207b1
lea edx, [ebp - 0x48]
push edx
mov eax, dword [0x46f464]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
push eax
push 0
lea ecx, [ebp - 0x38]
call fcn.00402270
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004047c0
add esp, 0x14
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x420033
jmp 0x41ffc2
lea ecx, [ebp - 0xd4]
call fcn.00402160
mov byte [ebp - 4], 0x29
lea edx, [ebp - 0xd4]
push edx
push 0
push 0
push 0x45cfa4
mov eax, dword [ebp - 0x48]
push eax
call fcn.0041d480
add esp, 0x14
test eax, eax
jne 0x420793
push 0x45cfbc
lea ecx, [ebp - 0x10]
call fcn.004021e0
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0
push str.FileSysPath
mov edx, dword [ebp - 0x48]
push edx
call fcn.0041d480
add esp, 0x14
push 0x5c
mov eax, dword [ebp + 0x10]
push eax
call fcn.00438ddb
add esp, 8
push eax
lea ecx, [ebp - 0x30]
call fcn.004021e0
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00402240
movzx edx, byte [ebp + 0x18]
test edx, edx
jne 0x4200c4
push 0x45cfd8
lea ecx, [ebp - 0x14]
call fcn.004022b0
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [0x46f464]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
push eax
push 0
lea ecx, [ebp - 0x14]
call fcn.00402270
push eax
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004047c0
add esp, 0x14
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x42010f
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xd4]
call fcn.004021c0
jmp 0x41ffc2
mov dword [ebp - 0xd8], 0
jmp 0x42012a
mov eax, dword [ebp - 0xd8]
add eax, 1
mov dword [ebp - 0xd8], eax
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0xd8]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.0041d570
add esp, 0xc
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x103
jne 0x420152
jmp 0x420789
cmp dword [ebp - 0x34], 0
je 0x42015d
jmp 0x420789
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [0x46f464]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
push eax
push 0
lea ecx, [ebp - 0x50]
call fcn.00402270
push eax
mov eax, dword [ebp - 0x24]
push eax
call fcn.004047c0
add esp, 0x14
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x420196
jmp 0x42011b
lea ecx, [ebp - 0x40]
push ecx
push 0
push 0
push 0x45cffc
mov edx, dword [ebp - 0x44]
push edx
call fcn.0041d480
add esp, 0x14
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x42077a
lea ecx, [ebp - 0xdc]
call fcn.00402160
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x10]
call fcn.00402270
movzx eax, word [eax]
test eax, eax
je 0x4203db
lea ecx, [ebp - 0x40]
call fcn.00402270
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x4203db
lea ecx, [ebp - 0x40]
call fcn.00402270
movzx edx, word [eax + 2]
cmp edx, 0x3a
je 0x4203db
lea eax, [ebp - 0x40]
push eax
push 0x45d00c
lea ecx, [ebp - 0x30]
push ecx
push 0x45d010
push 0x45d020
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x178]
push eax
call fcn.00420960
add esp, 0xc
mov dword [ebp - 0x20c], eax
mov ecx, dword [ebp - 0x20c]
mov dword [ebp - 0x210], ecx
mov byte [ebp - 4], 0x2b
mov edx, dword [ebp - 0x210]
push edx
lea eax, [ebp - 0x17c]
push eax
call fcn.00420960
add esp, 0xc
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 0x214]
mov dword [ebp - 0x218], ecx
mov byte [ebp - 4], 0x2c
mov edx, dword [ebp - 0x218]
push edx
lea eax, [ebp - 0x180]
push eax
call fcn.004208d0
add esp, 0xc
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x220], ecx
mov byte [ebp - 4], 0x2d
mov edx, dword [ebp - 0x220]
push edx
lea eax, [ebp - 0x184]
push eax
call fcn.00420960
add esp, 0xc
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x224]
mov dword [ebp - 0x228], ecx
mov byte [ebp - 4], 0x2e
mov edx, dword [ebp - 0x228]
push edx
lea eax, [ebp - 0x188]
push eax
call fcn.004208d0
add esp, 0xc
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x230], ecx
mov byte [ebp - 4], 0x2f
mov edx, dword [ebp - 0x230]
push edx
lea ecx, [ebp - 0x18]
call fcn.00402240
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0x188]
call fcn.004021c0
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x184]
call fcn.004021c0
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x180]
call fcn.004021c0
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x17c]
call fcn.004021c0
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x178]
call fcn.004021c0
lea ecx, [ebp - 0xfc]
call fcn.00401a80
mov byte [ebp - 4], 0x30
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x18]
call fcn.00402270
push eax
call fcn.0040d610
add esp, 8
push 0
lea ecx, [ebp - 0xfc]
push ecx
lea edx, [ebp - 0x18c]
push edx
call fcn.00408fc0
add esp, 0xc
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 0x31
mov ecx, dword [ebp - 0x238]
push ecx
lea ecx, [ebp - 0xdc]
call fcn.00402240
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x18c]
call fcn.004021c0
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0xfc]
call fcn.00401ae0
jmp 0x420460
lea ecx, [ebp - 0x118]
call fcn.00401a80
mov byte [ebp - 4], 0x32
lea edx, [ebp - 0x118]
push edx
lea ecx, [ebp - 0x40]
call fcn.00402270
push eax
call fcn.0040d610
add esp, 8
push 0
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x190]
push ecx
call fcn.00408fc0
add esp, 0xc
mov dword [ebp - 0x23c], eax
mov edx, dword [ebp - 0x23c]
mov dword [ebp - 0x240], edx
mov byte [ebp - 4], 0x33
mov eax, dword [ebp - 0x240]
push eax
lea ecx, [ebp - 0xdc]
call fcn.00402240
mov byte [ebp - 4], 0x32
lea ecx, [ebp - 0x190]
call fcn.004021c0
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x118]
call fcn.00401ae0
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0xdc]
call fcn.00402270
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00409fb0
add esp, 0x10
mov dword [ebp - 0xe0], eax
lea ecx, [ebp - 0x50]
push ecx
push 0x45d024
lea edx, [ebp - 0x38]
push edx
push 0x45d028
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x194]
push ecx
call fcn.00420960
add esp, 0xc
mov dword [ebp - 0x244], eax
mov edx, dword [ebp - 0x244]
mov dword [ebp - 0x248], edx
mov byte [ebp - 4], 0x34
mov eax, dword [ebp - 0x248]
push eax
lea ecx, [ebp - 0x198]
push ecx
call fcn.004208d0
add esp, 0xc
mov dword [ebp - 0x24c], eax
mov edx, dword [ebp - 0x24c]
mov dword [ebp - 0x250], edx
mov byte [ebp - 4], 0x35
mov eax, dword [ebp - 0x250]
push eax
lea ecx, [ebp - 0x19c]
push ecx
call fcn.00420960
add esp, 0xc
mov dword [ebp - 0x254], eax
mov edx, dword [ebp - 0x254]
mov dword [ebp - 0x258], edx
mov byte [ebp - 4], 0x36
mov eax, dword [ebp - 0x258]
push eax
lea ecx, [ebp - 0x1a0]
push ecx
call fcn.004208d0
add esp, 0xc
mov dword [ebp - 0x25c], eax
mov edx, dword [ebp - 0x25c]
mov dword [ebp - 0x260], edx
mov byte [ebp - 4], 0x37
mov eax, dword [ebp - 0x260]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00402240
mov byte [ebp - 4], 0x36
lea ecx, [ebp - 0x1a0]
call fcn.004021c0
mov byte [ebp - 4], 0x35
lea ecx, [ebp - 0x19c]
call fcn.004021c0
mov byte [ebp - 4], 0x34
lea ecx, [ebp - 0x198]
call fcn.004021c0
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x194]
call fcn.004021c0
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0xd4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0040b960
add esp, 0x14
movzx eax, al
test eax, eax
je 0x42076b
cmp dword [ebp + 0x14], 0xffffffff
jne 0x4206db
push 0
lea ecx, [ebp - 0x1a4]
call fcn.00402190
mov byte [ebp - 4], 0x38
push 0
lea ecx, [ebp - 0x1a8]
call fcn.00402190
mov byte [ebp - 4], 0x39
push 0
lea ecx, [ebp - 0x1ac]
call fcn.00402190
mov byte [ebp - 4], 0x3a
push 0
lea ecx, [ebp - 0x1b0]
call fcn.00402190
mov byte [ebp - 4], 0x3b
push 0
lea ecx, [ebp - 0x1b4]
call fcn.00402190
mov byte [ebp - 4], 0x3c
push 0
lea ecx, [ebp - 0x1b8]
call fcn.00402190
mov byte [ebp - 4], 0x3d
push 0xffffffffffffffff
push 0
push 0
lea ecx, [ebp - 0x1a4]
push ecx
movzx edx, byte [ebp + 0x18]
push edx
lea eax, [ebp - 0x1a8]
push eax
lea ecx, [ebp - 0x1ac]
push ecx
lea edx, [ebp - 0x1b0]
push edx
lea eax, [ebp - 0x1b4]
push eax
lea ecx, [ebp - 0x1b8]
push ecx
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x54]
push eax
push 0
mov ecx, dword [ebp + 0x14]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0040c020
add esp, 0x40
mov dword [ebp + 0x14], eax
mov byte [ebp - 4], 0x3c
lea ecx, [ebp - 0x1b8]
call fcn.004021c0
mov byte [ebp - 4], 0x3b
lea ecx, [ebp - 0x1b4]
call fcn.004021c0
mov byte [ebp - 4], 0x3a
lea ecx, [ebp - 0x1b0]
call fcn.004021c0
mov byte [ebp - 4], 0x39
lea ecx, [ebp - 0x1ac]
call fcn.004021c0
mov byte [ebp - 4], 0x38
lea ecx, [ebp - 0x1a8]
call fcn.004021c0
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x1a4]
call fcn.004021c0
push 0
lea ecx, [ebp - 0x1bc]
call fcn.00402190
mov byte [ebp - 4], 0x3e
push 0
lea ecx, [ebp - 0x1c0]
call fcn.00402190
mov byte [ebp - 4], 0x3f
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x1bc]
push eax
movzx ecx, byte [ebp + 0x18]
push ecx
lea edx, [ebp - 0x1c0]
push edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0xd4]
push edx
push 3
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0xe0]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0040c020
add esp, 0x40
mov byte [ebp - 4], 0x3e
lea ecx, [ebp - 0x1c0]
call fcn.004021c0
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x1bc]
call fcn.004021c0
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0xdc]
call fcn.004021c0
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42011b
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xd4]
call fcn.004021c0
jmp 0x41ffc2
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x1c4], ecx
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call fcn.004021c0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x14]
call fcn.004021c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x3c]
call fcn.004021c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x20]
call fcn.004021c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10]
call fcn.004021c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4c]
call fcn.004021c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.004021c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
call fcn.004021c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.004021c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.004021c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004021c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004021c0
mov eax, dword [ebp - 0x1c4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x6c]
xor ecx, ebp
call fcn.004376f1
mov esp, ebp
pop ebp
ret