Function at 0x41cb86
Capabilities:
Copy file
Set file attributes
Set registry value

Disassembly:
mov eax, 0x483c39
call fcn.00466fdc
mov eax, 0x12a0
call fcn.00467780
push ebx
push esi
push edi
mov dword [ebp - 0x20], ecx
call fcn.00401166
mov esi, eax
xor ebx, ebx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x6ab]
mov byte [ebp - 0x6ac], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, esi
mov dword [ebp - 0x38], esi
stosb byte es:[edi], al
call fcn.0042c463
test eax, eax
jne 0x41cd2b
lea ecx, [ebp - 0xf4]
call fcn.004020ad
mov ecx, 0x4ab230
mov dword [ebp - 4], ebx
call fcn.00401a14
push eax
lea eax, [ebp - 0x6ac]
push 0x4aba88
push eax
call fcn.00434a91
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x6ac]
push ebx
push eax
push 0x4ab258
call esi
lea eax, [ebp - 0x6ac]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x6ac]
lea ecx, [ebp - 0xf4]
push eax
call fcn.00402533
xor eax, eax
lea edi, [ebp - 0x107]
mov byte [ebp - 0x108], bl
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x164]
movzx eax, word [eax + 0x48]
push eax
lea eax, [ebp - 0x108]
push 0x4a23d8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0xeac]
push eax
lea eax, [ebp - 0x12ac]
push eax
push 0x4ab258
call fcn.0043484b
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x12ac]
push eax
lea eax, [ebp - 0xeac]
push eax
call fcn.00434a91
lea eax, [ebp - 0xeac]
push 0x4a23d0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0xaab]
mov byte [ebp - 0xaac], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0xaac]
push 0x4aba88
push eax
call fcn.00434a91
lea eax, [ebp - 0xaac]
push 0x4a23d0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0xaac]
push ebx
push eax
lea eax, [ebp - 0xeac]
push eax
call esi
lea eax, [ebp - 0xaac]
lea ecx, [ebp - 0xf4]
push eax
call fcn.00402533
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf4]
call fcn.004020da
mov esi, dword [ebp - 0x38]
jmp 0x41cd3d
lea eax, [ebp - 0x6ac]
push 0x4ab258
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 1
lea eax, [ebp - 0x19]
pop edi
lea ecx, [ebp - 0x144]
push edi
push eax
push dword [0x48b820]
call fcn.00401884
lea eax, [ebp - 0x1a]
push edi
push eax
lea ecx, [ebp - 0x16c]
push dword [0x48b7ec]
mov dword [ebp - 4], edi
call fcn.00401884
push 0xa
lea eax, [ebp - 0x144]
push ebx
push eax
lea eax, [ebp - 0x16c]
mov ecx, esi
push eax
mov byte [ebp - 4], 2
call fcn.0042d9e4
lea ecx, [ebp - 0x16c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 1
call fcn.00401093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.00401093
lea eax, [ebp - 0x1a]
push ebx
push eax
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xc0], 0x48b6a8
mov dword [ebp - 0xa0], 0x48b6a0
call fcn.00403cd9
push 3
mov dword [ebp - 0x18], ebx
pop edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x1a]
push ebx
push eax
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 4
mov dword [ebp - 0x194], 0x48b6a8
mov dword [ebp - 0x174], 0x48b6a0
call fcn.00403cd9
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 5
sub eax, ebx
je 0x41ce8b
dec eax
je 0x41ce4e
dec eax
jne 0x41cec6
lea eax, [ebp - 0x19]
push 1
push eax
push 0x4a0ee4
lea ecx, [ebp - 0x16c]
call fcn.00402e7f
lea eax, [ebp - 0x16c]
lea ecx, [ebp - 0x194]
push eax
mov byte [ebp - 4], 8
call fcn.004024b2
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x16c]
jmp 0x41ce84
lea eax, [ebp - 0x26]
push 1
push eax
push 0x4a239c
lea ecx, [ebp - 0x144]
call fcn.00402e7f
lea eax, [ebp - 0x144]
lea ecx, [ebp - 0x194]
push eax
mov byte [ebp - 4], 7
call fcn.004024b2
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x144]
call fcn.00402438
jmp 0x41cecf
lea eax, [ebp - 0x25]
push 1
push eax
push 0x4a2368
lea ecx, [ebp - 0x1bc]
call fcn.00402e7f
lea eax, [ebp - 0x1bc]
lea ecx, [ebp - 0x194]
push eax
mov byte [ebp - 4], 6
call fcn.004024b2
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 5
call fcn.00402438
cmp dword [ebp - 0x30], edi
je 0x41d651
lea ecx, [ebp - 0x194]
call fcn.004042dd
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push ecx
push 0xf003f
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x41d651
lea ecx, [ebp - 0x18]
call fcn.00411536
mov ecx, dword [ebp - 0x14]
cmp eax, ebx
mov dword [ebp - 0x18], ecx
jne 0x41d651
lea eax, [ebp - 0x25]
push 1
push eax
lea ecx, [ebp - 0x284]
push dword [ebp + 8]
call fcn.00402e7f
cmp dword [ebp + 0xc], ebx
mov byte [ebp - 4], 9
je 0x41cf47
mov edi, 0x4a2348
push edi
call fcn.00467004
pop ecx
push eax
push edi
lea ecx, [ebp - 0x280]
call fcn.00410279
lea eax, [ebp + 0xf]
mov edi, 0x48b6a8
push ebx
push eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x44], 0x48b6a0
call fcn.00403cd9
mov eax, dword [esi + 0x14]
mov byte [ebp - 4], 0xa
dec eax
je 0x41d03c
dec eax
je 0x41cfeb
dec eax
je 0x41cf95
dec eax
je 0x41cf8b
dec eax
jne 0x41d055
mov eax, 0x4a2340
jmp 0x41d041
mov eax, 0x4a2338
jmp 0x41d041
lea eax, [ebp - 0x2ac]
push 8
push eax
mov ecx, esi
call fcn.0040a446
push eax
lea eax, [ebp - 0xe8]
push 0x4a2330
push eax
mov byte [ebp - 4], 0xd
call fcn.0040c51d
add esp, 0xc
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xe
call fcn.004024b2
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0xd
call fcn.00402438
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2ac]
call fcn.00402438
jmp 0x41d055
lea eax, [ebp - 0x8c]
push 8
push eax
mov ecx, esi
call fcn.0040a446
push eax
lea eax, [ebp - 0x1e4]
push 0x4a2328
push eax
mov byte [ebp - 4], 0xb
call fcn.0040c51d
add esp, 0xc
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xc
call fcn.004024b2
lea ecx, [ebp - 0x1e4]
mov byte [ebp - 4], 0xb
call fcn.00402438
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x8c]
jmp 0x41cfe4
mov eax, 0x4a2320
mov ecx, eax
test ecx, ecx
jne 0x41d04c
mov eax, 0x4a9e50
push eax
lea ecx, [ebp - 0x64]
call fcn.00403eb2
mov ecx, esi
call fcn.0042c463
test eax, eax
mov eax, 0x4a2318
jne 0x41d06a
mov eax, 0x4a9e50
cmp eax, ebx
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x214], 0x48b6a0
jne 0x41d083
mov eax, 0x4a9e50
lea ecx, [ebp - 0x26]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.00404d89
lea eax, [ebp - 0x16c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0xf
call fcn.0042a4c5
lea eax, [ebp - 0x19]
push 1
push eax
mov ecx, esi
mov byte [ebp - 4], 0x10
call fcn.0042a6a2
push eax
lea ecx, [ebp - 0x144]
call fcn.00402e7f
lea eax, [ebp - 0x31]
push 1
push eax
push 0x4aba88
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 0x11
call fcn.00402e7f
mov ecx, esi
mov byte [ebp - 4], 0x12
call fcn.0042c463
test eax, eax
je 0x41d168
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x38], ebx
jne 0x41d168
mov edx, dword [ebp - 0x22c]
mov edi, 0x48b6d0
cmp edx, ebx
jne 0x41d105
mov edx, edi
mov eax, dword [ebp - 0x27c]
mov dword [ebp + 8], edi
cmp eax, ebx
je 0x41d115
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x2c], edi
cmp eax, ebx
je 0x41d125
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x20], edi
cmp eax, ebx
je 0x41d135
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x5c]
cmp ecx, ebx
jne 0x41d13e
mov ecx, edi
mov eax, dword [ebp - 0x164]
cmp eax, ebx
jne 0x41d14a
mov eax, edi
push edx
mov edx, dword [esi + 0x164]
push dword [ebp + 8]
movzx edx, word [edx + 0x48]
push dword [ebp - 0x2c]
push dword [ebp - 0x20]
push edx
push ecx
push eax
push 0x4a22c0
jmp 0x41d1da
mov edx, dword [ebp - 0x22c]
mov edi, 0x48b6d0
cmp edx, ebx
jne 0x41d179
mov edx, edi
mov eax, dword [ebp - 0x27c]
mov dword [ebp + 8], edi
cmp eax, ebx
je 0x41d189
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x20], edi
cmp eax, ebx
je 0x41d199
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x2c], edi
cmp eax, ebx
je 0x41d1a9
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x5c]
cmp ecx, ebx
jne 0x41d1b2
mov ecx, edi
mov eax, dword [ebp - 0x164]
cmp eax, ebx
jne 0x41d1be
mov eax, edi
push edx
mov edx, dword [esi + 0x164]
push dword [ebp + 8]
movzx edx, word [edx + 0x48]
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push edx
push ecx
push eax
push 0x4a2274
lea eax, [ebp - 0xc0]
push eax
call fcn.0040fcaa
add esp, 0x24
lea eax, [ebp - 0x8c]
mov ecx, esi
push eax
call fcn.0041d7fb
cmp dword [eax + 0xc], ebx
lea ecx, [ebp - 0x8c]
setne byte [ebp + 0xb]
call fcn.00402438
cmp byte [ebp + 0xb], bl
je 0x41d29e
lea eax, [ebp - 0x2ac]
mov ecx, esi
push eax
call fcn.0041d7fb
push eax
lea eax, [ebp - 0x1e4]
push 0x4a225c
push eax
mov byte [ebp - 4], 0x13
call fcn.0040c51d
push 0x4a11bc
push eax
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 0x14
push eax
call fcn.00410152
add esp, 0x18
push dword [0x48b6b0]
mov ecx, eax
add eax, 4
mov byte [ebp - 4], 0x15
neg ecx
sbb ecx, ecx
push ebx
and ecx, eax
push ecx
lea ecx, [ebp - 0xbc]
call fcn.0040b07a
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x14
call fcn.00402438
lea ecx, [ebp - 0x1e4]
mov byte [ebp - 4], 0x13
call fcn.00402438
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 0x12
call fcn.00402438
cmp dword [ebp - 0x30], 1
jne 0x41d2da
lea eax, [ebp - 0x20]
mov dword [ebp + 8], ebx
push eax
lea eax, [ebp + 8]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push 0x4a2254
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x41d2da
lea ecx, [ebp - 0x18]
call fcn.00411536
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x284]
push ebx
push eax
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x11c], 0x48b6a8
mov dword [ebp - 0xfc], 0x48b6a0
call fcn.00403d4e
lea eax, [ebp + 0xb]
push 1
push eax
mov ecx, esi
mov byte [ebp - 4], 0x16
call fcn.0042a6a2
push eax
lea ecx, [ebp - 0x25c]
call fcn.00402e7f
lea eax, [ebp - 0x39]
push 1
push eax
push 0x4aba88
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 0x17
call fcn.00402e7f
cmp dword [ebp - 0x250], ebx
mov byte [ebp - 4], 0x18
je 0x41d362
lea eax, [ebp - 0x8c]
push ebx
push eax
lea ecx, [ebp - 0x25c]
call fcn.00415d50
lea ecx, [ebp - 0x8c]
call fcn.00402438
cmp dword [ebp - 0x200], ebx
je 0x41d388
lea eax, [ebp - 0x8c]
push ebx
push eax
lea ecx, [ebp - 0x20c]
call fcn.00415d50
lea ecx, [ebp - 0x8c]
call fcn.00402438
cmp dword [ebp - 0xb8], ebx
je 0x41d396
mov edi, dword [ebp - 0xb8]
lea eax, [ebp - 0xd]
push 1
push eax
push 0x4a165c
lea ecx, [ebp - 0x8c]
call fcn.00401884
mov eax, dword [eax + 8]
mov byte [ebp - 4], 0x19
cmp eax, ebx
jne 0x41d3bc
mov eax, 0x48b67c
mov dword [ebp - 0x24], eax
push edi
lea eax, [ebp - 0x24]
push 0x4a2210
push eax
mov dword [ebp - 0x20], 0x708
call fcn.0040a552
add esp, 0xc
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x18
call fcn.00401093
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x1a
push eax
push 0xf003f
push ebx
push 0x4a1058
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, ebx
jne 0x41d585
lea ecx, [ebp - 0x14]
call fcn.00411536
mov ecx, dword [ebp - 0x20]
cmp eax, ebx
mov dword [ebp - 0x14], ecx
jne 0x41d585
lea ecx, [ebp - 0x25c]
call fcn.004042dd
push eax
mov dword [ebp - 0x20], eax
call esi
inc eax
push eax
push dword [ebp - 0x20]
push 1
push ebx
push 0x4a0f24
push dword [ebp - 0x14]
call edi
lea ecx, [ebp - 0x20c]
call fcn.004042dd
push eax
mov dword [ebp - 0x20], eax
call esi
inc eax
push eax
push dword [ebp - 0x20]
push 1
push ebx
push 0x4a1084
push dword [ebp - 0x14]
call edi
cmp dword [ebp - 0x110], ebx
je 0x41d4a6
lea ecx, [ebp - 0x11c]
call fcn.004042dd
push eax
mov dword [ebp - 0x20], eax
call esi
inc eax
push eax
push dword [ebp - 0x20]
push 1
push ebx
push 0x4a0ecc
push dword [ebp - 0x14]
call edi
cmp dword [ebp - 0x14], ebx
je 0x41d4b7
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0xd]
push 1
push eax
push 0x4a0f24
lea ecx, [ebp - 0xe8]
call fcn.00402d70
lea eax, [ebp - 0xe8]
lea ecx, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x25c]
push eax
mov byte [ebp - 4], 0x1b
call fcn.00404e25
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x1a
call fcn.00402438
lea eax, [ebp - 0xd]
push 1
push eax
push 0x4a1084
lea ecx, [ebp - 0xe8]
call fcn.00402d70
lea eax, [ebp - 0xe8]
lea ecx, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x20c]
push eax
mov byte [ebp - 4], 0x1c
call fcn.00404e25
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x1a
call fcn.00402438
cmp dword [ebp - 0x110], ebx
je 0x41d585
lea eax, [ebp - 0xd]
push 1
push eax
push 0x4a0ecc
lea ecx, [ebp - 0xe8]
call fcn.00402d70
lea eax, [ebp - 0xe8]
lea ecx, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x11c]
push eax
mov byte [ebp - 4], 0x1d
call fcn.00404e25
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x1a
call fcn.00402438
lea ecx, [ebp - 0xc0]
call fcn.004042dd
push eax
mov dword [ebp - 0x20], eax
call esi
inc eax
push eax
push dword [ebp - 0x20]
push 1
push ebx
push 0x4a0edc
push dword [ebp - 0x18]
call edi
cmp dword [ebp - 0x18], ebx
je 0x41d5b9
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x14], ebx
je 0x41d5ca
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 0x17
call fcn.00402438
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 0x16
call fcn.00402438
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 0x12
call fcn.00402438
lea ecx, [ebp - 0x1bc]
mov byte [ebp - 4], 0x11
call fcn.00402438
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 0x10
call fcn.00402438
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0xf
call fcn.00402438
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0xa
call fcn.00402438
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 9
call fcn.00402438
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 5
call fcn.00402438
mov esi, dword [ebp - 0x38]
xor eax, eax
lea edi, [ebp - 0x97]
mov byte [ebp - 0x98], bl
push 1
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp + 0xb]
lea ecx, [ebp - 0xe8]
push eax
push dword [0x48b7fc]
call fcn.00401884
lea eax, [ebp - 0x1e4]
push 5
push eax
mov ecx, esi
mov byte [ebp - 4], 0x1e
call fcn.0040a446
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x1f
push ecx
mov ecx, eax
call fcn.00423c85
push 0xa
lea ecx, [ebp - 0xe8]
push ebx
push ecx
push eax
mov ecx, esi
mov byte [ebp - 4], 0x20
call fcn.0042d9e4
lea ecx, [ebp - 0x8c]
mov edi, eax
mov byte [ebp - 4], 0x1f
call fcn.00401093
lea ecx, [ebp - 0x1e4]
mov byte [ebp - 4], 0x1e
call fcn.00402438
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 5
call fcn.00401093
push 0xb
mov ecx, esi
call fcn.0040a421
test al, al
jne 0x41d6ff
cmp edi, 1
je 0x41d6ff
cmp edi, 2
jne 0x41d793
push 4
lea eax, [ebp - 0x98]
push 0x4a220c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x5c]
call fcn.004028f6
lea eax, [ebp - 0x6ac]
lea ecx, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 0x21
call fcn.0040293e
lea eax, [ebp - 0x8c]
push 5
push eax
mov ecx, esi
call fcn.0040a446
mov ecx, eax
mov byte [ebp - 4], 0x22
call fcn.004042dd
lea ecx, [ebp - 0x98]
push ecx
lea ecx, [ebp - 0x5c]
push dword [0x48b7fc]
push eax
call fcn.0040297d
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x21
call fcn.00402438
lea ecx, [ebp - 0x5c]
call fcn.0040296a
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x23
call fcn.00403091
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 5
call fcn.00403aee
cmp dword [ebp - 0x30], 3
je 0x41d7bb
mov esi, dword [esi + 0x164]
cmp byte [esi + 1], bl
je 0x41d7b0
cmp byte [esi + 2], bl
jne 0x41d7b0
call fcn.004351a7
jmp 0x41d7bb
push 0x453
call fcn.0043433a
pop ecx
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 4
call fcn.00402438
cmp dword [ebp - 0x18], ebx
je 0x41d7db
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.00402438
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8