Function at 0x4add4c
Capabilities:
Access peb ldr_data
Get common file path
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x15
push 0
push 0
dec ecx
jne 0x4add54
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4ae3fc
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [0x4b92dc]
mov eax, dword [eax]
call fcn.0045bd30
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.004093dc
lea eax, [ebp - 0x28]
mov edx, 0x4ae414
call fcn.00404654
mov ecx, dword [ebp - 0x28]
mov dl, 1
mov eax, dword [0x430cf0]
call fcn.00430da0
mov dword [ebp - 4], eax
mov dl, 1
mov eax, dword [0x4174ec]
call fcn.00403478
mov dword [ebp - 0x18], eax
mov dl, 1
mov eax, dword [0x4174ec]
call fcn.00403478
mov dword [ebp - 0x1c], eax
mov eax, 0x200
call fcn.004027c0
mov dword [ebp - 0x20], eax
push 0x200
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
xor eax, eax
push ebp
push 0x4ae3ca
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x9c40
mov ecx, 0x4ae42c
mov edx, 0x4ae440
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x620], eax
push 0
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x4ae450
mov edx, 0x4ae440
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 0x324]
call fcn.004043d0
push 0
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x4ae464
mov edx, 0x4ae440
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x34]
lea eax, [ebx + 0x328]
call fcn.004043d0
push 0
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x4ae47c
mov edx, 0x4ae440
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x38]
lea eax, [ebx + 0x334]
call fcn.004043d0
push 0
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x4ae48c
mov edx, 0x4ae440
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x3c]
lea eax, [ebx + 0x33c]
call fcn.004043d0
push 0
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x4ae49c
mov edx, 0x4ae440
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x40]
lea eax, [ebx + 0x340]
call fcn.004043d0
push 0
lea eax, [ebp - 0x44]
push eax
mov ecx, 0x4ae4ac
mov edx, 0x4ae4ac
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x348]
call fcn.004043d0
push 0
lea eax, [ebp - 8]
push eax
mov ecx, 0x4ae4bc
mov edx, 0x4ae440
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
push 0
lea eax, [ebp - 0x48]
push eax
mov ecx, 0x4ae4cc
mov edx, 0x4ae440
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x48]
mov eax, dword [0x4b92fc]
call fcn.004043d0
mov al, byte [0x4ae4d4]
push eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, 0x4ae4e0
mov edx, 0x4ae4ec
mov eax, dword [ebp - 8]
call fcn.0040e2f8
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4ae04f
inc eax
mov dword [ebp - 0x24], eax
xor esi, esi
mov al, byte [0x4ae4d4]
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x54]
mov edx, esi
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x54]
mov ecx, 0x4ae4e0
mov edx, 0x4ae4f8
call fcn.0040e2f8
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jle 0x4ae045
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax]
call dword [edi + 0xc]
lea ecx, [ebp - 0x10]
mov edx, 1
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0x14]
call fcn.0040437c
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, 2
jle 0x4adfe8
lea ecx, [ebp - 0x14]
mov edx, 2
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebx + 0x31c]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
je 0x4ae045
mov eax, dword [ebx + 0x31c]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, eax
mov eax, dword [ebx + 0x31c]
mov ecx, dword [eax]
call dword [ecx + 0x18]
add eax, 0x14
mov edx, dword [ebp - 0x10]
call fcn.004043d0
mov eax, dword [ebx + 0x31c]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, eax
mov eax, dword [ebx + 0x31c]
mov ecx, dword [eax]
call dword [ecx + 0x18]
add eax, 0x18
mov edx, dword [ebp - 0x14]
call fcn.004043d0
inc esi
dec dword [ebp - 0x24]
jne 0x4adf63
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebx + 0x320]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebx + 0x320]
mov dl, 0x7c
call fcn.0041b8d8
mov ecx, dword [ebp - 0x18]
mov edx, 0x4ae504
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x40]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4ae0f0
inc eax
mov dword [ebp - 0x24], eax
xor esi, esi
lea ecx, [ebp - 0x5c]
mov edx, esi
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x5c]
push 0x4ae510
push 0x4ae51c
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x64]
mov edx, esi
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x64]
mov edx, 0x4ae504
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi]
push dword [ebp - 0x60]
lea eax, [ebp - 0x58]
mov edx, 3
call fcn.0040470c
mov edx, dword [ebp - 0x58]
mov eax, dword [ebx + 0x320]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec dword [ebp - 0x24]
jne 0x4ae092
mov ebx, dword [ebx + 0x34c]
push 0
lea eax, [ebp - 0x68]
push eax
mov ecx, 0x4ae538
mov edx, 0x4ae54c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x68]
lea eax, [ebx + 4]
call fcn.004043d0
push 0
lea eax, [ebp - 0x6c]
push eax
mov ecx, 0x4ae55c
mov edx, 0x4ae54c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x6c]
lea eax, [ebx + 8]
call fcn.004043d0
push 0
lea eax, [ebp - 0x70]
push eax
mov ecx, 0x4ae56c
mov edx, 0x4ae54c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x70]
lea eax, [ebx + 0xc]
call fcn.004043d0
push 0
lea eax, [ebp - 0x74]
push eax
mov ecx, 0x4ae57c
mov edx, 0x4ae54c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x74]
lea eax, [ebx + 0x10]
call fcn.004043d0
push 0
lea eax, [ebp - 0x78]
push eax
mov ecx, 0x4ae58c
mov edx, 0x4ae54c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x78]
lea eax, [ebx + 0x14]
call fcn.004043d0
push 0
lea eax, [ebp - 0x7c]
push eax
mov ecx, 0x4ae5a0
mov edx, 0x4ae54c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x7c]
lea eax, [ebx + 0x18]
call fcn.004043d0
push 0
lea eax, [ebp - 0x80]
push eax
mov ecx, 0x4ae5b4
mov edx, 0x4ae54c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x80]
lea eax, [ebx + 0x1c]
call fcn.004043d0
push 0
lea eax, [ebp - 0x84]
push eax
mov ecx, 0x4ae5c8
mov edx, 0x4ae54c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x84]
lea eax, [ebx + 0x20]
call fcn.004043d0
push 0
lea eax, [ebp - 0x88]
push eax
mov ecx, 0x4ae5d8
mov edx, 0x4ae54c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x88]
lea eax, [ebx + 0x24]
call fcn.004043d0
push 0
lea eax, [ebp - 0x8c]
push eax
mov ecx, 0x4ae5e8
mov edx, 0x4ae54c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x8c]
lea eax, [ebx + 0x28]
call fcn.004043d0
push 0
lea eax, [ebp - 0x90]
push eax
mov ecx, 0x4ae5f8
mov edx, 0x4ae54c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x90]
lea eax, [ebx + 0x2c]
call fcn.004043d0
push 0
lea eax, [ebp - 0x94]
push eax
mov ecx, 0x4ae60c
mov edx, 0x4ae54c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x94]
lea eax, [ebx + 0x30]
call fcn.004043d0
push 0
lea eax, [ebp - 0x98]
push eax
mov ecx, 0x4ae620
mov edx, 0x4ae54c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x98]
lea eax, [ebx + 0x34]
call fcn.004043d0
push 0
lea eax, [ebp - 0x9c]
push eax
mov ecx, 0x4ae634
mov edx, 0x4ae54c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x9c]
lea eax, [ebx + 0x38]
call fcn.004043d0
push 0
lea eax, [ebp - 0xa0]
push eax
mov ecx, 0x4ae644
mov edx, 0x4ae54c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0xa0]
lea eax, [ebx + 0x3c]
call fcn.004043d0
push 0
lea eax, [ebp - 0xa4]
push eax
mov ecx, 0x4ae658
mov edx, 0x4ae54c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0xa4]
lea eax, [ebx + 0x40]
call fcn.004043d0
push 0
lea eax, [ebp - 0xa8]
push eax
mov ecx, 0x4ae66c
mov edx, 0x4ae54c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0xa8]
lea eax, [ebx + 0x44]
call fcn.004043d0
push 0
lea eax, [ebp - 0xac]
push eax
mov ecx, 0x4ae680
mov edx, 0x4ae54c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0xac]
lea eax, [ebx + 0x48]
call fcn.004043d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae3d1
mov eax, dword [ebp - 0x20]
call fcn.004027e0
mov eax, dword [ebp - 0x1c]
call fcn.004034a8
mov eax, dword [ebp - 0x18]
call fcn.004034a8
mov eax, dword [ebp - 4]
call fcn.004034a8
ret