Function at 0x459df0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffb18
mov eax, 0x530831
push ebx
push esi
push edi
call fcn.004d57f0
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, 0x53081a
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 0x5eda29
push 0x5eda22
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.004599bc
add esp, 0x14
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
test edx, edx
jne 0x459e84
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x34], ecx
xor eax, eax
mov dword [ebp - 0x28], eax
push 0x5eda34
call sub.KERNEL32.dll_LoadLibraryA
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x45a2f0
push 0xffffeeee
push 0xffffeeee
push 0x5eda47
push 0x5eda40
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.004599bc
add esp, 0x14
push 0x5eda4d
mov eax, dword [ebp - 0x28]
push eax
call sub.KERNEL32.dll_GetProcAddress
mov esi, eax
push 0x5eda65
mov eax, dword [ebp - 0x28]
push eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 0x38], eax
push 0x5eda72
mov edx, dword [ebp - 0x28]
push edx
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 0x3c], eax
push 0x5eda8c
mov ecx, dword [ebp - 0x28]
push ecx
call sub.KERNEL32.dll_GetProcAddress
mov ebx, eax
push 0x5edaab
mov eax, dword [ebp - 0x28]
push eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 0x40], eax
test esi, esi
je 0x45a2f0
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x45a2f0
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x45a2f0
test ebx, ebx
je 0x45a2f0
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x45a2f0
push 0xffffeeee
push 0xffffeeee
push 0x5edac6
push 0x5edabf
mov edx, dword [ebp + 0x18]
push edx
call fcn.004599bc
add esp, 0x14
push 0
push 0x5edacd
call fcn.00459a7c
add esp, 8
mov dword [ebp - 0x44], eax
push 0x5edad5
call fcn.00403700
pop ecx
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
inc ecx
je 0x459f9a
push 1
push 0x5edae4
call fcn.004038e4
add esp, 8
push 0xffffeeee
push 0xffffeeee
push 0x5edafa
push 0x5edaf3
mov eax, dword [ebp + 0x18]
push eax
call fcn.004599bc
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 0x45a2f0
push 0xffffeeee
push 0xffffeeee
push 0x5edb08
push 0x5edb01
mov edx, dword [ebp + 0x18]
push edx
call fcn.004599bc
add esp, 0x14
lea ecx, [ebp - 0x4bc]
push 0x41c
push 0
push ecx
call fcn.004d2d9c
add esp, 0xc
mov dword [ebp - 0x4bc], 2
mov dword [ebp - 0x70], 0x1c
mov eax, dword [ebp - 0x34]
push eax
call fcn.004d2f1c
pop ecx
mov esi, eax
add esi, esi
add esi, 2
mov eax, dword [ebp + 8]
push eax
call fcn.004d2f1c
pop ecx
mov edi, eax
add edi, edi
add edi, 2
mov eax, dword [ebp + 0xc]
push eax
call fcn.004d2f1c
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.00403494
add esp, 8
mov edx, dword [ebp - 0x74]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.00403494
add esp, 8
mov eax, dword [ebp - 0x78]
push eax
mov edx, dword [ebp + 0xc]
push edx
call fcn.00403494
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 0x5edb15
push 0x5edb0e
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.004599bc
add esp, 0x14
lea eax, [ebp - 0x4e0]
push eax
call sub.ADVAPI32.dll_AllocateLocallyUniqueId
mov esi, 0x5edb1b
lea edi, [ebp - 0x4e8]
mov eax, edi
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 0xffffeeee
push 0xffffeeee
push 0x5edb27
push 0x5edb20
mov edx, dword [ebp + 0x18]
push edx
call fcn.004599bc
mov ecx, dword [0x53082b]
add esp, 0x14
mov dword [ebp - 0x84], ecx
lea eax, [ebp - 0x88]
mov cx, word [0x53082f]
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 0x45a1f2
push 0xffffeeee
mov ecx, dword [ebp + 0x14]
push ecx
push 0x5edb37
push 0x5edb30
mov eax, dword [ebp + 0x18]
push eax
call fcn.004599bc
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.00459c9c
add esp, 8
mov eax, dword [edi]
mov dword [edi + eax*8 + 8], 0xc0000007
inc dword [edi]
test edi, edi
je 0x45a1fe
mov edx, dword [edi]
test edx, edx
jne 0x45a1fe
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 0x45a283
push 0xffffeeee
push 0xffffeeee
push 0x5edb49
push 0x5edb42
mov eax, dword [ebp + 0x18]
push eax
call fcn.004599bc
add esp, 0x14
mov edx, dword [ebp - 0x54]
test edx, edx
je 0x45a271
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 0x45a2c9
call sub.KERNEL32.dll_GetLastError
push eax
push ebx
push 0x5edb59
push 0x5edb52
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.004599bc
add esp, 0x14
mov eax, dword [ebp - 0x64]
push eax
call fcn.00459bf0
pop ecx
push eax
push ebx
call fcn.00459bf0
pop ecx
push eax
push 0x5edb6f
push 0x5edb68
mov edx, dword [ebp + 0x18]
push edx
call fcn.004599bc
add esp, 0x14
push 0xffffeeee
push 0xffffeeee
push 0x5edb85
push 0x5edb7e
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.004599bc
add esp, 0x14
mov eax, dword [ebp - 0x30]
push eax
call dword [ebp - 0x3c]
mov word [ebp - 0x14], 0
jmp 0x45a317
push 0xffffeeee
push 0xffffeeee
push 0x5edb9f
push 0x5edb98
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.004599bc
add esp, 0x14
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x45a347
mov edx, dword [ebp - 0x28]
push edx
call sub.KERNEL32.dll_FreeLibrary
push 0xffffeeee
push 0xffffeeee
push 0x5edbaf
push 0x5edba8
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.004599bc
add esp, 0x14
mov eax, dword [ebp - 0x44]
push eax
call fcn.00459b60
pop ecx
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00459b60
pop ecx
mov ecx, dword [ebp - 0x50]
push ecx
push 0x5edbb8
call fcn.004038e4
add esp, 8
push 0xffffeeee
push 0xffffeeee
push 0x5edbce
push 0x5edbc7
mov eax, dword [ebp + 0x18]
push eax
call fcn.004599bc
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