Function at 0x4c99d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61dff0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
xor ebp, ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], 0xa
lea eax, [esp + 0xc]
push eax
push 0x6483cc
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x58]
mov byte [esp + 0x50], 1
mov dword [esp + 0x18], ebp
call fcn.004bb1a0
mov eax, dword [esp + 8]
mov ecx, dword [eax - 0xc]
cmp ecx, ebp
mov bl, 2
mov byte [esp + 0x44], bl
je 0x4c9abd
mov edi, edi
mov edx, dword [esp + 0x24]
push edx
push ebp
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x30]
call fcn.004452f0
mov ecx, dword [esp + 0x24]
cmp ecx, ebp
je 0x4c9a61
mov dword [ecx + 4], eax
jmp 0x4c9a65
mov dword [esp + 0x28], eax
lea ecx, [esp + 0xc]
push ecx
push 0x6483cc
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x58]
mov dword [esp + 0x30], eax
call fcn.004bb1a0
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x48], 3
call fcn.0041fb20
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x44], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c9ab4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 8]
cmp dword [eax - 0xc], ebp
jne 0x4c9a40
add eax, 0xfffffff0
mov byte [esp + 0x44], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c9ade
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x2c], 4
jbe 0x4c9b2a
lea ecx, [esp + 0x24]
call fcn.00442f70
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov dword [esp + 0x44], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c9b16
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
push esi
mov esi, dword [esp + 0x28]
cmp esi, ebp
push edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0x3e8
mov dword [esp + 0x24], 0xea60
mov dword [esp + 0x28], 0x36ee80
je 0x4c9b9c
lea ebx, [esp + 0x1c]
lea esp, [esp]
xor eax, eax
cmp esi, ebp
setne al
cmp eax, ebp
je 0x4c9be4
mov eax, esi
mov edi, dword [eax + 8]
mov esi, dword [esi]
push 0xa
lea ecx, [esp + 0x1c]
push ecx
push edi
mov dword [esp + 0x24], ebp
call fcn.005e0522
add esp, 0xc
cmp edi, dword [esp + 0x18]
jae 0x4c9bee
mov edx, dword [ebx]
imul edx, eax
add dword [esp + 0x14], edx
add ebx, 4
cmp esi, ebp
jne 0x4c9b60
lea ecx, [esp + 0x2c]
call fcn.00442f70
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov dword [esp + 0x4c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c9bcd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
push 0x80004005
call fcn.00401470
lea ecx, [esp + 0x2c]
call fcn.00442f70
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov dword [esp + 0x4c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c9c1f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret