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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov ecx, dword [ebp + 8]
mov eax, ecx
shr eax, 0x15
movzx esi, word [eax + eax + 0x64614c]
mov eax, ecx
and eax, 0xffe00000
cmp si, 0xfffe
je 0x4f1291
shl esi, 0x15
mov edx, eax
sub edx, esi
jne 0x4f155f
mov esi, ecx
shr esi, 9
and esi, 0xfe0
lea edx, [esi + eax]
movzx eax, byte [esi + eax + 0x101e]
and eax, 0x3f
shl eax, 5
sub edx, eax
lea eax, [edx + 0x1000]
mov edi, eax
and edi, 0xffe00000
shl eax, 9
and eax, 0x3fffc000
lea esi, [edi + eax]
add eax, edi
add eax, 0xffe00000
sub ecx, eax
mov edi, dword [edx + 0x1008]
mov eax, ecx
mul dword [edi + 0x18]
mov eax, dword [edi + 0xc]
mov edi, dword [edi + 0x1c]
imul edi, ecx
add edx, edi
shr edx, 0xa
imul edx, eax
lea ebx, [edx + esi]
add ebx, 0xffe00000
test ebx, 0xfff
je 0x4f132f
cmp byte [0x64a7fc], 0
je 0x4f1558
add eax, ebx
add eax, 0xfffffffc
mov ecx, 0xfffffffe
lock xadd dword [eax], ecx
add ecx, 0x3ffffffe
test ecx, 0x3fffffff
je 0x4f134a
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, ebx
and eax, 0xffe00000
mov ecx, ebx
shr ecx, 9
and ecx, 0xff8
add eax, ecx
add eax, 0x2000
jmp 0x4f1310
mov eax, ebx
and eax, 0xffe00000
mov ecx, ebx
shr ecx, 9
and ecx, 0x1fe0
or ecx, eax
mov esi, ecx
or esi, 0x1000
or ecx, 0x101e
movzx eax, byte [ecx]
and eax, 0x3f
shl eax, 5
sub esi, eax
mov eax, esi
and eax, 0xffe01000
mov edx, dword [eax]
mov eax, dword [esi + 8]
mov eax, dword [eax + 0xc]
lock sub dword [edx + 0x1198], eax
lock dec dword [edx + 0x119c]
cmp byte [edx + 3], 0
je 0x4f149a
mov eax, dword [0x64783c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
cmp byte [eax + 0x90], 0
je 0x4f15aa
mov eax, dword [0x64783c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov edi, dword [eax + 0xc8]
cmp edi, 2
jb 0x4f149a
mov eax, dword [esi + 8]
lea ecx, [edx + 0x48]
mov dword [ebp - 0x10], edx
add edx, 0x1148
cmp edx, eax
setae dl
cmp ecx, eax
ja 0x4f15a3
test dl, dl
mov edx, dword [ebp - 0x10]
je 0x4f1476
sub eax, ecx
sar eax, 5
add dword [edi + 0x30], 1
adc dword [edi + 0x34], 0
movzx ecx, word [0x646148]
cmp eax, ecx
ja 0x4f146e
mov ecx, dword [edi + eax*8 + 0x78]
bswap ecx
mov dword [ebx], ecx
mov dword [edi + eax*8 + 0x78], ebx
inc byte [edi + eax*8 + 0x7c]
movzx ecx, word [edi + eax*8 + 0x7e]
add dword [edi], ecx
add dword [edi + 0x38], 1
adc dword [edi + 0x3c], 0
lea esi, [edi + eax*8]
add esi, 0x78
movzx ecx, byte [edi + eax*8 + 0x7d]
cmp byte [edi + eax*8 + 0x7c], cl
ja 0x4f1526
movzx eax, byte [edi + 4]
test al, 1
jne 0x4f153c
movzx eax, word [esi + 6]
sub eax, dword [edx + 0x10]
add dword [edi + 0x68], 1
adc dword [edi + 0x6c], 0
add dword [edi + 0x70], eax
adc dword [edi + 0x74], 0
jmp 0x4f1327
add dword [edi + 0x40], 1
adc dword [edi + 0x44], 0
test byte [esi + 0xf], 8
jne 0x4f15b8
mov eax, dword [esi + 8]
add eax, 0xc
mov eax, dword [eax]
sub eax, dword [edx + 0x10]
add dword [edi + 0x68], 1
adc dword [edi + 0x6c], 0
add dword [edi + 0x70], eax
adc dword [edi + 0x74], 0
mov dword [ebx], 0
lea eax, [edx + 0x40]
mov dword [ebp - 0x10], eax
push eax
mov edi, edx
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x4f154b
mov eax, dword [esi + 8]
mov eax, dword [eax + 0xc]
sub dword [edi + 0x117c], eax
mov eax, dword [esi]
cmp eax, ebx
je 0x4f15c0
bswap eax
mov dword [ebx], eax
mov dword [esi], ebx
mov eax, dword [esi + 0xc]
mov ecx, eax
and ecx, 0xefffffff
mov dword [esi + 0xc], ecx
test eax, 0x3ffe
je 0x4f15c3
lea ecx, [eax + 0x3ffe]
and ecx, 0x3ffe
mov edx, eax
and edx, 0xefffc001
or edx, ecx
mov dword [esi + 0xc], edx
test al, 1
jne 0x4f151b
test ecx, ecx
je 0x4f151b
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x4f1327
mov ecx, esi
push 1
call fcn.00508f60
jmp 0x4f150d
movzx eax, cl
shr eax, 1
mov ecx, edi
push eax
push esi
call fcn.004fb5e0
mov edx, dword [ebp - 0x10]
jmp 0x4f1447
mov ecx, edi
call fcn.00509580
mov edx, dword [ebp - 0x10]
jmp 0x4f1453
mov ecx, dword [ebp - 0x10]
call fcn.0051aca0
jmp 0x4f14b7
xor eax, eax
jmp 0x4f130b
movzx esi, byte [edx + 0x103e]
and esi, 0x3f
shl esi, 5
lea ebx, [esi + edx]
add ebx, 0x1020
mov edi, ebx
and edi, 0xffe00000
shl ebx, 9
and ebx, 0x3fffc000
add ebx, edi
add ebx, 0xffe00000
je 0x4f1291
mov eax, dword [esi + edx + 0x1028]
mov eax, dword [eax + 0xc]
jmp 0x4f12f6
xor edx, edx
jmp 0x4f13f4
mov edi, edx
call fcn.00567cb4
mov edx, edi
jmp 0x4f13ba
lea eax, [esi + 0x20]
jmp 0x4f1486
int3
int3