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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6ad6f3
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x76f950]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x76f950]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x20], edi
lea esi, [edi + 0x2c]
lea esp, [esp]
push esi
mov byte [esp + 0x1b], 0
xor ebx, ebx
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0xb8], ebx
cmp dword [edi + 0xb0], ebx
jbe 0x4f6dc3
lea eax, [esp + 0x3c]
add edi, 0xa0
push eax
mov ecx, edi
call fcn.004668b0
mov ecx, dword [eax]
test ecx, ecx
je 0x4f6d8b
mov ebx, dword [ecx]
mov edx, dword [eax + 8]
mov ecx, dword [ebx + 8]
mov eax, edx
shr eax, 2
dec ecx
and ecx, eax
mov eax, dword [ebx + 4]
and edx, 3
mov eax, dword [eax + ecx*4]
mov ebx, dword [eax + edx*4]
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4f6dbe
dec eax
mov dword [edi + 0x10], eax
jne 0x4f6dbb
mov dword [edi + 0xc], 0
jmp 0x4f6dbe
inc dword [edi + 0xc]
mov byte [esp + 0x17], 1
mov dword [esp + 0xb8], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x4f7546
mov eax, dword [ebx + 4]
mov byte [eax + 0xc], 0
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x4f711f
cmp dword [eax + 0x34], 0
jle 0x4f711f
push 0x4dd7b0
push 0x402680
push 4
push 0xc
lea eax, [esp + 0x58]
push eax
call fcn.0063432f
mov dword [esp + 0xb8], 1
mov dword [esp + 0x2c], 1
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov byte [esp + 0xb8], 2
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x4c]
call fcn.004dd990
mov byte [esp + 0xb8], 1
lea ecx, [esp + 0x24]
call fcn.004dd7c0
mov eax, dword [esp + 0x5c]
cmp eax, 1
jne 0x4f6e98
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x58]
test ecx, ecx
je 0x4f6e81
mov dword [esp + 0x54], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
add esp, 4
test edi, edi
je 0x4f6ee6
mov dword [esp + 0x58], 0
mov eax, dword [edi]
push edi
call dword [eax + 4]
add esp, 4
jmp 0x4f6ee6
cmp eax, 2
jne 0x4f6eb7
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x4f6ee6
mov eax, dword [ecx]
test eax, eax
jne 0x4f6eb2
call fcn.004df580
jmp 0x4f6ee6
dec eax
mov dword [ecx], eax
jmp 0x4f6ee6
cmp eax, 3
jne 0x4f6ee6
mov edi, dword [esp + 0x54]
test edi, edi
je 0x4f6ee6
mov eax, dword [edi + 4]
cmp eax, 1
jne 0x4f6ee2
push dword [edi + 8]
call fcn.00634397
add esp, 4
push edi
call fcn.00633f98
add esp, 4
jmp 0x4f6ee6
dec eax
mov dword [edi + 4], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x5c], 4
mov dword [esp + 0x54], 1
mov dword [esp + 0x58], 0
cmp eax, 1
jne 0x4f6f3b
mov ecx, dword [esp + 0x60]
mov edi, dword [esp + 0x64]
test ecx, ecx
je 0x4f6f24
mov dword [esp + 0x60], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
add esp, 4
test edi, edi
je 0x4f6f89
mov dword [esp + 0x64], 0
mov eax, dword [edi]
push edi
call dword [eax + 4]
add esp, 4
jmp 0x4f6f89
cmp eax, 2
jne 0x4f6f5a
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x4f6f89
mov eax, dword [ecx]
test eax, eax
jne 0x4f6f55
call fcn.004df580
jmp 0x4f6f89
dec eax
mov dword [ecx], eax
jmp 0x4f6f89
cmp eax, 3
jne 0x4f6f89
mov edi, dword [esp + 0x60]
test edi, edi
je 0x4f6f89
mov eax, dword [edi + 4]
cmp eax, 1
jne 0x4f6f85
push dword [edi + 8]
call fcn.00634397
add esp, 4
push edi
call fcn.00633f98
add esp, 4
jmp 0x4f6f89
dec eax
mov dword [edi + 4], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x68], 4
mov dword [esp + 0x60], 1
mov dword [esp + 0x64], 0
cmp eax, 1
jne 0x4f6fde
mov ecx, dword [esp + 0x6c]
mov edi, dword [esp + 0x70]
test ecx, ecx
je 0x4f6fc7
mov dword [esp + 0x6c], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
add esp, 4
test edi, edi
je 0x4f702c
mov dword [esp + 0x70], 0
mov eax, dword [edi]
push edi
call dword [eax + 4]
add esp, 4
jmp 0x4f702c
cmp eax, 2
jne 0x4f6ffd
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x4f702c
mov eax, dword [ecx]
test eax, eax
jne 0x4f6ff8
call fcn.004df580
jmp 0x4f702c
dec eax
mov dword [ecx], eax
jmp 0x4f702c
cmp eax, 3
jne 0x4f702c
mov edi, dword [esp + 0x6c]
test edi, edi
je 0x4f702c
mov eax, dword [edi + 4]
cmp eax, 1
jne 0x4f7028
push dword [edi + 8]
call fcn.00634397
add esp, 4
push edi
call fcn.00633f98
add esp, 4
jmp 0x4f702c
dec eax
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x74], 2
mov dword [esp + 0x6c], eax
test eax, eax
je 0x4f7041
inc dword [eax]
mov eax, dword [0x7971ac]
test al, 1
jne 0x4f708a
or eax, 1
mov dword [0x7971ac], eax
mov byte [esp + 0xb8], 3
call fcn.004df4c0
mov edi, eax
push 0xffffffffffffffff
push 0x7016fc
mov ecx, edi
call fcn.0040bb30
push 0x6bcfb0
mov dword [0x7971b4], edi
call fcn.00633f59
add esp, 4
mov byte [esp + 0xb8], 1
mov eax, dword [ebx]
push eax
mov ecx, dword [eax]
push 0
push 0
push 0
push eax
call dword [ecx + 0x40]
add esp, 0x14
cmp eax, 1
jne 0x4f70bd
mov ecx, dword [ebx]
lea eax, [esp + 0x48]
push eax
push 4
push 2
push 0
push 0x7971b4
mov edx, ecx
call fcn.00403160
add esp, 0x14
mov eax, dword [ebx + 0xc]
mov edi, dword [eax + 0x10]
test edi, edi
je 0x4f710b
mov ecx, dword [edi]
test ecx, ecx
je 0x4f70f8
push dword [esp + 0x1c]
mov edx, dword [edi + 4]
push ecx
call fcn.004f63a0
push dword [edi]
call fcn.00633f98
add esp, 0xc
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push edi
call fcn.00633f98
mov eax, dword [ebx + 0xc]
add esp, 4
mov dword [eax + 0x10], 0
mov dword [esp + 0xb8], 0xffffffff
lea eax, [esp + 0x48]
jmp 0x4f7527
mov ecx, dword [ebx + 0xc]
mov ecx, dword [ecx + 0x10]
call fcn.004f3530
mov ecx, dword [ebx + 0xc]
mov edi, eax
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x4f756b
test edx, edx
je 0x4f7556
test eax, eax
je 0x4f7556
push dword [esp + 0x18]
push eax
push edx
call fcn.004fcf60
mov eax, dword [ebx + 0xc]
lea ecx, [ebx + 8]
sub esp, 0xc
mov dword [eax + 0xc], 0
call fcn.004f3e00
add esp, 0xc
test al, al
jne 0x4f7196
mov eax, dword [ebx + 4]
lea ecx, [ebx + 8]
mov edx, dword [eax + 8]
mov eax, dword [ebx + 0xc]
push dword [eax + 0x10]
call fcn.004f3b20
jmp 0x4f71e3
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x18], eax
test eax, eax
je 0x4f71e6
mov ecx, dword [eax]
test ecx, ecx
je 0x4f71dd
push dword [esp + 0x1c]
mov edx, dword [eax + 4]
push ecx
call fcn.004f63a0
mov eax, dword [esp + 0x20]
push dword [eax]
call fcn.00633f98
mov eax, dword [esp + 0x24]
add esp, 0xc
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
push eax
call fcn.00633f98
add esp, 4
mov eax, dword [ebx + 0xc]
push 0x4dd7b0
push 0x402680
push 4
mov dword [eax + 0x10], 0
push 0xc
lea eax, [esp + 0x88]
push eax
call fcn.0063432f
mov dword [esp + 0xb8], 4
test edi, edi
je 0x4f722a
mov eax, dword [edi]
push edi
call dword [eax]
mov eax, dword [edi]
add esp, 4
push edi
call dword [eax]
add esp, 4
mov dword [esp + 0x38], 1
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov byte [esp + 0xb8], 5
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x7c]
call fcn.004dd990
mov byte [esp + 0xb8], 4
lea ecx, [esp + 0x30]
call fcn.004dd7c0
test edi, edi
je 0x4f726e
mov eax, dword [edi]
push edi
call dword [eax + 4]
add esp, 4
mov eax, dword [esp + 0x8c]
cmp eax, 1
jne 0x4f72ba
mov ecx, dword [esp + 0x84]
mov edi, dword [esp + 0x88]
test ecx, ecx
je 0x4f72a0
mov dword [esp + 0x84], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
add esp, 4
test edi, edi
je 0x4f730e
mov dword [esp + 0x88], 0
mov eax, dword [edi]
push edi
call dword [eax + 4]
add esp, 4
jmp 0x4f730e
cmp eax, 2
jne 0x4f72dc
mov ecx, dword [esp + 0x84]
test ecx, ecx
je 0x4f730e
mov eax, dword [ecx]
test eax, eax
jne 0x4f72d7
call fcn.004df580
jmp 0x4f730e
dec eax
mov dword [ecx], eax
jmp 0x4f730e
cmp eax, 3
jne 0x4f730e
mov edi, dword [esp + 0x84]
test edi, edi
je 0x4f730e
mov eax, dword [edi + 4]
cmp eax, 1
jne 0x4f730a
push dword [edi + 8]
call fcn.00634397
add esp, 4
push edi
call fcn.00633f98
add esp, 4
jmp 0x4f730e
dec eax
mov dword [edi + 4], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x8c], 4
mov dword [esp + 0x84], 1
mov dword [esp + 0x88], 0
cmp eax, 1
jne 0x4f737b
mov ecx, dword [esp + 0x90]
mov edi, dword [esp + 0x94]
test ecx, ecx
je 0x4f7361
mov dword [esp + 0x90], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
add esp, 4
test edi, edi
je 0x4f73cf
mov dword [esp + 0x94], 0
mov eax, dword [edi]
push edi
call dword [eax + 4]
add esp, 4
jmp 0x4f73cf
cmp eax, 2
jne 0x4f739d
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x4f73cf
mov eax, dword [ecx]
test eax, eax
jne 0x4f7398
call fcn.004df580
jmp 0x4f73cf
dec eax
mov dword [ecx], eax
jmp 0x4f73cf
cmp eax, 3
jne 0x4f73cf
mov edi, dword [esp + 0x90]
test edi, edi
je 0x4f73cf
mov eax, dword [edi + 4]
cmp eax, 1
jne 0x4f73cb
push dword [edi + 8]
call fcn.00634397
add esp, 4
push edi
call fcn.00633f98
add esp, 4
jmp 0x4f73cf
dec eax
mov dword [edi + 4], eax
mov eax, dword [esp + 0xa4]
xorps xmm0, xmm0
mov dword [esp + 0x98], 4
movlpd qword [esp + 0x90], xmm0
cmp eax, 1
jne 0x4f7432
mov ecx, dword [esp + 0x9c]
mov edi, dword [esp + 0xa0]
test ecx, ecx
je 0x4f7418
mov dword [esp + 0x9c], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
add esp, 4
test edi, edi
je 0x4f7486
mov dword [esp + 0xa0], 0
mov eax, dword [edi]
push edi
call dword [eax + 4]
add esp, 4
jmp 0x4f7486
cmp eax, 2
jne 0x4f7454
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x4f7486
mov eax, dword [ecx]
test eax, eax
jne 0x4f744f
call fcn.004df580
jmp 0x4f7486
dec eax
mov dword [ecx], eax
jmp 0x4f7486
cmp eax, 3
jne 0x4f7486
mov edi, dword [esp + 0x9c]
test edi, edi
je 0x4f7486
mov eax, dword [edi + 4]
cmp eax, 1
jne 0x4f7482
push dword [edi + 8]
call fcn.00634397
add esp, 4
push edi
call fcn.00633f98
add esp, 4
jmp 0x4f7486
dec eax
mov dword [edi + 4], eax
mov eax, dword [0x7971ac]
mov dword [esp + 0xa4], 2
mov dword [esp + 0x9c], 0
test al, 2
jne 0x4f74e5
or eax, 2
mov dword [0x7971ac], eax
mov byte [esp + 0xb8], 6
call fcn.004df4c0
mov edi, eax
push 0xffffffffffffffff
push 0x701714
mov ecx, edi
call fcn.0040bb30
push 0x6bcf90
mov dword [0x7971b0], edi
call fcn.00633f59
add esp, 4
mov byte [esp + 0xb8], 4
mov eax, dword [ebx]
push eax
mov ecx, dword [eax]
push 0
push 0
push 0
push eax
call dword [ecx + 0x40]
add esp, 0x14
cmp eax, 1
jne 0x4f7518
mov ecx, dword [ebx]
lea eax, [esp + 0x78]
push eax
push 4
push 2
push 0
push 0x7971b0
mov edx, ecx
call fcn.00403160
add esp, 0x14
mov dword [esp + 0xb8], 0xffffffff
lea eax, [esp + 0x78]
push 0x4dd7b0
push 4
push 0xc
push eax
call fcn.00634247
mov ecx, ebx
call fcn.004f66d0
push ebx
call fcn.00633f98
add esp, 4
cmp byte [esp + 0x17], 0
je 0x4f7580
mov edi, dword [esp + 0x20]
jmp 0x4f6d50
mov eax, dword [0x789954]
mov ecx, dword [0x789950]
test eax, eax
cmovne ecx, eax
call fcn.00452890
mov eax, dword [0x78993c]
mov ecx, dword [0x789938]
test eax, eax
cmovne ecx, eax
call fcn.00452890
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00633732
mov esp, ebp
pop ebp
ret