Function at 0x456a70
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffb18
mov eax, 0x51aac9
push ebx
push esi
push edi
call fcn.004cfcb8
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, 0x51aab2
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 0x5d2cd0
push 0x5d2cc9
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.0045663c
add esp, 0x14
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
test edx, edx
jne 0x456b04
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x34], ecx
xor eax, eax
mov dword [ebp - 0x28], eax
push 0x5d2cdb
call sub.KERNEL32.dll_LoadLibraryA
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x456f70
push 0xffffeeee
push 0xffffeeee
push 0x5d2cee
push 0x5d2ce7
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.0045663c
add esp, 0x14
push 0x5d2cf4
mov eax, dword [ebp - 0x28]
push eax
call sub.KERNEL32.dll_GetProcAddress
mov esi, eax
push 0x5d2d0c
mov eax, dword [ebp - 0x28]
push eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 0x38], eax
push 0x5d2d19
mov edx, dword [ebp - 0x28]
push edx
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 0x3c], eax
push 0x5d2d33
mov ecx, dword [ebp - 0x28]
push ecx
call sub.KERNEL32.dll_GetProcAddress
mov ebx, eax
push 0x5d2d52
mov eax, dword [ebp - 0x28]
push eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 0x40], eax
test esi, esi
je 0x456f70
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x456f70
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x456f70
test ebx, ebx
je 0x456f70
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x456f70
push 0xffffeeee
push 0xffffeeee
push 0x5d2d6d
push 0x5d2d66
mov edx, dword [ebp + 0x18]
push edx
call fcn.0045663c
add esp, 0x14
push 0
push 0x5d2d74
call fcn.004566fc
add esp, 8
mov dword [ebp - 0x44], eax
push 0x5d2d7c
call fcn.004036e4
pop ecx
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
inc ecx
je 0x456c1a
push 1
push 0x5d2d8b
call fcn.004038c8
add esp, 8
push 0xffffeeee
push 0xffffeeee
push 0x5d2da1
push 0x5d2d9a
mov eax, dword [ebp + 0x18]
push eax
call fcn.0045663c
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 0x456f70
push 0xffffeeee
push 0xffffeeee
push 0x5d2daf
push 0x5d2da8
mov edx, dword [ebp + 0x18]
push edx
call fcn.0045663c
add esp, 0x14
lea ecx, [ebp - 0x4bc]
push 0x41c
push 0
push ecx
call fcn.004cd264
add esp, 0xc
mov dword [ebp - 0x4bc], 2
mov dword [ebp - 0x70], 0x1c
mov eax, dword [ebp - 0x34]
push eax
call fcn.004cd3e4
pop ecx
mov esi, eax
add esi, esi
add esi, 2
mov eax, dword [ebp + 8]
push eax
call fcn.004cd3e4
pop ecx
mov edi, eax
add edi, edi
add edi, 2
mov eax, dword [ebp + 0xc]
push eax
call fcn.004cd3e4
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 0x5d2dbc
push 0x5d2db5
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.0045663c
add esp, 0x14
lea eax, [ebp - 0x4e0]
push eax
call sub.ADVAPI32.dll_AllocateLocallyUniqueId
mov esi, 0x5d2dc2
lea edi, [ebp - 0x4e8]
mov eax, edi
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 0xffffeeee
push 0xffffeeee
push 0x5d2dce
push 0x5d2dc7
mov edx, dword [ebp + 0x18]
push edx
call fcn.0045663c
mov ecx, dword [0x51aac3]
add esp, 0x14
mov dword [ebp - 0x84], ecx
lea eax, [ebp - 0x88]
mov cx, word [0x51aac7]
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 0x456e72
push 0xffffeeee
mov ecx, dword [ebp + 0x14]
push ecx
push 0x5d2dde
push 0x5d2dd7
mov eax, dword [ebp + 0x18]
push eax
call fcn.0045663c
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.0045691c
add esp, 8
mov eax, dword [edi]
mov dword [edi + eax*8 + 8], 0xc0000007
inc dword [edi]
test edi, edi
je 0x456e7e
mov edx, dword [edi]
test edx, edx
jne 0x456e7e
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 0x456f03
push 0xffffeeee
push 0xffffeeee
push 0x5d2df0
push 0x5d2de9
mov eax, dword [ebp + 0x18]
push eax
call fcn.0045663c
add esp, 0x14
mov edx, dword [ebp - 0x54]
test edx, edx
je 0x456ef1
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 0x456f49
call sub.KERNEL32.dll_GetLastError
push eax
push ebx
push 0x5d2e00
push 0x5d2df9
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.0045663c
add esp, 0x14
mov eax, dword [ebp - 0x64]
push eax
call fcn.00456870
pop ecx
push eax
push ebx
call fcn.00456870
pop ecx
push eax
push 0x5d2e16
push 0x5d2e0f
mov edx, dword [ebp + 0x18]
push edx
call fcn.0045663c
add esp, 0x14
push 0xffffeeee
push 0xffffeeee
push 0x5d2e2c
push 0x5d2e25
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.0045663c
add esp, 0x14
mov eax, dword [ebp - 0x30]
push eax
call dword [ebp - 0x3c]
mov word [ebp - 0x14], 0
jmp 0x456f97
push 0xffffeeee
push 0xffffeeee
push 0x5d2e46
push 0x5d2e3f
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.0045663c
add esp, 0x14
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x456fc7
mov edx, dword [ebp - 0x28]
push edx
call sub.KERNEL32.dll_FreeLibrary
push 0xffffeeee
push 0xffffeeee
push 0x5d2e56
push 0x5d2e4f
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.0045663c
add esp, 0x14
mov eax, dword [ebp - 0x44]
push eax
call fcn.004567e0
pop ecx
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004567e0
pop ecx
mov ecx, dword [ebp - 0x50]
push ecx
push 0x5d2e5f
call fcn.004038c8
add esp, 8
push 0xffffeeee
push 0xffffeeee
push 0x5d2e75
push 0x5d2e6e
mov eax, dword [ebp + 0x18]
push eax
call fcn.0045663c
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