Function at 0x41d97c
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], eax
mov eax, 0x8a1888
call fcn.00420bb4
mov edx, dword [sym.HDD_Regenerator.exe__MainForm]
mov eax, dword [edx + 0x4b0]
mov dl, 1
call fcn.0043f7ce
mov ecx, dword [sym.HDD_Regenerator.exe__MainForm]
mov eax, dword [ecx + 0x4b4]
xor edx, edx
call fcn.0043f7da
mov ecx, dword [sym.HDD_Regenerator.exe__MainForm]
mov eax, dword [ecx + 0x4b8]
mov dl, 1
call fcn.0043f7da
mov word [ebp - 0x40], 0x18
lea eax, [ebp - 8]
call fcn.00403c3c
mov edx, eax
inc dword [ebp - 0x34]
mov ecx, dword [0xa31754]
mov eax, dword [ecx]
call fcn.0043f932
lea edx, [ebp - 8]
lea eax, [ebp - 4]
call fcn.00403c6c
add dword [ebp - 0x34], 2
dec dword [ebp - 0x34]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004225e8
mov word [ebp - 0x40], 0xc
mov word [ebp - 0x40], 0x24
lea eax, [ebp - 0x10]
call fcn.00403734
push eax
add dword [ebp - 0x34], 2
mov edx, 0x89c6c4
lea eax, [ebp - 0xc]
call fcn.00403f74
add dword [ebp - 0x34], 2
lea edx, [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.0040ec14
mov ecx, eax
lea eax, [ebp - 4]
mov edx, 1
call fcn.00404d58
lea edx, [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.00403ff8
sub dword [ebp - 0x34], 2
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0040376c
sub dword [ebp - 0x34], 2
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0040376c
mov word [ebp - 0x40], 0x30
lea eax, [ebp - 0x18]
call fcn.00403734
push eax
add dword [ebp - 0x34], 2
mov edx, 0x89c6c6
lea eax, [ebp - 0x14]
call fcn.00403f74
add dword [ebp - 0x34], 2
lea edx, [ebp - 0x14]
lea eax, [ebp - 4]
pop ecx
call fcn.004040ec
lea edx, [ebp - 0x18]
lea eax, [ebp - 4]
call fcn.00403ff8
sub dword [ebp - 0x34], 2
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0040376c
sub dword [ebp - 0x34], 2
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040376c
mov word [ebp - 0x40], 0x3c
lea eax, [ebp - 0x1c]
call fcn.00403734
mov ecx, eax
add dword [ebp - 0x34], 2
lea edx, [ebp - 4]
mov eax, 0x89c6d0
call fcn.00404048
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x24]
call fcn.00403734
push eax
add dword [ebp - 0x34], 2
mov edx, 0x89c6d2
lea eax, [ebp - 0x20]
call fcn.00403f74
add dword [ebp - 0x34], 2
lea edx, [ebp - 0x20]
pop ecx
pop eax
call fcn.004040ec
lea edx, [ebp - 0x24]
lea eax, [ebp - 4]
call fcn.00403ff8
sub dword [ebp - 0x34], 2
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0040376c
sub dword [ebp - 0x34], 2
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0040376c
sub dword [ebp - 0x34], 2
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040376c
mov word [ebp - 0x40], 0x48
lea eax, [ebp - 0x2c]
call fcn.00403734
push eax
add dword [ebp - 0x34], 2
mov edx, 0x89c6d4
lea eax, [ebp - 0x28]
call fcn.00403f74
add dword [ebp - 0x34], 2
lea edx, [ebp - 0x28]
lea eax, [ebp - 4]
pop ecx
call fcn.004040ec
lea edx, [ebp - 0x2c]
lea eax, [ebp - 4]
call fcn.00403ff8
sub dword [ebp - 0x34], 2
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.0040376c
sub dword [ebp - 0x34], 2
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.0040376c
lea ecx, [ebp - 0x5c]
push ecx
push 2
push 0
push 0x89c6d8
push 0x80000002
call fcn.0043fb40
test eax, eax
jne 0x41dc07
lea eax, [ebp - 4]
call fcn.00403fb4
inc eax
push eax
lea eax, [ebp - 4]
call fcn.00403cac
push eax
push 1
push 0
push 0x89c706
push dword [ebp - 0x5c]
call fcn.0043fb4c
push dword [ebp - 0x5c]
call fcn.0043fb3a
sub dword [ebp - 0x34], 2
lea eax, [ebp - 4]
mov edx, 2
call fcn.0040376c
mov ecx, dword [ebp - 0x50]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret