Function at 0x4d0c90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x561fb8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov byte [esp + 0x3c], bl
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x30], bl
mov eax, dword [0x5be940]
push ebx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x74], 1
call fcn.0043fe60
mov ebp, dword [esp + 0x74]
xor edi, edi
cmp dword [ebp + 8], ebx
mov byte [esp + 0x6c], 2
jle 0x4d0d4f
lea ebx, [ebx]
mov ecx, dword [ebp + 4]
mov edx, dword [0x5b2fa4]
mov eax, dword [ecx + edi*4]
mov ecx, dword [0x5b2fa0]
push edx
mov edx, dword [0x5be940]
push ecx
push eax
push edx
call fcn.004e03d0
mov esi, eax
add esp, 0x10
cmp esi, ebx
je 0x4d0d49
lea eax, [esp + 0x34]
push eax
mov al, 2
mov ecx, esi
call fcn.004d04f0
lea ecx, [esp + 0x2c]
push ecx
mov al, 1
mov ecx, esi
call fcn.004d04f0
add esp, 8
inc edi
cmp edi, dword [ebp + 8]
jl 0x4d0d00
mov esi, dword [esp + 0x7c]
lea eax, [esi + 0x240]
cmp eax, ebx
je 0x4d0d65
lea eax, [esi + 0x244]
jmp 0x4d0d67
xor eax, eax
push ebx
push ebx
push 1
push eax
lea ecx, [esp + 0x50]
call fcn.00416600
xor eax, eax
cmp dword [esi + 0x2cc], ebx
mov byte [esp + 0x6c], 3
mov dword [esp + 0x18], eax
jle 0x4d0ecb
jmp 0x4d0d96
mov eax, dword [esp + 0x18]
mov esi, edx
cmp eax, dword [esi + 0x2cc]
lea ecx, [esi + 0x240]
jl 0x4d0dac
xor edi, edi
mov dword [esp + 0x14], edi
jmp 0x4d0dbd
mov edx, dword [ecx + 0x88]
lea eax, [edx + eax*4]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov edi, eax
mov esi, dword [edi]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.004cf720
mov eax, dword [edi]
mov ecx, dword [eax + 4]
add esp, 8
push 3
call fcn.0043d7c0
mov ebp, eax
cmp ebp, ebx
mov ebx, dword [esp + 0x78]
je 0x4d0e06
xor esi, esi
cmp dword [ebx + 0x14], esi
jle 0x4d0e06
mov edi, edi
mov ecx, dword [ebx + 0x10]
mov edx, dword [ecx + esi*4]
mov eax, dword [edx]
push eax
mov ecx, ebp
call fcn.00467f40
inc esi
cmp esi, dword [ebx + 0x14]
jl 0x4d0df0
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
push 0
push 0x5b1044
push 0x5b06a4
push 0
push 4
call fcn.0043d7c0
push eax
call fcn.0051b3ef
mov ebp, eax
add esp, 0x14
test ebp, ebp
je 0x4d0e9f
push 0
push 0
mov ecx, ebp
call fcn.004679c0
mov edi, dword [ebx + 0x14]
test edi, edi
je 0x4d0e9b
mov edx, dword [ebx + 0x10]
mov eax, dword [edx + edi*4 - 4]
mov esi, dword [eax]
dec edi
xor bl, bl
mov byte [esp + 0x74], bl
test esi, esi
je 0x4d0e75
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push esi
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], eax
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
cmp eax, 1
sete bl
mov byte [esp + 0x74], bl
mov edx, dword [ebp]
mov eax, dword [edx + 0x5c]
mov ecx, ebp
mov byte [esp + 0x6c], 4
call eax
mov byte [esp + 0x6c], 3
test bl, bl
je 0x4d0e93
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov ebx, dword [esp + 0x78]
test edi, edi
jne 0x4d0e41
mov edi, dword [esp + 0x14]
mov ecx, dword [str.System]
push 1
push ebx
push ecx
mov ecx, dword [edi]
call fcn.004ef6c0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x7c]
inc eax
xor ebx, ebx
cmp eax, dword [edx + 0x2cc]
mov dword [esp + 0x18], eax
jl 0x4d0d90
lea ecx, [esp + 0x40]
mov byte [esp + 0x6c], 2
mov dword [esp + 0x54], vtable.cSharedPointer.0
call fcn.00416230
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x6c], 1
cmp ecx, ebx
je 0x4d0ef6
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 0
call fcn.0043e020
lea ecx, [esp + 0x34]
mov dword [esp + 0x6c], 0xffffffff
call fcn.0043e020
mov al, 1
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret