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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55595f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push ebx
push esi
push edi
lea eax, [esp + 0x13]
push eax
lea edx, [esp + 0x17]
push edx
mov dword [esp + 0x1c], ecx
call fcn.004c4b90
mov dword [esp + 0xc4], 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0x6c]
call fcn.0043c800
mov byte [esp + 0xc4], 2
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x70]
call fcn.0043bbf0
mov byte [esp + 0xc4], 3
lea ecx, [esp + 0x58]
call fcn.004391b0
xor ebx, ebx
test al, al
je 0x4c6c9b
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x60]
call fcn.0043b7d0
mov byte [esp + 0xc4], 4
xor esi, esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], esi
call fcn.00439360
test eax, eax
jle 0x4c6c62
lea edx, [esp + 0x13]
push edx
lea eax, [esp + 0x17]
push eax
lea ecx, [esp + 0x78]
call fcn.004c4b10
mov byte [esp + 0xc4], 7
lea ecx, [esp + 0x13]
push ecx
push 0x56fc10
lea ecx, [esp + 0x94]
call fcn.00405170
mov byte [esp + 0xc4], 8
push esi
lea edx, [esp + 0x80]
push edx
lea ecx, [esp + 0x20]
call fcn.0043bdb0
mov byte [esp + 0xc4], 9
push ebx
lea ecx, [esp + 0x90]
push ecx
mov ecx, eax
call fcn.0043b7a0
mov dword [esp + 0x20], eax
mov byte [esp + 0xc4], 8
mov eax, dword [esp + 0x80]
cmp eax, ebx
je 0x4c6967
mov edi, eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x4c6967
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4c6967
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov byte [esp + 0xc4], 7
mov eax, dword [esp + 0x8c]
cmp eax, ebx
je 0x4c6983
push eax
call fcn.004ed9bb
add esp, 4
lea ecx, [esp + 0x13]
push ecx
push 0x570664
lea ecx, [esp + 0xa8]
call fcn.00405170
mov byte [esp + 0xc4], 0xd
push esi
lea edx, [esp + 0xb0]
push edx
lea ecx, [esp + 0x20]
call fcn.0043bdb0
mov byte [esp + 0xc4], 0xe
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x54]
push edx
mov ecx, eax
call fcn.0043b7d0
mov byte [esp + 0xc4], 0x11
mov eax, dword [esp + 0xb0]
cmp eax, ebx
je 0x4c6a0a
mov edi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4c6a0a
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4c6a0a
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
mov byte [esp + 0xc4], 0x10
mov eax, dword [esp + 0xa0]
cmp eax, ebx
je 0x4c6a26
push eax
call fcn.004ed9bb
add esp, 4
lea ecx, [esp + 0x50]
xor edi, edi
call fcn.00439360
test eax, eax
jle 0x4c6be5
lea ecx, [esp + 0x40]
lea eax, [esp + 0x34]
mov edx, ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0xb4], ecx
mov dword [esp + 0x88], edx
jmp 0x4c6a60
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0xc4], 0x16
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov byte [esp + 0xc4], 0x18
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0xc4], 0x19
push 8
call fcn.004ed9ad
mov dword [esp + 0x44], eax
lea ecx, [eax + 8]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
add esp, 4
mov byte [eax], bl
mov byte [esp + 0xc4], 0x1a
mov dword [esp + 0x4c], 0xffffffff
mov byte [esp + 0xc4], 0x1b
push edi
lea edx, [esp + 0x9c]
push edx
lea ecx, [esp + 0x58]
call fcn.0043bdb0
mov byte [esp + 0xc4], 0x1c
lea ecx, [esp + 0x28]
push ecx
push eax
call fcn.004a5a40
mov esi, eax
add esp, 8
mov dword [esp + 0x64], esi
mov byte [esp + 0xc4], 0x1b
mov eax, dword [esp + 0x9c]
cmp eax, ebx
je 0x4c6b3c
mov ecx, eax
mov dword [esp + 0x60], ecx
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x4c6b3c
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x60]
lea edx, [ecx + 8]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4c6b3c
mov edx, dword [ecx]
call dword [edx + 8]
cmp esi, 0xffffffff
je 0x4c6b94
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x74]
mov dword [esp + 0x50], esi
call fcn.004c5c90
lea ecx, [esp + 0x28]
mov esi, eax
push ecx
mov ecx, esi
call fcn.004c55f0
lea edx, [esp + 0x34]
push edx
lea ecx, [esi + 0xc]
call fcn.00423b30
lea ecx, [esi + 0x18]
lea eax, [esp + 0x40]
cmp eax, ecx
je 0x4c6b8d
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x13]
push edx
mov edx, dword [esp + 0x44]
push eax
push edx
call fcn.00409410
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x24], eax
mov byte [esp + 0xc4], 0x20
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x4c6bad
push eax
call fcn.004ed9bb
add esp, 4
mov byte [esp + 0xc4], 0x1f
lea ecx, [esp + 0x34]
call fcn.0041de70
mov byte [esp + 0xc4], 0x10
lea ecx, [esp + 0x28]
call fcn.004c4f60
lea ecx, [esp + 0x50]
inc edi
call fcn.00439360
cmp edi, eax
jl 0x4c6a60
mov esi, dword [esp + 0x24]
cmp dword [esp + 0x20], ebx
je 0x4c6c05
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.004c6730
lea edx, [esp + 0x70]
push edx
mov ecx, eax
call fcn.004c5b20
mov byte [esp + 0xc4], 7
mov edi, dword [esp + 0x54]
cmp edi, ebx
je 0x4c6c3b
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4c6c3b
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4c6c3b
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
mov byte [esp + 0xc4], 4
lea ecx, [esp + 0x70]
call fcn.004c59b0
inc esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], esi
call fcn.00439360
cmp esi, eax
jl 0x4c68c5
mov byte [esp + 0xc4], 3
mov edi, dword [esp + 0x1c]
cmp edi, ebx
je 0x4c6c9b
or esi, 0xffffffff
lea eax, [edi + 4]
mov ecx, esi
lock xadd dword [eax], ecx
jne 0x4c6c9e
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
lea eax, [edi + 8]
mov ecx, esi
lock xadd dword [eax], ecx
jne 0x4c6c9e
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
jmp 0x4c6c9e
or esi, 0xffffffff
mov byte [esp + 0xc4], 2
mov edi, dword [esp + 0x5c]
cmp edi, ebx
je 0x4c6cd2
lea eax, [edi + 4]
mov ecx, esi
lock xadd dword [eax], ecx
jne 0x4c6cd2
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
lea eax, [edi + 8]
mov ecx, esi
lock xadd dword [eax], ecx
jne 0x4c6cd2
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
mov byte [esp + 0xc4], 1
mov edi, dword [esp + 0x6c]
cmp edi, ebx
je 0x4c6d06
lea eax, [edi + 4]
mov ecx, esi
lock xadd dword [eax], ecx
jne 0x4c6d06
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
lea eax, [edi + 8]
mov ecx, esi
lock xadd dword [eax], ecx
jne 0x4c6d06
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
mov dword [esp + 0xc4], esi
mov ecx, dword [esp + 0xbc]
mov eax, dword [esp + 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc