Function at 0x412170
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444be4
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x454100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [ebp - 4], 0
lea ecx, [esi + 8]
mov dword [esi], vtable.CProgressDialog.0
call fcn.0041f130
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 1
call fcn.0041f130
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 2
call fcn.0041f130
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.0041f130
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 4
call fcn.0041f130
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 5
call fcn.0041f130
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 6
call fcn.0041f130
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 7
call fcn.0041f130
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 8
call fcn.0041f130
mov byte [ebp - 4], 9
lea ecx, [esi + 0x84]
mov dword [esi + 0x80], 0
call fcn.0041f130
mov dword [esi + 0x90], 0
mov dword [esi + 0x98], 1
mov dword [esi + 0x9c], 0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xb4], 0
mov dword [esi + 0xbc], 0
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc8], 0
lea ecx, [esi + 0x118]
mov byte [ebp - 4], 0xc
call fcn.0041f130
lea ecx, [esi + 0x124]
mov byte [ebp - 4], 0xd
call fcn.0041f130
mov dword [esi + 0x15c], 0
lea ebx, [esi + 0x160]
mov dword [ebx], 0
lea edi, [esi + 0x168]
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x14], edi
mov dword [edi], 0x10000
mov dword [edi + 8], 0xffffffff
mov dword [edi + 0xc], 0xffffffff
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0xffffffff
mov dword [edi + 0x1c], 0xffffffff
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0xffffffff
lea ecx, [edi + 0x38]
mov dword [edi + 0x2c], 0xffffffff
mov dword [edi + 0x30], 0xffffffff
mov dword [edi + 0x34], 0xffffffff
call fcn.0041f130
lea ecx, [edi + 0x44]
mov byte [ebp - 4], 0x11
call fcn.0041f130
lea ecx, [edi + 0x50]
mov byte [ebp - 4], 0x12
call fcn.0041f130
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
lea esi, [edi + 0x68]
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x18], esi
mov ecx, esi
mov dword [ebp - 0x1c], esi
call fcn.0041f130
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 0x15
call fcn.0041f130
add esi, 0x18
mov byte [ebp - 4], 0x16
mov ecx, esi
mov dword [ebp - 0x1c], esi
call fcn.0041f130
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 0x17
call fcn.0041f130
lea eax, [edi + 0x98]
push eax
call fcn.00424780
mov byte [ebp - 4], 0x18
mov edi, dword [ebp - 0x10]
push 0
push ebx
mov dword [edi + 0x218], 0x10001
mov dword [edi + 0x220], 0
mov byte [edi + 0x2c], 0
mov dword [edi + 0xb8], 0
mov dword [edi + 0x21c], 0xffffffff
mov word [edi + 0x148], 0
mov word [edi + 0x157], 0
mov dword [edi + 0x14c], 0
mov dword [edi + 0x150], 0
mov word [edi + 0x154], 0
mov byte [edi + 0x156], 0
call fcn.004248e0
add esp, 0xc
test eax, eax
jne 0x412475
push eax
lea eax, [edi + 0x15c]
push eax
call fcn.004248e0
add esp, 8
test eax, eax
jne 0x412475
lea esi, [edi + 0xc8]
push esi
push 0x449ac0
push 1
push eax
push 0x449ad0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [esi]
test ecx, ecx
je 0x412461
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x447370]
call esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x451eec
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x145ecb
push eax
call sub.msvcrt.dll__CxxThrowException
int3