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

Disassembly:
push 0xffffffffffffffff
push 0x4d7494
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x510918]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov dword [esp + 0x1c], 0
mov eax, dword [0x515fe0]
test al, 1
jne 0x4c9bbe
or eax, 1
mov dword [0x515fe0], eax
push 0
push 0
mov ecx, 0x515fd0
mov dword [esp + 0x70], 1
mov dword [0x515fd0], 0
mov dword [0x515fd4], 0
call fcn.004c6800
mov dword [0x515fd0], eax
mov ecx, 0x515fd8
mov byte [esp + 0x68], 2
mov dword [0x515fd8], 0
mov dword [0x515fdc], 0
call fcn.004c67a0
push 0x4e1010
mov dword [0x515fd8], eax
mov byte [esp + 0x6c], 1
call fcn.004a3423
add esp, 4
mov byte [esp + 0x68], 0
mov edx, dword [0x515fd8]
mov ebp, dword [esp + 0x74]
mov eax, dword [edx + 4]
mov ecx, edx
cmp byte [eax + 0xd], 0
jne 0x4c9bfd
mov esi, dword [ebp]
cmp dword [eax + 0x10], esi
jae 0x4c9be0
mov eax, dword [eax + 8]
jmp 0x4c9be4
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x4c9bd6
cmp ecx, edx
je 0x4c9bfd
cmp esi, dword [ecx + 0x10]
jb 0x4c9bfd
mov dword [esp + 0x14], ecx
lea esi, [esp + 0x14]
jmp 0x4c9c05
mov dword [esp + 0x18], edx
lea esi, [esp + 0x18]
mov esi, dword [esi]
cmp esi, edx
je 0x4c9cea
mov ecx, dword [0x515fd0]
mov eax, dword [ecx + 4]
cmp eax, dword [esi + 0x14]
je 0x4c9cb2
push 0
push 0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x40], 0
call fcn.004c6800
mov edx, eax
mov dword [esp + 0x34], edx
mov ecx, dword [esi + 0x14]
mov edi, dword [0x515fd0]
mov dword [esp + 0x68], 3
cmp ecx, edi
je 0x4c9c70
push 1
push dword [ecx]
push ecx
push 0x515fd0
push edx
lea ecx, [esp + 0x48]
call fcn.004c7770
mov edx, dword [esp + 0x34]
mov edi, dword [0x515fd0]
nop
mov eax, dword [edx]
cmp eax, edx
je 0x4c9c91
push 1
push dword [eax]
mov ecx, 0x515fd0
push eax
lea eax, [esp + 0x40]
push eax
push edi
call fcn.004c7770
mov edi, dword [0x515fd0]
mov eax, dword [edi + 4]
lea ecx, [esp + 0x34]
mov dword [esi + 0x14], eax
call fcn.004c8c60
push dword [esp + 0x34]
call fcn.004a295f
mov ecx, dword [0x515fd0]
add esp, 4
mov eax, dword [ecx + 4]
mov esi, dword [esp + 0x70]
mov ecx, dword [eax + 8]
mov dword [esi], ecx
mov ecx, dword [eax + 0xc]
mov dword [esi + 4], ecx
test ecx, ecx
je 0x4c9cd4
add ecx, 4
mov edx, 1
lock xadd dword [ecx], edx
mov eax, esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
push 0x2c
call fcn.004a2b5d
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x68], 4
test eax, eax
je 0x4c9d12
push dword [ebp]
mov ecx, eax
call fcn.004c5390
mov esi, eax
jmp 0x4c9d14
xor esi, esi
push esi
lea ecx, [esp + 0x34]
mov byte [esp + 0x6c], 0
mov dword [esp + 0x30], esi
call fcn.004c0fa0
push esi
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0042c510
add esp, 0xc
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x68], 5
mov dword [esp + 0x58], eax
test eax, eax
je 0x4c9d5e
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov dword [esp + 0x5c], 0
mov edi, dword [0x515fd0]
lea eax, [esp + 0x54]
push eax
push dword [edi + 4]
mov ecx, 0x515fd0
push edi
mov byte [esp + 0x74], 6
call fcn.004c1200
mov edx, dword [0x515fd4]
mov ecx, 0xccccccb
sub ecx, edx
mov esi, eax
cmp ecx, 1
jae 0x4c9da2
push str.list_T__too_long
call fcn.004a16a5
inc edx
mov dword [0x515fd4], edx
mov dword [edi + 4], esi
mov eax, dword [esi + 4]
or ebx, 0xffffffff
mov dword [eax], esi
mov esi, dword [esp + 0x58]
mov byte [esp + 0x68], 5
test esi, esi
je 0x4c9de5
lea eax, [esi + 4]
mov ecx, ebx
lock xadd dword [eax], ecx
jne 0x4c9de5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
mov edx, ebx
lock xadd dword [eax], edx
jne 0x4c9de5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov eax, dword [0x515fd0]
mov ecx, dword [ebp]
mov eax, dword [eax + 4]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], ecx
push eax
mov ecx, 0x515fd8
call fcn.004c1190
push eax
add eax, 0x10
push eax
push 0
lea eax, [esp + 0x50]
push eax
mov ecx, 0x515fd8
call fcn.004c25c0
push ebp
lea eax, [esp + 0x24]
push eax
mov ecx, 0x515fd8
call fcn.004cb490
mov ecx, dword [0x515fd0]
mov eax, dword [eax]
mov ecx, dword [ecx + 4]
add eax, 0x10
mov dword [ecx + 0x10], eax
mov ebp, dword [0x515fdc]
mov eax, dword [esp + 0x78]
cmp ebp, eax
jbe 0x4c9eb5
mov ebx, dword [0x515fd0]
mov edi, dword [ebx]
cmp edi, ebx
je 0x4c9eb2
cmp ebp, eax
jbe 0x4c9eb2
mov eax, dword [edi + 0xc]
test eax, eax
je 0x4c9ea8
mov eax, dword [eax + 4]
cmp eax, 1
jne 0x4c9ea8
mov esi, edi
mov edi, dword [edi]
push dword [esi + 0x10]
lea eax, [esp + 0x50]
push eax
mov ecx, 0x515fd8
call fcn.004c6900
push dword [eax + 4]
mov ecx, 0x515fd8
push dword [eax]
lea eax, [esp + 0x2c]
push eax
call fcn.004ca2a0
push esi
lea eax, [esp + 0x2c]
push eax
mov ecx, 0x515fd0
call fcn.004cac40
dec ebp
jmp 0x4c9eaa
mov edi, dword [edi]
mov eax, dword [esp + 0x78]
cmp edi, ebx
jne 0x4c9e58
or ebx, 0xffffffff
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x2c]
mov dword [edi], eax
mov eax, dword [esp + 0x30]
mov dword [edi + 4], 0
mov esi, dword [edi + 4]
mov dword [esp + 0x30], esi
mov dword [edi + 4], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], 1
mov byte [esp + 0x68], 0
test esi, esi
je 0x4c9f10
lea eax, [esi + 4]
mov ecx, ebx
lock xadd dword [eax], ecx
jne 0x4c9f10
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
dec ebx
jne 0x4c9f10
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
mov eax, edi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret