Function at 0x41dad0
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e80a
mov eax, dword fs:[0]
push eax
sub esp, 0x318
mov eax, dword [0x46d45c]
xor eax, ebp
mov dword [ebp - 0x5c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x38]
call fcn.00402160
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00402160
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00402160
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00402160
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00402160
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
call fcn.00402160
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.00402160
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x50]
call fcn.00402160
mov byte [ebp - 4], 7
cmp dword [0x46f680], 0
je 0x41ddbc
cmp dword [ebp - 0x44], 0xffffffff
jne 0x41ddbc
push 0
lea ecx, [ebp - 0x268]
call fcn.00402190
mov byte [ebp - 4], 8
push 0
lea ecx, [ebp - 0x26c]
call fcn.00402190
mov byte [ebp - 4], 9
push 0x45cdd4
lea ecx, [ebp - 0x270]
call fcn.00402190
mov byte [ebp - 4], 0xa
push 0x45cdd8
lea ecx, [ebp - 0x274]
call fcn.00402190
mov byte [ebp - 4], 0xb
push 0x45cddc
lea ecx, [ebp - 0x278]
call fcn.00402190
mov byte [ebp - 4], 0xc
push 0x45cde0
lea ecx, [ebp - 0x27c]
call fcn.00402190
mov byte [ebp - 4], 0xd
push 0x45cde4
lea ecx, [ebp - 0x280]
call fcn.00402190
mov byte [ebp - 4], 0xe
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x284]
call fcn.00402190
mov byte [ebp - 4], 0xf
push 0x45cde8
lea ecx, [ebp - 0x28c]
call fcn.00402190
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x290]
call fcn.00402190
mov byte [ebp - 4], 0x11
push 0xffffffffffffffff
push 0
push 0
lea edx, [ebp - 0x268]
push edx
push 1
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x270]
push ecx
lea edx, [ebp - 0x274]
push edx
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x27c]
push ecx
lea edx, [ebp - 0x280]
push edx
lea eax, [ebp - 0x284]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x288]
push edx
call fcn.0040ce20
add esp, 0x10
mov dword [ebp - 0x2e8], eax
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x2ec], eax
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x2ec]
push ecx
lea edx, [ebp - 0x28c]
push edx
lea eax, [ebp - 0x290]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x294]
push edx
call fcn.0040ce20
add esp, 0x10
mov dword [ebp - 0x2f0], eax
mov eax, dword [ebp - 0x2f0]
mov dword [ebp - 0x2f4], eax
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x2f4]
push ecx
push 0
mov edx, dword [ebp - 0x44]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0040c020
add esp, 0x40
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x294]
call fcn.004021c0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x288]
call fcn.004021c0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x290]
call fcn.004021c0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x28c]
call fcn.004021c0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x284]
call fcn.004021c0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x280]
call fcn.004021c0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x27c]
call fcn.004021c0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x278]
call fcn.004021c0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x274]
call fcn.004021c0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x270]
call fcn.004021c0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x26c]
call fcn.004021c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x268]
call fcn.004021c0
lea ecx, [ebp - 0x24]
push ecx
push 0x20019
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [reloc.OLEAUT32.dll_SysReAllocString]
push eax
call fcn.004047c0
add esp, 0x14
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x41de59
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x298], ecx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x50]
call fcn.004021c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.004021c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
call fcn.004021c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.004021c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.004021c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004021c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004021c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.004021c0
mov eax, dword [ebp - 0x298]
jmp 0x41e4f4
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.0041d570
add esp, 0xc
test eax, eax
jne 0x41e478
lea edx, [ebp - 0x54]
push edx
push 0x20019
push 0
lea ecx, [ebp - 0x14]
call fcn.00402270
push eax
mov eax, dword [ebp - 0x24]
push eax
call fcn.004047c0
add esp, 0x14
test eax, eax
jne 0x41e46a
mov dword [ebp - 0x20], 4
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x3c]
push edx
push 0
push 0
push 0x45cdec
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41e460
cmp dword [ebp - 0x3c], 2
ja 0x41e460
mov dword [ebp - 0x20], 4
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0
push 0
push 0x45cdf8
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41e460
mov dword [ebp - 0x20], 4
cmp dword [ebp - 0x18], 4
je 0x41df0e
mov byte [ebp - 0x55], 1
jmp 0x41df4b
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x4c]
push edx
push 0
push 0
push 0x45ce04
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41df33
mov byte [ebp - 0x55], 0
jmp 0x41df4b
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
jmp 0x41de59
lea eax, [ebp - 0x38]
push eax
push 0
push 0
push 0x45ce28
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.0041d480
add esp, 0x14
test eax, eax
je 0x41e006
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x50]
call fcn.00402240
push str..sys
lea eax, [ebp - 0x14]
push eax
push str.SystemRootSystem32Drivers_
lea ecx, [ebp - 0x29c]
push ecx
call fcn.0041e630
add esp, 0xc
mov dword [ebp - 0x2f8], eax
mov edx, dword [ebp - 0x2f8]
mov dword [ebp - 0x2fc], edx
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x2fc]
push eax
lea ecx, [ebp - 0x2a0]
push ecx
call fcn.0041e510
add esp, 0xc
mov dword [ebp - 0x300], eax
mov edx, dword [ebp - 0x300]
mov dword [ebp - 0x304], edx
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x304]
push eax
lea ecx, [ebp - 0x38]
call fcn.00402240
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2a0]
call fcn.004021c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x29c]
call fcn.004021c0
jmp 0x41e012
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x50]
call fcn.00402240
lea ecx, [ebp - 0x38]
call fcn.00402270
push eax
lea edx, [ebp - 0x2a4]
push edx
call fcn.00408f20
add esp, 8
mov dword [ebp - 0x308], eax
mov eax, dword [ebp - 0x308]
mov dword [ebp - 0x30c], eax
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x30c]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00402240
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2a4]
call fcn.004021c0
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
call fcn.00402270
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00409fb0
add esp, 0x10
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x48]
push edx
push 0
push 0
push 0x45ce84
mov eax, dword [ebp - 0x54]
push eax
call fcn.0041d480
add esp, 0x14
lea ecx, [ebp - 0x48]
call fcn.00402270
movzx ecx, word [eax]
cmp ecx, 0x40
jne 0x41e11b
push str.RegLoadMUIStringW
push 0x45ceb0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46f8a8], eax
cmp dword [0x46f8a8], 0
je 0x41e11b
push 0
push 0
lea edx, [ebp - 0x20]
push edx
push 0x104
lea eax, [ebp - 0x264]
push eax
push 0x45cecc
mov ecx, dword [ebp - 0x54]
push ecx
call dword [0x46f8a8]
test eax, eax
jne 0x41e11b
mov edx, dword [ebp - 0x20]
add edx, 1
push edx
push 1
mov eax, dword [ebp - 0x20]
add eax, 1
push eax
lea ecx, [ebp - 0x48]
call fcn.004023f0
push eax
lea ecx, [ebp - 0x264]
push ecx
call fcn.00405a20
add esp, 0xc
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00402240
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040b960
add esp, 0x14
movzx edx, al
test edx, edx
je 0x41e460
cmp dword [ebp - 0x44], 0xffffffff
jne 0x41e394
push 0
lea ecx, [ebp - 0x2a8]
call fcn.00402190
mov byte [ebp - 4], 0x17
push 0
lea ecx, [ebp - 0x2ac]
call fcn.00402190
mov byte [ebp - 4], 0x18
push 0x45cee4
lea ecx, [ebp - 0x2b0]
call fcn.00402190
mov byte [ebp - 4], 0x19
push 0x45cee8
lea ecx, [ebp - 0x2b4]
call fcn.00402190
mov byte [ebp - 4], 0x1a
push 0x45ceec
lea ecx, [ebp - 0x2b8]
call fcn.00402190
mov byte [ebp - 4], 0x1b
push 0x45cef0
lea ecx, [ebp - 0x2bc]
call fcn.00402190
mov byte [ebp - 4], 0x1c
push 0x45cef4
lea ecx, [ebp - 0x2c0]
call fcn.00402190
mov byte [ebp - 4], 0x1d
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x2c4]
call fcn.00402190
mov byte [ebp - 4], 0x1e
push 0x45cef8
lea ecx, [ebp - 0x2cc]
call fcn.00402190
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x2d0]
call fcn.00402190
mov byte [ebp - 4], 0x20
push 0xffffffffffffffff
push 0
push 0
lea edx, [ebp - 0x2a8]
push edx
movzx eax, byte [ebp - 0x55]
push eax
lea ecx, [ebp - 0x2ac]
push ecx
lea edx, [ebp - 0x2b0]
push edx
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x2b8]
push ecx
lea edx, [ebp - 0x2bc]
push edx
lea eax, [ebp - 0x2c0]
push eax
lea ecx, [ebp - 0x2c4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x2c8]
push eax
call fcn.0040ce20
add esp, 0x10
mov dword [ebp - 0x310], eax
mov ecx, dword [ebp - 0x310]
mov dword [ebp - 0x314], ecx
mov byte [ebp - 4], 0x21
mov edx, dword [ebp - 0x314]
push edx
lea eax, [ebp - 0x2cc]
push eax
lea ecx, [ebp - 0x2d0]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x2d4]
push eax
call fcn.0040ce20
add esp, 0x10
mov dword [ebp - 0x318], eax
mov ecx, dword [ebp - 0x318]
mov dword [ebp - 0x31c], ecx
mov byte [ebp - 4], 0x22
mov edx, dword [ebp - 0x31c]
push edx
push 0
mov eax, dword [ebp - 0x44]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040c020
add esp, 0x40
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x2d4]
call fcn.004021c0
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x2c8]
call fcn.004021c0
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x2d0]
call fcn.004021c0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x2cc]
call fcn.004021c0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x2c4]
call fcn.004021c0
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x2c0]
call fcn.004021c0
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x2bc]
call fcn.004021c0
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x2b8]
call fcn.004021c0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x2b4]
call fcn.004021c0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x2b0]
call fcn.004021c0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x2ac]
call fcn.004021c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2a8]
call fcn.004021c0
push 0
lea ecx, [ebp - 0x2d8]
call fcn.00402190
mov byte [ebp - 4], 0x23
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x2dc]
call fcn.00402190
mov byte [ebp - 4], 0x24
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x2d8]
push eax
movzx ecx, byte [ebp - 0x55]
push ecx
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x2dc]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x2e0]
push ecx
call fcn.0040ce20
add esp, 0x10
mov dword [ebp - 0x320], eax
mov edx, dword [ebp - 0x320]
mov dword [ebp - 0x324], edx
mov byte [ebp - 4], 0x25
mov eax, dword [ebp - 0x324]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0xd
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040c020
add esp, 0x40
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x2e0]
call fcn.004021c0
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x2dc]
call fcn.004021c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2d8]
call fcn.004021c0
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
jmp 0x41de59
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x2e4], edx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x50]
call fcn.004021c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.004021c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
call fcn.004021c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.004021c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.004021c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.004021c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004021c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.004021c0
mov eax, dword [ebp - 0x2e4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x5c]
xor ecx, ebp
call fcn.004376f1
mov esp, ebp
pop ebp
ret