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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov ecx, dword [ebp + 8]
mov eax, ecx
shr eax, 0x15
movzx esi, word [eax + eax + 0x513bd0]
mov eax, ecx
and eax, 0xffe00000
mov edi, esi
shl edi, 0x15
mov edx, eax
sub edx, edi
sete bl
mov bh, 1
cmp si, 0xfffe
jne 0x454e40
test bh, bh
je 0x454f61
or eax, 0x1000
mov esi, ecx
shr esi, 9
and esi, 0xfe0
lea edx, [eax + esi]
movzx eax, byte [eax + esi + 0x1e]
and eax, 0x3f
shl eax, 5
sub edx, eax
mov eax, edx
mov esi, dword [edx + 8]
and edx, 0xffe00000
shl eax, 9
and eax, 0x3fffc000
lea edi, [edx + eax]
add eax, edx
add eax, 0xffe00000
sub ecx, eax
mov eax, ecx
mul dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
imul eax, ecx
add edx, eax
shr edx, 0xa
imul edx, dword [esi + 0xc]
add edi, edx
add edi, 0xffe00000
test edi, 0xfff
je 0x454e25
lea eax, [edi - 4]
mov ecx, 0xfffffffe
lock xadd dword [eax], ecx
add ecx, 0x7ffffffe
test ecx, 0x7fffffff
je 0x454e47
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, edi
and eax, 0xffe00000
mov ecx, edi
shr ecx, 9
and ecx, 0xff8
add eax, ecx
add eax, 0x2000
jmp 0x454e06
mov bh, bl
jmp 0x454d98
mov eax, edi
and eax, 0xffe00000
mov ecx, edi
shr ecx, 9
and ecx, 0xfe0
lea edx, [ecx + eax]
movzx eax, byte [ecx + eax + 0x101e]
and eax, 0x3f
shl eax, 5
sub edx, eax
lea eax, [edx + 0x1000]
mov dword [ebp - 0x10], eax
and eax, 0xffe01000
mov ecx, dword [eax]
mov eax, dword [edx + 0x1008]
mov eax, dword [eax + 0xc]
lock sub dword [ecx + 0x1198], eax
lock dec dword [ecx + 0x119c]
mov dword [ebp - 0x14], ecx
cmp byte [ecx + 3], 0
je 0x454fcd
mov eax, dword [0x514f00]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov ebx, dword [eax + 0x90]
cmp ebx, 1
jbe 0x455053
cmp ebx, 2
jb 0x454fcd
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 8]
mov eax, dword [ebp - 0x14]
add eax, 0x48
cmp eax, esi
ja 0x454fa0
mov ecx, dword [ebp - 0x14]
add ecx, 0x1148
cmp ecx, esi
jb 0x454fa0
sub esi, eax
add dword [ebx + 0x30], 1
adc dword [ebx + 0x34], 0
cmp esi, 0x3e0
ja 0x454f98
shr esi, 2
mov eax, dword [ebx + esi + 0x78]
bswap eax
mov dword [edi], eax
mov dword [ebx + esi + 0x78], edi
mov cl, byte [ebx + esi + 0x7c]
inc cl
mov byte [ebx + esi + 0x7c], cl
movzx eax, word [ebx + esi + 0x7e]
add dword [ebx], eax
add dword [ebx + 0x38], 1
adc dword [ebx + 0x3c], 0
mov al, byte [ebx + esi + 0x7d]
cmp cl, al
ja 0x455062
add esi, ebx
mov al, byte [ebx + 4]
test al, 1
jne 0x45507b
movzx eax, word [esi + 0x7e]
mov ecx, dword [ebp - 0x14]
sub eax, dword [ecx + 0xc]
add dword [ebx + 0x68], 1
adc dword [ebx + 0x6c], 0
add dword [ebx + 0x70], eax
adc dword [ebx + 0x74], 0
jmp 0x454e1d
or edx, 0x1000
movzx esi, byte [edx + 0x3e]
and esi, 0x3f
shl esi, 5
lea edi, [edx + esi]
add edi, 0x20
mov edx, 0xffe00000
mov esi, edi
and esi, edx
shl edi, 9
and edi, 0x3fffc000
add edi, esi
add edi, edx
je 0x454da0
jmp 0x454dfb
add dword [ebx + 0x40], 1
adc dword [ebx + 0x44], 0
mov eax, dword [ebp - 0x10]
test byte [eax + 0xf], 8
jne 0x455093
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
add eax, 0xc
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
sub eax, dword [ecx + 0xc]
add dword [ebx + 0x68], 1
adc dword [ebx + 0x6c], 0
add dword [ebx + 0x70], eax
adc dword [ebx + 0x74], 0
mov dword [edi], 0
mov eax, dword [ebp - 0x14]
lea ebx, [eax + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x454feb
mov ecx, ebx
call fcn.0045a230
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x14]
sub dword [ecx + 0x117c], eax
mov eax, dword [edx]
cmp eax, edi
je 0x45509e
bswap eax
mov dword [edi], eax
mov edx, dword [ebp - 0x10]
mov dword [edx], edi
mov eax, dword [edx + 0xc]
mov ecx, eax
and ecx, 0xefffffff
mov dword [edx + 0xc], ecx
test eax, 0x3ffe
je 0x4550a1
mov edx, 0x3ffe
lea ecx, [eax + edx]
and ecx, edx
mov edx, eax
and edx, 0xefffc001
or edx, ecx
mov esi, dword [ebp - 0x10]
mov dword [esi + 0xc], edx
test al, 1
jne 0x455087
test ecx, ecx
je 0x455087
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x454e1d
mov ecx, dword [ebp - 0x14]
call fcn.004097f0
mov ebx, eax
jmp 0x454ebe
lea edx, [ebx + esi]
add edx, 0x78
movzx eax, al
shr eax, 1
mov ecx, ebx
push eax
push edx
call fcn.00481420
jmp 0x454f36
mov ecx, ebx
call fcn.004692c0
jmp 0x454f43
mov ecx, dword [ebp - 0x10]
push 1
call fcn.00468ca0
jmp 0x455047
mov eax, dword [ebp - 0x10]
add eax, 0x20
jmp 0x454fb6
int3
int3