Function at 0x415a29
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 8
call fcn.00451ccb
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
add ebx, 4
push ebx
push 0xc
call fcn.00451ccb
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x533476
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push ebx
mov ebx, edi
mov ecx, 1
push ecx
push ebx
push 8
call fcn.00451ccb
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x415a78
pop ebx
mov dword [ebp - 8], 0
mov ebx, dword [ebp - 4]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebx], 1
mov dword [ebp - 0xc], esp
mov eax, 0x5b
call fcn.00451cd7
cmp dword [ebp - 0xc], esp
je 0x415ae2
push 0x62
push 0x40245ac
push 6
call fcn.00451cd1
add esp, 0xc
mov dword [ebp - 0x10], eax
push 0x80000301
push 0
push 0x20
push 0x80000301
push 0
push 8
push 2
mov ebx, 0x452100
call fcn.00451cdd
add esp, 0x1c
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x10]
mov eax, 0x5c
call fcn.00451cd7
cmp dword [ebp - 0x18], esp
je 0x415b45
push 0x75
push 0x40245ac
push 6
call fcn.00451cd1
add esp, 0xc
and eax, 1
xor eax, 1
test eax, eax
je 0x415b5d
mov eax, 0
jmp 0x415d4e
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x4523b0
call fcn.00451cdd
add esp, 0x10
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 4]
call fcn.0040132f
mov eax, 0
cmp eax, ecx
jl 0x415ba9
push 0xd9
push 0x40245ac
push 1
call fcn.00451cd1
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], esp
push dword [ebp - 0x10]
push str.SeDebugPrivilege
push dword [ebp - 0xc]
mov eax, 0x5d
call fcn.00451cd7
cmp dword [ebp - 0x14], esp
je 0x415be7
push 0xd9
push 0x40245ac
push 6
call fcn.00451cd1
add esp, 0xc
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x415bf7
push ebx
call fcn.00451cc5
add esp, 4
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx + 4]
call fcn.0040132f
mov eax, 0
cmp eax, ecx
jl 0x415c22
push 0x11a
push 0x40245ac
push 1
call fcn.00451cd1
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebx], 2
mov dword [ebp - 0xc], esp
push 0
push 0
push 0x18
mov eax, dword [ebp - 4]
push eax
push 0xc
call fcn.00451ccb
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ecx, 1
mov ebx, dword [ebx]
add ebx, 8
push ebx
push ecx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ecx
pop ebx
add ebx, 4
dec ecx
jne 0x415c7d
pop ebx
add ebx, 4
push 0
push dword [ebp - 8]
mov eax, 0x5e
call fcn.00451cd7
cmp dword [ebp - 0xc], esp
je 0x415cd3
push 0x175
push 0x40245ac
push 6
call fcn.00451cd1
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov edi, dword [ebp - 0x14]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push edi
mov edi, dword [edi]
mov ecx, 1
add edi, 8
push ebx
push edi
push ecx
mov edi, dword [edi]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ecx
pop edi
pop ebx
add edi, 4
add ebx, 8
dec ecx
jne 0x415cf3
pop edi
add edi, 4
call fcn.00451cc5
add esp, 4
pop eax
and eax, 1
xor eax, 1
test eax, eax
je 0x415d44
mov eax, 0
jmp 0x415d4e
mov eax, 1
jmp 0x415d4e
push eax
mov ebx, dword [ebp - 4]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x415d74
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x415d70
imul eax, dword [ebx]
jmp 0x415d65
mov ecx, eax
test ecx, ecx
je 0x415d8f
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00451cc5
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x415d7a
call fcn.00451cc5
add esp, 4
pop ebx
call fcn.00451cc5
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret