Function at 0x4d4950
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5204b0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x567570]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x30], edi
mov eax, dword [0x56f16c]
mov edx, dword [eax + 0xc]
mov ecx, 0x56f16c
mov dword [esp + 0x3c], 2
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x44]
push 0xfde9
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
push eax
mov byte [esp + 0x48], 3
call fcn.0040157b
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.004d4390
mov byte [esp + 0x3c], 4
xor esi, esi
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
test esi, esi
jl 0x4d4a04
cmp esi, eax
jg 0x4d4a04
lea ecx, [ecx + esi*2]
push 0x541cc8
push ecx
call fcn.004e9aa6
mov ecx, dword [esp + 0x20]
add esp, 8
test eax, eax
je 0x4d4a04
sub eax, ecx
sar eax, 1
mov edi, eax
jmp 0x4d4a07
or edi, 0xffffffff
xor bl, bl
cmp edi, 0xffffffff
jne 0x4d4a1c
mov edi, dword [ecx - 0xc]
mov bl, 1
cmp edi, 0xffffffff
je 0x4d4bf9
mov edx, edi
sub edx, esi
push edx
push esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
call fcn.004049ae
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], 0
mov byte [esp + 0x3c], 5
jge 0x4d4a44
or eax, 0xffffffff
jmp 0x4d4a5f
push 0x536ff0
push esi
call fcn.004e9aa6
add esp, 8
test eax, eax
jne 0x4d4a5b
or eax, 0xffffffff
jmp 0x4d4a5f
sub eax, esi
sar eax, 1
push eax
push 0
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x20]
call fcn.004049ae
mov ecx, dword [esp + 0x48]
xor eax, eax
test ecx, ecx
setne al
mov byte [esp + 0x3c], 6
test eax, eax
je 0x4d4cfa
mov ebp, dword [esp + 0x20]
mov eax, ebp
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4d4ab6
test dx, dx
je 0x4d4ab2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4d4ab6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4d4a90
xor eax, eax
jmp 0x4d4abb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x4d4b51
push 0x536ff0
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.0041217d
lea ecx, [esp + 0x58]
push ecx
push eax
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x54], 7
call fcn.0040eb6f
add esp, 0x18
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 8
call fcn.00404918
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d4b28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d4b4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
mov eax, 0x537290
test bl, bl
jne 0x4d4b5f
mov eax, 0x53f4c8
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.0041217d
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 9
call fcn.0041433d
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d4bac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x3c], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d4bcd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x3c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d4bee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [edi + 1]
test bl, bl
je 0x4d49d4
mov eax, dword [esp + 0x44]
push 0xfde9
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
push eax
call fcn.0040157b
add esp, 4
lea ecx, [esp + 0x24]
add eax, 0x10
push ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi], eax
call fcn.004d41f0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4d4c4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d4c72
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d4c97
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d4cbc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d4ce4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
push 0x80004005
call fcn.00402afe
int3