Function at 0x45708c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffb18
mov eax, 0x51c029
push ebx
push esi
push edi
call fcn.004d08c0
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], ecx
xor eax, eax
lea edi, [ebp - 0xa0]
mov dword [ebp - 0x30], eax
mov ecx, 4
mov esi, 0x51c012
rep movsd dword es:[edi], dword [esi]
xor eax, eax
xor edx, edx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], 0xffffffff
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x68], 2
mov word [ebp - 0x14], 8
push 0xffffeeee
mov edx, dword [ebp + 0x18]
push edx
push 0x5d4335
push 0x5d432e
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.00456c58
add esp, 0x14
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
test edx, edx
jne 0x457120
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x34], ecx
xor eax, eax
mov dword [ebp - 0x28], eax
push 0x5d4340
call sub.KERNEL32.dll_LoadLibraryA
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x45758c
push 0xffffeeee
push 0xffffeeee
push 0x5d4353
push 0x5d434c
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.00456c58
add esp, 0x14
push 0x5d4359
mov eax, dword [ebp - 0x28]
push eax
call sub.KERNEL32.dll_GetProcAddress
mov esi, eax
push 0x5d4371
mov eax, dword [ebp - 0x28]
push eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 0x38], eax
push 0x5d437e
mov edx, dword [ebp - 0x28]
push edx
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 0x3c], eax
push 0x5d4398
mov ecx, dword [ebp - 0x28]
push ecx
call sub.KERNEL32.dll_GetProcAddress
mov ebx, eax
push 0x5d43b7
mov eax, dword [ebp - 0x28]
push eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 0x40], eax
test esi, esi
je 0x45758c
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x45758c
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x45758c
test ebx, ebx
je 0x45758c
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x45758c
push 0xffffeeee
push 0xffffeeee
push 0x5d43d2
push 0x5d43cb
mov edx, dword [ebp + 0x18]
push edx
call fcn.00456c58
add esp, 0x14
push 0
push 0x5d43d9
call fcn.00456d18
add esp, 8
mov dword [ebp - 0x44], eax
push 0x5d43e1
call fcn.004036e4
pop ecx
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
inc ecx
je 0x457236
push 1
push 0x5d43f0
call fcn.004038c8
add esp, 8
push 0xffffeeee
push 0xffffeeee
push 0x5d4406
push 0x5d43ff
mov eax, dword [ebp + 0x18]
push eax
call fcn.00456c58
add esp, 0x14
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x30]
push ecx
mov eax, dword [ebp - 0x44]
push eax
call esi
test eax, eax
jne 0x45758c
push 0xffffeeee
push 0xffffeeee
push 0x5d4414
push 0x5d440d
mov edx, dword [ebp + 0x18]
push edx
call fcn.00456c58
add esp, 0x14
lea ecx, [ebp - 0x4bc]
push 0x41c
push 0
push ecx
call fcn.004cde6c
add esp, 0xc
mov dword [ebp - 0x4bc], 2
mov dword [ebp - 0x70], 0x1c
mov eax, dword [ebp - 0x34]
push eax
call fcn.004cdfec
pop ecx
mov esi, eax
add esi, esi
add esi, 2
mov eax, dword [ebp + 8]
push eax
call fcn.004cdfec
pop ecx
mov edi, eax
add edi, edi
add edi, 2
mov eax, dword [ebp + 0xc]
push eax
call fcn.004cdfec
add eax, eax
pop ecx
add eax, 2
lea ebx, [ebp - 0x4a0]
mov dword [ebp - 0x6c], eax
mov eax, ebx
mov word [ebp - 0x14], 8
lea edx, [esi + ebx]
lea ecx, [esi + ebx]
add ecx, edi
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x78], ecx
push eax
mov eax, dword [ebp - 0x34]
push eax
call fcn.0040348c
add esp, 8
mov edx, dword [ebp - 0x74]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040348c
add esp, 8
mov eax, dword [ebp - 0x78]
push eax
mov edx, dword [ebp + 0xc]
push edx
call fcn.0040348c
mov eax, esi
mov dword [ebp - 0x4b4], ebx
mov word [ebp - 0x4b6], ax
lea edx, [esi + ebx]
sub ax, 2
add esp, 8
mov word [ebp - 0x4b8], ax
mov eax, edi
mov dword [ebp - 0x4ac], edx
lea edx, [esi + ebx]
mov word [ebp - 0x4ae], ax
add edx, edi
sub ax, 2
add edi, esi
mov word [ebp - 0x4b0], ax
mov dword [ebp - 0x4a4], edx
mov cx, word [ebp - 0x6c]
mov word [ebp - 0x4a6], cx
mov ax, word [ebp - 0x6c]
sub ax, 2
mov word [ebp - 0x4a8], ax
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x70]
add edi, eax
add edi, edx
mov dword [ebp - 0x7c], edi
push 0xffffeeee
push 0xffffeeee
push 0x5d4421
push 0x5d441a
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.00456c58
add esp, 0x14
lea eax, [ebp - 0x4e0]
push eax
call sub.ADVAPI32.dll_AllocateLocallyUniqueId
mov esi, 0x5d4427
lea edi, [ebp - 0x4e8]
mov eax, edi
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 0xffffeeee
push 0xffffeeee
push 0x5d4433
push 0x5d442c
mov edx, dword [ebp + 0x18]
push edx
call fcn.00456c58
mov ecx, dword [0x51c023]
add esp, 0x14
mov dword [ebp - 0x84], ecx
lea eax, [ebp - 0x88]
mov cx, word [0x51c027]
lea edx, [ebp - 0x84]
mov word [ebp - 0x80], cx
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
push edx
call sub.ADVAPI32.dll_AllocateAndInitializeSid
mov eax, 0x1c
push eax
push 0x40
call sub.KERNEL32.dll_LocalAlloc
mov edi, eax
xor eax, eax
mov dword [edi], eax
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x45748e
push 0xffffeeee
mov ecx, dword [ebp + 0x14]
push ecx
push 0x5d4443
push 0x5d443c
mov eax, dword [ebp + 0x18]
push eax
call fcn.00456c58
add esp, 0x14
mov edx, dword [edi]
shl edx, 3
add edx, edi
add edx, 4
push edx
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.00456f38
add esp, 8
mov eax, dword [edi]
mov dword [edi + eax*8 + 8], 0xc0000007
inc dword [edi]
test edi, edi
je 0x45749a
mov edx, dword [edi]
test edx, edx
jne 0x45749a
xor edi, edi
lea eax, [ebp - 0x64]
push eax
lea edx, [ebp - 0x4d8]
push edx
lea ecx, [ebp - 0x2c]
push ecx
lea eax, [ebp - 0x60]
push eax
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x54]
push ecx
lea eax, [ebp - 0x4e8]
push eax
push edi
mov edx, dword [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x4bc]
push ecx
push 0
mov eax, dword [ebp - 0x68]
push eax
mov edx, dword [ebp - 0x44]
push edx
mov ecx, dword [ebp - 0x30]
push ecx
call dword [ebp - 0x38]
mov ebx, eax
test ebx, ebx
jne 0x45751f
push 0xffffeeee
push 0xffffeeee
push 0x5d4455
push 0x5d444e
mov eax, dword [ebp + 0x18]
push eax
call fcn.00456c58
add esp, 0x14
mov edx, dword [ebp - 0x54]
test edx, edx
je 0x45750d
mov ecx, dword [ebp - 0x54]
push ecx
call dword [ebp - 0x40]
xor eax, eax
xor edx, edx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x90], edx
jmp 0x457565
call sub.KERNEL32.dll_GetLastError
push eax
push ebx
push 0x5d4465
push 0x5d445e
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.00456c58
add esp, 0x14
mov eax, dword [ebp - 0x64]
push eax
call fcn.00456e8c
pop ecx
push eax
push ebx
call fcn.00456e8c
pop ecx
push eax
push 0x5d447b
push 0x5d4474
mov edx, dword [ebp + 0x18]
push edx
call fcn.00456c58
add esp, 0x14
push 0xffffeeee
push 0xffffeeee
push 0x5d4491
push 0x5d448a
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.00456c58
add esp, 0x14
mov eax, dword [ebp - 0x30]
push eax
call dword [ebp - 0x3c]
mov word [ebp - 0x14], 0
jmp 0x4575b3
push 0xffffeeee
push 0xffffeeee
push 0x5d44ab
push 0x5d44a4
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.00456c58
add esp, 0x14
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4575e3
mov edx, dword [ebp - 0x28]
push edx
call sub.KERNEL32.dll_FreeLibrary
push 0xffffeeee
push 0xffffeeee
push 0x5d44bb
push 0x5d44b4
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.00456c58
add esp, 0x14
mov eax, dword [ebp - 0x44]
push eax
call fcn.00456dfc
pop ecx
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00456dfc
pop ecx
mov ecx, dword [ebp - 0x50]
push ecx
push 0x5d44c4
call fcn.004038c8
add esp, 8
push 0xffffeeee
push 0xffffeeee
push 0x5d44da
push 0x5d44d3
mov eax, dword [ebp + 0x18]
push eax
call fcn.00456c58
add esp, 0x14
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
mov esp, ebp
mov edi, dword [ebp - 0x4f4]
mov esi, dword [ebp - 0x4f0]
mov ebx, dword [ebp - 0x4ec]
pop ebp
ret