Function at 0x45c2a0
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 + 0x54bc0c]
mov eax, ecx
and eax, 0xffe00000
mov edx, esi
shl edx, 0x15
cmp eax, edx
sete bl
mov bh, 1
cmp si, 0xfffe
jne 0x45c565
test bh, bh
je 0x45c58f
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]
lea ebx, [edx + edi]
add ebx, 0xffe00000
test ebx, 0xfff
je 0x45c473
lea eax, [ebx - 4]
mov ecx, 0xfffffffe
lock xadd dword [eax], ecx
add ecx, 0x7ffffffe
test ecx, 0x7fffffff
je 0x45c366
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, 0xfe0
lea edx, [ecx + eax]
movzx eax, byte [ecx + eax + 0x101e]
and eax, 0x3f
shl eax, 5
sub edx, eax
lea esi, [edx + 0x1000]
mov eax, esi
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]
cmp byte [ecx + 3], 0
je 0x45c4bf
mov eax, dword [0x54ddb0]
mov dword [ebp - 0x10], ecx
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp - 0x10]
mov edi, dword [eax + 0x90]
cmp edi, 2
jb 0x45c4bf
mov edx, esi
mov esi, dword [esi + 8]
lea eax, [ecx + 0x48]
add ecx, 0x1148
cmp ecx, esi
setae cl
cmp eax, esi
ja 0x45c588
test cl, cl
mov ecx, dword [ebp - 0x10]
je 0x45c499
sub esi, eax
sar esi, 5
add dword [edi + 0x30], 1
adc dword [edi + 0x34], 0
movzx eax, word [0x54bc08]
cmp esi, eax
ja 0x45c491
mov eax, dword [edi + esi*8 + 0x78]
bswap eax
mov dword [ebx], eax
mov dword [edi + esi*8 + 0x78], ebx
inc byte [edi + esi*8 + 0x7c]
movzx eax, word [edi + esi*8 + 0x7e]
add dword [edi], eax
add dword [edi + 0x38], 1
adc dword [edi + 0x3c], 0
movzx eax, byte [edi + esi*8 + 0x7d]
cmp byte [edi + esi*8 + 0x7c], al
ja 0x45c53e
movzx eax, byte [edi + 4]
test al, 1
jne 0x45c579
movzx eax, word [edi + esi*8 + 0x7e]
sub eax, dword [ecx + 0xc]
add dword [edi + 0x68], 1
adc dword [edi + 0x6c], 0
add dword [edi + 0x70], eax
adc dword [edi + 0x74], 0
jmp 0x45c35e
mov eax, ebx
and eax, 0xffe00000
mov ecx, ebx
shr ecx, 9
and ecx, 0xff8
add eax, ecx
add eax, 0x2000
jmp 0x45c347
add dword [edi + 0x40], 1
adc dword [edi + 0x44], 0
mov esi, edx
test byte [edx + 0xf], 8
jne 0x45c5cc
mov eax, dword [esi + 8]
add eax, 0xc
mov eax, dword [eax]
sub eax, dword [ecx + 0xc]
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, [ecx + 0x40]
mov dword [ebp - 0x10], eax
push eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x45c56c
mov eax, dword [esi + 8]
mov eax, dword [eax + 0xc]
sub dword [edi + 0x117c], eax
mov eax, dword [esi]
cmp eax, ebx
je 0x45c5d4
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 0x45c5d7
mov edx, 0x3ffe
lea ecx, [eax + edx]
and ecx, edx
mov edx, eax
and edx, 0xefffc001
or edx, ecx
mov dword [esi + 0xc], edx
test al, 1
jne 0x45c55a
test ecx, ecx
je 0x45c55a
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x45c35e
lea edx, [edi + esi*8]
add edx, 0x78
movzx eax, al
shr eax, 1
mov ecx, edi
push eax
push edx
call fcn.00469f70
mov ecx, dword [ebp - 0x10]
jmp 0x45c44b
mov ecx, esi
push 1
call fcn.0045b2a0
jmp 0x45c530
mov bh, bl
jmp 0x45c2d4
mov ecx, dword [ebp - 0x10]
call fcn.0046a750
jmp 0x45c4dc
mov ecx, edi
call fcn.0046a310
mov ecx, dword [ebp - 0x10]
jmp 0x45c457
xor ecx, ecx
jmp 0x45c3fa
mov esi, ecx
sub esi, edx
mov edx, 0xffe00000
and esi, edx
movzx edi, byte [esi + 0x103e]
and edi, 0x3f
shl edi, 5
lea ebx, [esi + edi]
add ebx, 0x1020
mov esi, ebx
and esi, edx
shl ebx, 9
and ebx, 0x3fc000
add ebx, esi
add ebx, edx
je 0x45c2dc
jmp 0x45c338
lea eax, [esi + 0x20]
jmp 0x45c4ab
int3
int3